/* ============================================================
   AquaForce — Parking Spot Pressure Washing
   Design system + layout + responsive
   ============================================================ */

:root {
  --navy:      #0B2545;
  --navy-700:  #143a66;
  --cyan:      #13A8C9;
  --cyan-300:  #2DD4DA;
  --orange:    #FF7A1A;
  --orange-600:#e96a0c;
  --white:     #FFFFFF;
  --slate:     #5B6B7B;
  --slate-100: #f4f7fa;
  --slate-200: #e6edf3;
  --whatsapp:  #25D366;
  --whatsapp-d:#1da851;
  --telegram:  #229ED9;
  --telegram-d:#1b86ba;

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(11, 37, 69, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 37, 69, 0.18);
  --container: 1140px;
  --ease:      cubic-bezier(.22,.61,.36,1);

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; color: var(--navy); }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.accent { color: var(--cyan-300); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--cyan-300);
  margin-bottom: 14px;
}
.eyebrow-dark { color: var(--cyan); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  color: #fff;
}
.btn:hover  { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.24); }
.btn:active { transform: translateY(-1px); }
.btn svg { flex: none; }

.btn-whatsapp { background: var(--whatsapp); }
.btn-whatsapp:hover { background: var(--whatsapp-d); }
.btn-telegram { background: var(--telegram); }
.btn-telegram:hover { background: var(--telegram-d); }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 69, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.brand strong { color: var(--cyan-300); font-weight: 800; }
.brand-icon { color: var(--cyan-300); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  font-size: .95rem;
  transition: color .15s;
}
.main-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-weight: 600;
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--orange-600); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11,37,69,.92) 0%, rgba(19,168,201,.78) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=1600&q=70') center/cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(45,212,218,.25), transparent 55%);
  pointer-events: none;
}
.hero-inner { position: relative; padding: 90px 22px; max-width: 760px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: clamp(1rem, 2.3vw, 1.2rem);
  color: rgba(255,255,255,.92);
  max-width: 580px;
  margin-bottom: 32px;
}
.cta-group { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-group-center { justify-content: center; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  margin-top: 34px;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
}

/* ============ TRUST STRIP ============ */
.trust-strip { background: var(--navy-700); color: #fff; padding: 26px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cyan-300);
}
.trust-label { font-size: .82rem; color: rgba(255,255,255,.8); letter-spacing: .03em; }

/* ============ SECTIONS ============ */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--slate-100); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* ============ SERVICE CARDS ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-300));
  color: #fff;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--slate); font-size: .95rem; }

/* ============ BEFORE / AFTER SLIDER ============ */
.ba-slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap {
  position: absolute; inset: 0;
  width: 100%;
  overflow: hidden;
  /* clip the "before" image from the right; updated by JS. Keeps both
     images at the exact same scale so they line up on any screen size. */
  clip-path: inset(0 50% 0 0);
}
.ba-before-wrap .ba-img { width: 100%; }

.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}
.ba-handle-line { position: absolute; top: 0; bottom: 0; width: 3px; background: #fff; }
.ba-handle-grip {
  position: relative;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.ba-tag {
  position: absolute;
  bottom: 14px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  background: rgba(11,37,69,.75);
  backdrop-filter: blur(4px);
}
.ba-tag-before { left: 14px; }
.ba-tag-after  { right: 14px; }

/* ============ STEPS / WHY ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}
.step { text-align: center; padding: 12px; }
.step-num {
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cyan-300);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--slate); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
.why-item {
  background: var(--slate-100);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: .98rem;
  color: var(--navy);
}

/* ============ CTA BAND ============ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--cyan) 130%);
  color: #fff;
  padding: clamp(56px, 8vw, 90px) 0;
  text-align: center;
}
.cta-band-inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 30px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,.8); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  padding-block: 44px;
}
.footer-brand .brand { font-size: 1.15rem; margin-bottom: 8px; }
.footer-brand p { font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: rgba(255,255,255,.82); font-weight: 500; transition: color .15s; }
.footer-links a:hover { color: var(--cyan-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center;
  padding: 18px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.footer-credit { margin-top: 4px; }
.footer-credit a {
  color: var(--cyan-300);
  font-weight: 600;
  transition: color .15s;
}
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ============ FLOATING CONTACT ============ */
.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.28);
  transition: transform .18s var(--ease);
  animation: floatPulse 2.6s ease-in-out infinite;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { background: var(--whatsapp); }
.float-telegram { background: var(--telegram); animation-delay: .4s; }

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,.28); }
  50%      { box-shadow: 0 8px 22px rgba(0,0,0,.28), 0 0 0 8px rgba(255,255,255,.06); }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 8px 22px 22px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .25s;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .nav-cta { width: 100%; text-align: center; margin-top: 12px; padding: 13px; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero { min-height: 92vh; }
  .hero-inner { padding: 70px 22px; }
  .btn { width: 100%; justify-content: center; }
  .cta-group { width: 100%; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-btn { animation: none; }
}
