/* ============================================================
   CASA BARRICA — Landing
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --olive:        #524b34;
  --olive-2:      #4c462f;   /* slightly lighter panels */
  --olive-dark:   #3f3a27;
  --olive-deep:   #2d2a1c;   /* model section / transitions */
  --gold:         #cfa870;
  --gold-light:   #ddc191;
  --gold-soft:    #b89a64;
  --tan:          #c9a05a;
  --copper:       #8c5b2f;
  --rust:         #7b3b2b;
  --cream:        #ede1c8;
  --cream-2:      #f1e8d4;
  --ink:          #3a3322;   /* dark text on cream */
  --text:         #e6ddca;   /* body text on olive */
  --text-dim:     #c8bfa6;
  --heading:      #ece3cf;

  /* Type */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-pad: clamp(64px, 9vw, 132px);   /* unified vertical rhythm */
  --radius: 14px;
  --radius-lg: 22px;
  --line: rgba(207, 168, 112, 0.28);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--olive);
  line-height: 1.65;
  font-size: clamp(15px, 1.05vw, 16.5px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
.svg-sprite { position: absolute; width: 0; height: 0; }

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-pad); }

.kicker {
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.kicker--center { text-align: center; }

.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  color: var(--heading);
  letter-spacing: 0.01em;
}
.display-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--heading);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.section-title em, .contacto-title em, .seguridad .section-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-light);
}

/* Section centered mark (leaf + rules + kicker) */
.section-mark { text-align: center; margin-bottom: clamp(36px, 5vw, 60px); }
.mark-leaf { color: var(--gold); display: inline-block; }
.mark-leaf svg { width: 40px; height: 28px; margin-inline: auto; }
.section-mark .kicker {
  position: relative;
  display: inline-block;
  padding-inline: 1.4em;
  margin: 0.7rem 0 0.4rem;
}
.section-mark .kicker::before,
.section-mark .kicker::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(40px, 12vw, 230px);
  height: 1px;
  background: var(--line);
}
.section-mark .kicker::before { right: 100%; }
.section-mark .kicker::after  { left: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95em 1.9em;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-outline {
  border-color: rgba(222, 205, 170, 0.55);
  color: var(--cream);
  background: transparent;
}
.btn-outline:hover { background: rgba(237, 225, 200, 0.12); border-color: var(--cream); }
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #3a2f1b;
  border-color: var(--gold);
}
.btn-gold:hover { filter: brightness(1.06); }
.btn-ghost {
  border-color: var(--gold-soft);
  color: var(--gold-light);
}
.btn-ghost:hover { background: rgba(207, 168, 112, 0.14); }
.btn-lg {
  font-size: 0.92rem;
  padding: 1.15em 2.6em;
  font-family: var(--serif);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 8px;
}
.btn-arrow { width: 22px; height: 22px; }
.btn-serif-arrow svg { width: 22px; }
.center-cta { text-align: center; margin-top: clamp(40px, 5vw, 64px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--olive-dark);
  border-bottom: 1px solid rgba(0,0,0,0.18);
  padding: 1rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { color: var(--gold); }
.brand-mark svg { width: 30px; height: 20px; }
.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.34em;
  font-size: 1.05rem;
  color: var(--cream);
  padding-left: 0.34em;
}
.primary-nav { display: flex; gap: clamp(1rem, 2.4vw, 2.6rem); }
.primary-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-dim);
  padding: 0.4em 0;
  transition: color .2s;
  position: relative;
}
.primary-nav a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--cream);
  transition: transform .25s, opacity .2s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(rgba(40,37,25,0.55), rgba(40,37,25,0.45)),
              url("assets/mountains-sunset.jpg") center/cover no-repeat;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45,42,28,0.78) 0%, rgba(45,42,28,0.30) 55%, rgba(45,42,28,0.55) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(440px, 64vh, 660px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(50px, 8vw, 90px);
}
.hero-copy { max-width: 540px; }
.hero-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f3ecdc;
  text-shadow: 0 2px 22px rgba(0,0,0,0.45);
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-size: 0.62em;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  margin-top: 0.1em;
}
.hero-sub {
  margin: 1.6rem 0 2.2rem;
  max-width: 430px;
  font-size: 1rem;
  color: #ece6d7;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.hero-emblem {
  align-self: center;
  text-align: center;
  color: var(--cream);
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.emblem-mark { color: var(--gold-light); }
.emblem-mark svg { width: 70px; height: 46px; margin-inline: auto; }
.emblem-name {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: 0.16em;
  margin-top: 0.4rem;
}
.emblem-tagline {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 0.5rem;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr 0.85fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
.nosotros-img img {
  width: 100%;
  height: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}
.nosotros-img--right img { max-height: 300px; }
.nosotros-text { text-align: left; }
.nosotros-text .section-title { margin: 0.3rem 0 1.3rem; }
.nosotros-text p + p { margin-top: 1rem; }
.nosotros-text p { color: var(--text-dim); }

/* ============================================================
   LO QUE HACEMOS
   ============================================================ */
.lo-que-hacemos { background: var(--olive-2); }
.lqh-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 38px);
  margin-top: 1.6rem;
}
.feature-icon { color: var(--gold); }
.feature-icon svg { width: 42px; height: 42px; }
.feature h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}
.feature p { font-size: 0.92rem; color: var(--text-dim); }
.lqh-img img { border-radius: var(--radius); height: 100%; max-height: 420px; object-fit: cover; width: 100%; }

