/* ==========================================================================
   S&L Fresh Cleaning RVA LLC
   Paleta tomada directamente de los operadores de color de la tarjeta en PDF.
   ========================================================================== */

:root {
  /* marca */
  --navy:        #16296A;
  --navy-deep:   #22305C;
  --navy-soft:   #2A3D6E;
  --blue:        #2196F3;
  --blue-dark:   #1478CC;
  --green:       #6CBE45;
  --green-dark:  #59A337;

  /* neutros */
  --slate:       #4A5578;
  --slate-light: #6B769B;
  --blue-100:    #BBD7F5;
  --blue-50:     #DCE6F5;
  --tint:        #F5F8FD;
  --white:       #FFFFFF;

  /* tipografia */
  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* forma */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 41, 106, .06), 0 2px 8px rgba(22, 41, 106, .05);
  --shadow:    0 4px 12px rgba(22, 41, 106, .07), 0 12px 32px rgba(22, 41, 106, .07);
  --shadow-lg: 0 18px 50px rgba(22, 41, 106, .16);

  --gap:  clamp(1.25rem, 2.5vw, 2rem);
  --pad-y: clamp(4rem, 9vw, 7rem);
  --header-h: 76px;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 1.02rem + .35vw, 1.3rem); font-weight: 700; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }

img, video, svg { max-width: 100%; display: block; }
img { height: auto; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.2rem;
  border-radius: var(--r-sm); text-decoration: none; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* --------------------------------------------------------------- layout -- */

.wrap {
  width: min(1200px, 100% - clamp(2rem, 6vw, 5rem));
  margin-inline: auto;
}
.wrap--narrow { width: min(820px, 100% - clamp(2rem, 6vw, 5rem)); }

.section { padding-block: var(--pad-y); position: relative; }
.section--tint { background: var(--tint); }

.section__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head h2 { margin-bottom: .5rem; }
.section__sub { color: var(--slate-light); font-size: 1.075rem; }

/* eyebrow con la barrita verde de la tarjeta */
.eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
}
.eyebrow::after {
  content: "";
  height: 4px; width: 44px;
  background: var(--green);
  border-radius: var(--r-pill);
  flex: none;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { display: none; }
.eyebrow--center + h2 { margin-top: .25rem; }
.section__head .eyebrow { position: relative; padding-bottom: 1rem; }
.section__head .eyebrow::before {
  content: "";
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  height: 4px; width: 44px;
  background: var(--green);
  border-radius: var(--r-pill);
}

.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(108, 190, 69, .18);
  flex: none;
}

.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--slate); }
.lead strong { color: var(--navy); font-weight: 600; }

