/* ==========================================================================
   Simplyfive Nómina — Hoja de estilos principal
   Estructura:
   1. Fuentes            6. Descubre            11. Footer
   2. Variables          7. Atributos           12. WhatsApp flotante
   3. Base / reset       8. Sobre nosotros      13. Banner de cookies
   4. Utilidades         9. Servicios           14. Animaciones de entrada
   5. Header / Hero     10. Entregables / FAQ   15. Responsive
   ========================================================================== */

/* 1. Fuentes (Inter variable, alojada en el propio servidor) ------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Variables ----------------------------------------------------------- */
:root {
  --lime: #96b507;
  --lime-hover: #a9c914;
  --lime-soft: #b4cb4f;   /* "MAQUILA DE NÓMINA" */
  --lime-pale: #cddb87;   /* "SERVICIOS" / "FAQ" */
  --black: #000;
  --ink: #0f0f0f;
  --gray-bg: #eaeaea;
  --footer-bg: #1e1e1e;
  --white: #fff;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --header-h: 100px;
  --radius-sm: 10px;
  --radius: 16px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

/* 3. Base / reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, picture, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  color: var(--white);
  background: var(--lime);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* 4. Utilidades ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.text-lime { color: var(--lime); }
.fw-regular { font-weight: 400; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn--lime { color: var(--white); background: var(--lime); }
.btn--lime:hover { background: var(--lime-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgb(150 181 7 / 30%); }
.btn--ghost { color: var(--white); border-color: rgb(255 255 255 / 40%); background: transparent; }
.btn--ghost:hover { border-color: var(--white); }

.pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 8px 28px;
  border: 2px solid var(--lime);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
}
.pill--outline { color: var(--ink); background: var(--white); }
.pill--lime { color: var(--white); background: var(--lime); }

/* 5a. Header ------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  background: rgb(0 0 0 / 92%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgb(0 0 0 / 35%); }

.container--header { max-width: calc(960px + var(--gutter) * 2); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.site-header__brand img { width: 128px; height: 60px; }

.site-nav__list { display: flex; gap: 21px; }
.site-nav__list a {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 400;
  transition: color .2s ease;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease-out);
}
.site-nav__list a:hover { color: var(--lime); }
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-header__cta { min-width: 191px; font-size: 16px; }
.site-nav__cta-mobile { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  place-content: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .25s ease, opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 5b. Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(723px + var(--header-h));
  padding: calc(var(--header-h) + 95px) 0 131px;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
  isolation: isolate;
}

/* Imagen estática: se ve mientras carga el canvas o si el usuario
   prefiere menos movimiento. */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #000 url("../img/backgrounds/hero-fallback.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/backgrounds/hero-fallback.webp") type("image/webp"), url("../img/backgrounds/hero-fallback.jpg") type("image/jpeg"));
}
.hero__bg::after {
  /* Viñeta para mantener legible el texto, como en el diseño */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 52%, rgb(0 0 0 / 55%), rgb(0 0 0 / 0%) 75%),
    linear-gradient(180deg, rgb(0 0 0 / 0%) 70%, rgb(0 0 0 / 35%));
  pointer-events: none;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__canvas.is-ready { opacity: 1; }

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: hero-in 1s var(--ease-out) both;
}
.hero__logo { width: 250px; height: auto; margin-bottom: 38px; }
.hero__title {
  max-width: 800px;
  margin-bottom: 37px;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__text {
  max-width: 745px;
  margin-bottom: 34px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}
.hero__claim {
  margin-bottom: 33px;
  font-size: 20px;
  font-weight: 700;
}
.hero .btn { min-width: 293px; }

.lime-band { height: 53px; background: var(--lime); }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* 6. Descubre ------------------------------------------------------------ */
.discover {
  position: relative;
  padding: 95px 0 190px;
  overflow: hidden;
}
.discover__lines {
  position: absolute;
  top: 0;
  left: -2%;
  width: 70%;
  height: 520px;
  background: url("../img/backgrounds/lineas-decorativas.svg") left top / 100% 100% no-repeat;
  opacity: .45;
  pointer-events: none;
}
.discover .container { position: relative; }
.discover__title {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 42px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}
.discover__title img { width: 24px; height: 24px; margin-left: 4px; }

.discover__grid {
  display: grid;
  grid-template-columns: 610px 1fr;
  gap: 208px;
  align-items: start;
}
.discover__media { position: relative; }
.discover__media img { width: 100%; }

.discover__pills .pill { position: absolute; }
.discover__pills .pill:nth-child(1) { left: 58.7%; top: 0;     width: 54.1%; }
.discover__pills .pill:nth-child(2) { left: 68.5%; top: 20.6%; width: 47.5%; }
.discover__pills .pill:nth-child(3) { left: 73.9%; top: 41.5%; width: 50.3%; }

.discover__copy {
  max-width: 410px;
  font-size: 20px;
  line-height: 1.8;
}
.discover__copy p + p { margin-top: 36px; }
.discover__copy strong { font-weight: 700; }

/* 7. Atributos (Maquila de nómina) -------------------------------------- */
.value { padding: 0 0 165px; }
.value__head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 70px;
}
.value__bigword {
  position: relative;
  z-index: 2;
  font-size: clamp(24px, 6.75vw, 97px);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.01em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--lime-soft);
  pointer-events: none;
}
.value__card {
  position: relative;
  width: min(609px, 100%);
  margin-top: -6px;
  padding: 55px 60px 62px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 120px 40px rgb(7 46 104 / 6%);
  text-align: center;
}
.value__title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.035em;
}
.value__title strong { color: var(--lime); font-weight: 700; }
.value__divider {
  margin: 14px 0 34px;
  border: 0;
  border-top: 1px dashed rgb(0 0 0 / 30%);
}
.value__text { font-size: 14px; line-height: 1.7; }

