/* ============================================================
   NISA Theme — Main Stylesheet
   Pixel-perfect port de assets/css/styles.css del prototipo HTML
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --green: #3D5E3D;
  --green-dark: #2D4A2D;
  --green-deep: #243A24;
  --green-tint: #EAEFE7;
  --orange: #DE6733;
  --orange-hover: #C45A2A;
  --orange-light: #F2A480;
  --cream: #FAF3E7;
  --cream-soft: #FBF6EE;
  --sand: #DED7C4;
  --dark: #1A1A1A;
  --ink: #2A2A2A;
  --ink-muted: #6B6B6B;
  --line: #E5E1D5;
  --white: #FFFFFF;
  --gray: #F0ECE6;

  --serif: 'DM Serif Display', 'Cardo', 'Georgia', serif;
  --sans: 'Manrope', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;

  --container: 1280px;
  --container-wide: 1440px;
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 12px;
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  padding-right: 28px;
}
body::before {
  content: "";
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 28px;
  background: var(--orange);
  z-index: 9999;
  pointer-events: none;
}

.brand-stripe {
  height: 2px;
  background: var(--orange);
  width: 100%;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--green);
  letter-spacing: -0.005em;
  line-height: 1.1;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }

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

/* ============================================================
   NAVBAR — mega-menu, dark, fixed
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 28px;
  z-index: 9000;
  background: rgba(26,26,26,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  transition: background .25s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.nav.is-scrolled { background: rgba(26,26,26,0.99); box-shadow: 0 6px 24px rgba(0,0,0,.18); }

.nav__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
}
.nav__logo img { height: 36px; width: auto; display: block; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__item { position: static; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  background: none;
  border: 0;
  letter-spacing: .01em;
  transition: color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--orange); }

.nav__chev {
  width: 12px; height: 12px;
  transition: transform .2s;
  color: currentColor;
}
.nav__chev svg { width: 12px; height: 12px; }
.nav__item.is-open .nav__chev { transform: rotate(180deg); }

.nav__cta {
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
  text-decoration: none;
}
.nav__cta:hover { background: var(--orange-hover); color: var(--white) !important; }
.nav__cta svg { width: 16px; height: 16px; }

/* Dropdown panel — full width below navbar */
.nav__panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  width: 100%;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding: 40px 0;
  display: none;
  z-index: 9001;
}
.nav__panel.is-open { display: block; }

.nav__panel-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 56px;
}

.nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 48px;
}
.nav__grid--2 { grid-template-columns: repeat(2, 1fr); }

.nav__cell {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
  text-decoration: none;
}
.nav__cell:hover .nav__cell-title { color: var(--orange); }
.nav__cell-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(222,103,51,0.12);
  color: var(--orange);
  flex-shrink: 0;
}
.nav__cell-icon svg { width: 18px; height: 18px; }
.nav__cell-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 3px;
  transition: color .15s;
}
.nav__cell-body { font-size: 11px; line-height: 1.45; color: var(--ink-muted); }

.nav__simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 48px;
}
.nav__simple a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--sans);
  text-decoration: none;
}
.nav__simple a:hover { color: var(--orange); }
.nav__simple a.is-primary { color: var(--orange); font-weight: 700; }

/* Burger */
.nav__burger {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.nav__burger svg { width: 26px; height: 26px; }

@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; }
}

/* Mobile drawer */
.nav__drawer {
  display: none;
  background: var(--dark);
  max-height: 80vh;
  overflow-y: auto;
}
.nav__drawer.is-open { display: block; }
.nav__drawer details {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 28px;
}
.nav__drawer summary {
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.nav__drawer summary::-webkit-details-marker { display: none; }
.nav__drawer summary svg { width: 16px; height: 16px; }
.nav__drawer a {
  display: block;
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
}
.nav__drawer-cta {
  padding: 18px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.nav__drawer-cta a {
  display: block;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 12px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

/* ============================================================
   HERO — split cream + imagen
   ============================================================ */
.hero {
  position: relative;
  padding-top: 76px;
  background: var(--white);
}
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 720px;
}
.hero__text {
  background: var(--cream);
  padding: 120px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero__eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  color: var(--green);
  line-height: 1.02;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero__lead {
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.65;
}
.hero__image {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.08));
}

@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; min-height: auto; }
  .hero__text { padding: 100px 28px 60px; }
  .hero__image { aspect-ratio: 4/3; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: all .2s ease;
  letter-spacing: .02em;
  text-decoration: none;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-hover); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green); border: 1.5px solid var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--outline-orange { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); }