/* --------------------------------------------------------------- botones -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(120deg, var(--navy) 0%, var(--blue) 130%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(22, 41, 106, .22);
}
.btn--primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(22, 41, 106, .3); }

.btn--outline { border-color: var(--blue-100); background: #fff; color: var(--navy); }
.btn--outline:hover { border-color: var(--blue); color: var(--navy); box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--navy); padding-inline: .8rem; }
.btn--ghost:hover { color: var(--blue-dark); }

.btn--lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn .ico { width: 1.1em; height: 1.1em; flex: none; }

.ico {
  width: 1.15em; height: 1.15em;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------- header -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-stuck {
  border-bottom-color: var(--blue-50);
  box-shadow: 0 4px 20px rgba(22, 41, 106, .06);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 50px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.08rem; color: var(--navy); letter-spacing: -.01em;
}
.brand__city {
  font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue);
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__list { display: flex; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav__list a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
  text-decoration: none;
  padding: .4rem 0;
  position: relative;
}
.nav__list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--green);
  border-radius: 2px;
  scale: 0 1;
  transition: scale .22s;
}
.nav__list a:hover::after { scale: 1 1; }

.nav__actions { display: flex; align-items: center; gap: .6rem; }
.btn--phone { font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  padding: .55rem; border-radius: var(--r-sm);
  color: var(--navy);
}
.nav-toggle__bars { display: grid; gap: 5px; width: 24px; }
.nav-toggle__bars i {
  display: block; height: 2.5px; border-radius: 2px;
  background: currentColor;
  transition: translate .25s, rotate .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] i:nth-child(1) { translate: 0 7.5px; rotate: 45deg; }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { translate: 0 -7.5px; rotate: -45deg; }

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(5rem, 9vw, 7rem);
  background:
    radial-gradient(60rem 32rem at 88% -12%, rgba(33, 150, 243, .13), transparent 62%),
    radial-gradient(44rem 26rem at 2% 8%, rgba(108, 190, 69, .10), transparent 60%),
    var(--white);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--blue) 10%, var(--green) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.chips {
  display: flex; flex-wrap: wrap;
  gap: .5rem .5rem;
  margin-top: 2rem;
}
.chips li {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r-pill);
  padding: .42rem .9rem;
  font-size: .85rem; font-weight: 500;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chips .ico { color: var(--green); stroke-width: 3; width: 1em; height: 1em; }

/* foto del hero */
.hero__media { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hero__media::before {
  content: "";
  position: absolute; inset: -6% -8% -10% -6%;
  background: linear-gradient(150deg, var(--blue-50), rgba(108, 190, 69, .22));
  border-radius: 46% 54% 40% 60% / 52% 42% 58% 48%;
  z-index: 0;
}
.hero__photo {
  position: relative; z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  border: 6px solid #fff;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.hero__badge {
  position: absolute; z-index: 2;
  left: -1.5rem; bottom: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
  background: #fff;
  border-radius: var(--r);
  padding: .85rem 1.1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--blue-50);
}
.hero__badge-num {
  font-family: var(--font-head); font-weight: 800;
  font-size: 1.85rem; line-height: 1;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__badge-txt { font-size: .78rem; line-height: 1.35; color: var(--slate-light); }

/* onda que baja del hero hacia la seccion siguiente */
.wave { position: absolute; left: 0; right: 0; line-height: 0; pointer-events: none; }
.wave svg { width: 100%; height: clamp(60px, 8vw, 110px); display: block; }
.wave--down { bottom: -1px; }
.wave--down svg path { fill: var(--tint); }

/* ------------------------------------------------------------- services -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--gap);
}

.card {
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--blue-100);
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--slate-light); font-size: .96rem; margin: 0; }

.card__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  border-radius: 15px;
  margin-bottom: 1.15rem;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 120%);
  color: #fff;
}
.card__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card:nth-child(2) .card__icon { background: linear-gradient(140deg, var(--blue), #56b8f7); }
.card:nth-child(3) .card__icon { background: linear-gradient(140deg, var(--navy-soft), var(--blue-dark)); }
.card:nth-child(4) .card__icon { background: linear-gradient(140deg, var(--green-dark), var(--green)); }

.services__note {
  display: flex; align-items: center; justify-content: center;
  gap: .7rem; flex-wrap: wrap; text-align: center;
  margin: var(--gap) 0 0;
  padding: 1.1rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--blue-100);
  border-radius: var(--r);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.services__note .ico { color: var(--green); }

/* ----------------------------------------------------------------- pasos -- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3rem);
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-top: .5rem; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--slate-light); font-size: .96rem; }
.step__num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--navy);
  background: var(--blue-50);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--blue-50);
}

/* ----------------------------------------------------------------- work -- */

.work__feature {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.video-frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy-deep);
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.video-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(22, 41, 106, .1), rgba(22, 41, 106, .45));
  color: #fff;
  transition: opacity .25s;
}
.video-play svg {
  width: 68px; height: 68px;
  fill: #fff;
  background: rgba(22, 41, 106, .55);
  border-radius: 50%;
  padding: 14px;
  backdrop-filter: blur(4px);
  transition: transform .2s, background .2s;
}
.video-play:hover svg { transform: scale(1.07); background: var(--blue); }
.video-play.is-hidden { opacity: 0; pointer-events: none; }

