/* =========================================================
   SL SOLUTIONS — style.css  (Modern Redesign)
   Electricistas 24h · Alicante y Vega Baja
   ========================================================= */

/* --------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------- */
:root {
  /* Brand colours */
  --blue:        #1565C0;
  --blue-dk:     #0D47A1;
  --blue-lt:     #42A5F5;
  --blue-xlt:    #E3F2FD;
  --accent:      #FF8F00;
  --accent-lt:   #FFB300;
  --accent-dk:   #E65100;
  --dark:        #0F172A;
  --dark-2:      #1E293B;
  --gray:        #334155;
  --gray-lt:     #64748B;
  --gray-xlt:    #94A3B8;
  --border:      #E2E8F0;
  --bg:          #F8FAFD;
  --bg-2:        #EFF6FF;
  --white:       #FFFFFF;
  --wa-green:    #22C55E;
  --wa-dk:       #16A34A;

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(0,0,0,.06);
  --sh-sm:  0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
  --sh:     0 4px 6px -1px rgba(0,0,0,.08), 0 2px 4px -1px rgba(0,0,0,.05);
  --sh-md:  0 10px 15px -3px rgba(0,0,0,.08), 0 4px 6px -2px rgba(0,0,0,.04);
  --sh-lg:  0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  --sh-xl:  0 25px 50px -12px rgba(0,0,0,.22);
  --sh-blue: 0 8px 24px rgba(21,101,192,.28);
  --sh-acc:  0 8px 24px rgba(255,143,0,.35);

  /* Geometry */
  --r:      10px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-pill: 100px;

  /* Motion */
  --tr: .28s cubic-bezier(.4,0,.2,1);

  /* Layout */
  --mx:         1240px;
  --topbar-h:   40px;
  --header-h:   88px;
}

/* --------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 8px);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
h1,h2,h3,h4 { line-height: 1.2; }

/* --------------------------------------------------------
   3. LAYOUT HELPERS
   -------------------------------------------------------- */
.container {
  max-width: var(--mx);
  margin: 0 auto;
  padding: 0 1.75rem;
}
.section { padding: 5.5rem 0; }

/* Section header */
.section-hdr {
  text-align: center;
  margin-bottom: 3.75rem;
}
.section-hdr h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: .75rem;
  letter-spacing: -.025em;
}
.section-hdr h2::after {
  content: '';
  display: block;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px;
  margin: .9rem auto 0;
}
.section-hdr p {
  font-size: 1.05rem;
  color: var(--gray-lt);
  max-width: 620px;
  margin: 1rem auto 0;
}
.section-hdr h2.light { color: var(--white); }
.section-hdr h2.light::after { margin-top: .9rem; }
.section-hdr p.light-sub { color: rgba(255,255,255,.6); }

/* Tag pill */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: var(--blue-xlt);
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .32rem 1rem;
  border-radius: var(--r-pill);
  margin-bottom: .65rem;
  border: 1px solid rgba(21,101,192,.15);
}
.tag.tag-light {
  background: rgba(255,255,255,.1);
  color: var(--accent-lt);
  border-color: rgba(255,143,0,.3);
}

/* --------------------------------------------------------
   4. BUTTONS  (pill-shaped, modern)
   -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.75rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all var(--tr);
  border: 2px solid transparent;
  white-space: nowrap;
  justify-content: center;
  letter-spacing: .01em;
}
.btn-lg    { padding: 1.05rem 2.25rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Primary — solid blue */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  transform: translateY(-2px);
  box-shadow: var(--sh-blue);
}

/* Accent — yellow/orange CTA */
.btn-accent {
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  color: var(--dark);
  border: none;
  font-weight: 700;
}
.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-acc);
}

/* Ghost — used on dark hero */
.btn-ghost {
  background: rgba(255,255,255,.14);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Outline — blue border */
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-blue);
}

/* Phone CTA in nav */
.btn-phone {
  background: linear-gradient(135deg, var(--accent-lt), var(--accent));
  color: var(--dark);
  font-weight: 700;
  border: none;
}
.btn-phone:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dk));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-acc);
}

/* WhatsApp */
.btn-wa {
  background: var(--wa-green);
  color: var(--white);
  border-color: var(--wa-green);
}
.btn-wa:hover {
  background: var(--wa-dk);
  border-color: var(--wa-dk);
  transform: translateY(-2px);
}

/* --------------------------------------------------------
   5. TOPBAR
   -------------------------------------------------------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--topbar-h);
  background: var(--dark-2);
  display: flex;
  align-items: center;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left {
  font-size: .75rem;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--tr);
}
.topbar-right a:hover { color: var(--accent-lt); }
.topbar-sep { color: rgba(255,255,255,.25); font-size: .75rem; }

/* --------------------------------------------------------
   6. HEADER
   -------------------------------------------------------- */
