/* ===== Variables ===== */
:root {
  --bg: #000;
  --border: rgba(255, 255, 255, 0.12);
  --hairline: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --text-2: #c9c9c9;   /* párrafos */
  --muted: #8c8c8c;    /* etiquetas y notas */
  --radius: 12px;
  --max: 1240px;

  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "DM Mono", ui-monospace, monospace;

  /* Espaciado */
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(96px, 11vw, 150px);
  --head-gap: clamp(48px, 6vw, 72px);
  --grid-gap: clamp(16px, 2vw, 24px);

  /* Escala tipográfica (misma lógica que el hero: títulos medianos en peso 500) */
  --fs-h1: clamp(2rem, 3.4vw, 3.1rem);
  --fs-h2: clamp(1.9rem, 3.2vw, 2.9rem);
  --fs-h3: clamp(1.15rem, 1.4vw, 1.35rem);
  --fs-lead: clamp(1.05rem, 1.35vw, 1.2rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-label: .72rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Etiquetas (monoespaciadas, como en el hero) ===== */
.eyebrow, .hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #d0d0d0;
  margin-bottom: 24px;
}
.eyebrow span { color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow span::after { content: ""; width: 24px; height: 1px; background: var(--hairline); }

/* ===== Botones ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn--light { background: #fff; color: #000; }
.btn--light:hover { background: #d9d9d9; }
.btn--light span { transition: transform .2s; }
.btn--light:hover span { transform: translateX(4px); }
.btn--sm { padding: 10px 18px; font-size: .82rem; }
.btn--square { border-radius: 2px; padding: 17px 28px; }
.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

/* Logo: columna minimalista (capitel) + nombre */
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.logo__mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 8px;
}
.logo__mark svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square;
}
.logo__word {
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em;
  line-height: 1; white-space: nowrap;
}
.logo__word em { font-style: normal; font-weight: 300; }

.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: .88rem; text-decoration: none; color: var(--text-2); transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }

.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-size: .86rem; text-decoration: none; color: var(--text-2); }

.nav__toggle { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  padding: 140px 0 96px;
  overflow: hidden;
  background: #000;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.65) 40%, rgba(0,0,0,.15) 75%),
    linear-gradient(0deg, rgba(0,0,0,.7) 0%, transparent 35%);
}
.hero__content { position: relative; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.025em;
  max-width: 18ch;
  margin-bottom: 52px;
}

.hero__stats { list-style: none; display: flex; gap: clamp(32px, 5vw, 64px); margin: 0 0 52px; padding: 0; }
.hero__stats strong,
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 300;
  letter-spacing: -.02em;
  line-height: 1.1;
  margin-bottom: 6px;
}
.hero__stats span { font-size: .92rem; color: #dcdcdc; white-space: nowrap; }

/* ===== Intro (frase centrada) ===== */
.intro { padding: clamp(96px, 11vw, 150px) 0 clamp(72px, 8vw, 110px); text-align: center; }
.intro__label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: #d9d9d9; margin-bottom: 36px; }
.intro__text {
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  font-weight: 400;
  line-height: 1.55;
  max-width: 34em;
  margin: 0 auto;
}
.intro__strip { margin-top: clamp(72px, 9vw, 120px); }
.intro__strip-label { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.intro__strip ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px clamp(32px, 6vw, 80px);
}
.intro__strip li {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -.01em;
  color: #e9e9e9;
  opacity: .85;
}

/* ===== Fondos de sección ===== */
.section--black { background: #000; }
.section--graphite { background: #0f0f0f; }
.section--gradient { background: linear-gradient(180deg, #1b1b1b 0%, #0b0b0b 100%); }

/* ===== Secciones ===== */
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .5) 0; }

.section__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  align-items: end;
  margin-bottom: var(--head-gap);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__title {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.section__lead {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 32rem;
}
.section__head .section__lead { padding-bottom: .3em; }

/* ===== Tarjetas (degradado gris como la referencia) ===== */
.card, .pillar, .testimonial, .form {
  border-radius: var(--radius);
  background: linear-gradient(165deg, #474747 0%, #2c2c2c 45%, #161616 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
}

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--grid-gap); }
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 36px);
  min-height: 280px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(255,255,255,.5); transform: translateY(-4px); }

.card__icon, .pillar__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: 36px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .25s, color .25s;
}
.card__icon svg, .pillar__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .card__icon { background: #fff; color: #000; }
.card h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 10px; }
.card p { font-size: .93rem; line-height: 1.6; color: var(--text-2); margin-bottom: 28px; max-width: 32ch; }
.card__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex; gap: 8px; align-items: center;
  font-size: var(--fs-small); font-weight: 500;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--hairline);
  transition: border-color .2s, gap .2s;
}
.card:hover .card__link { border-color: #fff; gap: 12px; }

/* ===== Nosotros ===== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.about__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.about__text .section__title { margin-bottom: 28px; }
.about__lead { font-size: var(--fs-lead); line-height: 1.6; color: #e6e6e6; margin-bottom: 18px; }
.about__text > p:not(.about__lead):not(.eyebrow) { color: var(--text-2); font-size: .95rem; }
.about__text .btn { margin-top: 40px; }
.about__facts { margin: 40px 0 44px; border-top: 1px solid var(--hairline); }
.about__facts + .btn { margin-top: 0; }
.about__facts div {
  display: grid; grid-template-columns: 170px 1fr; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--hairline);
}
.about__facts dt, .contact__list dt {
  font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding-top: 3px;
}
.about__facts dd, .contact__list dd { margin: 0; font-size: .95rem; }

/* ===== Metodología ===== */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--grid-gap); }
.pillar { padding: clamp(28px, 3vw, 34px); }
.pillar h3 { font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; margin-bottom: 10px; }
.pillar p { font-size: .92rem; color: var(--text-2); }

