/* ==========================================================
   H&C Inversiones – Estilos compartidos por todas las páginas
   ========================================================== */

:root {
  /* Paleta H&C */
  --primary: #563f41;      /* Burdeos Ciruela – marca, header, botones */
  --primary-dark: #3e2d2f; /* variante oscura del primario (pie de página) */
  --taupe: #8c686b;        /* Rosa Viejo / Taupe – badges, hover, detalles */
  --warm-gray: #9e938f;    /* Gris Warm Neutro – bordes, tarjetas, sombras */
  --champagne: #e5d6c8;    /* Arena Champaña – fondos cálidos, contraste claro */
  --champagne-light: #f3ebe3; /* tinte claro del champaña para fondos amplios */
  --ink: #3a2c2e;
  --muted: #6f6462;
  --line: rgba(158,147,143,.45);
  --shadow: rgba(158,147,143,.35);
  --paper: #ffffff;
  --radius: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .eyebrow, .btn, .nav a, .brand { font-family: "Outfit", sans-serif; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 22px 0;
}
.header.scrolled { background: rgba(86,63,65,.97); backdrop-filter: blur(8px); box-shadow: 0 6px 30px rgba(0,0,0,.15); padding: 12px 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--primary); }
.brand img { width: 64px; height: 64px; object-fit: contain; transition: width .35s, height .35s; }
/* Al hacer scroll se mantiene el logo dorado y se achica (53px del PNG equivalen a 50px del SVG blanco) */
.header.scrolled .brand img { width: 53px; height: 53px; }
.brand .logo-white { display: none; }
.menu-open .header .brand .logo-color { display: none; }
.menu-open .header .brand .logo-white { display: block; }
.header.scrolled .brand, .header.scrolled .nav > ul > li > a { color: #fff; }
/* Header siempre visible (home): logo del mismo tamaño que en el resto de las páginas */
.header.solid { padding: 18px 0; }
.header.solid:not(.compact) .brand img { width: 64px; height: 64px; }
.header.solid.compact { padding: 12px 0; }

.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: var(--primary); padding: 10px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"] { color: var(--taupe); }
.header.scrolled .nav > ul > li > a[aria-current="page"] { color: var(--champagne); }
.nav .caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border-radius: var(--radius); padding: 10px;
  box-shadow: 0 20px 50px var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; color: var(--primary); text-transform: none; letter-spacing: 0; font-size: 15px; border-radius: 8px; padding: 10px 14px; }
.dropdown a:hover { background: var(--champagne-light); color: var(--taupe); }
.nav .li-icon a { padding: 8px; }
.nav .li-icon svg { width: 18px; height: 18px; fill: currentColor; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--primary); border-radius: 50%; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 20px; height: 2px; background: #fff; transform: translateX(-50%); transition: .3s; content: ""; }
.burger span { top: 50%; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }
.header.scrolled .burger { background: var(--taupe); }
.quote-card { box-shadow: 0 18px 40px rgba(158,147,143,.18); }
.eyebrow::after { opacity: .7; }
.footer .bottom { border-top: 0; }

