/* =========================================================
   ATILEC — Design system
   Paleta inspirada en el logotipo: azul marino profundo,
   blanco roto cálido y un acento verde salvia discreto.
   (las variables conservan el nombre --gold-* por compatibilidad,
   pero ahora contienen el verde de marca, no dorado)
   ========================================================= */

:root {
  --navy-950: #1d2d3c;
  --navy-900: #24374a;
  --navy-800: #2d4459;
  --navy-700: #3a5468;
  --navy-600: #4c6b7f;
  --ink: #16283a;
  --ink-soft: #4c5c6b;

  --paper: #ffffff;
  --stone-50: #f7f4ee;
  --stone-100: #efe9de;
  --stone-200: #e2dbcb;

  --gold-600: #4a7a54;
  --gold-500: #6f9a6a;
  --gold-100: #dbe7b6;

  --line: rgba(22, 40, 58, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.14);

  --serif: "Century Gothic", "Century Gothic MT", CenturyGothic, "Jost", "Work Sans", sans-serif;
  --sans: "Century Gothic", "Century Gothic MT", CenturyGothic, "Jost", "Work Sans", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 100px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--gold-600);
  display: inline-block;
}
.section--dark .eyebrow { color: var(--gold-100); }
.section--dark .eyebrow::before { background: var(--gold-100); }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--navy-900);
  color: var(--stone-50);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark p { color: rgba(247, 244, 238, .72); }
.section--stone { background: var(--stone-50); }

.grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--gold-600);
  color: var(--paper);
}
.btn--primary:hover { background: var(--navy-900); }
.btn--outline {
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--ink); }
.section--dark .btn--outline {
  border-color: var(--line-on-dark);
  color: var(--paper);
}
.section--dark .btn--outline:hover { border-color: var(--paper); }
.btn--ghost-dark { color: var(--paper); border-color: rgba(255,255,255,.35); }
.btn--ghost-dark:hover { border-color: var(--paper); }
.btn svg { width: 16px; height: 16px; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 700;
  background: transparent;
  border-bottom: 1px solid var(--line-on-dark);
}
/* backdrop-filter lives on this pseudo-element (not .site-header itself) so the
   header never becomes a containing block for its position:fixed mobile menu */
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 28, 39, 0.92);
  backdrop-filter: blur(10px);
  z-index: -1;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 28px;
  width: auto;
  display: block;
}
.site-footer .logo img { height: 26px; }
.logo-mark {
  width: 26px; height: 26px;
  display: inline-block;
}
.logo-mark path { fill: var(--gold-500); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: .88rem;
  letter-spacing: .04em;
  color: rgba(247,244,238,.8);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: var(--gold-500);
}
.nav-cta { display: flex; align-items: center; gap: 20px; }
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  letter-spacing: .03em;
}
.lang-switch::before {
  content: "";
  width: 15px; height: 15px;
  flex-shrink: 0;
  background-color: rgba(247,244,238,.55);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3c2.5 2.5 3.5 5.5 3.5 9s-1 6.5-3.5 9c-2.5-2.5-3.5-5.5-3.5-9s1-6.5 3.5-9z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3c2.5 2.5 3.5 5.5 3.5 9s-1 6.5-3.5 9c-2.5-2.5-3.5-5.5-3.5-9s1-6.5 3.5-9z'/></svg>") center / contain no-repeat;
}
.lang-switch a { color: rgba(247,244,238,.5); padding: 4px 2px; transition: color .2s ease; }
.lang-switch a:hover { color: rgba(247,244,238,.85); }
.lang-switch a[aria-current="true"] { color: var(--paper); font-weight: 700; }
.lang-switch .sep { color: rgba(247,244,238,.3); }
@media (max-width: 400px) {
  .lang-switch { gap: 4px; font-size: .74rem; }
  .lang-switch a { padding: 6px 3px; }
}

