/* Componentes de UI: botones, hero, secciones y formulario. */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn--dark {
  padding: 13px 22px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
}
.btn--dark:hover {
  background: var(--gold);
}
.btn--dark-lg {
  padding: 15px 30px;
  font-size: 14px;
}
.btn--gold {
  padding: 17px 32px;
  background: var(--gold-light);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.03em;
}
.btn--gold:hover {
  background: var(--gold-lighter);
}
.btn--ghost {
  padding: 14px 26px;
  background: none;
  border: 1px solid rgba(20, 20, 15, 0.25);
  color: var(--ink);
  font-size: 14px;
  border-radius: 2px;
  margin-top: 8px;
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--prev {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  background: none;
  border: 1px solid var(--line-strong-2);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
}
.btn--prev:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 24 / 9;
  background: var(--ink);
  overflow: hidden;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hero__slide picture,
.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 0;
  background: var(--bg);
}
.hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 20, 15, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.hero__dot:hover {
  background: rgba(20, 20, 15, 0.4);
}
.hero__dot.is-active {
  width: 26px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .hero {
    aspect-ratio: 1 / 1;
    max-height: none;
  }
}

/* ---- Stats ---- */
.stats {
  border-bottom: 1px solid var(--line-soft);
}

/* Secciones con textura de fondo, bajo una capa crema para legibilidad */
.stats,
.industries {
  background-color: var(--bg);
  background-image: linear-gradient(rgba(246, 242, 234, 0.86), rgba(246, 242, 234, 0.86)),
    url("../images/textura.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 44px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.stat__num {
  font-weight: 700;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
@media (max-width: 900px) {
  .stats__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---- Cobertura (sello de responsabilidad civil) ---- */
.coverage {
  background: var(--white);
}
.coverage__inner {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.coverage__badge {
  width: 100%;
  max-width: 380px;
  height: auto;
}
@media (max-width: 560px) {
  .coverage__badge {
    max-width: 300px;
  }
}

/* ---- Media placeholder (hueco de imagen, sin foto todavía) ---- */
.media {
  overflow: hidden;
  background: var(--sand);
}
/* Si algún día se coloca <img> dentro, que llene el hueco */
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Overlay sutil: brillo diagonal + marca AURUM tenue */
.media:empty::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 46%),
    linear-gradient(to top, rgba(20, 20, 15, 0.06), rgba(20, 20, 15, 0));
}
.media:empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../brand/aurum-mark-gold.png") center center / 44px auto no-repeat;
  opacity: 0.08;
}

/* ---- Services ---- */
.services {
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.services > .container {
  position: relative;
  z-index: 1;
}
.services > .container.section {
  padding-top: 0;
}

/* Marca AURUM decorativa con parallax (se desplaza de abajo hacia arriba al hacer scroll) */
.parallax-mark {
  position: absolute;
  left: -70px;
  top: -60px;
  width: min(560px, 50vw);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}
.parallax-mark img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .parallax-mark {
    display: none;
  }
}
.services__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 52px;
  align-items: start;
}
.services__tabs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.services__tab {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 19px 18px 19px 16px;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  text-align: left;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.services__tab.is-active {
  border-left-color: var(--gold-light);
  font-weight: 600;
  color: var(--ink);
}
.services__tab-num {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.services__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  min-height: 440px;
}
.services__bodies {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.services__bodies > .services__body {
  flex: 1;
}
.services__body {
  padding: 50px 46px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.services__body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-80);
  margin: 0;
  text-wrap: pretty;
}
.services__bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.services__bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-90);
}
.services__bullet-mark {
  color: var(--gold-light);
  font-size: 10px;
  line-height: 1.9;
}
.services__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  min-height: 440px;
  background: var(--sand);
}