.value__pill { position: absolute; }
.value__pill--left { top: 28px; left: -211px; width: 295px; }
.value__pill--right { right: -210px; bottom: -13px; width: 295px; }

.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 59px;
  max-width: 996px;
  margin-inline: auto;
}
.benefit {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 10px 10px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 -14px 30px rgb(7 46 104 / 2%);
  text-align: center;
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.benefit:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgb(7 46 104 / 8%); }
.benefit img { width: auto; height: 88px; margin-bottom: 22px; transition: transform .35s var(--ease-out); }
.benefit:hover img { transform: scale(1.06); }
.benefit h3 {
  max-width: 190px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

/* 8. Sobre nosotros ------------------------------------------------------ */
.about {
  position: relative;
  isolation: isolate;
  padding: 130px 0;
  color: var(--white);
  background: #000 url("../img/backgrounds/nosotros-textura.jpg") center / cover no-repeat;
  background-image: image-set(url("../img/backgrounds/nosotros-textura.webp") type("image/webp"), url("../img/backgrounds/nosotros-textura.jpg") type("image/jpeg"));
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(0 0 0 / 40%);
}
.about__grid {
  display: grid;
  grid-template-columns: 712fr 504fr;
  gap: 23px;
  align-items: end;
}
.about__photo { overflow: hidden; border-radius: var(--radius-sm); }
.about__photo img {
  width: 100%;
  aspect-ratio: 712 / 710;
  object-fit: cover;
  object-position: 38% center;
}
.about__content { padding-bottom: 70px; }
.about__title {
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
}
.about__title strong { font-weight: 800; }
.about__lead {
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}
.about__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 12px;
}
.about-card {
  padding: 22px 28px 22px 30px;
  border-radius: var(--radius);
  background: rgb(28 28 28 / 88%);
  transition: background-color .3s ease, transform .3s var(--ease-out);
}
.about-card:hover { background: rgb(40 40 40 / 92%); transform: translateY(-4px); }
.about-card h3 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--lime);
}
.about-card p { font-size: 15px; line-height: 1.6; }

