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

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

  /* 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: 400;
  color: var(--text-dim);
  margin-bottom: 0.9rem;
  border-bottom: 1px solid var(--text-dim);
  width: min-content;
  min-width: 100px;
}

.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;
  text-transform: uppercase;
}

.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(--text-dim);
}

.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: rgba(0, 0, 0, 0);
  color: #3a2f1b;
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--gold);
}

.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);
  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: 400;
  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;
  padding-inline: var(--gutter);
}

/* .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);
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.45)),
    url("assets/mountains-sunset.jpg") center/cover no-repeat;
  border-radius: 1.5rem;
}

.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: var(--heading);
  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(--heading);
  margin-top: 0.1em;
}

.hero-sub {
  margin: 1.6rem 0 2.2rem;
  max-width: 430px;
  font-size: 1rem;
  color: #fff;
  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 {
  position: relative;
}

.nosotros::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  inset: 0;
  background-image: url(./assets/nosotros-decorator.svg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 45vw;
  opacity: 0.1;
  z-index: -1;
}

.nosotros-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  margin-bottom: 2rem;
}

.nosotros-grid--right {
  display: grid;
  grid-template-columns: 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; */
  height: 500px;
}

.nosotros-img--left img {
  /* max-height: 300px; */
  height: 500px;
}

.nosotros-text {
  text-align: left;
}

.nosotros-text .section-title {
  margin: 0.3rem 0 1.3rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

.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: 3.2rem;
}

.feature {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-icon {
  color: var(--gold);
}

.feature-icon img {
  width: 42px;
  height: 42px;
}

.feature h3 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 400;
  margin: 1rem 0 0.5rem;
}

.feature p {
  font-size: 0.8rem;
  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;
  text-transform: uppercase;
  color: var(--text-dim);
}

.filosofia p {
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* ============================================================
   PROYECTO
   ============================================================ */
.proyecto .kicker,
.proyecto>.container>.section-title {
  text-align: left;
}

.proyecto .kicker {
  margin-bottom: 4rem;
}

.proyecto .section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.proyecto-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr 0.95fr;
  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: 400;
}

.time-card p {
  font-size: 0.9rem;
}

.time-card--gold {
  background: var(--copper);
  color: var(--heading);
}

/* .time-card--gold h3 { */
/* color: var(--tex); */
/* } */

.time-card--tan {
  background: var(--gold);
  color: var(--olive);
}

/* .time-card--tan h3 {
  color: #2e2614;
} */

.time-card--ghost {
  background: var(--text-dim);
  color: var(--olive);
}

/* .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;
  line-height: 2rem;
  color: var(--heading);
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.proyecto-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.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;
}

.aside-icon img {
  width: 80px;
  height: 80px;
}

.proyecto-aside .btn {
  margin-top: 1.4rem;
}

/* ============================================================
   MERCADO
   ============================================================ */
.proyecto .section-mark {
  margin-top: 6rem;
}

.proyecto .kicker--center img {
  margin: auto;
  width: 25px;
  margin-bottom: 0.5rem;
}

.proyecto .kicker--center {
  text-align: center;
  min-width: max-content;
  border-bottom: unset;
  margin-bottom: 1rem;
}

h4.display-title {
  font-size: 2rem;
}

.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 img {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.2rem;
}

.stat-value {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  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>img {
  margin: 0.5rem auto;
  width: 150px;
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.7;
}

.opp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(48px, 6vw, 76px);
  margin-inline: auto;
}

.opp-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  /* background: rgba(0, 0, 0, 0.16); */
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(35, 32, 22, 0.7));
  padding: clamp(1.4rem, 2.6vw, 2rem);
}

.opp-card:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right: 1px solid var(--line);
}

.opp-card:last-child {
  border-left: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.opp-card img {
  width: 60px;
}

.opp-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.opp-card b {
  color: var(--tan);
  font-weight: 500;
}

/* ============================================================
   ¿POR QUÉ CASA BARRICA?
   ============================================================ */
.porque {
  background: linear-gradient(rgba(35, 32, 22, 0), var(--olive-deep));
}

.porque-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.porque-text .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.porque-text p {
  color: var(--text-dim);
}

.porque-text p+p {
  margin-top: 1rem;
}

.porque-text .btn {
  margin-top: 2rem;
}

.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: var(--olive);
}

.pillar--copper {
  background: var(--copper-light);
}

.pillar--tan {
  background: var(--tan);
  color: #382d18;
}

.pillar--tan .pillar-icon {
  color: #4a3a1d;
}

.pillar--tan p {
  color: #4a3d22;
}

.pillar--rust {
  background: var(--copper);
}

/* ============================================================
   MODELO DE NEGOCIO
   ============================================================ */
.modelo {
  background: var(--olive-deep);
}

.modelo .kicker--center img {
  margin: auto;
  width: 25px;
  margin-bottom: 0.5rem;
}

.modelo .kicker--center {
  text-align: center;
  min-width: max-content;
  border-bottom: unset;
  margin-bottom: 1rem;
}