/* ---------- Generic section ---------- */
section { position: relative; }
.section { padding: clamp(28px, 3.5vw, 46px) 0; }
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin: 0 0 22px; }
.eyebrow .num { font-size: 13px; color: var(--muted); letter-spacing: .1em; }
.eyebrow::after { content: ""; width: 48px; height: 1px; background: currentColor; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 300; line-height: 1.15; color: var(--primary); margin: 0 0 20px; letter-spacing: -.01em; }
.lead { font-size: 17px; color: var(--muted); }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  background: var(--primary); color: #fff; border: 1px solid var(--primary);
  transition: background .25s, color .25s, gap .25s, border-color .25s;
}
.btn:hover { background: var(--taupe); border-color: var(--taupe); gap: 18px; }
.btn .arrow { width: 16px; height: 1px; background: currentColor; position: relative; }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn.light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn.ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn.ghost:hover { background: var(--primary); color: #fff; }

/* ---------- 01 Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  background: #e9e9e9 url("../Assest/Home.jpeg") center / cover no-repeat;
  padding: 140px 0 100px;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.7) 45%, rgba(255,255,255,0) 75%); }
.hero .wrap { position: relative; }
.hero-home { background: #d7d7d7 url("../Assest/home-hero-memoria.jpg") center bottom / cover no-repeat; }
/* Home: portada más baja, termina poco después de las montañas */
.hero.hero-home { min-height: 0; align-items: center; padding: 120px 0 60px; }
.hero-home .scroll-cue { display: none; }
.hero-inner { max-width: 640px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 300; line-height: 1.12; color: var(--primary); margin: 0 0 32px; letter-spacing: -.015em; }
.hero h1 strong { font-weight: 500; color: var(--taupe); }
.hero p { font-size: 18px; color: #5a4d4f; margin: 0 0 16px; max-width: 560px; }
.scroll-cue { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--primary); border-radius: 20px; opacity: .6; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; background: var(--primary); border-radius: 2px; transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- 02 Áreas ---------- */
.areas { background: var(--champagne-light); }
.tab { box-shadow: 0 2px 8px rgba(158,147,143,.12); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.areas-media { position: relative; }
.areas-media img { width: 100%; height: auto;border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.areas-media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--taupe); border-radius: 22px; z-index: -1; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.tab {
  font-family: "Outfit", sans-serif; font-size: 14px; letter-spacing: .03em;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--primary); border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.tab:hover { border-color: var(--taupe); color: var(--taupe); }
.tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.panel { animation: fade .45s var(--ease); }
.panel[hidden] { display: none; }
.panel h3 { font-size: 26px; font-weight: 400; color: var(--primary); margin: 0 0 16px; letter-spacing: .02em; text-transform: uppercase; }
.panel p { color: var(--muted); font-size: 17px; margin: 0 0 22px; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 03 Equipo ---------- */
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.team-head h2 { margin: 0; }
.team-photo { position: relative; border-radius: 24px; overflow: hidden; }
.team-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--ease); }
.team-photo:hover img { transform: scale(1.03); }

/* ---------- 04/05 Quotes ---------- */
.quote-section { background: #fbfbfa url("../Assest/valores_y_principios_bg.jpg") center bottom / cover no-repeat; }
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote-card {
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(32px, 4vw, 56px);
  display: flex; flex-direction: column;
}
.quote-card blockquote { margin: 0 0 32px; font-family: "Outfit", sans-serif; font-weight: 300; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: var(--primary); position: relative; flex: 1; }
.quote-card blockquote::before { content: "“"; display: block; font-size: 84px; line-height: .6; color: var(--taupe); margin-bottom: 18px; font-weight: 400; }
.quote-card .tag { font-family: "Outfit", sans-serif; letter-spacing: .3em; font-size: 12px; color: var(--taupe); text-transform: uppercase; margin: -12px 0 28px; }
.quote-card .btn { align-self: flex-start; }
.quote-card.dark { background: var(--primary); border-color: var(--primary); }
.quote-card.dark blockquote { color: #fff; }
.quote-card.dark .eyebrow .num { color: rgba(255,255,255,.55); }
.quote-card.dark .eyebrow, .quote-card.dark .tag, .quote-card.dark blockquote::before, .contact .eyebrow { color: var(--champagne); }

/* ---------- 06 Contacto ---------- */
.contact {
  background: var(--primary) url("../Assest/Contacto-Hero_v3-e1713454247458.jpg") center / cover no-repeat;
  color: #fff;
}
.contact::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(86,63,65,.95) 0%, rgba(86,63,65,.84) 55%, rgba(86,63,65,.6) 100%); }
.contact .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.contact h2 { color: #fff; }
.contact .eyebrow .num { color: rgba(255,255,255,.55); }
.contact p { color: rgba(255,255,255,.8); font-size: 18px; margin: 0 0 24px; max-width: 520px; }
.contact-card { border-left: 1px solid rgba(255,255,255,.25); padding-left: 32px; }
.contact-card strong { display: block; font-family: "Outfit", sans-serif; font-weight: 500; font-size: 18px; }
.contact-card address { font-style: normal; color: rgba(255,255,255,.75); }

/* ---------- Footer ---------- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,.7); padding: 44px 0 22px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { font-family: "Outfit", sans-serif; font-weight: 500; letter-spacing: .24em; font-size: 13px; color: var(--champagne); margin: 0 0 20px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--champagne); }
.footer .cols { columns: 2; column-gap: 30px; }
.footer .brand { color: #fff; }
.footer .brand img { width: 96px; height: 96px; }
.footer .bottom { padding-top: 26px; font-size: 13px; color: rgba(255,255,255,.45); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after, .panel { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; background: var(--primary);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity .3s;
    overflow-y: auto; padding: 100px 24px 40px;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: center; gap: 2px; }
  .nav a, .header.scrolled .nav > ul > li > a { color: #fff; font-size: 18px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 8px; text-align: center; min-width: 0; }
  .dropdown a { color: rgba(255,255,255,.65); font-size: 15px; padding: 6px 10px; }
  .dropdown a:hover { background: transparent; }
  .nav .caret { display: none; }
  .menu-open .brand { color: #fff; position: relative; z-index: 2; }
  .menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none; }
  .areas-grid, .contact .wrap { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .hero::before { background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.75)); }
  .hero p { font-size: 16px; }
  .hero.hero-home { padding: 108px 0 44px; background-position: 70% bottom; }
  .brand img { width: 52px; height: 52px; }
  .header.solid:not(.compact) .brand img { width: 52px; height: 52px; }
  .header.scrolled .brand img { width: 50px; height: 50px; }
  .areas-media::before { display: none; }
  .contact-card { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding-top: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer .cols { columns: 1; }
  .team-photo img { aspect-ratio: 4 / 3; }
}

/* ==========================================================
   Páginas interiores
   ========================================================== */
.page-hero {
  min-height: 78svh; display: flex; align-items: center;
  background: #e9e9e9 center / cover no-repeat;
  padding: 150px 0 90px;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,.05) 80%); }
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 300; line-height: 1.05; color: var(--primary); margin: 0 0 30px; letter-spacing: -.02em; }
.page-hero p { font-size: 18px; color: #5a4d4f; margin: 0 0 16px; max-width: 580px; }
.page-hero .btn { margin-top: 18px; }
.hero-empresa { background-image: url("../Assest/empresa-hero-memoria.jpg"); background-position: center; }

.icon { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge {
  width: 64px; height: 64px; border-radius: 18px;
  display: grid; place-items: center;
  background: var(--champagne-light); color: var(--taupe);
  border: 1px solid var(--line);
}

/* ---------- Fundador ---------- */
.founder-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.founder-photo { position: static; }
.founder-photo img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.founder-photo figcaption { margin-top: 24px; }
.founder-photo .name { font-family: "Outfit", sans-serif; font-size: 26px; font-weight: 400; color: var(--primary); letter-spacing: .02em; display: block; }
.founder-photo .role { font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: .28em; color: var(--taupe); text-transform: uppercase; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 38px 46px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 2px solid var(--taupe); }
.timeline .year { display: block; font-family: "Outfit", sans-serif; font-size: 22px; font-weight: 500; color: var(--taupe); line-height: 1.2; margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--muted); font-size: 16.5px; }

/* ---------- Misión ---------- */
.mission { background: var(--primary); color: #fff; text-align: center; overflow: hidden; }
.mission::before { content: "“"; position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font-family: "Outfit", sans-serif; font-size: 420px; line-height: 1; color: rgba(229,214,200,.07); pointer-events: none; }
.mission .eyebrow { justify-content: center; color: var(--champagne); }
.mission .eyebrow::before { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }
.mission blockquote { position: relative; margin: 0 auto; max-width: 920px; font-family: "Outfit", sans-serif; font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.5; }

/* ---------- Visión ---------- */
.vision-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; margin-bottom: clamp(22px, 3vw, 34px); }
.vision-head img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.v-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 18px 40px rgba(158,147,143,.14); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.v-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(158,147,143,.24); }
.v-card h3 { font-size: 22px; font-weight: 400; color: var(--primary); margin: 22px 0 18px; }
.v-card ul { list-style: none; margin: 0; padding: 0; }
.v-card li { position: relative; padding-left: 22px; color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
.v-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--taupe); }
.v-card.wide { grid-column: 1 / -1; }
.v-card.wide .cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 50px; align-items: start; }
.v-card.wide .cols-2.finance { gap: 10px 60px; align-items: center; }
.alloc { margin: 0; padding: 22px 24px; background: var(--champagne-light); border-radius: 16px; }
.alloc-row { display: grid; grid-template-columns: 160px 1fr 70px; align-items: center; gap: 14px; font-size: 14px; margin-bottom: 12px; }
.alloc-row:last-child { margin-bottom: 0; }
.alloc-row span:first-child { color: var(--primary); font-family: "Outfit", sans-serif; }
.alloc-row b { font-family: "Outfit", sans-serif; font-weight: 500; color: var(--taupe); text-align: right; white-space: nowrap; }
.alloc-bar { position: relative; height: 8px; border-radius: 99px; background: rgba(158,147,143,.25); }
.alloc-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, var(--taupe), var(--primary)); }