.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--paper);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-links { position: fixed; inset: 84px 0 0 0; background: var(--navy-950);
    flex-direction: column; justify-content: flex-start; padding: 40px 32px; gap: 28px;
    transform: translateY(-110%); transition: transform .3s ease; z-index: 600; }
  .nav-links.is-open { transform: translateY(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-cta .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- Nav dropdown (Proyectos) ---------- */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 8px 4px;
  margin-left: 2px;
  cursor: pointer;
  color: inherit;
}
.dropdown-caret { width: 10px; height: 10px; transition: transform .2s ease; }
.has-dropdown:hover .dropdown-caret,
.has-dropdown.is-open .dropdown-caret { transform: rotate(180deg); }

.dropdown-menu {
  list-style: none;
  margin: 0; padding: 10px;
  position: absolute; top: 100%; left: 50%;
  margin-top: 14px;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--navy-900);
  border: 1px solid var(--line-on-dark);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease;
}
/* Invisible bridge over the visual gap so the hover chain never breaks */
.dropdown-menu::before {
  content: "";
  position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.dropdown-menu li + li { margin-top: 2px; }
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: .85rem;
  white-space: nowrap;
  color: rgba(247,244,238,.8);
}
.dropdown-menu a:hover { background: var(--navy-800); color: var(--paper); }

@media (max-width: 880px) {
  .has-dropdown { position: relative; width: 100%; justify-content: center; }
  .dropdown-toggle {
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    padding: 10px 14px; margin-left: 0;
  }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    display: none; background: transparent; border: none; box-shadow: none;
    min-width: 0; margin-top: 12px; padding: 0 0 0 16px;
  }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .dropdown-menu a { padding: 10px 0; font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--paper);
  overflow: hidden;
  padding: 120px 0 100px;
}
.hero__content { position: relative; max-width: 760px; }
@media (min-width: 981px) { .hero:not(.hero--plain) .hero__content { max-width: 600px; } }
.hero--plain { padding-bottom: 96px; }
.hero .eyebrow { color: var(--gold-100); }
.hero .eyebrow::before { background: var(--gold-100); }
.hero p.lede {
  font-size: 1.15rem;
  color: rgba(247,244,238,.78);
  max-width: 620px;
}
.hero__actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero__building {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 46%;
  overflow: hidden;
}
.hero__building img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 65% center;
}
.hero__building::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgba(15,28,39,.35) 30%, rgba(15,28,39,.15) 100%);
  z-index: 1;
}
.hero__building::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, var(--navy-950) 0%, transparent 38%);
  z-index: 1;
}
@media (max-width: 980px) { .hero__building { display: none; } }

/* ---------- Photo media (project cards, hero) ---------- */
.media-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.media-tint {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,28,39,.5), rgba(15,28,39,.1) 55%, rgba(15,28,39,.55));
}

/* ---------- Page hero (subpáginas) ---------- */
.page-hero {
  position: relative;
  background: var(--navy-950);
  color: var(--paper);
  overflow: hidden;
  padding: 76px 0 64px;
}
.page-hero .eyebrow { color: var(--gold-100); }
.page-hero .eyebrow::before { background: var(--gold-100); }
.page-hero h1 { max-width: 760px; }
.page-hero p.lede { color: rgba(247,244,238,.75); max-width: 620px; font-size: 1.05rem; }
.page-hero .breadcrumb {
  font-size: .8rem;
  color: rgba(247,244,238,.62);
  margin-bottom: 20px;
  letter-spacing: .03em;
}
.page-hero .breadcrumb a:hover { color: var(--paper); }