.values {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 7vw, 112px);
  margin-top: clamp(80px, 10vw, 128px);
  padding-top: clamp(48px, 6vw, 64px);
  border-top: 1px solid var(--hairline);
}
.values__text { font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.values__list { list-style: none; margin: 0; padding: 0; counter-reset: valor; }
.values__list li {
  counter-increment: valor;
  display: grid; grid-template-columns: 56px 1fr 1.2fr; gap: 24px; align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--hairline);
}
.values__list li:first-child { padding-top: 0; }
.values__list li::before {
  content: counter(valor, decimal-leading-zero);
  font-family: var(--font-mono); font-size: var(--fs-label); color: var(--muted);
}
.values__list h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.values__list p { font-size: .93rem; color: var(--text-2); }

/* ===== Frase ===== */
.quote-band { padding: clamp(96px, 12vw, 160px) 0; text-align: center; }
.quote-band__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.03em;
  max-width: 20ch;
  margin: 0 auto 44px;
}
.quote-band__text span { display: block; font-family: var(--font-body); font-weight: 400; color: var(--text-2); font-size: clamp(1.05rem, 1.5vw, 1.25rem); letter-spacing: 0; margin-top: 22px; }

/* ===== Proceso ===== */
.banner {
  margin-bottom: clamp(48px, 6vw, 72px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 21 / 8;
}
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 40px); }
.step { padding-top: 24px; border-top: 1px solid var(--hairline); }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 24px;
}
.step h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--text-2); }