/* 9. Servicios ----------------------------------------------------------- */
.services {
  position: relative;
  padding: 205px 0 100px;
  overflow: hidden;
}
.services__lines {
  position: absolute;
  right: -4%;
  bottom: 40px;
  left: 6%;
  height: 420px;
  background: url("../img/backgrounds/lineas-decorativas.svg") center / 100% 100% no-repeat;
  transform: scaleY(-1);
  opacity: .8;
  pointer-events: none;
}
.services__word {
  position: absolute;
  top: 162px;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  font-size: clamp(56px, 10.2vw, 147px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  text-transform: uppercase;
  color: var(--lime-pale);
  white-space: nowrap;
}

.services__stage {
  position: relative;
  z-index: 1;
  aspect-ratio: 1240 / 720;
}
.services__visual { position: absolute; inset: 0; }
.services__arc {
  position: absolute;
  left: 20.56%;
  top: -4.17%;
  width: 58.87%;
  aspect-ratio: 1;
  background: url("../img/backgrounds/servicios-arco.svg") center / contain no-repeat;
}
.services__person {
  position: absolute;
  left: 11.69%;
  top: -1.4%;
  width: 76.6%;
}
.services__tags { position: absolute; inset: 0; pointer-events: none; }
.service-tag {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 2px solid var(--lime);
  border-radius: 999px;
  font-size: clamp(15px, 1.55vw, 22px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  pointer-events: auto;
  transition: transform .3s var(--ease-out);
}
.service-tag:hover { transform: scale(1.04); }
.service-tag--lime { color: var(--white); background: var(--lime); }
.service-tag--outline { color: var(--ink); background: var(--white); }
.service-tag--tl { left: 0;      top: 31.9%; width: 26.5%; min-height: 12%; padding-inline: 2.6em; border-radius: 44px; }
.service-tag--tr { right: 0;     top: 14.6%; width: 23.7%; border-radius: 44px; }
.service-tag--bl { left: 0;      top: 68.9%; width: 32.3%; min-height: 12%; border-radius: 44px; }
.service-tag--br { left: 67.8%;  top: 77.4%; width: 23.7%; }

/* 10a. Compatibilidad y entregables ------------------------------------- */
.deliverables { padding: 55px 0 133px; background: var(--gray-bg); }
.deliverables__title {
  max-width: 520px;
  margin: 0 auto 55px;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-align: center;
  text-transform: uppercase;
}
.deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px;
  max-width: 1103px;
  margin-inline: auto;
}
.d-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 595px;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 13px 22px rgb(0 0 0 / 8%);
  transition: transform .35s var(--ease-out), box-shadow .35s ease;
}
.d-card:hover { transform: translateY(-10px); box-shadow: 0 24px 40px rgb(0 0 0 / 13%); }
.d-card__body { padding: 44px 30px 28px; }
.d-card h3 {
  margin-bottom: 30px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}
.d-card ul { font-size: 16px; line-height: 1.45; letter-spacing: .01em; }
.d-card li { position: relative; padding-left: 14px; }
.d-card li::before { content: "•"; position: absolute; left: 0; }
.d-card__media { margin-top: auto; }
.d-card__media img { width: 100%; height: 307px; object-fit: cover; }
.d-card--lime { color: var(--white); background: var(--lime); }
.d-card--lime .d-card__body { padding-inline: 38px 26px; }
.d-card--lime li { padding-left: 16px; }

/* 10b. FAQ + certificaciones -------------------------------------------- */
.faq {
  position: relative;
  padding: 65px 0 110px;
  overflow: hidden;
}
.faq__lines {
  position: absolute;
  right: -6%;
  bottom: -40px;
  width: 75%;
  height: 360px;
  background: url("../img/backgrounds/lineas-decorativas.svg") center / 100% 100% no-repeat;
  transform: scale(-1, -1);
  pointer-events: none;
}
.faq__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 620px;
  gap: 40px;
  max-width: calc(915px + var(--gutter) * 2);
}
.faq__word {
  padding-top: 25px;
  font-size: 104px;
  font-weight: 700;
  line-height: 1;
  color: var(--lime-pale);
}
.faq__list { display: grid; gap: 16px; }
.faq-item {
  border: 1px solid #e3e3e3;
  border-radius: 12px;
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item:hover, .faq-item[open] { border-color: rgb(150 181 7 / 45%); box-shadow: 0 8px 24px rgb(0 0 0 / 5%); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 14px 24px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lime);
  transition: transform .3s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
}
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer { padding: 0 24px 22px; color: #444; font-size: 16px; line-height: 1.6; }

.certs { position: relative; margin-top: 100px; text-align: center; }
.certs__title {
  margin-bottom: 52px;
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--lime);
}
.certs__list { display: flex; align-items: center; justify-content: center; gap: 110px; }
.certs__list img { width: auto; height: 118px; }