/* ---- Industries / cards ---- */
/* .industries: fondo con textura -> regla compartida ".stats, .industries" arriba */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  min-width: 0;
}
.card__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  height: 248px;
  background: var(--sand);
}
.card__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card__body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .industries__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---- Welcome ---- */
.welcome {
  background: var(--ink);
  color: var(--bg);
}
.welcome__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.welcome__lead {
  font-size: 17px;
  line-height: 1.75;
  color: var(--on-dark);
  margin: 26px 0 20px;
  max-width: 480px;
  text-wrap: pretty;
}
.welcome__note {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(246, 242, 234, 0.48);
  margin: 0 0 36px;
  max-width: 460px;
}
.welcome__stages {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  min-width: 0;
}
.promo-card {
  overflow: hidden;
  border: 1px solid rgba(246, 242, 234, 0.16);
}
.promo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.4s ease;
}
.promo-card:hover img {
  transform: scale(1.05);
  filter: brightness(1.06);
}
.stage {
  border: 1px solid rgba(246, 242, 234, 0.16);
  padding: 38px 40px;
}
.stage--primary {
  border-color: rgba(192, 162, 107, 0.32);
  background: linear-gradient(180deg, rgba(192, 162, 107, 0.08), rgba(192, 162, 107, 0.02));
}
.stage__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.stage__roman {
  font-family: var(--font);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}