.filosofia {
  text-align: center;
  max-width: 760px;
  margin: clamp(56px, 7vw, 90px) auto 0;
}
.filosofia .section-title { margin-bottom: 1rem; }
.filosofia p { color: var(--text-dim); font-size: 1.05rem; }

/* ============================================================
   PROYECTO
   ============================================================ */
.proyecto .kicker, .proyecto > .container > .section-title { text-align: left; }
.proyecto .section-title { margin-bottom: clamp(32px, 4vw, 52px); }
.proyecto-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr 1fr;
  gap: clamp(24px, 3.5vw, 46px);
  align-items: center;
}
.time-cards { display: flex; flex-direction: column; gap: 18px; }
.time-card {
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
}
.time-card h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.time-card p { font-size: 0.9rem; }
.time-card--gold { background: var(--copper); color: #f4e9d8; }
.time-card--gold h3 { color: #fff; }
.time-card--tan { background: var(--gold); color: #3a2f1b; }
.time-card--tan h3 { color: #2e2614; }
.time-card--ghost { background: transparent; padding-left: 0; }
.time-card--ghost h3 { color: var(--gold-light); }
.time-card--ghost p { color: var(--text-dim); }
.proyecto-img img { width: 100%; height: 100%; max-height: 470px; object-fit: cover; border-radius: var(--radius); }
.aside-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--heading);
  margin-bottom: 0.8rem;
}
.proyecto-aside p { color: var(--text-dim); font-size: 0.95rem; }
.proyecto-aside p + p { margin-top: 1rem; }
.aside-icon { color: var(--gold); display: inline-block; margin: 1.2rem 0 0.4rem; }
.aside-icon svg { width: 40px; height: 40px; }
.proyecto-aside .btn { margin-top: 1.4rem; }

/* ============================================================
   MERCADO
   ============================================================ */
.mercado-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); }
.mercado-intro p { color: var(--text-dim); }
.mercado-intro p + p { margin-top: 1rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  text-align: center;
  max-width: 940px;
  margin-inline: auto;
}
.stat-icon { color: var(--gold); }
.stat-icon svg { width: 54px; height: 54px; margin: 0 auto 1.2rem; }
.stat-value {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--cream);
  letter-spacing: 0.01em;
}
.stat-value span { font-size: 0.5em; font-style: normal; letter-spacing: 0.1em; color: var(--text-dim); }
.stat-value--text { text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value::after {
  content: "";
  display: block;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0.7rem auto;
}
.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 500;
  line-height: 1.7;
}
.opp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  margin-top: clamp(48px, 6vw, 76px);
  max-width: 960px;
  margin-inline: auto;
}
.opp-card {
  background: rgba(0,0,0,0.16);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.opp-card p { color: var(--text-dim); font-size: 0.95rem; }

/* ============================================================
   ¿POR QUÉ CASA BARRICA?
   ============================================================ */
.porque { background: var(--olive-2); }
.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.porque-text .section-title { margin-bottom: 1.3rem; }
.porque-text p { color: var(--text-dim); }
.porque-text p + p { margin-top: 1rem; }
.porque-text .btn { margin-top: 1.8rem; }
.porque-img img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); }

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(40px, 5vw, 64px);
}
.pillar {
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  border-radius: var(--radius);
  color: #f4ecdd;
}
.pillar-icon { color: rgba(255,255,255,0.9); margin-bottom: 1rem; }
.pillar-icon svg { width: 40px; height: 40px; }
.pillar h3 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.pillar p { font-size: 0.9rem; color: rgba(255,255,255,0.86); }
.pillar--olive  { background: #46412c; }
.pillar--copper { background: var(--copper); }
.pillar--tan    { background: var(--gold); color: #382d18; }
.pillar--tan .pillar-icon { color: #4a3a1d; }
.pillar--tan p  { color: #4a3d22; }
.pillar--rust   { background: var(--rust); }

/* ============================================================
   MODELO DE NEGOCIO
   ============================================================ */
.modelo { background: var(--olive-deep); }
.activo { text-align: center; max-width: 620px; margin: 0 auto clamp(44px, 6vw, 70px); }
.activo-label {
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.activo-text { color: var(--gold-light); font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; }

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 26px);
  text-align: center;
  position: relative;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-icon {
  color: var(--gold);
  background: var(--olive-deep);
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin: 0 auto 1.1rem;
}
.process-icon svg { width: 30px; height: 30px; }
.process-step h3 {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-step h3 span { color: var(--gold); }
.process-step p { font-size: 0.82rem; color: var(--text-dim); }

.panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(20px, 3vw, 34px);
  margin-bottom: clamp(20px, 3vw, 34px);
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(255,255,255,0.02);
}
.panel-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}
.panel-title--center { text-align: center; }
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  text-align: center;
}
.panel-grid li { border-left: 1px solid var(--line); padding: 0 0.6rem; }
.panel-grid li:first-child { border-left: 0; }
.mini-icon { color: var(--gold); }
.mini-icon svg { width: 38px; height: 38px; margin: 0 auto 0.9rem; }
.panel-grid p, .dist-row p, .beneficios-grid p { font-size: 0.86rem; color: var(--text-dim); }
.dist-row { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dist-row + .dist-row { margin-top: 1.4rem; }

.beneficios {
  border-radius: var(--radius-lg);
  background: rgba(0,0,0,0.18);
  padding: clamp(1.8rem, 3.4vw, 2.8rem);
}
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 26px);
  text-align: center;
}
.beneficios-grid .mini-icon svg { width: 34px; height: 34px; }
.beneficios-grid p { font-size: 0.8rem; }

/* ============================================================
   EXPANSIÓN
   ============================================================ */
.expansion { padding-block: 0; background: var(--olive-2); }
.expansion-band {
  background: var(--olive-deep);
  color: var(--gold-light);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: clamp(1rem, 2.4vw, 1.5rem) var(--gutter);
}
.expansion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  padding-block: var(--section-pad);
}
.expansion-img img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius); }
.expansion-text .section-title { margin-bottom: 1.2rem; }
.expansion-text p { color: var(--text-dim); }
.expansion-text p + p { margin-top: 1rem; }
.expansion-text .btn { margin-top: 1.8rem; }