/* 11. Footer ------------------------------------------------------------- */
.site-footer {
  padding: 38px 0 34px;
  color: var(--white);
  background: var(--footer-bg);
}
.site-footer .container { max-width: calc(1232px + var(--gutter) * 2); }
.site-footer__main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #b6bbbe;
}
.site-footer__mark { width: 94px; height: 94px; margin-bottom: 48px; }
.site-footer__info address { font-size: 16px; line-height: 1.25; }
.site-footer__label { margin: 50px 0 16px; font-size: 16px; }
.socials { display: flex; gap: 16px; }
.socials a { display: block; border-radius: 50%; transition: transform .2s ease, opacity .2s ease; }
.socials a:hover { transform: translateY(-3px); opacity: .85; }
.socials img { width: 36px; height: 36px; }

.site-footer__nav { display: flex; align-items: flex-end; gap: 46px; margin-right: 13px; }
.site-footer__col { display: flex; flex-direction: column; gap: 19px; font-size: 16px; }
.site-footer__heading { font-weight: 700; }
.site-footer__col a, .link-button { transition: color .2s ease; }
.site-footer__col a:hover, .link-button:hover { color: var(--lime); }
.site-footer__col--legal a, .link-button { text-decoration: underline; text-underline-offset: 3px; }
.link-button { padding: 0; border: 0; background: none; font-size: 16px; text-align: left; }
.site-footer__copy { margin-top: 50px; font-size: 16px; text-align: center; }

/* 12. WhatsApp flotante -------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 40;
  width: 58px;
  height: 59px;
  border-radius: 50%;
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / 25%));
  transition: transform .25s var(--ease-out);
  animation: wa-pop .6s .8s var(--ease-out) both;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float img { width: 100%; height: 100%; }
@keyframes wa-pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* 13. Banner de cookies -------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(440px, calc(100% - 48px));
  padding: 22px 24px;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius);
  color: var(--white);
  background: rgb(20 20 20 / 96%);
  box-shadow: 0 20px 50px rgb(0 0 0 / 35%);
  font-size: 14px;
  line-height: 1.55;
  animation: hero-in .5s var(--ease-out) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--lime); text-decoration: underline; }
.cookie-banner__actions { display: flex; justify-content: flex-end; gap: 10px; }
.cookie-banner .btn { min-height: 44px; padding: 8px 18px; font-size: 15px; }

/* 14. Animaciones de entrada (solo si JS está activo) ------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .services__word[data-reveal] { transform: translate(-50%, 32px); }
.js .services__word[data-reveal].is-visible { transform: translateX(-50%); }

/* 15. Responsive --------------------------------------------------------- */
@media (max-width: 1360px) {
  .discover__grid { grid-template-columns: 1.15fr 1fr; gap: clamp(60px, 13vw, 208px); }
}

@media (max-width: 1100px) {
  .value__pill { position: static; width: auto; }
  .value__card { display: flex; flex-direction: column; align-items: center; }
  .value__pill--left { order: -1; margin-bottom: 28px; }
  .value__pill--right { margin-top: 30px; }
}

@media (max-width: 1180px) {
  .about__grid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .about__content { padding-bottom: 0; }
}

