/* CEA — Paleta campaña #AMAR tiene LÍMITES (CORPOAMAZONIA) */
:root {
  --lime: #92b53e;
  --lime-bright: #a8c94a;
  --forest: #2d4a1e;
  --forest-dark: #1b2613;
  --bg-dark: #0f1410;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.78);
  --glass: rgba(27, 38, 19, 0.72);
  --glass-border: rgba(146, 181, 62, 0.25);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-script: "Dancing Script", cursive;
  --header-h: 6.25rem;
  --radius: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--bg-dark);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--lime-bright);
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.text-white { color: var(--white); }
.text-lime { color: var(--lime); }

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(15, 20, 16, 0.95) 0%, transparent 100%);
  transition: background var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
}

.logo-corpo {
  display: block;
  height: auto;
  object-fit: contain;
}

.nav-logo:hover {
  color: var(--lime);
}

/* Logos institucionales */
.logo-cea {
  display: block;
  height: auto;
  object-fit: contain;
}

.logo-cea-nav {
  width: auto;
  height: 5.85rem;
}

.nav-amar {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.15rem;
  color: var(--white) !important;
  line-height: 1.1;
}

.nav-amar:hover {
  color: var(--lime) !important;
}

.nav-amar-hash {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav-amar-script {
  font-family: var(--font-script);
  font-size: 0.9rem;
  text-transform: lowercase;
}

.logo-suruma {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.card-suruma .logo-suruma {
  width: min(180px, 70%);
  margin: 0 auto 1rem;
}

.card-suruma {
  text-align: center;
  grid-column: 1 / -1;
  max-width: 420px;
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav-links a:hover {
  color: var(--lime);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  transition: var(--transition);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 20, 16, 0.92) 0%,
    rgba(27, 38, 19, 0.75) 45%,
    rgba(15, 20, 16, 0.55) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 3rem) 1.5rem 2.5rem;
  max-width: 42rem;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content .hero-lead,
.hero-content .hero-eyebrow {
  margin-inline: auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 36ch;
}

.hero-campaign {
  margin-bottom: 2rem;
}

.campaign-hash {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  letter-spacing: 0.05em;
  color: var(--white);
}

.campaign-script {
  font-family: var(--font-script);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--white);
  margin: 0 0.35rem;
}

.campaign-tagline {
  margin: 0.5rem 0 1rem;
}

.campaign-tagline-sm .campaign-hash,
.campaign-tagline-sm .campaign-script {
  font-size: 1.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--lime);
  color: var(--forest-dark);
  border-color: var(--lime);
}

.btn-primary:hover {
  background: var(--lime-bright);
  border-color: var(--lime-bright);
  color: var(--forest-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--forest-dark);
}

.hero-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  pointer-events: none;
}

/* Escritorio: fondo fijo bajo el contenido, sin recorte al hacer zoom */
@media (min-width: 769px) {
  .hero-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center center;
  }
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--lime), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* —— Intro strip —— */
.intro-strip {
  background: var(--forest-dark);
  border-block: 3px solid var(--lime);
  padding: 2rem 0;
}

.intro-grid {
  display: grid;
  gap: 1rem;
  text-align: center;
}

.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--forest-dark) 0%, var(--bg-dark) 100%);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.section-title,
.split-content h2,
.mission-block h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.section-intro {
  color: var(--text-muted);
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.split-content strong {
  color: var(--white);
}

.card-glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.split-media {
  overflow: hidden;
}

.split-media a {
  display: block;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.split-media a:hover img {
  transform: scale(1.03);
}

.split-media figcaption a {
  color: var(--lime);
  text-decoration: none;
}

.split-media figcaption a:hover {
  text-decoration: underline;
}

.split-media figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--lime);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* —— Timeline —— */
.timeline {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.timeline-item {
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--forest);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: border-color var(--transition);
}

.timeline-item:hover {
  border-left-color: var(--lime);
}

.timeline-highlight {
  border-left-color: var(--lime);
  background: rgba(146, 181, 62, 0.08);
}

.timeline-item time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--lime);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.timeline-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* —— Cards grid —— */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  padding: 1.5rem;
  transition: transform var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(146, 181, 62, 0.5);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: 0.25rem;
}

.card-sub {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.card p:last-child {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.spaces-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.space-feature-card {
  border-color: rgba(146, 181, 62, 0.28);
}

.space-feature-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.spaces-grid {
  margin-top: 1.25rem;
}

/* —— CREAS / CAV —— */
.section-creas {
  background: linear-gradient(180deg, var(--forest-dark) 0%, rgba(146, 181, 62, 0.1) 48%, var(--bg-dark) 100%);
}

.creas-feature,
.suruma-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.creas-feature-text h2,
.suruma-feature-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--white);
}

.creas-feature-text p,
.suruma-feature-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.creas-feature-text strong,
.suruma-feature-text strong {
  color: var(--white);
}

.creas-panel {
  padding: 1.5rem;
}

.creas-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: 1rem;
}

.creas-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.creas-steps article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
}

.creas-steps span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.creas-steps h4 {
  color: var(--white);
  margin-bottom: 0.35rem;
}