.btn--outline-orange:hover { background: var(--orange); color: var(--white); }
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--cream); }
.btn--lg { padding: 16px 36px; font-size: 15px; }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 44px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  border-radius: 4px;
  transition: all .2s;
  text-decoration: none;
}
.btn-arrow:hover { background: var(--orange); color: var(--white); }
.btn-arrow svg { width: 18px; height: 18px; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.section { padding: 110px 0; }
.section--lg { padding: 140px 0; }
.section--sm { padding: 70px 0; }
.section--cream { background: var(--cream-soft); }
.section--white { background: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }
.section--gray { background: #F7F5F0; }

.section-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--green);
  line-height: 1.05;
  margin-bottom: 18px;
  font-weight: 400;
}
.section--green .section-title,
.section--dark .section-title { color: var(--white); }
.section-lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
  max-width: 640px;
  line-height: 1.7;
}
.section--green .section-lead,
.section--dark .section-lead { color: rgba(255,255,255,.85); }

.section-header { margin-bottom: 56px; max-width: 720px; }
.section-header--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============================================================
   STATS (fondo dark)
   ============================================================ */
.stats {
  background: var(--dark);
  padding: 90px 0;
  color: var(--white);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stats__item { text-align: center; padding: 0 14px; }
.stats__item + .stats__item { border-left: 1px solid rgba(222,103,51,.3); }
.stats__num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 12px;
}
.stats__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px;
}
.stats__sub { font-size: .875rem; color: rgba(222,215,196,.7); }
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .stats__item + .stats__item { border-left: 0; }
}

/* ============================================================
   SOLUCIONES — grid de cards
   ============================================================ */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .sol-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 820px)  { .sol-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .sol-grid { grid-template-columns: 1fr; } }

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
  min-height: 360px;
}
.sol-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  color: inherit;
}
.sol-card__image {
  aspect-ratio: 4/3;
  background: var(--green-tint);
  position: relative;
  overflow: hidden;
}
.sol-card__image img { width: 100%; height: 100%; object-fit: cover; }
.sol-card__icon-badge {
  position: absolute;
  bottom: -22px; left: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(222,103,51,.4);
  z-index: 2;
}
.sol-card__icon-badge svg { width: 24px; height: 24px; }
.sol-card__body {
  padding: 36px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sol-card__title {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--green);
  line-height: 1.15;
  margin: 0;
}
.sol-card__tagline {
  font-size: .875rem;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}
.sol-card__cta {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Img placeholder for sections without real images */
.img-placeholder {
  position: relative;
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(61,94,61,.18) 0%, rgba(222,103,51,.12) 100%),
    var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: var(--green-dark);
  font-family: var(--sans);
}
.img-placeholder__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  color: var(--green);
  margin-bottom: 12px;
}
.img-placeholder__icon svg { width: 28px; height: 28px; }
.img-placeholder__title { font-family: var(--serif); font-size: 1rem; color: var(--green); margin: 0 0 4px; }
.img-placeholder--lg .img-placeholder__icon { width: 90px; height: 90px; }
.img-placeholder--lg .img-placeholder__title { font-size: 1.4rem; }

/* ============================================================
   MAPA (México)
   ============================================================ */