.modelo .display-title {
  font-size: 2rem;
}

.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 img {
  width: 40px;
  height: 40px;
}

.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); */
  padding: 2rem 1rem;
  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 1rem;
}

.panel-grid li:first-child {
  border-left: 0;
}

.mini-icon {
  color: var(--gold);
}

.mini-icon img {
  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(5, 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: linear-gradient(var(--olive-deep) 15%, rgba(35, 32, 22, 0) 80%);
  position: relative;
}

.expansion::before {
  content: "";
  position: absolute;
  inset: 0px;
  background-image: url(./assets/nosotros-decorator.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 45vw;
  opacity: 0.1;
  z-index: -1;
}

.expansion-band {
  background: var(--olive-deep);
  margin-top: 4rem;
  color: var(--text-dim);
  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: 460px;
  /* max-height: 660px; */
  object-fit: cover;
  object-position: left;
  border-radius: var(--radius);
}

.expansion-text .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.expansion-text p {
  color: var(--text-dim);
}

.expansion-text p+p {
  margin-top: 1rem;
}

.expansion-text .btn {
  margin-top: 2rem;
}

/* ============================================================
   INVERSIONES
   ============================================================ */
.inversiones {
  background: var(--olive);
}

.inversiones .kicker--center img {
  margin: auto;
  width: 25px;
  margin-bottom: 0.5rem;
}

.inversiones .kicker--center {
  text-align: center;
  min-width: max-content;
  border-bottom: unset;
  margin-bottom: 1rem;
}

.inversiones .display-title {
  font-size: 2rem;
}

.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: var(--olive);
  border: 1px solid var(--gold);
  border-radius: 1000px;
}

.toggle-btn:first-child {
  border-radius: 1000px 0 0 1000px;
}

.toggle-btn:last-child {
  border-radius: 0 1000px 1000px 0;
}

.toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  padding: 0.7rem 1.4rem;
  color: var(--heading);
  text-align: left;
  transition: background .25s, color .25s;
}

.toggle-btn img {
  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: var(--gold);
}

.bono {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 320px;
}

.bono-icon {
  color: var(--gold);
}

.bono-icon img {
  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.5rem;
  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(--text-dim);
  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: var(--gold);
  color: #3a2f1b;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.4em 1.1em;
  border-radius: 8px;
  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 img {
  width: 120px;
  height: 100px;
}

.plan-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream);
}

.plan>img {
  margin: 0.5rem 0;
}

.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(--tan);
  margin-bottom: 1.2rem;
}

.plan-range.normal {
  border-color: var(--text-dim);
}

.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(--tan);
}

.plan-stats.normal div {
  border-color: var(--text-dim);
}

.plan-stats dt {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.plan-stats dt img {
  width: 24px;
  margin: 0 auto 0.5rem;
}

.plan-stats dd {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--cream);
}

.plan:not(.plan--featured) .btn-ghost {
  border-color: var(--text-dim);
  color: var(--text-dim);
}

.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 img {
  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 img {
  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);
}

.inversiones .btn-gold {
  background-color: var(--gold);
  color: var(--text-dim);
}

.inversiones .btn-gold:hover,
.inversiones .btn-gold:focus {
  background-color: var(--olive);
  color: var(--gold);
}

/* ============================================================
   SEGURIDAD
   ============================================================ */
.seguridad {
  background: var(--olive);
}

.seguridad .section-title {
  margin: 0.2rem 0 1.3rem;
  text-transform: unset;
}

.seguridad .section-title em {
  font-style: normal;
}

.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;
  justify-content: space-between;
  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);
}

.contacto .btn-gold {
  background-color: var(--gold);
  color: var(--text-dim)
}

.contacto .btn-gold:hover,
.contacto .btn-gold:focus {
  background-color: var(--text-dim);
  color: var(--gold)
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--olive);
  padding: 1.4rem 0 3rem;
  /* 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 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;
  margin-right: auto;
  /* max-width: 320px; */
}

.footer-contact>div {
  display: flex;
  justify-content: space-between;
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--text-dim);
  background: var(--text-dim);
  border-radius: 50%;
  color: var(--olive);
  transition: background .2s, color .2s;
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-social a:hover {
  background: var(--olive);
  color: var(--text-dim);
}

.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: center;
    text-align: left;
  }

  .hero-emblem {
    align-self: center;
    margin-top: 1.5rem;
  }

  .hero-copy {
    text-align: center;
  }

  /* layout simplifications */
  .nosotros-grid,
  .nosotros-grid--right {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .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;
    padding-bottom: 1.2rem;
  }

  .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;
  }

  .opp-card {
    background: rgba(0, 0, 0, 0.25);
  }

  .opp-card:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
    border-right: unset;
    border-bottom: 1px solid var(--line);
  }

  .opp-card:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .beneficios-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .proyecto .kicker--center,
  .modelo .kicker--center {
    min-width: unset;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .toggle-btn strong {
    font-size: 1rem;
  }

  .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;
  }
}