.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1.5px solid var(--border);
  transition: box-shadow var(--tr), border-color var(--tr);
}
.header.scrolled {
  box-shadow: 0 4px 24px rgba(15,23,42,.1);
  border-bottom-color: transparent;
}

/* Blue accent line at bottom of header */
.header::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt), var(--accent));
  opacity: 0;
  transition: opacity var(--tr);
}
.header.scrolled::after { opacity: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* Bigger logo */
.nav-logo img {
  height: 89px;
  width: auto;
  object-fit: contain;
  transition: transform var(--tr);
}
.nav-logo:hover img { transform: scale(1.04); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: .1rem;
}

.nav-link {
  position: relative;
  padding: .5rem .9rem;
  border-radius: var(--r-pill);
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray);
  transition: all var(--tr);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: left var(--tr), right var(--tr);
}
.nav-link:hover { color: var(--blue); }
.nav-link:hover::after,
.nav-link.active::after { left: .9rem; right: .9rem; }
.nav-link.active { color: var(--blue); font-weight: 600; }

.nav-cta-phone {
  padding: .65rem 1.4rem;
  flex-shrink: 0;
  font-size: .88rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 25px; height: 2.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--tr);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* --------------------------------------------------------
   7. HERO
   -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--topbar-h) + var(--header-h));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(13,71,161,.95)  0%,
      rgba(15,23,42,.90)   50%,
      rgba(0,0,0,.65)      100%
    );
}

/* Decorative grid lines on hero */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 5rem;
  max-width: 820px;
}

/* Live badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  padding: .45rem 1.1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.6rem;
  letter-spacing: .01em;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(74,222,128,.5);
  animation: livePulse 2s infinite;
}
@keyframes livePulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.hero-title {
  font-size: clamp(2.1rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.09;
  letter-spacing: -.03em;
  margin-bottom: 1rem;
}
.accent { color: var(--accent-lt); }

.hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,.88);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.scroll-mouse {
  width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 12px;
  position: relative;
  margin: 0 auto;
}
.scroll-dot {
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
  0%   { top: 6px; opacity: 1; }
  100% { top: 22px; opacity: 0; }
}

/* --------------------------------------------------------
   8. STATS BAR
   -------------------------------------------------------- */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-dk) 0%, var(--blue) 60%, var(--blue-lt) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  color: var(--white);
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background var(--tr);
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,255,255,.06); }
.stat-ico {
  font-size: 1.6rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}
.stat strong { display: block; font-weight: 700; font-size: 1rem; margin-bottom: .1rem; }
.stat small   { font-size: .77rem; opacity: .78; }

/* --------------------------------------------------------
   9. SERVICES
   -------------------------------------------------------- */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

/* Service card */
.scard {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
  transition-delay: var(--d, 0s);
}
.scard:hover {
  transform: translateY(-7px);
  box-shadow: var(--sh-xl);
  border-color: rgba(21,101,192,.15);
}

/* Top accent line on hover */
.scard::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--tr);
}
.scard:hover::before { transform: scaleX(1); }

/* Card image */
.scard-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.scard-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.scard:hover .scard-img img { transform: scale(1.07); }

.scard-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,71,161,.75)  0%,
    rgba(13,71,161,.18)  50%,
    transparent          100%
  );
}

/* Gradient fallback cards */
.scard-grad         { background: var(--blue-dk); }
.scard-grad-light   { background: linear-gradient(135deg, #F57F17 0%, #FFA000 45%, var(--blue) 100%); }
.scard-grad-ev      { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 45%, var(--blue) 100%); }
.scard-grad-domo    { background: linear-gradient(135deg, #311B92 0%, #6A1B9A 45%, var(--blue) 100%); }

/* Decorative icon pinned on card image */
.scard-icon-top {
  position: absolute;
  bottom: .9rem; left: 1rem;
  width: 46px; height: 46px;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.scard-icon-top svg { width: 26px; height: 26px; fill: var(--white); }

/* Card body */
.scard-body { padding: 1.5rem 1.5rem 1.75rem; }

.scard-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(21,101,192,.25);
}
.scard-icon svg { width: 24px; height: 24px; fill: var(--white); }

.scard-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .85rem;
  letter-spacing: -.01em;
}

.scard-body ul li {
  font-size: .875rem;
  color: var(--gray-lt);
  padding: .32rem 0 .32rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: color var(--tr);
}
.scard-body ul li:last-child { border-bottom: none; }
.scard-body ul li:hover      { color: var(--gray); }
.scard-body ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .78rem;
}

/* Services CTA */
.services-cta { text-align: center; }
.services-cta p {
  font-size: 1.1rem;
  color: var(--gray-lt);
  margin-bottom: 1.35rem;
}

/* --------------------------------------------------------
   10. WHY CHOOSE US
   -------------------------------------------------------- */
.why {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  top: -120px; right: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--blue-xlt) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

/* Visual side */
.why-visual { position: relative; }
.why-visual img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  object-fit: cover;
  max-height: 570px;
}
.why-badge {
  position: absolute;
  bottom: 2rem; right: -1.75rem;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1.4rem;
  display: flex; align-items: center; gap: .85rem;
  box-shadow: var(--sh-lg);
  min-width: 220px;
  border: 1px solid var(--border);
}
.why-badge > span { font-size: 2.1rem; }
.why-badge strong { display: block; font-size: .9rem; font-weight: 700; color: var(--dark); }
.why-badge small  { font-size: .77rem; color: var(--gray-lt); }