.map-section { padding: 110px 0; background: var(--white); }
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.map-stats {
  background: var(--cream-soft);
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.map-stat { text-align: center; position: relative; }
.map-stat + .map-stat { border-top: 1px solid rgba(0,0,0,.08); padding-top: 40px; }
.map-stat__num {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 5vw, 4.6rem);
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.map-stat__label { font-size: .95rem; color: var(--ink-muted); letter-spacing: .05em; }
.map-svg-wrap { display: flex; justify-content: center; }
.map-svg { width: 100%; max-width: 540px; }

@media (max-width: 900px) {
  .map-grid { grid-template-columns: 1fr; gap: 40px; }
  .map-stats { padding: 40px 28px; }
}

/* ============================================================
   WHY US (verde)
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.why-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  transition: all .25s;
}
.why-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(222,103,51,.5);
}
.why-card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(222,103,51,.18);
  color: var(--orange);
  border-radius: 50%;
  margin-bottom: 18px;
}
.why-card__icon svg { width: 22px; height: 22px; }
.why-card h3 { color: var(--white); font-size: 1.25rem; margin: 0 0 10px; font-family: var(--serif); }
.why-card p { color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.55; margin: 0; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   PROYECTOS
   ============================================================ */
.proj-tabs {
  display: flex;
  gap: 36px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.proj-tab {
  font-family: var(--sans);
  font-size: 1.05rem;
  padding: 12px 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ink-muted);
  position: relative;
}
.proj-tab.is-active { color: var(--orange); font-weight: 600; }
.proj-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
}
.proj-feature {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 50px;
  align-items: center;
}
.proj-feature__img { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius); }
.proj-feature__img img { width: 100%; height: 100%; object-fit: cover; }
.proj-feature__title {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--sans);
  font-size: 2rem; font-weight: 400;
  color: var(--ink); margin: 0 0 18px;
}
.proj-feature__icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--orange); }
.proj-feature p { color: var(--ink-muted); line-height: 1.7; margin-bottom: 24px; }
@media (max-width: 900px) { .proj-feature { grid-template-columns: 1fr; gap: 30px; } }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .proj-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}
.proj-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,.08); }
.proj-card__img { aspect-ratio: 4/3; }
.proj-card__img img { width: 100%; height: 100%; object-fit: cover; }
.proj-card__body { padding: 22px 24px; }
.proj-card__cat {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.proj-card__title { font-family: var(--serif); font-size: 1.25rem; color: var(--green); margin: 0 0 4px; }
.proj-card__cap { font-size: .875rem; color: var(--ink-muted); margin: 0; }

/* Filter chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip {
  font-family: var(--sans);
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: all .15s;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-active { background: var(--green); color: var(--white); border-color: var(--green); }

/* ============================================================
   INDUSTRIAS
   ============================================================ */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 820px)  { .ind-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .ind-grid { grid-template-columns: 1fr; } }