/* ===== Testimonios ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: var(--grid-gap);
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.testimonial {
  margin: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 40px;
  padding: clamp(28px, 3vw, 36px);
  scroll-snap-align: start;
}
.testimonial blockquote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: #ececec; }
.testimonial blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 3rem; font-weight: 500; line-height: .8;
  color: rgba(255,255,255,.4);
  margin-bottom: 12px;
}
.testimonial figcaption { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.testimonial strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: .98rem; }
.testimonial small { font-size: .82rem; color: var(--muted); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--font-mono); font-size: .75rem;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}

/* ===== Aviso de seguridad ===== */
.notice {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  background: linear-gradient(165deg, #1c1c1c 0%, #0c0c0c 100%);
}
.notice__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.notice h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; margin-bottom: 16px; }
.notice p { color: var(--text-2); margin-bottom: 22px; }
.notice ul { margin: 0; padding: 0; list-style: none; }
.notice li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid var(--hairline);
  font-size: .95rem; color: #e6e6e6;
}
.notice li::before { content: "✓"; position: absolute; left: 0; color: #fff; }
.notice a { color: #fff; text-underline-offset: 3px; }

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.faq-layout__head { position: sticky; top: 120px; }
.faq-layout__head .section__title { margin-bottom: 22px; }
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -.01em;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  transition: color .2s;
}
.faq summary:hover { color: var(--text-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--hairline);
  font-family: var(--font-body); font-weight: 300; font-size: 1.2rem;
  transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: #fff; color: #000; }
.faq details p { padding: 0 64px 28px 0; color: var(--text-2); line-height: 1.7; }

/* ===== Contacto ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); align-items: start; }
.contact__info .section__title { margin-bottom: 22px; }
.contact__img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 25%;
  border-radius: var(--radius);
  margin: 44px 0 36px;
}
.contact__list { margin: 0; border-top: 1px solid var(--hairline); }
.contact__list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }

.form {
  position: sticky; top: 110px;
  padding: clamp(28px, 3.5vw, 44px);
  display: grid; gap: 22px;
}
.form__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label {
  display: grid; gap: 8px;
  font-family: var(--font-mono); font-size: var(--fs-label); text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
}
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,.45);
  color: #fff;
  font: 400 1rem/1.4 var(--font-body);
  letter-spacing: normal;
  text-transform: none;
  transition: border-color .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: #fff; }
.form .invalid { border-color: #e5484d; }
.form__check {
  display: flex !important; align-items: flex-start; gap: 12px !important;
  font-family: var(--font-body) !important; font-size: var(--fs-small) !important;
  text-transform: none !important; letter-spacing: normal !important;
  color: var(--text-2) !important;
}
.form__check input { width: auto; margin-top: 4px; accent-color: #fff; }
.form__check a { color: #fff; }
.form .btn { margin-top: 6px; }
.form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.form__status { font-size: var(--fs-small); min-height: 1.2em; }
.form__status a { color: #fff; font-weight: 500; }
.form__status.error { color: #ff8a8d; }
.form__status.ok { color: #7ee2a8; }

/* ===== Footer ===== */
.footer { background: #000; border-top: 1px solid var(--hairline); padding: clamp(64px, 8vw, 104px) 0 32px; }
.footer__cta {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text-2);
  margin-bottom: clamp(48px, 6vw, 72px);
}
.footer__cta a { color: #fff; font-weight: 500; text-decoration: none; }
.footer__cta a:hover { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1px; }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer__legal { margin-top: 14px; color: var(--muted); font-size: .82rem; line-height: 1.7; }
.footer__links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-size: .88rem; color: var(--text-2); }
.footer__links a:hover { color: #fff; }
.footer__copy { margin-top: 24px; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ===== Animación de entrada ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .nav__phone { display: none; }
  .nav__links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(0,0,0,.96);
    border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav__links.open { max-height: 480px; }
  .nav__links a { padding: 16px var(--gutter); border-top: 1px solid var(--border); font-size: 1rem; }
  .nav__toggle { display: block; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { row-gap: 48px; }
  .section__head, .about, .contact, .notice, .faq-layout, .values { grid-template-columns: 1fr; }
  .section__head .section__lead { margin-top: 22px; }
  .faq-layout__head, .form { position: static; }
  .about__img { aspect-ratio: 4 / 3; }

  .hero__bg img { object-position: 62% center; }
  .hero__bg::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.72) 50%, rgba(0,0,0,.45)); }
}

@media (max-width: 640px) {
  .cards, .steps, .pillars, .form__row { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card__icon, .pillar__icon { margin-bottom: 26px; }
  .values__list li { grid-template-columns: 40px 1fr; row-gap: 6px; }
  .values__list p { grid-column: 2; }

  .hero { align-items: flex-end; min-height: 100svh; }
  .hero h1 { max-width: none; margin-bottom: 36px; }
  .hero__stats { flex-wrap: wrap; gap: 20px 32px; margin-bottom: 36px; }
  .hero__stats span { font-size: .82rem; }
  .btn--square { width: 100%; }

  .testimonials { grid-template-columns: repeat(3, 86%); }
  .about__facts div, .contact__list div { grid-template-columns: 1fr; gap: 4px; }
  .faq details p { padding-right: 0; }
  .nav__right .btn { display: none; }
}