.work__feature-copy h3 { margin-bottom: .6rem; }
.work__feature-copy p { color: var(--slate-light); margin-bottom: 1.4rem; }

/* Galeria: son 10 fotos, asi que las columnas son 2 o 5 para que nunca
   quede una ultima fila a medias. */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(.7rem, 1.6vw, 1.1rem);
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(5, 1fr); }
}
.shot {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--blue-50);
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}
.shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .3, 1);
}
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22, 41, 106, .62) 0%, rgba(22, 41, 106, 0) 45%);
  opacity: 0;
  transition: opacity .3s;
}
.shot:hover img, .shot:focus-visible img { transform: scale(1.06); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }

.shot__cap {
  position: absolute; left: .85rem; right: .85rem; bottom: .7rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  text-align: left;
  opacity: 0;
  translate: 0 6px;
  transition: opacity .3s, translate .3s;
}
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; translate: 0 0; }

/* comparador antes / despues */
.beforeafter { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.beforeafter__title { text-align: center; margin-bottom: 1.2rem; }
.ba {
  position: relative;
  max-width: 560px;
  margin-inline: auto;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  user-select: none;
  touch-action: pan-y;
}
.ba__img { width: 100%; height: 100%; object-fit: cover; }
.ba__clip {
  position: absolute; inset: 0;
  width: 50%;
  overflow: hidden;
}
.ba__clip .ba__img { width: var(--ba-w, 560px); max-width: none; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 14px rgba(22, 41, 106, .5);
  pointer-events: none;
}
.ba__handle::after {
  content: "";
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316296A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  box-shadow: var(--shadow);
}
.ba__range {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
}
.ba__tag {
  position: absolute; top: .9rem;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .75rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: #fff;
  background: rgba(22, 41, 106, .78);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.ba__tag--before { left: .9rem; }
.ba__tag--after  { right: .9rem; background: rgba(108, 190, 69, .9); }

/* -------------------------------------------------------------- why us -- */

.why__grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) 1.18fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.why__copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.why__copy .btn { margin-top: 1.6rem; }

.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.8rem);
}
.perk { display: flex; gap: .95rem; align-items: flex-start; }
.perk h3 { font-size: 1.02rem; margin-bottom: .25rem; }
.perk p { font-size: .92rem; color: var(--slate-light); margin: 0; }
.perk__icon {
  display: grid; place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--blue-50);
  color: var(--navy);
}
.perk__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

/* --------------------------------------------------------------- areas -- */

.areas {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem;
  max-width: 54rem; margin-inline: auto;
}
.areas li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r-pill);
  padding: .55rem 1.2rem;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.areas li::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* ---------------------------------------------------------- testimonios -- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: var(--gap);
}
.quote {
  margin: 0;
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}
.quote__stars { display: flex; gap: 2px; margin-bottom: .9rem; }
.quote__stars svg { width: 18px; height: 18px; fill: #F5A623; }
.quote blockquote { margin: 0 0 1.1rem; }
.quote blockquote p {
  font-size: 1.02rem;
  color: var(--navy-deep);
  margin: 0;
}
.quote blockquote p::before { content: "\201C"; }
.quote blockquote p::after  { content: "\201D"; }
.quote figcaption {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  color: var(--navy);
  padding-top: .9rem;
  border-top: 1px solid var(--blue-50);
}
.quote figcaption span { display: block; font-weight: 500; font-size: .85rem; color: var(--slate-light); }

/* ------------------------------------------------------------------ faq -- */

.faq { display: grid; gap: .7rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }

.faq__item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-dark); }

.faq__mark {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-50);
  transition: background .2s, rotate .25s;
}
.faq__mark::before, .faq__mark::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  translate: -50% -50%;
  background: var(--navy);
  border-radius: 2px;
}
.faq__mark::before { width: 10px; height: 2px; }
.faq__mark::after  { width: 2px; height: 10px; transition: opacity .2s; }
.faq__item[open] .faq__mark { background: var(--green); rotate: 90deg; }
.faq__item[open] .faq__mark::after { opacity: 0; }