.ind-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  display: block;
  color: var(--white);
  text-decoration: none;
}
.ind-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.ind-card:hover .ind-card__bg { transform: scale(1.08); }
.ind-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,.92) 0%, rgba(61,94,61,.5) 50%, rgba(0,0,0,0) 100%);
  transition: opacity .3s;
}
.ind-card__hover {
  position: absolute;
  inset: 0;
  background: rgba(222,103,51,.92);
  opacity: 0;
  transition: opacity .3s;
}
.ind-card:hover .ind-card__hover { opacity: 1; }
.ind-card__body {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ind-card__icon { color: var(--orange); margin-bottom: 12px; }
.ind-card:hover .ind-card__icon { color: var(--white); }
.ind-card__icon svg { width: 28px; height: 28px; }
.ind-card__title { font-family: var(--serif); font-size: 1.4rem; margin: 0; line-height: 1.1; color: var(--white); }
.ind-card__cta { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; opacity: 0; transition: opacity .3s; margin-top: 8px; }
.ind-card:hover .ind-card__cta { opacity: 1; }

/* ============================================================
   ABOUT split
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-grid__image { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); }
.about-grid__image img { width: 100%; height: 100%; object-fit: cover; }
.about-grid__badge {
  position: absolute;
  left: -28px; bottom: 40px;
  background: var(--orange);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.15);
}
.about-grid__badge-num { font-family: var(--serif); font-size: 2.8rem; line-height: 1; color: var(--white); margin: 0; }
.about-grid__badge-label { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; margin-top: 6px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid__badge { left: 12px; bottom: 12px; padding: 16px 20px; }
}

/* ============================================================
   NEWS (editorial 4 columnas)
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 2.5fr 2fr;
  gap: 0;
  align-items: stretch;
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.news-col {
  padding: 24px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-col:last-child { border-right: 0; }
.news-col--cat h2 { font-family: var(--serif); font-size: 3rem; color: var(--green); margin: 0 0 36px; }
.news-cat { font-weight: 700; color: var(--ink); margin-bottom: 12px; font-size: .95rem; }
.news-col--small p { font-size: .875rem; color: var(--ink-muted); margin: 0 0 12px; }
.news-col--small .news-title { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.news-col--image { padding: 0; border: 0; }
.news-col--image img { width: 100%; height: 100%; object-fit: cover; min-height: 540px; }
.news-col--list { gap: 0; justify-content: flex-start; padding-top: 24px; }
.news-item { border-bottom: 1px solid var(--orange); padding: 14px 0; }
.news-item:last-child { border-bottom: 0; }
.news-item h4 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.news-item p { font-size: .8rem; color: var(--ink-muted); margin: 0 0 8px; line-height: 1.5; }
.news-item .arrow { color: var(--orange); }
.news-item a { text-decoration: none; }
@media (max-width: 1000px) {
  .news-grid { grid-template-columns: 1fr; min-height: auto; }
  .news-col { border-right: 0; border-bottom: 1px solid var(--line); }
  .news-col--image img { min-height: 280px; }
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  background: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.partners__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 30px;
}
.partners__logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ink-muted);
  opacity: .5;
  filter: grayscale(1);
  transition: all .2s;
}
.partners__logo:hover { opacity: 1; filter: none; color: var(--green); }

/* ============================================================
   CTA — gradiente naranja → verde
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--orange) 0%, var(--green) 100%);
  padding: 110px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta h2 { color: var(--white); margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.4rem); }
.cta p { color: rgba(255,255,255,.92); font-size: 1.1rem; max-width: 600px; margin: 0 auto 36px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   FOOTER — verde olivo, serif italic links, watermark
   ============================================================ */
.footer {
  background: var(--green);
  color: rgba(255,255,255,.85);
  padding: 80px 0 50px;
  position: relative;
  overflow: hidden;
}
.footer__inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer__brand img { height: 56px; width: auto; margin-bottom: 24px; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.88); font-size: .9rem; line-height: 1.7; margin: 0 0 14px; max-width: 380px; }
.footer__brand strong { color: var(--white); font-weight: 700; }
.footer__col h4 { font-family: var(--serif); font-size: 2rem; color: var(--white); margin: 0 0 26px; font-weight: 400; }
.footer__col a {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 12px;
  font-style: italic;
  text-decoration: none;
}
.footer__col a:hover { color: var(--orange-light); }

.footer__bottom {
  display: grid;
  grid-template-columns: 2.2fr 1fr 2fr;
  gap: 60px;
  padding-top: 36px;
}
.footer__bottom h4 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 14px;
}
.footer__contact-line { font-size: .875rem; color: rgba(255,255,255,.85); margin: 0 0 6px; }
.footer__social { display: flex; gap: 12px; margin-top: 28px; }
.footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 4px;
  color: var(--white);
  text-decoration: none;
  font-style: normal;
}
.footer__social a svg { width: 18px; height: 18px; }
.footer__social a:hover { background: var(--orange); border-color: var(--orange); }