/* Content side */
.why-content .tag   { display: block; text-align: left; margin-bottom: .65rem; }
.why-content h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -.025em;
}
.why-content h2::after {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px;
  margin-top: .8rem;
}
.why-lead {
  color: var(--gray-lt);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.75;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.why-feat {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--tr);
}
.why-feat:hover {
  border-color: rgba(21,101,192,.2);
  background: var(--bg-2);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.feat-ico {
  font-size: 1.35rem;
  width: 44px; height: 44px;
  background: var(--blue-xlt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-feat h4 { font-size: .88rem; font-weight: 700; color: var(--dark); margin-bottom: .2rem; }
.why-feat p  { font-size: .8rem; color: var(--gray-lt); line-height: 1.5; }

/* --------------------------------------------------------
   11. GALLERY
   -------------------------------------------------------- */
.gallery { background: var(--bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.gal-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/4;
  box-shadow: var(--sh);
  cursor: pointer;
  border: 1px solid var(--border);
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.gal-item:hover img { transform: scale(1.07); }

.gal-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(13,23,42,.82));
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  padding: 2rem .9rem .8rem;
  opacity: 0;
  transition: opacity var(--tr);
}
.gal-item:hover .gal-caption { opacity: 1; }

/* --------------------------------------------------------
   12. ZONES
   -------------------------------------------------------- */
.zones { background: var(--dark-2); }

.zones-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.zbadge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem 1.3rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  transition: all var(--tr);
  cursor: default;
}
.zbadge:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21,101,192,.35);
}
.zbadge-more {
  background: rgba(255,143,0,.1);
  border-color: rgba(255,143,0,.4);
  color: var(--accent-lt);
}

.zones-cta { text-align: center; }

/* --------------------------------------------------------
   13. CONTACT
   -------------------------------------------------------- */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info .tag { display: block; text-align: left; margin-bottom: .65rem; }
.contact-info h2 {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -.025em;
}
.contact-info h2::after {
  content: '';
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  border-radius: 2px;
  margin-top: .8rem;
}
.contact-info > p { color: var(--gray-lt); margin-bottom: 1.5rem; line-height: 1.75; }

.urgency-strip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1px solid #FCD34D;
  color: #92400E;
  font-weight: 600;
  font-size: .9rem;
  padding: .7rem 1.3rem;
  border-radius: var(--r-pill);
  margin-bottom: 2rem;
}

.contact-details { display: flex; flex-direction: column; gap: .85rem; }

.cdetail {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: all var(--tr);
}
.cdetail:hover {
  border-color: rgba(21,101,192,.2);
  box-shadow: var(--sh-sm);
  transform: translateX(4px);
}
.cdetail-ico {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(21,101,192,.22);
}
.cdetail-ico svg { width: 22px; height: 22px; fill: var(--white); }
.cdetail strong {
  display: block;
  font-size: .72rem; font-weight: 700;
  color: var(--gray-xlt);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .2rem;
}
.cdetail a,
.cdetail span { font-weight: 600; color: var(--dark); font-size: .95rem; transition: color var(--tr); }
.cdetail a:hover { color: var(--blue); }

/* Contact card */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.75rem 2.5rem;
  text-align: center;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-lt), var(--accent));
}
.contact-logo {
  width: 120px; height: auto;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}
.contact-card h3 {
  font-size: 1.3rem; font-weight: 800;
  color: var(--dark);
  margin-bottom: .45rem;
  letter-spacing: -.02em;
}
.contact-card > p { color: var(--gray-lt); font-size: .9rem; margin-bottom: 1.75rem; }
.contact-btns { display: flex; flex-direction: column; gap: .85rem; }