.creas-steps p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.creas-legal {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.creas-legal h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.creas-legal p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.creas-legal p:last-child {
  margin-bottom: 0;
}

.creas-legal strong {
  color: var(--white);
}

.creas-legal a:not(.btn) {
  color: var(--lime);
  text-decoration: none;
}

.creas-legal a:not(.btn):hover {
  text-decoration: underline;
}

.creas-legal-link {
  margin-top: 1rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.space-feature-card a {
  color: var(--lime);
  text-decoration: none;
}

.space-feature-card a:hover {
  text-decoration: underline;
}

/* —— Suruma —— */
.section-suruma {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(128, 48, 48, 0.12) 50%, var(--forest-dark) 100%);
}

.logo-suruma-feature {
  width: min(220px, 55vw);
  margin: 0.5rem 0 1.25rem;
}

.suruma-feature-media {
  overflow: hidden;
  margin: 0;
}

.suruma-feature-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.fauna-carousel-wrap {
  display: flex;
  flex-direction: column;
}

.fauna-carousel {
  position: relative;
  width: 100%;
}

.fauna-carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--forest-dark);
}

.fauna-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fauna-carousel-img.is-visible {
  opacity: 1;
}

.fauna-carousel-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--forest-dark);
  aspect-ratio: 4/3;
}

.fauna-carousel.is-ready .fauna-carousel-loading {
  display: none;
}

.fauna-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0.5rem 0;
  min-height: 1.75rem;
}

.fauna-carousel-dots--hidden {
  display: none;
}

.fauna-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--glass-border);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fauna-carousel-dot.is-active {
  background: var(--lime);
  transform: scale(1.15);
}

.fauna-carousel-wrap figcaption {
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  text-align: center;
  border-top: 1px solid var(--glass-border);
}

.fauna-carousel-wrap figcaption a {
  color: var(--lime);
  text-decoration: none;
}

.fauna-carousel-wrap figcaption a:hover {
  text-decoration: underline;
}

/* —— AMAR section —— */
.section-amar {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.amar-bg {
  position: absolute;
  inset: 0;
}

.amar-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 16, 0.94) 0%,
    rgba(27, 38, 19, 0.9) 50%,
    rgba(15, 20, 16, 0.96) 100%
  );
}

.amar-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.amar-hero {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.amar-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.amar-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  border: 2px solid var(--lime);
  border-radius: 999px;
  background: rgba(146, 181, 62, 0.12);
}

.amar-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.campaign-tagline-hero {
  margin-bottom: 1.25rem;
}

.amar-lead {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.amar-lead strong,
.amar-story strong,
.amar-symbolism strong {
  color: var(--white);
}

.amar-story {
  padding: 1.5rem 1.75rem;
  max-width: 52rem;
  margin-inline: auto;
  width: 100%;
}

.amar-story p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.amar-symbolism {
  margin: 0;
  padding: 2rem 2.25rem;
  border-left: 4px solid var(--lime);
  background: linear-gradient(90deg, rgba(146, 181, 62, 0.12), transparent);
  max-width: 52rem;
  margin-inline: auto;
  width: 100%;
}

.amar-symbolism-text {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--white);
  font-style: italic;
}

.amar-symbolism em {
  color: var(--lime);
  font-style: normal;
  font-weight: 600;
}

.amar-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.amar-panel {
  padding: 1.5rem 1.75rem;
}

.amar-panel-no {
  border-top: 3px solid rgba(232, 93, 93, 0.6);
}

.amar-panel-yes {
  border-top: 3px solid var(--lime);
}

.amar-panel h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.amar-panel-no h3 {
  color: #e8a0a0;
}

.amar-panel-yes h3 {
  color: var(--lime);
}

.amar-block {
  padding-top: 0.5rem;
}

.amar-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.amar-block-intro {
  color: var(--text-muted);
  max-width: 65ch;
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.amar-block-intro strong {
  color: var(--white);
}

.amar-legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.amar-legal {
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.amar-legal:hover {
  transform: translateY(-3px);
  border-color: rgba(146, 181, 62, 0.45);
}

.legal-tag {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-dark);
  background: var(--lime);
  border-radius: 4px;
}

.amar-legal p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.amar-legal strong {
  color: var(--white);
}

.amar-sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-bottom: 1.25rem;
}

.amar-sectors li {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(146, 181, 62, 0.15);
  border: 1px solid rgba(146, 181, 62, 0.35);
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}

.amar-sectors li:hover {
  background: rgba(146, 181, 62, 0.28);
  transform: translateY(-2px);
}

.amar-pnea {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-left: 3px solid var(--lime);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.amar-cierre {
  text-align: center;
  padding: 2.5rem 2rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, rgba(146, 181, 62, 0.15), rgba(27, 38, 19, 0.8));
  border: 1px solid rgba(146, 181, 62, 0.35);
}

.amar-cierre-main {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.7;
  color: var(--white);
  margin-bottom: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}

.amar-cierre-highlight {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--lime);
  max-width: 52rem;
  margin-inline: auto;
}

.amar-list {
  list-style: none;
}

.amar-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.amar-list li:last-child {
  border-bottom: none;
}