/* ============================================================
   INVERSIONES
   ============================================================ */
.inversiones { background: var(--olive); }
.inversiones-intro { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 54px); color: var(--text-dim); }

.plan-toggle {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(36px, 5vw, 56px);
}
.toggle {
  display: inline-flex;
  background: rgba(0,0,0,0.18);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
}
.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 0.7rem 1.4rem;
  color: var(--text-dim);
  text-align: left;
  transition: background .25s, color .25s;
}
.toggle-btn svg { width: 26px; height: 26px; color: currentColor; }
.toggle-btn span { display: flex; flex-direction: column; line-height: 1.2; }
.toggle-btn strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.toggle-btn small { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; }
.toggle-btn.is-active {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #3a2f1b;
}
.bono { display: inline-flex; align-items: center; gap: 0.9rem; max-width: 320px; }
.bono-icon { color: var(--gold); }
.bono-icon svg { width: 34px; height: 34px; }
.bono p { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }
.bono strong { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); }

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: clamp(1.6rem, 2.4vw, 2.2rem) 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.plan--featured { background: rgba(207,168,112,0.10); border-color: rgba(207,168,112,0.5); }
.plan--premium  { background: rgba(123,59,43,0.12); border-color: rgba(207,168,112,0.4); }
.plan-badge {
  position: absolute;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #3a2f1b;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.4em 1.1em;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-badge--premium { background: linear-gradient(180deg, #d8b783, var(--copper)); color: #fff; }
.plan-head { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.plan-emblem { color: var(--gold); }
.plan-emblem svg { width: 46px; height: 46px; }
.plan-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}
.plan-from {
  margin-top: 1.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.plan-range {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gold-light);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.2rem;
}
.plan-stats { display: flex; justify-content: center; gap: 0; margin-bottom: 1.6rem; }
.plan-stats div { flex: 1; padding: 0 0.4rem; }
.plan-stats div:first-child { border-right: 1px solid var(--line); }
.plan-stats dt { font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.4rem; }
.plan-stats dd { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--cream); }
.plan .btn { margin-top: auto; justify-content: center; }