/* ---------- Valores ---------- */
.values { background: #fbfbfa url("../Assest/valores_y_principios_bg.jpg") center bottom / cover no-repeat; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: rgba(255,255,255,.88); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; transition: transform .35s var(--ease), background .35s; }
.value:hover { transform: translateY(-4px); background: #fff; }
.value h3 { font-size: 17px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin: 24px 0 12px; line-height: 1.35; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; }

@media (max-width: 1020px) {
  .founder-grid, .vision-head { grid-template-columns: 1fr; }
  .founder-photo { position: static; max-width: 460px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.78)); }
  .page-hero p { font-size: 16px; }
  .vision-grid, .values-grid, .v-card.wide .cols-2 { grid-template-columns: 1fr; }
  .alloc-row { grid-template-columns: 1fr 70px; }
  .alloc-row .alloc-bar { grid-column: 1 / -1; grid-row: 2; }
  .mission::before { font-size: 260px; }
}

/* ==========================================================
   Sustentabilidad
   ========================================================== */
.hero-sustentabilidad { background-image: url("../Assest/empresa-footer.png"); background-position: center bottom; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split + .split { margin-top: clamp(28px, 3.5vw, 44px); }
.split.reverse > :first-child { order: 2; }
.split p { font-size: 17px; line-height: 1.75; color: var(--muted); margin: 0; }
.split .lead-big { font-family: "Outfit", sans-serif; font-weight: 300; font-size: clamp(20px, 2vw, 26px); line-height: 1.5; color: var(--primary); }
.split figure { margin: 0; display: grid; place-items: center; }
.split figure img { width: min(100%, 360px); height: auto; }
.split .dims { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge { font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; background: var(--champagne); color: var(--primary); }

/* Dimensiones (pestañas con ícono) */
.progress-intro { max-width: 760px; margin-bottom: 26px; }
.progress-intro p { font-size: 18px; color: var(--muted); margin: 0; }
.dim-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 24px; }
.dim-tabs .tab { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; border-radius: 18px; font-size: 15px; text-align: center; }
.dim-tabs .tab .icon { width: 28px; height: 28px; color: var(--taupe); transition: color .25s; }
.dim-tabs .tab[aria-selected="true"] .icon { color: var(--champagne); }
.dim-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dim-item { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 32px; }
.dim-item h3 { font-size: 19px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--primary); margin: 0 0 10px; }
.dim-item p, .dim-item li { color: var(--muted); font-size: 15.5px; }
.dim-item p { margin: 0 0 10px; }
.dim-item p:last-child { margin-bottom: 0; }
.dim-item ul { list-style: none; margin: 0; padding: 0; }
.dim-item li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.dim-item li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--taupe); }
.dim-item .stat { font-family: "Outfit", sans-serif; font-weight: 500; color: var(--taupe); }