.list-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(220, 80, 80, 0.2);
  color: #e85d5d;
  font-size: 0.75rem;
  font-weight: 700;
}

.list-icon-yes {
  background: rgba(146, 181, 62, 0.25);
  color: var(--lime);
}

/* —— Mission —— */
.section-mission {
  background: var(--lime);
  color: var(--forest-dark);
}

.section-mission .section-label {
  color: var(--forest-dark);
  opacity: 0.7;
}

.mission-block {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}

.mission-block h2 {
  color: var(--forest-dark);
}

.mission-block p {
  font-size: 1.1rem;
  line-height: 1.7;
}

/* —— Visit —— */
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.visit-info {
  font-style: normal;
  margin: 1rem 0 1.5rem;
}

.visit-info p {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.visit-contact {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-border);
}

.visit-contact-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--lime);
  margin-bottom: 0.75rem;
}

.visit-contact p {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.visit-contact p:last-child {
  margin-bottom: 0;
}

.visit-contact strong {
  color: var(--white);
}

.visit-contact a {
  color: var(--lime);
  text-decoration: none;
}

.visit-contact a:hover {
  text-decoration: underline;
}

.visit-note {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.map-placeholder {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: radial-gradient(circle at 50% 60%, rgba(146, 181, 62, 0.15), transparent 70%),
    rgba(27, 38, 19, 0.5);
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.map-pin {
  color: var(--lime);
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  border: 2px solid var(--lime);
  border-radius: 4px;
}

/* —— Footer —— */
.site-footer {
  padding: 3rem 0 2rem;
  background: var(--bg-dark);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  text-align: center;
}

.footer-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.logo-cea-footer {
  width: auto;
  height: 3.5rem;
}

.logo-corpo-footer {
  width: auto;
  height: 5.5rem;
  opacity: 0.95;
  transition: opacity var(--transition);
}

.logo-corpo-footer:hover {
  opacity: 1;
}

/* —— Galería —— */
.section-gallery {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--forest-dark) 100%);
}

.gallery-intro {
  margin-bottom: 1.5rem;
}

.gallery-embed {
  padding: 1.25rem;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(145deg, rgba(27, 38, 19, 0.85), rgba(15, 20, 16, 0.6));
}

.gallery-loading,
.gallery-error {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1.5rem 1rem;
}

.gallery-error {
  color: #e8a0a0;
}

.hidden {
  display: none !important;
}

.gallery-grid {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 0.75rem;
}

.gallery-grid.is-ready {
  display: grid;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(146, 181, 62, 0.08), rgba(0, 0, 0, 0.4));
  border: 1px solid rgba(146, 181, 62, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(146, 181, 62, 0.45);
  z-index: 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 20, 16, 0.75));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-zoom {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(146, 181, 62, 0.9);
  position: relative;
}

.gallery-zoom::before,
.gallery-zoom::after {
  content: "";
  position: absolute;
  background: var(--forest-dark);
}

.gallery-zoom::before {
  width: 14px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery-zoom::after {
  width: 2px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Visor pantalla completa (dialog nativo) */
.gallery-lightbox {
  margin: 0;
  padding: 0;
  border: none;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  background: #0a0e0b;
  overflow: hidden;
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.92);
}

.gallery-lightbox[open] {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  grid-template-areas:
    "prev viewport next"
    ". counter .";
  align-items: center;
  justify-items: center;
  gap: 0.5rem;
  padding: 1rem;
  box-sizing: border-box;
}

.lightbox-viewport {
  grid-area: viewport;
  width: 100%;
  height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  user-select: none;
}

.lightbox-close,
.lightbox-nav {
  z-index: 2;
  border: none;
  background: rgba(27, 38, 19, 0.92);
  color: var(--white);
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(146, 181, 62, 0.4);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--lime);
  color: var(--forest-dark);
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
}

.lightbox-prev {
  grid-area: prev;
}

.lightbox-next {
  grid-area: next;
}

.lightbox-counter {
  grid-area: counter;
  margin: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(27, 38, 19, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(146, 181, 62, 0.35);
}

.gallery-actions {
  text-align: center;
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 130px;
  }

  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
    gap: 0.5rem;
  }

  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 2.5rem;
    height: 2.5rem;
  }

  .lightbox-viewport {
    height: calc(100vh - 4rem);
  }
}

.footer-org {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 28rem;
  margin-inline: auto;
}

.footer-contact {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-contact a {
  color: var(--lime);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-campaign p:last-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .split,
  .amar-panels,
  .amar-legal-grid,
  .visit-grid,
  .spaces-overview,
  .creas-feature,
  .creas-steps,
  .suruma-feature {
    grid-template-columns: 1fr;
  }

  .suruma-feature-media {
    order: -1;
  }

  .split-media {
    order: -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: rgba(15, 20, 16, 0.98);
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .logo-cea-nav {
    height: 4.15rem;
  }

  .nav-amar-hash {
    font-size: 0.85rem;
  }

  .nav-amar-script {
    font-size: 0.8rem;
  }

  .hero-content {
    text-align: center;
    margin-inline: auto;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .stats {
    justify-content: center;
    text-align: center;
  }
}