.page-hero--photo { padding: 150px 0 100px; }
.page-hero__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: hero-kenburns 18s ease-in-out infinite alternate;
}
@keyframes hero-kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__photo { animation: none; }
}
.page-hero__tint {
  position: absolute; inset: 0;
  background: linear-gradient(195deg, rgba(15,28,39,.5) 0%, rgba(15,28,39,.72) 55%, rgba(15,28,39,.92) 100%);
  z-index: 0;
}
.page-hero--photo .container { position: relative; z-index: 1; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-on-dark);
  margin-top: 80px;
  position: relative;
}
.stats div { padding: 28px 0; border-right: 1px solid var(--line-on-dark); }
.stats div:last-child { border-right: none; }
.stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--paper);
  font-weight: 500;
}
.stats span { font-size: .82rem; color: rgba(247,244,238,.6); letter-spacing: .02em; }
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: none; }
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid--2 { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  padding: 40px 36px;
  transition: background .25s ease, transform .25s ease;
}
.service-card:hover {
  background: var(--stone-50);
  transform: translateY(-3px);
}
.service-card .num {
  font-family: var(--serif);
  color: var(--gold-500);
  font-size: 1rem;
  margin-bottom: 18px;
  display: block;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { margin: 0; }

/* ---------- Section head ---------- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.section-head p { max-width: 420px; margin: 0; }
@media (max-width: 700px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Project cards ---------- */
.project-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.project-card:hover {
  box-shadow: 0 20px 44px rgba(15,28,39,.16);
  transform: translateY(-4px);
}
.project-card:hover .media-photo { transform: scale(1.05); }
.project-card__media {
  aspect-ratio: 4/3;
  background: linear-gradient(155deg, var(--navy-800), var(--navy-950));
  position: relative;
  overflow: hidden;
}
.project-card__media .grid-pattern { opacity: .5; }
.project-card__illustrative {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(15,28,39,.75);
  color: rgba(247,244,238,.9);
  font-size: .65rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,.18);
}
.project-card__tag {
  position: absolute; left: 20px; top: 20px;
  background: rgba(15,28,39,.85);
  color: var(--gold-100);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--line-on-dark);
}
.project-card__body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.project-card__loc {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-600);
  font-weight: 600;
  margin-bottom: 8px;
}
.project-card__body h3 { margin-bottom: 12px; }
.project-card__body p { flex: 1; }
.project-card__link {
  margin-top: 18px;
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s ease, color .2s ease;
}
.project-card__link:hover { gap: 13px; color: var(--gold-600); }