.stage__kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(246, 242, 234, 0.55);
  text-transform: uppercase;
}
.stage h3 {
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: -0.016em;
  margin: 0 0 14px;
}
.stage p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(246, 242, 234, 0.72);
  margin: 0;
}
.founders {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  border: 1px solid rgba(246, 242, 234, 0.1);
  background: rgba(246, 242, 234, 0.03);
}
.founders img {
  width: 22px;
  height: auto;
  flex-shrink: 0;
}
.founders p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(246, 242, 234, 0.62);
  margin: 0;
}
.welcome h2 {
  margin: 0 0 26px;
  transition: color 0.5s ease, text-shadow 0.5s ease, letter-spacing 0.5s ease;
}
.welcome h2:hover {
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(192, 162, 107, 0.35);
  letter-spacing: -0.012em;
}
@media (max-width: 900px) {
  .welcome__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .welcome__stages {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---- Blog ---- */
.blog {
  background: var(--white);
}
.blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.blog__all {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 4px;
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.post {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.post__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  height: 230px;
  background: var(--sand);
}
.post__body {
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.post__meta {
  display: flex;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.post__date {
  color: var(--faint);
}
.post h3 {
  font-size: 21px;
  line-height: 1.28;
  letter-spacing: -0.014em;
  margin: 0;
  text-wrap: pretty;
}
.post__body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
@media (max-width: 900px) {
  .blog__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---- FAQ ---- */
.faq {
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
}
.faq__list {
  display: flex;
  flex-direction: column;
  max-width: 900px;
}
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.faq__icon {
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}
.faq__a {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  padding: 0 60px 26px 0;
  max-width: 720px;
}
.faq__list-end {
  border-top: 1px solid var(--line);
}

/* ---- Montreal ---- */
.mtl-hero {
  position: relative;
  height: 520px;
  background: var(--ink);
  overflow: hidden;
}
.mtl-hero__media {
  position: absolute;
  inset: 0;
}
.mtl-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(15, 15, 11, 0.94) 0%,
    rgba(15, 15, 11, 0.72) 55%,
    rgba(15, 15, 11, 0.3) 100%
  );
}
.mtl-hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}
.mtl-hero__title {
  color: var(--bg);
  margin: 0 0 22px;
}
.mtl-hero__sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-dark);
  margin: 0;
  max-width: 560px;
}
.mtl-intro {
  background: var(--white);
}
.mtl-p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-80);
  margin: 0 0 18px;
}
.mtl-p--muted {
  color: var(--muted);
  margin-bottom: 0;
}
.mtl-intro h2 {
  margin: 0 0 24px;
}
.offices {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.office {
  border: 1px solid var(--line-2);
  background: var(--bg);
  padding: 34px 36px;
  min-width: 0;
}
.office__kind {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.office__name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.014em;
  margin-bottom: 16px;
}
.office__addr {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-80);
  margin-bottom: 16px;
  white-space: pre-line;
}
.office__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--ink-90);
}
.office__hours {
  color: var(--muted);
  font-size: 14px;
}
.mtl-services {
  background: var(--bg);
}
.mtl-services h2 {
  margin: 0 0 16px;
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.svc-grid__cell {
  background: var(--white);
  padding: 38px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.svc-grid__cell .num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.svc-grid__cell h3 {
  font-size: 21px;
  line-height: 1.24;
  letter-spacing: -0.014em;
  margin: 0;
}
.svc-grid__cell p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.mtl-team {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.team__member {
  border-top: 2px solid var(--gold-light);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.team__area {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  text-transform: uppercase;
}
.team__name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: -0.012em;
}
.team__role {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
@media (max-width: 900px) {
  .svc-grid,
  .team__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---- About ---- */
.about-hero {
  background: var(--ink);
  color: var(--bg);
}
.about-hero h1 {
  margin: 0 0 26px;
}
.about-hero__p1 {
  font-size: 17px;
  line-height: 1.75;
  color: var(--on-dark);
  margin: 0 0 18px;
  max-width: 520px;
}
.about-hero__p2 {
  font-size: 16px;
  line-height: 1.75;
  color: var(--on-dark-2);
  margin: 0;
  max-width: 520px;
}
.about-hero__seal {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.about-hero__seal img {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.pillars {
  background: var(--white);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar {
  background: var(--white);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.pillar__word {
  font-family: var(--font);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--gold);
}
.pillar p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}
.why {
  background: var(--bg);
}
.why h2 {
  margin: 0 0 28px;
}
.why__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
  height: 540px;
  background: var(--sand);
}
.reasons {
  display: flex;
  flex-direction: column;
}
.reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.reason__num {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gold);
  padding-top: 4px;
}
.reason__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.reason__body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.reasons__end {
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .pillars__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
.founder-note {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 940px;
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.founder-note__media {
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.founder-note__badge {
  width: 100%;
  max-width: 220px;
  height: auto;
}
.founder-note__body {
  min-width: 0;
}
.founder-note p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-90);
  margin: 18px 0 0;
  text-wrap: pretty;
}
.founder-note__sign {
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.founder-note__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1s ease;
}
.founder-note__more.is-open {
  grid-template-rows: 1fr;
}
.founder-note__more-inner {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 0s linear 1s;
}
.founder-note__more.is-open .founder-note__more-inner {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 0s linear 0s;
}
.founder-note__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
}
.founder-note__toggle:hover {
  color: var(--gold-light);
}
.founder-note__toggle-arrow {
  display: inline-block;
  transition: transform 1s ease;
}
.founder-note__toggle[aria-expanded="true"] .founder-note__toggle-arrow {
  transform: rotate(180deg);
}
.founder-note__toggle[aria-expanded="true"] .founder-note__label--more,
.founder-note__toggle[aria-expanded="false"] .founder-note__label--less {
  display: none;
}
@media (prefers-reduced-motion: reduce) {
  .founder-note__more,
  .founder-note__more-inner,
  .founder-note__toggle-arrow {
    transition: none;
  }
}
@media (max-width: 640px) {
  .founder-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .founder-note__media {
    justify-content: flex-start;
  }
  .founder-note__badge {
    max-width: 120px;
  }
}

/* ---- Contact ---- */
.contact__split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  gap: 64px;
  align-items: start;
}
.contact__split h1 {
  margin: 0 0 22px;
}
.contact__sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 40px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__info-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact__info a {
  font-size: 17px;
  color: var(--ink);
}
.contact__cover {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-90);
}
@media (max-width: 900px) {
  .contact__split {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---- Multi-step form ---- */
.form {
  border: 1px solid var(--line-2);
  background: var(--bg);
  min-width: 0;
}
.form__top {
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.form__step-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.form__step-pct {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.form__track {
  height: 2px;
  background: rgba(20, 20, 15, 0.1);
}
.form__bar {
  height: 2px;
  background: var(--gold-light);
  transition: width 0.35s ease;
}
.form__body {
  padding: 44px 40px;
}
.form__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.016em;
  margin: 0 0 8px;
}
.form__hint {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 32px;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form__done {
  padding: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.form__done img {
  width: 44px;
  height: auto;
}
.form__done h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin: 0;
}
.form__done p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  max-width: 440px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field > span {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 15px;
  border-radius: 2px;
}
.field textarea {
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .field-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

.inquiry {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.inquiry__opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: 1px solid rgba(20, 20, 15, 0.16);
  border-radius: 2px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.inquiry__opt.is-active {
  background: var(--white);
  border-color: var(--gold-light);
  font-weight: 600;
}
.inquiry__dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  transform: rotate(45deg);
  border: 1px solid rgba(20, 20, 15, 0.28);
}
.inquiry__opt.is-active .inquiry__dot {
  background: var(--gold-light);
  border: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  padding: 12px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--ink-90);
  border: 1px solid rgba(20, 20, 15, 0.2);
}
.chip.is-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.summary {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  background: var(--white);
}
.summary__row {
  display: grid;
  grid-template-columns: minmax(80px, 0.7fr) minmax(0, 1.6fr);
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.summary__k {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}
.summary__v {
  font-size: 15px;
  color: var(--ink);
}
.summary__consent {
  padding: 20px 24px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Formulario: grupos, validación, consentimiento, archivo ---- */
.group-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.field input[type="file"] {
  padding: 10px 12px;
  cursor: pointer;
}
.field-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0;
  text-transform: none;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-80);
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--gold);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.consent.is-invalid {
  border-color: var(--danger);
}
.consent.is-invalid {
  outline: 1px solid var(--danger);
}
[data-require-one].is-invalid {
  outline: 1px solid var(--danger);
  outline-offset: 8px;
  border-radius: 4px;
}
.form__error,
.form__send-error {
  margin: 22px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--danger);
}
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Reset del <fieldset> usado como paso del formulario */
.form__step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

/* Estado seleccionado de opciones (radio) y chips (checkbox) sin JS */
.inquiry__opt:has(input:checked) {
  background: var(--white);
  border-color: var(--gold-light);
  font-weight: 600;
}
.inquiry__opt:has(input:checked) .inquiry__dot {
  background: var(--gold-light);
  border: 0;
}
.chip:has(input:checked) {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.inquiry__opt:has(input:focus-visible),
.chip:has(input:focus-visible) {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ---- Galería (masonry) + lightbox ---- */
.gallery {
  background: var(--white);
}
.gallery__grid {
  columns: 4 240px;
  column-gap: 14px;
  margin-top: 4px;
}
.gallery__item {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand);
}
.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}
.gallery__item:hover img {
  transform: scale(1.05);
}
.gallery__item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 6vw;
  background: rgba(15, 15, 11, 0.93);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.lightbox__img.is-in {
  transform: scale(1);
  opacity: 1;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 0;
  color: rgba(246, 242, 234, 0.8);
  cursor: pointer;
  font-family: var(--font);
  line-height: 1;
  transition: color 0.2s ease;
}
.lightbox__close:hover,
.lightbox__nav:hover {
  color: #fff;
}
.lightbox__close {
  top: 16px;
  right: 22px;
  font-size: 40px;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 54px;
  padding: 0 12px;
}
.lightbox__nav--prev {
  left: 10px;
}
.lightbox__nav--next {
  right: 10px;
}
@media (max-width: 640px) {
  .lightbox {
    padding: 4vh 3vw;
  }
  .lightbox__nav {
    font-size: 38px;
  }
  .lightbox__close {
    font-size: 32px;
    top: 10px;
    right: 14px;
  }
}