.projection {
  margin-top: clamp(40px, 5vw, 60px);
  background: rgba(0,0,0,0.16);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: grid;
  grid-template-columns: 1.1fr 2.6fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.projection-head { display: flex; align-items: center; gap: 1.1rem; }
.projection-icon {
  color: var(--gold);
  width: 64px; height: 64px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.projection-icon svg { width: 32px; height: 32px; }
.projection-head h3 {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600; margin-bottom: 0.3rem;
}
.projection-head p { font-size: 0.82rem; color: var(--text-dim); }
.projection-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.projection-stats div { text-align: center; padding: 0 0.7rem; border-left: 1px solid var(--line); }
.projection-stats div:first-child { border-left: 0; }
.p-icon { color: var(--gold); }
.p-icon svg { width: 26px; height: 26px; margin: 0 auto 0.6rem; }
.projection-stats dt { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 0.35rem; }
.projection-stats dd { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--cream); }

/* ============================================================
   SEGURIDAD
   ============================================================ */
.seguridad { background: var(--olive-2); }
.seguridad .section-title { margin: 0.2rem 0 1.3rem; }
.seguridad-intro { max-width: 880px; color: var(--text-dim); margin-bottom: clamp(32px, 4vw, 48px); }
.legal-card {
  background: var(--cream);
  color: var(--ink);
  border-left: 5px solid var(--rust);
  border-radius: 10px;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3.4vw, 2.6rem);
}
.legal-card + .legal-card { margin-top: clamp(20px, 2.6vw, 30px); }
.legal-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 700;
  margin-bottom: 1rem;
}
.legal-card p { font-size: 0.92rem; color: #4a4231; }
.legal-card p + p { margin-top: 0.9rem; }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  position: relative;
  background: linear-gradient(rgba(35,32,22,0.62), rgba(35,32,22,0.62)),
              url("assets/agave-close.jpg") center/cover no-repeat;
}
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.contacto-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: var(--cream);
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0,0,0,0.5);
}
.contacto-title strong { font-weight: 700; }
.contacto-title em {
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  color: var(--gold-light);
}

.contact-form {
  background: var(--cream-2);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.4vw, 2.6rem);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #6a5f47;
  margin-bottom: 0.45rem;
}
.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #c3b596;
  padding: 0.5rem 0;
  border-radius: 0;
}
.field input:focus,
.field select:focus { outline: none; border-bottom-color: var(--copper); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238c5b2f' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; }
.phone { display: grid; grid-template-columns: 130px 1fr; gap: 0.8rem; }
.form-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.form-actions .btn-outline { border-color: var(--copper); color: var(--copper); }
.form-actions .btn-outline:hover { background: rgba(140,91,47,0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--olive-deep); padding-block: clamp(40px, 5vw, 56px) 1.4rem; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem 2.5rem;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer-brand .brand-name { font-size: 0.95rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a, .footer-contact a, .footer-contact address {
  font-size: 0.8rem; color: var(--text-dim); font-style: normal;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; max-width: 320px; }
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-light);
  transition: background .2s, color .2s;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--gold); color: #2e2614; }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .panels { grid-template-columns: 1fr; }
  .beneficios-grid { grid-template-columns: repeat(3, 1fr); }
  .projection { grid-template-columns: 1fr; }
  .projection-stats { grid-template-columns: repeat(3, 1fr); row-gap: 1.6rem; }
  .projection-stats div:nth-child(3n+1) { border-left: 0; }
}

@media (max-width: 880px) {
  /* nav -> hamburger */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--olive-dark);
    border-top: 1px solid rgba(0,0,0,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .primary-nav.open { max-height: 380px; }
  .primary-nav a { padding: 0.95rem var(--gutter); border-bottom: 1px solid rgba(255,255,255,0.06); }
  .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 stack */
  .hero-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-emblem { align-self: center; margin-top: 1.5rem; }

  /* layout simplifications */
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img img, .nosotros-img--right img { max-height: 320px; }
  .lqh-grid { grid-template-columns: 1fr; }
  .lqh-img { order: -1; }
  .proyecto-grid { grid-template-columns: 1fr; }
  .porque-grid { grid-template-columns: 1fr; }
  .porque-img { order: -1; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .expansion-grid { grid-template-columns: 1fr; }
  .expansion-img { order: -1; }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid li { border-left: 0; border-top: 1px solid var(--line); padding-top: 1.2rem; }
  .panel-grid li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .process { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .process::before { display: none; }
  .plans { grid-template-columns: 1fr 1fr; gap: 22px; }
  .plan--featured, .plan--premium { margin-top: 0; }
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-title { text-align: center; }
}

@media (max-width: 560px) {
  :root { --section-pad: clamp(52px, 14vw, 72px); }
  .feature-list { grid-template-columns: 1fr; text-align: left; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
  .opp-cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .beneficios-grid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-badge { font-size: 0.56rem; }
  .projection-stats { grid-template-columns: 1fr 1fr; }
  .projection-stats div:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .projection-stats div:nth-child(2n+1) { border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .phone { grid-template-columns: 110px 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { justify-content: center; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