/* ---------- Progress stepper ---------- */
.stepper {
  display: flex;
  margin-top: 28px;
}
.stepper__step {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-top: 26px;
  text-align: center;
}
.stepper__step::before {
  /* connector line, drawn from the previous dot to this one */
  content: "";
  position: absolute; top: 9px; left: -50%;
  width: 100%; height: 2px;
  background: var(--line);
  z-index: 0;
}
.stepper__step:first-child::before { content: none; }
.stepper__step::after {
  /* dot */
  content: "";
  position: absolute; top: 3px; left: 50%;
  width: 14px; height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--line);
  z-index: 1;
}
.stepper__step.is-done::before,
.stepper__step.is-current::before {
  background: var(--gold-500);
}
.stepper__step.is-done::after,
.stepper__step.is-current::after {
  background: var(--gold-500);
  border-color: var(--gold-500);
}
.stepper__step.is-current::after {
  box-shadow: 0 0 0 4px rgba(171, 138, 85, 0.25);
}
.stepper__label {
  display: block;
  margin-top: 4px;
  padding: 0 3px;
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.3;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
@media (max-width: 480px) {
  .stepper__label { font-size: .58rem; letter-spacing: .02em; padding: 0 1px; }
  .stepper__step { padding-top: 22px; }
}
.stepper__step.is-current .stepper__label,
.stepper__step.is-done .stepper__label {
  color: var(--ink);
  font-weight: 600;
}
.section--dark .stepper__step::before,
.page-hero .stepper__step::before { background: var(--line-on-dark); }
.section--dark .stepper__step::after,
.page-hero .stepper__step::after { background: var(--navy-900); border-color: var(--line-on-dark); }
.section--dark .stepper__label,
.page-hero .stepper__label { color: rgba(247,244,238,.6); }
.section--dark .stepper__step.is-current .stepper__label,
.section--dark .stepper__step.is-done .stepper__label,
.page-hero .stepper__step.is-current .stepper__label,
.page-hero .stepper__step.is-done .stepper__label { color: var(--paper); font-weight: 700; }
.section--dark .stepper__step.is-done::before, .section--dark .stepper__step.is-current::before,
.page-hero .stepper__step.is-done::before, .page-hero .stepper__step.is-current::before { background: var(--gold-500); }
.section--dark .stepper__step.is-done::after, .section--dark .stepper__step.is-current::after,
.page-hero .stepper__step.is-done::after, .page-hero .stepper__step.is-current::after { background: var(--gold-500); border-color: var(--gold-500); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card__photo {
  aspect-ratio: 3/4;
  background: var(--navy-800);
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}
.team-card__photo .initial {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 3.4rem;
  color: rgba(255,255,255,.28);
}
.team-card__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(35%);
}
.team-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.team-card .role {
  font-size: .78rem;
  color: var(--gold-600);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.team-card p { font-size: .9rem; }

/* ---------- Quote / mission ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.mv-block { padding-top: 28px; border-top: 1px solid var(--line); }
.section--dark .mv-block { border-color: var(--line-on-dark); }
.mv-block + .mv-block { margin-top: 32px; }
.mv-block .num { color: var(--gold-500); font-family: var(--serif); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-weight: 600;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  border-radius: var(--radius);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
}
.contact-detail { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-detail .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-600); font-weight: 600; width: 110px; flex-shrink: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(247,244,238,.6);
  padding: 72px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-top h4 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-top ul { list-style: none; margin: 0; padding: 0; }
.footer-top li { margin-bottom: 10px; font-size: .9rem; }
.footer-top a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Mini interest form (dentro de una tarjeta de proyecto) ---------- */
.mini-interest {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mini-interest__label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.mini-interest__form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mini-interest__form input {
  flex: 1;
  min-width: 130px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 11px 13px;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--ink);
}
.mini-interest__form input:focus { outline: none; border-color: var(--gold-500); }
.mini-interest__form .btn { font-size: .82rem; padding: 11px 18px; white-space: nowrap; }
@media (max-width: 480px) { .mini-interest__form input, .mini-interest__form .btn { flex: 1 1 100%; } }

/* ---------- Commercial banner (registro de interés) ---------- */
.banner-commercial {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--navy-950);
  color: var(--paper);
  padding: 40px 44px;
  margin-top: -1px;
}
.banner-commercial__text { max-width: 480px; }
.badge-gold {
  display: inline-block;
  background: var(--gold-600);
  color: var(--paper);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  margin-bottom: 14px;
}
.banner-commercial h2 { color: var(--paper); font-size: 1.5rem; margin-bottom: 8px; }
.banner-commercial p { color: rgba(247,244,238,.75); margin: 0; }
.banner-commercial__form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 1;
  min-width: 320px;
  max-width: 560px;
}
.banner-commercial__form input {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--line-on-dark);
  background: rgba(255,255,255,.06);
  color: var(--paper);
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: .9rem;
}
.banner-commercial__form input::placeholder { color: rgba(247,244,238,.45); }
.banner-commercial__form input:focus { outline: none; border-color: var(--gold-500); }
.banner-commercial__form .btn { white-space: nowrap; }
@media (max-width: 760px) {
  .banner-commercial { padding: 32px 28px; }
  .banner-commercial__form { max-width: none; min-width: 0; width: 100%; }
  .banner-commercial__form input, .banner-commercial__form .btn { flex: 1 1 100%; min-width: 0; }
}

/* ---------- Photo band ---------- */
.photo-band {
  position: relative;
  aspect-ratio: 21/8;
  overflow: hidden;
  margin: 80px 0;
}
.photo-band img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 700px) { .photo-band { aspect-ratio: 4/3; margin: 56px 0; } }

/* ---------- Photo carousel ---------- */
.carousel {
  position: relative;
  margin: 48px 0;
}
.carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  display: flex;
  gap: 16px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 auto;
  width: min(92%, 980px);
  aspect-ratio: 4/3;
  scroll-snap-align: start;
  overflow: hidden;
  background: var(--stone-100);
}
.carousel__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
.carousel__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}
.carousel__btn:hover { border-color: var(--ink); }
.carousel__btn svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .carousel__slide { width: 88%; } }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 500;
  background: var(--navy-950);
  color: var(--paper);
  border-top: 1px solid var(--line-on-dark);
  padding: 20px 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__inner p { margin: 0; font-size: .85rem; line-height: 1.5; color: rgba(247,244,238,.85); max-width: 640px; }
.cookie-banner__inner a { text-decoration: underline; color: var(--paper); }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
@media (max-width: 620px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions .btn { flex: 1; }
}

/* ---------- Utilities ---------- */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.reveal { transition: opacity .6s ease, transform .6s ease; }
.js-reveal-ready .reveal { opacity: 0; transform: translateY(16px); }
.js-reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