/* Transversal */
.transversal { background: var(--primary); color: #fff; }
.transversal .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.transversal h2 { color: #fff; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(28px, 3.4vw, 42px); }
.transversal ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.transversal li { counter-increment: t; position: relative; padding: 0 0 26px 64px; margin-bottom: 26px; border-bottom: 1px solid rgba(229,214,200,.2); font-size: 17px; color: rgba(255,255,255,.85); }
.transversal li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.transversal li::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: -2px; font-family: "Outfit", sans-serif; font-size: 26px; font-weight: 300; color: var(--champagne); }

/* ODS */
.ods-intro { max-width: 760px; font-size: 18px; color: var(--muted); margin: 0 0 26px; }
.ods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ods {
  position: relative; overflow: hidden; border-radius: 22px; padding: 32px; min-height: 260px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--champagne-light); border: 1px solid var(--line); color: var(--primary);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.ods:hover { background: var(--primary); color: #fff; transform: translateY(-4px); }
.ods .ods-top { display: flex; align-items: flex-start; gap: 16px; }
.ods .ods-num { font-family: "Outfit", sans-serif; font-weight: 300; font-size: 64px; line-height: .9; color: var(--taupe); transition: color .4s; }
.ods:hover .ods-num { color: var(--champagne); }
.ods .ods-name { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; padding-top: 4px; }
.ods .ods-label { font-family: "Outfit", sans-serif; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; opacity: .7; }
.ods .icon { width: 92px; height: 92px; stroke-width: 1; align-self: flex-end; color: var(--taupe); transition: color .4s; }
.ods:hover .icon { color: var(--champagne); }

/* Noticias */
.news-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.news-head h2 { margin: 0; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-grid.two { grid-template-columns: repeat(2, 1fr); }
.news-grid.two .news-media { aspect-ratio: 16 / 8; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(158,147,143,.25); }
.news-media { aspect-ratio: 600 / 403; background: linear-gradient(135deg, var(--taupe), var(--primary)); position: relative; overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.news-cats { font-family: "Outfit", sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 0 0 12px; }
.news-card h3 { font-size: 20px; font-weight: 400; line-height: 1.35; color: var(--primary); margin: 0 0 12px; }
.news-card p { color: var(--muted); font-size: 15px; margin: 0 0 20px; flex: 1; }
.news-more { font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); display: inline-flex; align-items: center; gap: 10px; }
.news-more .arrow { width: 16px; height: 1px; background: currentColor; position: relative; }
.news-more .arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

@media (max-width: 1020px) {
  .split, .transversal .wrap { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .dim-tabs { grid-template-columns: repeat(3, 1fr); }
  .ods-grid, .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .dim-tabs { grid-template-columns: 1fr 1fr; }
  .dim-tabs .tab { padding: 14px 8px; font-size: 14px; }
  .dim-tabs .tab:last-child { grid-column: 1 / -1; }
  .dim-grid, .ods-grid, .news-grid, .news-grid.two { grid-template-columns: 1fr; }
  .dim-item { padding: 24px; }
  .ods { min-height: 0; gap: 24px; }
}

/* ==========================================================
   Nosotros
   ========================================================== */
.team-hero { padding: 140px 0 clamp(30px, 3.5vw, 46px); background: linear-gradient(180deg, #fff 0%, var(--champagne-light) 100%); }
.team-hero .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.team-hero h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 300; line-height: 1.05; color: var(--primary); margin: 0 0 32px; letter-spacing: -.02em; }
.team-hero h1 span { display: block; color: var(--taupe); }
.team-hero img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 30px 60px var(--shadow); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { font-family: "Outfit", sans-serif; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); transition: all .25s; }
.jump a:hover { background: var(--primary); color: #fff; }

.people-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 26px; }
.people-head .num { font-family: "Outfit", sans-serif; font-size: 15px; color: var(--taupe); letter-spacing: .1em; }
.people-head h2 { margin: 0; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.person:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(158,147,143,.22); }
.person .photo { aspect-ratio: 4 / 5; background: var(--champagne-light); position: relative; overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person .initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Outfit", sans-serif; font-weight: 300; font-size: 54px; color: var(--taupe); letter-spacing: .04em; }
.person .photo img + .initials { display: none; }
.person .body { padding: 22px 22px 24px; }
.person h3 { font-size: 18px; font-weight: 500; color: var(--primary); margin: 0 0 4px; line-height: 1.3; }
.person .role { font-family: "Outfit", sans-serif; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin: 0 0 12px; line-height: 1.45; }
.person ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); }
.person li { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-bottom: 5px; }

.committees .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.committees img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.committees .panel ul { list-style: none; margin: 0 0 30px; padding: 0; }
.committees .panel li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; }
.committees .panel li small { color: var(--taupe); font-size: 14px; }

.partners { overflow: hidden; }
.partners h2 { max-width: 820px; margin-bottom: 24px; }
.marquee { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; width: max-content; --dur: 70s; }
.marquee-track { display: flex; gap: 18px; padding: 0 9px; margin: 0; list-style: none; animation: marquee var(--dur) linear infinite; }
.marquee-row.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.logo-tile { flex: 0 0 auto; width: 170px; height: 120px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(158,147,143,.22); }
.logo-tile img { display: block; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.logo-tile span { padding: 0 12px; font-family: "Outfit", sans-serif; font-size: 14px; text-align: center; color: var(--primary); line-height: 1.3; }
.logo-tile img + span { display: none; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
  .marquee-row { width: auto; flex-wrap: wrap; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; padding: 0; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

@media (max-width: 1020px) {
  .team-hero .wrap, .committees .wrap { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .people { grid-template-columns: 1fr 1fr; gap: 14px; }
  .person .body { padding: 14px 14px 16px; }
  .person h3 { font-size: 15px; }
  .person .role { font-size: 11px; letter-spacing: .06em; }
  .person li { font-size: 12.5px; }
  .logo-tile { width: 130px; height: 92px; }
  .marquee-row { --dur: 55s; }
}

/* ==========================================================
   Áreas de negocio – Proyectos
   ========================================================== */
.hero-desarrollo { background-image: url("../Assest/desarrollo-hero-memoria.jpg"); background-position: right bottom; }
.focus-img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.split.focus { grid-template-columns: 1.15fr .85fr; align-items: start; }
.split.focus p + p { margin-top: 16px; }

.featured { display: grid; gap: clamp(50px, 7vw, 90px); }
.feat { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.feat:nth-child(even) .feat-media { order: 2; }
.feat-media { display: grid; gap: 12px; }
.feat-media img { width: 100%; height: auto; border-radius: 18px; display: block; box-shadow: 0 20px 44px rgba(158,147,143,.22); }
.feat-media.single img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
.feat-media .gestor-tag { font-family: "Outfit", sans-serif; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--taupe); }
.feat h3 { font-size: clamp(28px, 3vw, 38px); font-weight: 400; color: var(--primary); margin: 0 0 6px; line-height: 1.15; }
.feat .tagline { font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin: 0 0 22px; }
.feat .desc p { color: var(--muted); font-size: 16px; margin: 0 0 14px; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.stats { display: grid; grid-template-columns: auto 1fr; gap: 10px 40px; margin: 28px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-big b { display: block; font-family: "Outfit", sans-serif; font-weight: 300; font-size: clamp(30px, 3vw, 40px); color: var(--primary); line-height: 1.1; }
.stat-big span { font-size: 14px; color: var(--muted); }
.datasheet { display: grid; grid-template-columns: 120px 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.datasheet .logo { display: grid; place-items: center; border-right: 1px solid var(--line); background: #fff; }
.datasheet .logo img { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.datasheet dl { margin: 0; display: grid; grid-template-columns: auto 1fr; }
.datasheet dt, .datasheet dd { margin: 0; padding: 9px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.datasheet dt { color: var(--muted); }
.datasheet dd { color: var(--ink); font-weight: 600; text-align: right; }
.datasheet dt:nth-last-of-type(1), .datasheet dd:last-of-type { border-bottom: 0; }

.others-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.others-head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font-family: "Outfit", sans-serif; font-size: 14px; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--primary); cursor: pointer; transition: all .25s; }
.filters button:hover { border-color: var(--taupe); color: var(--taupe); }
.filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.proj[hidden] { display: none; }
.proj:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(158,147,143,.24); }
.proj-media { aspect-ratio: 5 / 3; overflow: hidden; position: relative; background: var(--champagne-light); }
.proj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.proj:hover .proj-media img { transform: scale(1.04); }
.proj-media .chip { position: absolute; left: 14px; top: 14px; font-family: "Outfit", sans-serif; font-size: 12px; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--primary); }
.proj-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.proj-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.proj h3 { font-size: 19px; font-weight: 500; color: var(--primary); margin: 0; line-height: 1.3; }
.proj-top img { width: 96px; height: 60px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); flex: 0 0 auto; }
.proj dl { margin: 0; display: grid; grid-template-columns: 1fr auto; font-size: 14px; }
.proj dt, .proj dd { margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.proj dt { color: var(--muted); }
.proj dd { color: var(--ink); font-weight: 600; text-align: right; }
.proj dt:last-of-type, .proj dd:last-of-type { border-bottom: 0; }
.proj dd.hl { color: var(--taupe); }

@media (max-width: 1020px) {
  .feat, .split.focus { grid-template-columns: 1fr; }
  .feat:nth-child(even) .feat-media { order: 0; }
  .feat-media { position: static; }
  .proj-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
  .datasheet { grid-template-columns: 1fr; }
  .datasheet .logo { border-right: 0; border-bottom: 1px solid var(--line); height: 80px; }
  .datasheet .logo { height: 150px; overflow: hidden; }
  .datasheet .logo { display: block; }
  .datasheet .logo img { display: block; width: 100%; height: 150px; max-height: none; object-fit: contain; }
  .datasheet .logo img.contain { object-fit: contain; }
  .stats { gap: 10px 24px; }
}
.hero-plusvalia { background-image: url("../Assest/plusvalia-hero.jpg"); background-position: center bottom; }
.text-cols { columns: 2; column-gap: clamp(30px, 5vw, 70px); }
.text-cols p { margin: 0 0 18px; font-size: 17px; line-height: 1.75; color: var(--muted); }

@media (max-width: 760px) { .text-cols { columns: 1; } }
.hero-agricola { background-image: url("../Assest/agricola-hero.jpg"); background-position: center 70%; }
.hero-rentas { background-image: url("../Assest/rentas-hero.jpg"); background-position: center; }
.proj .proj-desc { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.proj-top .logos-inline { display: flex; gap: 6px; flex: 0 0 auto; }
.proj-top .logos-inline img { width: 60px; }
.proj-top img.contain, .datasheet .logo img.contain { object-fit: contain; padding: 4px; background: #fff; }
.feat-media.portrait img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 640px; }
/* Franja clara superior para que el menú se lea sobre cualquier foto */
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 170px; background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,0)); pointer-events: none; }
.page-hero .wrap { z-index: 1; }
.hero-instrumentos { background-image: url("../Assest/instrumentos-hero.jpg"); background-position: center bottom; }
.alloc-chart { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.donut { width: 100%; height: auto; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 6.5; }
.donut-wrap { position: relative; }
.donut-labels { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.donut-labels text { font-family: "Outfit", sans-serif; font-size: 1.5px; font-weight: 500; text-anchor: middle; dominant-baseline: middle; letter-spacing: 0; }
.donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: "Outfit", sans-serif; color: var(--primary); }
.donut-center b { display: block; font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.donut-center span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.legend { list-style: none; margin: 0; padding: 0; }
.legend li { display: grid; grid-template-columns: 16px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink); }
.legend li:last-child { border-bottom: 0; }
.legend i { width: 14px; height: 14px; border-radius: 50%; }
.legend b { font-family: "Outfit", sans-serif; font-weight: 500; font-size: 20px; color: var(--primary); }
@media (max-width: 760px) { .alloc-chart { grid-template-columns: 1fr; } .donut-wrap { max-width: 280px; margin: 0 auto; } }

/* ==========================================================
   Contacto
   ========================================================== */
.hero-contacto { background-image: url("../Assest/Contacto-Hero_v3-e1713454247458.jpg"); min-height: 56svh; }
.contact-page .wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: "Outfit", sans-serif; font-size: 14px; letter-spacing: .04em; color: var(--primary); }
.field input, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--taupe); box-shadow: 0 0 0 4px rgba(140,104,107,.15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4545b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form button.btn { cursor: pointer; font-family: "Outfit", sans-serif; }
.form button.btn[disabled] { opacity: .6; cursor: wait; }
.form-status { font-size: 15px; margin: 0; }
.form-status.ok { color: #3f6b4b; }
.form-status.err { color: #b4545b; }
.contact-info { background: var(--champagne-light); border-radius: 22px; padding: clamp(28px, 3vw, 40px); border: 1px solid var(--line); }
.contact-info h2 { font-size: 22px; font-weight: 500; margin: 0 0 14px; }
.contact-info address { font-style: normal; color: var(--muted); margin: 0 0 26px; }
.contact-info ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.contact-info li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-info li .icon { width: 22px; height: 22px; color: var(--taupe); flex: 0 0 auto; }
.contact-info a { text-decoration: none; color: var(--ink); }
.contact-info a:hover { color: var(--taupe); }
@media (max-width: 1020px) { .contact-page .wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================
   Noticias
   ========================================================== */
.news-media.contain { background: #573f3d; }
.news-media.contain img { object-fit: contain; }
.article-hero { padding: 150px 0 50px; background: linear-gradient(180deg, #fff 0%, var(--champagne-light) 100%); }
.breadcrumb { font-family: "Outfit", sans-serif; font-size: 13px; letter-spacing: .08em; color: var(--muted); margin: 0 0 20px; }
.breadcrumb a { color: var(--taupe); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-hero h1 { font-size: clamp(36px, 5vw, 64px); font-weight: 300; line-height: 1.08; color: var(--primary); margin: 0 0 18px; letter-spacing: -.02em; }
.article-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.article { padding: clamp(30px, 3.5vw, 46px) 0 clamp(30px, 3.5vw, 46px); }
.article .wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.article-cover { margin: 0; }
.article-cover img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px var(--shadow); }
.article-body h2 { font-size: clamp(26px, 3vw, 36px); margin: 0 0 20px; }
.article-body p { font-size: 18px; color: var(--muted); margin: 0 0 18px; }
.download { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.download .btn .icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.download small { color: var(--muted); font-size: 14px; }
.back-link { display: inline-flex; margin-top: 40px; font-family: "Outfit", sans-serif; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); text-decoration: none; }
.back-link:hover { color: var(--taupe); }
@media (max-width: 1020px) { .article .wrap { grid-template-columns: 1fr; } .article-cover { max-width: 520px; } }
.article-feature { margin: 0 0 clamp(40px, 6vw, 70px); border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 7; background: linear-gradient(135deg, var(--taupe), var(--primary)); box-shadow: 0 30px 60px var(--shadow); }
.article-feature img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 760px; margin: 0 auto; }
.prose p, .prose li { font-size: 18px; line-height: 1.8; color: var(--muted); }
.prose p { margin: 0 0 22px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 46px 0 18px; }
.prose ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: k; }
.prose ol li { counter-increment: k; position: relative; padding: 0 0 18px 56px; }
.prose ol li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--champagne); color: var(--primary); font-family: "Outfit", sans-serif; font-weight: 500; }
.prose figure { margin: 40px 0; }
.prose figure img { width: 100%; height: auto; border-radius: 20px; }
.prose .closing { margin-top: 36px; padding: 28px 32px; border-left: 3px solid var(--taupe); background: var(--champagne-light); border-radius: 0 18px 18px 0; color: var(--primary); }
.article.single .wrap { display: block; }
.news-media.contain.green { background: #2c413a; }
.news-media.contain.navy { background: #1b1f3b; }

/* Desarrollo Inmobiliario – proyectos actuales: ficha compacta y alineada con las fotos */
.featured.fit .feat h3 { font-size: clamp(26px, 2.6vw, 34px); }
.featured.fit .feat .tagline { font-size: 12px; margin-bottom: 14px; }
.featured.fit .feat .desc p { font-size: 14.5px; line-height: 1.6; margin-bottom: 10px; }
.featured.fit .stats { margin: 16px 0; padding: 14px 0; gap: 6px 32px; }
.featured.fit .stat-big b { font-size: clamp(24px, 2.2vw, 30px); }
.featured.fit .stat-big span { font-size: 13px; }
.featured.fit .datasheet { grid-template-columns: 110px 1fr; }
.featured.fit .datasheet dt, .featured.fit .datasheet dd { padding: 7px 14px; font-size: 13.5px; }
@media (min-width: 1021px) {
  .featured.fit .feat, .feat.align { align-items: stretch; }
  .featured.fit .feat-media, .feat.align .feat-media { display: flex; flex-direction: column; gap: 12px; align-self: stretch; height: auto; min-height: 0; contain: size; }
  .featured.fit .feat-media img, .feat.align .feat-media img { flex: 1 1 0; min-height: 0; height: 100%; max-height: none; aspect-ratio: auto; object-fit: cover; }
}