.faq__body { padding: 0 1.3rem 1.25rem; }
.faq__body p { color: var(--slate-light); margin: 0; }

/* -------------------------------------------------------------- contacto -- */

.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__list { display: grid; gap: .7rem; margin: 2rem 0; }
.contact__list a, .contact__static {
  display: flex; align-items: center; gap: .95rem;
  padding: .95rem 1.15rem;
  background: #fff;
  border: 1px solid var(--blue-50);
  border-radius: var(--r);
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact__list a:hover { transform: translateX(4px); border-color: var(--blue-100); box-shadow: var(--shadow); }
.contact__list strong { display: block; font-weight: 600; font-size: .98rem; word-break: break-word; }
.contact__list em { font-style: normal; font-size: .82rem; color: var(--slate-light); }

.contact__icon {
  display: grid; place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy), var(--blue));
  color: #fff;
}
.contact__icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

.contact__owners {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--blue-50);
  font-size: .92rem;
  color: var(--slate-light);
}
.contact__owners img { width: 58px; height: auto; flex: none; }
.contact__owners strong { color: var(--navy); font-weight: 600; }

/* formulario */
.contact__form-wrap {
  background: linear-gradient(165deg, var(--tint), #fff 55%);
  border: 1px solid var(--blue-50);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: .35rem; }
.form__intro { color: var(--slate-light); font-size: .92rem; margin-bottom: 1.6rem; }

.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.field__opt { font-weight: 500; color: var(--slate-light); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .78rem 1rem;
  background: #fff;
  border: 1.5px solid var(--blue-50);
  border-radius: var(--r-sm);
  font-size: .96rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(33, 150, 243, .14);
}
.field input::placeholder, .field textarea::placeholder { color: #A6B0C8; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5578' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}

.field.has-error input, .field.has-error select { border-color: #E0564B; }
.field__error {
  display: none;
  margin-top: .35rem;
  font-size: .82rem;
  color: #C93B31;
}
.field.has-error .field__error { display: block; }

/* Trampa para bots. Fuera de pantalla en vez de display:none, porque algunos
   bots ignoran los campos ocultos y asi caen igual. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form .btn { margin-top: .5rem; }
.form .btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.form__alt { margin-top: 1rem; text-align: center; font-size: .88rem; color: var(--slate-light); }

.form__status {
  margin-top: .9rem;
  text-align: center;
  font-size: .92rem;
  font-weight: 500;
  color: var(--slate-light);
  min-height: 1.4em;
}
.form__status--ok {
  color: var(--green-dark);
  background: #F1F9EC;
  border: 1px solid #CFE8BF;
  border-radius: var(--r-sm);
  padding: .7rem 1rem;
}
.form__status--error {
  color: #C93B31;
  background: #FDF2F2;
  border: 1px solid #F3C9C7;
  border-radius: var(--r-sm);
  padding: .7rem 1rem;
}

/* --------------------------------------------------------------- footer -- */

/* El borde superior ondulado se hace con una mascara sobre el propio footer,
   no con una franja aparte. Asi el degradado navy -> azul sigue siendo uno solo
   y nunca queda una costura entre la onda y el fondo. */
.site-footer {
  --wave-h: clamp(44px, 5.5vw, 84px);
  --wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 74c360-46 720 4 1440-46V120H0Z' fill='%23000'/%3E%3C/svg%3E");

  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 45%, var(--blue-dark) 130%);
  color: rgba(255, 255, 255, .78);
  padding-top: calc(var(--wave-h) + clamp(2rem, 4vw, 3.2rem));

  -webkit-mask-image: var(--wave-mask), linear-gradient(#000, #000);
          mask-image: var(--wave-mask), linear-gradient(#000, #000);
  -webkit-mask-size: 100% calc(var(--wave-h) + 1px), 100% calc(100% - var(--wave-h));
          mask-size: 100% calc(var(--wave-h) + 1px), 100% calc(100% - var(--wave-h));
  -webkit-mask-position: top left, bottom left;
          mask-position: top left, bottom left;
  -webkit-mask-repeat: no-repeat, no-repeat;
          mask-repeat: no-repeat, no-repeat;
}
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h2 {
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.footer__brand img {
  width: 118px; height: auto;
  margin-bottom: 1.1rem;
  background: #fff;
  border-radius: var(--r);
  padding: 8px;
}
.footer__brand p { font-size: .92rem; max-width: 30ch; }

.footer__nav ul, .footer__contact ul { display: grid; gap: .55rem; font-size: .93rem; }
.footer__owners {
  margin-top: 1.2rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .62);
}

.footer__bar {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem;
  justify-content: space-between;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .84rem;
  color: rgba(255, 255, 255, .6);
}
.footer__bar p { margin: 0; }

/* ------------------------------------------------------------------ fab -- */

.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.08); color: #fff; box-shadow: 0 12px 30px rgba(37, 211, 102, .55); }
.fab svg {
  width: 28px; height: 28px;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------- lightbox -- */

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(.5rem, 2vw, 1.5rem);
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(12, 22, 56, .93);
  backdrop-filter: blur(6px);
  animation: fade .22s ease;
}
.lightbox[hidden] { display: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  min-width: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}
.lightbox__stage figcaption {
  color: rgba(255, 255, 255, .8);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  text-align: center;
}

.lightbox__nav, .lightbox__close {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .2); transform: scale(1.06); }
.lightbox__nav svg, .lightbox__close svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.lightbox__close { position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }

/* ------------------------------------------------------------ animacion -- */

.reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .6s cubic-bezier(.2, .7, .3, 1), translate .6s cubic-bezier(.2, .7, .3, 1);
}
.reveal.is-in { opacity: 1; translate: 0 0; }

/* --------------------------------------------------------- breakpoints -- */

@media (max-width: 1080px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__copy { position: static; }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 380px; }
  .hero__badge { left: auto; right: -1rem; bottom: 1rem; }
  .contact__grid { grid-template-columns: 1fr; }
  .work__feature { grid-template-columns: 1fr; }
  .video-frame { max-width: 320px; margin-inline: auto; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* menu movil */
@media (max-width: 860px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1rem, 5vw, 2rem) 1.6rem;
    background: #fff;
    border-bottom: 1px solid var(--blue-50);
    box-shadow: 0 20px 40px rgba(22, 41, 106, .12);
    translate: 0 -12px;
    opacity: 0;
    visibility: hidden;
    transition: translate .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { translate: 0 0; opacity: 1; visibility: visible; }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    display: block;
    padding: .85rem .2rem;
    border-bottom: 1px solid var(--tint);
    font-size: 1rem;
  }
  .nav__list a::after { display: none; }

  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .6rem;
    margin-top: 1.2rem;
  }
  .nav__actions .btn { width: 100%; }
  .btn--ghost { border-color: var(--blue-50); border-style: solid; }
}

@media (max-width: 620px) {
  :root { --header-h: 66px; }
  .brand__mark { width: 40px; }
  .brand__name { font-size: .98rem; }
  .hero__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar { justify-content: center; text-align: center; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; padding-bottom: 1.5rem; }
  .lightbox__stage { grid-row: 1; }
  .lightbox__nav--prev { grid-column: 1; grid-row: 2; justify-self: end; margin-right: 4rem; }
  .lightbox__nav--next { grid-column: 1; grid-row: 2; justify-self: end; }
  .fab { width: 50px; height: 50px; }
  .fab svg { width: 25px; height: 25px; }
}

/* --------------------------------------------------------- preferencias -- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; translate: none; }
}

@media print {
  .site-header, .fab, .lightbox, .video-frame, .nav-toggle { display: none !important; }
  body { color: #000; }
  .reveal { opacity: 1; translate: none; }
}