/* --------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------- */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.7);
  padding: 4.5rem 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-dk), var(--blue), var(--accent));
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 2.75rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  width: 110px;
  margin-bottom: 1rem;
  filter: brightness(1.15);
  border-radius: 6px;
}

.footer-col p {
  font-size: .87rem;
  line-height: 1.75;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.footer-col h4 {
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li,
.footer-col ul a { font-size: .87rem; color: rgba(255,255,255,.5); transition: color var(--tr); }
.footer-col ul a:hover { color: var(--accent-lt); }

.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--tr);
}
.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(21,101,192,.4);
}
.footer-social svg { width: 18px; height: 18px; fill: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: .81rem; color: rgba(255,255,255,.3); }

/* --------------------------------------------------------
   15. FLOATING BUTTONS
   -------------------------------------------------------- */
.floats {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  z-index: 999;
  display: flex; flex-direction: column;
  gap: .8rem; align-items: flex-end;
}

.float-btn {
  display: flex; align-items: center; gap: .6rem;
  border-radius: var(--r-pill);
  padding: .8rem 1.4rem;
  font-weight: 700; font-size: .9rem;
  box-shadow: var(--sh-lg);
  transition: all var(--tr);
  white-space: nowrap; overflow: hidden;
}
.float-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* WhatsApp with pulse ring */
.float-wa {
  background: var(--wa-green);
  color: var(--white);
  position: relative;
}
.float-wa::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 2px solid var(--wa-green);
  animation: waPulse 2.5s infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.15); opacity: 0; }
}
.float-wa:hover { background: var(--wa-dk); transform: translateX(-4px) scale(1.03); }

.float-tel { background: var(--blue); color: var(--white); }
.float-tel:hover { background: var(--blue-dk); transform: translateX(-4px) scale(1.03); }

/* Label reveal on hover */
.float-lbl {
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .4s ease, opacity .3s ease;
}
.float-btn:hover .float-lbl { max-width: 200px; opacity: 1; }

/* --------------------------------------------------------
   16. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------- */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  animation: upFade .65s cubic-bezier(.4,0,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * .11s + .1s);
}
@keyframes upFade { to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--d, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --------------------------------------------------------
   17. RESPONSIVE — TABLET  ≤ 1024px
   -------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --header-h: 80px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .why-grid      { gap: 3rem; }
  .why-badge     { right: 0; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .topbar-left   { display: none; }
}

/* --------------------------------------------------------
   18. RESPONSIVE — MOBILE  ≤ 768px
   -------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --topbar-h: 38px;
    --header-h: 72px;
  }

  /* Nav drawer */
  .nav-menu {
   
    top: calc(var(--topbar-h) + var(--header-h));
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-lg);
    transform: translateY(-110%);
    transition: transform var(--tr);
    z-index: 998;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li   { width: 100%; }
  .nav-link { display: block; padding: .85rem 1rem; font-size: .97rem; border-radius: var(--r); }
  .nav-link::after { display: none; }

  .nav-toggle    { display: flex; }
  .nav-cta-phone { display: none; }
  .nav-logo img  { height: 54px; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat        { border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.12); }
  .stat:nth-child(even) { border-right: none; }

  /* Services */
  .services-grid  { grid-template-columns: 1fr; gap: 1.25rem; }

  /* Why */
  .why-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .why-badge    { position: static; margin-top: 1rem; display: inline-flex; }
  .why-features { grid-template-columns: 1fr; }
  .why::before  { display: none; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .section { padding: 3.75rem 0; }

  .topbar-right a:last-of-type { display: none; }
  .topbar-sep { display: none; }
}

/* --------------------------------------------------------
   19. RESPONSIVE — SMALL  ≤ 480px
   -------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-title    { font-size: 1.9rem; }
  .hero-btns     { flex-direction: column; }
  .hero-btns .btn { width: 100%; }

  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat        { flex-direction: column; text-align: center; gap: .3rem; padding: 1.1rem .5rem; }

  .gallery-grid  { grid-template-columns: 1fr 1fr; }
  .footer-grid   { grid-template-columns: 1fr; }

  /* Float icon-only on small screens */
  .float-btn { width: 56px; height: 56px; padding: 0; border-radius: 50%; justify-content: center; }
  .float-lbl { display: none !important; }
  .float-btn svg { width: 25px; height: 25px; }
  .float-wa::before { border-radius: 50%; }

  .topbar { display: none; }
  html { scroll-padding-top: calc(var(--header-h) + 8px); }
}