.footer__watermark {
  position: absolute;
  right: -80px; bottom: -60px;
  width: 380px; height: 380px;
  opacity: .12;
  z-index: 1;
  pointer-events: none;
}
.footer__legal {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}
@media (max-width: 900px) {
  .footer__top, .footer__bottom { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__legal { flex-direction: column; gap: 10px; }
}
@media (max-width: 560px) {
  .footer__top, .footer__bottom { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE HERO (interiores) — fondo cream-soft
   ============================================================ */
.page-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background-color: var(--cream-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  /* No overflow:hidden — lets editor buttons be visible */
}
/* Dark overlay for page-heroes with background image */
.page-hero.has-bg-image {
  background-color: #0a1c0a;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 180px;
  padding-bottom: 90px;
}
.page-hero.has-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(5,15,5,0.84) 0%, rgba(10,20,10,0.72) 55%, rgba(26,26,26,0.58) 100%);
  z-index: 0;
}
.page-hero.has-bg-image .container {
  position: relative;
  z-index: 1;
}
.page-hero.has-bg-image h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55);
}
.page-hero.has-bg-image p { color: rgba(255,255,255,0.90); text-shadow: 0 1px 6px rgba(0,0,0,0.4); }
.page-hero.has-bg-image .page-hero__crumb { color: rgba(255,255,255,0.60); }
.page-hero.has-bg-image .page-hero__crumb a { color: var(--orange-light); }

.page-hero__crumb { font-size: 12px; color: var(--ink-muted); letter-spacing: .08em; margin-bottom: 16px; }
.page-hero__crumb a { color: var(--orange); font-weight: 600; text-decoration: none; }
.page-hero h1 { font-family: var(--serif); color: var(--green); font-size: clamp(2.4rem, 5vw, 4.2rem); margin: 0 0 18px; max-width: 900px; }
.page-hero p { max-width: 720px; font-size: 1.1rem; color: var(--ink-muted); margin: 0; }

/* Bar title (solución interior) */
.bar-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--green);
  margin: 0 0 24px;
  position: relative;
  padding-left: 20px;
}
.bar-title::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 4px;
  background: var(--orange);
  border-radius: 2px;
}

/* Bullet list (solución interior) */
.bullet-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.bullet-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--cream-soft);
  padding: 18px 22px;
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--ink);
  line-height: 1.55;
}
.bullet-list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}
@media (max-width: 700px) { .bullet-list { grid-template-columns: 1fr; } }

/* ============================================================
   CONTACTO — form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 60px; }
.contact-info { background: var(--cream-soft); padding: 50px 44px; border-radius: var(--radius); }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}
.contact-info-item__icon svg { width: 18px; height: 18px; }
.contact-info-item h4 { font-family: var(--sans); font-size: .875rem; font-weight: 700; color: var(--green); margin: 4px 0 4px; }
.contact-info-item p { margin: 0; color: var(--ink-muted); font-size: .95rem; }
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form input, .form textarea, .form select {
  font-family: var(--sans);
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .15s;
  -webkit-appearance: auto;
}
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--orange); }
.form textarea { resize: vertical; min-height: 120px; }
.form button { width: 100%; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================================
   TIMELINE (Nosotros)
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.timeline__item {
  display: flex; gap: 24px; align-items: center;
  background: var(--white);
  padding: 22px 28px;
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
}
.timeline__num { font-family: var(--serif); font-size: 2rem; color: var(--orange); width: 48px; flex-shrink: 0; line-height: 1; }
.timeline__text { color: var(--ink); font-size: 1.05rem; }

/* Gallery (Nosotros) */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.gallery-cell { aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2,1fr); } }

/* ============================================================
   REVEAL ON SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   ADMIN EDITOR BAR compensation
   ============================================================ */
body.admin-bar .nav { top: 32px; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.muted { color: var(--ink-muted); }
.responsive-2col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.responsive-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.responsive-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.method-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.hero-split-inner { display: grid; grid-template-columns: 1fr 0.9fr; gap: 60px; align-items: center; }

@media (max-width: 900px) {
  .responsive-2col { grid-template-columns: 1fr !important; gap: 30px !important; }
  .responsive-grid { grid-template-columns: 1fr 1fr !important; }
  .method-grid { grid-template-columns: 1fr 1fr !important; }
  .hero-split-inner { grid-template-columns: 1fr !important; gap: 30px !important; }
}
@media (max-width: 500px) {
  .responsive-grid { grid-template-columns: 1fr !important; }
  .method-grid { grid-template-columns: 1fr !important; }
  .responsive-grid-3 { grid-template-columns: 1fr !important; }
}

/* Remove WP margins */
.wp-block-group, figure.wp-block-image { margin: 0; }