@media (max-width: 1024px) {
  :root { --header-h: 76px; }
  .site-header__brand img { width: 108px; height: auto; }
  .site-header__cta { display: none; }
  .menu-toggle { display: grid; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: calc(100vh - var(--header-h));
    padding: 12px var(--gutter) 28px;
    overflow-y: auto;
    background: rgb(0 0 0 / 97%);
    border-top: 1px solid rgb(255 255 255 / 10%);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s ease, transform .25s ease;
  }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { display: block; padding: 15px 0; border-bottom: 1px solid rgb(255 255 255 / 10%); font-size: 17px; }
  .site-nav__list a::after { display: none; }
  .site-nav__cta-mobile { display: inline-flex; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 80px) 0 100px; }

  .discover { padding-bottom: 120px; }
  .discover__grid { grid-template-columns: 1fr; gap: 50px; }
  .discover__media { max-width: 610px; margin-right: 22%; }
  .discover__copy { max-width: 640px; }

  .benefits { grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 620px; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__photo { max-width: 712px; }
  .about__photo img { aspect-ratio: 4 / 3; }

  /* Servicios: imagen arriba y etiquetas en cuadrícula */
  .services { padding: 120px 0 80px; }
  .services__word { top: 70px; }
  .services__stage { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; }
  .services__visual { position: relative; width: min(100%, 720px); aspect-ratio: 950 / 720; }
  .services__arc { left: 12%; top: -5.5%; width: 76.8%; }
  .services__person { left: 0; top: -1.4%; width: 100%; }
  .services__tags {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 760px;
    margin-top: 36px;
  }
  .service-tag { position: static; width: auto; min-height: 64px; padding: 12px 22px; font-size: 17px; border-radius: 999px; }

  .deliverables__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .d-card { min-height: 0; }
  .d-card--lime { grid-column: 1 / -1; }

  .faq__grid { grid-template-columns: 1fr; gap: 24px; max-width: 700px; }
  .faq__word { padding-top: 0; font-size: 80px; text-align: center; }

  .site-footer__main { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero__logo { width: 200px; margin-bottom: 30px; }
  .hero__title { font-size: clamp(28px, 7vw, 40px); margin-bottom: 26px; }
  .hero__text { font-size: 15px; line-height: 1.45; margin-bottom: 26px; }
  .hero__claim { font-size: 18px; margin-bottom: 28px; }
  .hero .btn { min-width: 0; width: 100%; max-width: 340px; }
  .lime-band { height: 32px; }

  .discover { padding: 70px 0 90px; }
  .discover__title { font-size: 26px; margin-bottom: 30px; }
  .discover__lines { width: 120%; height: 360px; }
  .discover__media { margin-right: 0; }
  .discover__pills {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
  }
  .discover__pills .pill:nth-child(n) { position: static; width: min(100%, 320px); }
  .discover__copy { font-size: 17px; line-height: 1.7; }
  .discover__copy p + p { margin-top: 20px; }
  .pill { min-height: 48px; font-size: 18px; white-space: normal; }

  .value { padding-bottom: 90px; }
  .value__card { padding: 36px 22px 40px; }
  .value__title { font-size: 26px; }
  .value__bigword { font-size: 8.6vw; }

  .benefits { gap: 18px; }
  .benefit img { height: 72px; margin-bottom: 16px; }
  .benefit h3 { font-size: 16px; }

  .about { padding: 70px 0; }
  .about__title { font-size: 30px; }
  .about__lead { font-size: 18px; line-height: 1.35; }

  .services__tags { grid-template-columns: 1fr; max-width: 460px; }

  .deliverables { padding: 60px 0 80px; }
  .deliverables__title { font-size: 34px; margin-bottom: 40px; }
  .deliverables__grid { grid-template-columns: 1fr; max-width: 460px; }
  .d-card--lime { grid-column: auto; }
  .d-card__body { padding: 34px 24px 26px; }
  .d-card__media img { height: 240px; }

  .faq { padding: 60px 0 80px; }
  .faq__word { font-size: 64px; }
  .faq-item summary { min-height: 64px; padding: 12px 18px; font-size: 16px; }
  .faq-item__answer { padding: 0 18px 18px; font-size: 15px; }
  .certs { margin-top: 70px; }
  .certs__title { font-size: 32px; margin-bottom: 32px; }
  .certs__list { gap: 40px; }
  .certs__list img { height: 92px; }

  .site-footer__nav { flex-wrap: wrap; gap: 30px 46px; margin-right: 0; }
  .site-footer__mark { width: 80px; height: 80px; margin-bottom: 28px; }
  .site-footer__label { margin-top: 28px; }
  .site-footer__copy { margin-top: 28px; font-size: 14px; }

  .whatsapp-float { right: 16px; bottom: 16px; width: 50px; height: 51px; }
  .cookie-banner { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; }
}

@media (max-width: 480px) {
  :root { --gutter: 16px; }
  .benefits { grid-template-columns: 1fr; max-width: 280px; }
  .value__title { font-size: 23px; }
  .about__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .faq__word { font-size: 56px; }
  .certs__list img { height: 78px; }
  .service-tag { font-size: 16px; }
}

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