/* ==========================================================================
   MOLCEN · Asociación Gremial de Molineros del Centro A.G.
   Hoja de estilos principal
   ========================================================================== */

:root {
  /* Paleta */
  --green-950: #142614;
  --green-900: #1f3a1f;
  --green-800: #27492a;
  --green-700: #2f5d31;
  --green-600: #3f7a3d;
  --green-500: #4c8a3f;
  --green-100: #e3ecdf;
  --green-50: #f0f5ec;
  --gold: #d9a441;
  --gold-600: #c48a25;
  --gold-100: #f7ebd2;
  --cream: #f8f6f0;
  --cream-2: #f1ede2;
  --paper: #ffffff;
  --ink: #1b1f1a;
  --ink-2: #3b413a;
  --muted: #6a7066;
  --line: #e2e0d6;

  /* Tipografía */
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Métrica */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 38, 20, .06), 0 2px 8px rgba(20, 38, 20, .05);
  --shadow-md: 0 8px 30px rgba(20, 38, 20, .10);
  --shadow-lg: 0 20px 60px rgba(20, 38, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; } /* compensa el header fijo al saltar a un ancla */
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-900); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1.1em; }
strong { color: var(--ink); font-weight: 600; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.narrow { max-width: 760px; }

/* --------------------------------------------------------------------------
   Utilidades tipográficas
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--green-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.eyebrow.light { color: rgba(255,255,255,.75); }
.eyebrow.light::before { background: var(--gold); }
.lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink-2); }
.section-num { font-family: var(--serif); font-style: italic; color: var(--gold-600); font-size: 1rem; margin-right: 10px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 3px; font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 6px 18px rgba(47,93,49,.28); }
.btn-primary:hover { background: var(--green-800); color: #fff; box-shadow: 0 10px 26px rgba(47,93,49,.34); }
.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: #e4b25a; color: var(--green-950); }
.btn-outline { background: transparent; color: var(--green-800); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: #fff; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--green-700); font-size: .95rem; }
.btn-link svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--green-950); color: rgba(255,255,255,.78); font-size: .78rem;
  letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 20px; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 13px; height: 13px; }
.topbar .right { display: flex; gap: 22px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,246,240,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20,38,20,.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-size: .82rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-radius: 3px;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--green-800); }
.nav .btn { margin-left: 12px; padding: 11px 20px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.nav .btn::after { display: none; }
.nav a.btn-primary { color: #fff; }
.nav a.btn-primary:hover { color: #fff; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 4px;
  cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero (home)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: calc(100vh - 120px); min-height: calc(100svh - 120px);
  display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,38,20,.92) 0%, rgba(20,38,20,.72) 38%, rgba(20,38,20,.25) 70%, rgba(20,38,20,.35) 100%),
    linear-gradient(180deg, rgba(20,38,20,.15) 0%, rgba(20,38,20,0) 30%, rgba(20,38,20,.55) 100%);
}
.hero-diagonal {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, rgba(76,138,63,.42) 0%, rgba(76,138,63,.28) 34%, transparent 34.2%);
}
.hero .container { position: relative; padding: 110px 0 120px; }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { color: rgba(255,255,255,.86); max-width: 560px; font-size: 1.15rem; margin-bottom: 36px; }
.hero-tag { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: rgba(255,255,255,.9); margin-bottom: 12px; }
.hero-tag strong { color: var(--gold); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 34px; display: flex; align-items: center; gap: 12px;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.hero-scroll::before { content: ""; width: 1px; height: 54px; background: linear-gradient(to top, var(--gold), transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

/* Franja de cifras */
.stats { background: var(--green-900); color: #fff; position: relative; }
.stats::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-600) 50%, transparent 100%); }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 40px 28px; border-left: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat:first-child { border-left: 0; }
.stat .value { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; color: #fff; line-height: 1; margin-bottom: 8px; }
.stat .value small { font-size: .55em; color: var(--gold); font-style: italic; }
.stat .label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* --------------------------------------------------------------------------
   Secciones
   -------------------------------------------------------------------------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.tight { padding: clamp(56px, 6vw, 80px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 16px; }
.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-green { background: var(--green-900); color: rgba(255,255,255,.86); }
.bg-green h2, .bg-green h3 { color: #fff; }
.bg-green .lead { color: rgba(255,255,255,.9); }

/* Quiénes somos (home) */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.photo-stack { position: relative; padding: 0 0 60px 60px; }
.photo-stack .main { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3.2; object-fit: cover; width: 100%; }
.photo-stack .second {
  position: absolute; left: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 8px solid var(--cream); box-shadow: var(--shadow-md);
}
.photo-stack .badge {
  position: absolute; right: -14px; top: -14px; background: var(--gold); color: var(--green-950);
  font-family: var(--serif); font-weight: 600; padding: 14px 18px; border-radius: 3px; line-height: 1.05;
  box-shadow: var(--shadow-md); text-align: center;
}
.photo-stack .badge b { display: block; font-size: 1.9rem; }
.photo-stack .badge span { font-family: var(--sans); font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 600; }

/* Cadena trigo · harina · pan */
.chain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.chain-item { background: var(--paper); padding: 28px 24px; position: relative; }
.chain-item .icon { width: 44px; height: 44px; color: var(--green-600); margin-bottom: 14px; }
.chain-item .icon svg { width: 100%; height: 100%; }
.chain-item h4 { font-size: 1.35rem; margin-bottom: 6px; }
.chain-item p { font-size: .9rem; color: var(--muted); margin: 0; }
.chain-item .step { position: absolute; top: 18px; right: 20px; font-family: var(--serif); font-style: italic; color: var(--gold-600); font-size: 1rem; }

/* Misión */
.mission { position: relative; overflow: hidden; }
.mission-bg { position: absolute; inset: 0; }
.mission-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: grayscale(30%); }
.mission-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--green-900) 0%, rgba(31,58,31,.9) 55%, rgba(31,58,31,.6) 100%); }
.mission .container { position: relative; }
.mission-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: #fff; font-weight: 500; max-width: 900px; }
.mission-quote em { color: var(--gold); font-style: italic; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.mission-points { display: grid; gap: 22px; margin-top: 8px; }
.mission-point { display: flex; gap: 16px; align-items: flex-start; }
.mission-point .n { flex: 0 0 40px; height: 40px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-style: italic; color: var(--gold); }
.mission-point p { margin: 0; color: rgba(255,255,255,.82); font-size: .98rem; }
.mission-point strong { color: #fff; display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 2px; }

/* Principios */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.principle {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 30px;
  position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.principle::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--green-600); transition: width .35s var(--ease); }
.principle:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.principle:hover::before { width: 6px; }
.principle .letter {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green-50); color: var(--green-800);
  display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; margin-bottom: 18px;
  border: 1px solid var(--green-100);
}
.principle h3 { font-size: 1.4rem; margin-bottom: 10px; }
.principle p { font-size: .95rem; color: var(--ink-2); margin: 0; }
.principle .watermark { position: absolute; z-index: 0; right: -10px; bottom: -30px; font-family: var(--serif); font-size: 8rem; color: var(--green-50); font-weight: 700; line-height: 1; pointer-events: none; user-select: none; }
.principle > :not(.watermark) { position: relative; z-index: 1; }

/* Directorio */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  display: flex; gap: 20px; align-items: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.avatar {
  flex: 0 0 64px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green-700), var(--green-900)); color: #fff;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .02em;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.25);
}
.avatar.gold { background: linear-gradient(145deg, var(--gold), var(--gold-600)); color: var(--green-950); }
.member .role { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); font-weight: 700; margin-bottom: 4px; }
.member .name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); line-height: 1.15; }
.member.featured { grid-column: 1 / -1; background: var(--green-900); border-color: var(--green-900); color: #fff; padding: 36px; }
.member.featured .role { color: var(--gold); }
.member.featured .name { color: #fff; font-size: 1.7rem; }
.member.featured .avatar { flex-basis: 80px; width: 80px; height: 80px; font-size: 1.8rem; }
.member.featured p { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: .95rem; }

/* Denuncias CTA */
.cta-band { position: relative; overflow: hidden; background: var(--green-950); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(76,138,63,.45), transparent 55%), radial-gradient(ellipse at 90% 20%, rgba(217,164,65,.22), transparent 50%);
}
.cta-band .container { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); }
.cta-band .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-band .mail { font-family: var(--serif); font-size: 1.6rem; color: #fff; display: inline-flex; align-items: center; gap: 12px; }
.cta-band .mail svg { width: 24px; height: 24px; color: var(--gold); }
.cta-band .mail:hover { color: var(--gold); }
.cta-band .note { font-size: .82rem; color: rgba(255,255,255,.6); }

/* Contacto (home strip) */
.contact-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; }
.contact-card .icon { width: 40px; height: 40px; color: var(--green-600); margin-bottom: 14px; }
.contact-card .icon svg { width: 100%; height: 100%; }
.contact-card h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); margin-bottom: 8px; }
.contact-card p { margin: 0; font-size: 1rem; }
.contact-card a { font-weight: 600; }

/* --------------------------------------------------------------------------
   Páginas interiores
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate; min-height: 380px; display: flex; align-items: flex-end;
}
.page-hero .hero-media { z-index: -2; }
.page-hero .hero-media img { animation: none; transform: none; }
.page-hero .hero-overlay { background: linear-gradient(180deg, rgba(20,38,20,.35) 0%, rgba(20,38,20,.85) 100%), linear-gradient(90deg, rgba(20,38,20,.6), rgba(20,38,20,.1)); }
.page-hero .container { padding: 120px 0 56px; position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 12px; }
.page-hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 10px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: 26px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span::before { content: "/"; margin-right: 10px; color: var(--gold); }

.prose { max-width: 720px; }
.prose p { font-size: 1.08rem; }
.prose h3 { margin-top: 2em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 28px; }
.aside-card h4 { font-size: 1.3rem; margin-bottom: 8px; }
.aside-card p { font-size: .95rem; margin: 0; }
.list-check { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.list-check li { display: flex; gap: 14px; align-items: flex-start; font-size: 1rem; }
.list-check li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--green-50);
  border: 1px solid var(--green-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5d31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

/* Pasos (denuncias) */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; }
.step-card .num { font-family: var(--serif); font-size: 3rem; color: var(--green-100); font-weight: 700; line-height: 1; margin-bottom: 8px; }
.step-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step-card p { font-size: .95rem; margin: 0; }

/* Formulario */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-800); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px;
  background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(76,138,63,.14); }
.field textarea { min-height: 160px; resize: vertical; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.form-foot .privacy { font-size: .82rem; color: var(--muted); max-width: 420px; margin: 0; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.checkbox input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green-700); }

/* Mapa */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/10; background: var(--green-100); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* Comunicados */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-item { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 28px 26px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.news-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-item .date { font-family: var(--serif); font-style: italic; color: var(--gold-600); font-size: 1rem; margin-bottom: 8px; }
.news-item h3 { font-size: 1.4rem; margin-bottom: 10px; }
.news-item p { font-size: .95rem; margin: 0; white-space: pre-line; }
.news:has(> .news-item:only-of-type) { grid-template-columns: minmax(0, 720px); }

/* Canal de denuncias: tarjeta de correo */
.denuncia-card { background: var(--green-900); color: #fff; border-radius: var(--radius); padding: 36px 32px; box-shadow: var(--shadow-md); position: relative; overflow: hidden; }
.denuncia-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 90% 10%, rgba(217,164,65,.25), transparent 55%); }
.denuncia-card > * { position: relative; }
.denuncia-card .icon { width: 44px; height: 44px; color: var(--gold); margin-bottom: 14px; }
.denuncia-card .icon svg { width: 100%; height: 100%; }
.denuncia-card h4 { font-family: var(--sans); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 8px; }
.denuncia-card .mail { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: #fff; font-weight: 600; word-break: break-all; }
.denuncia-card .mail:hover { color: var(--gold); }

/* Foto única */
.photo-single { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Notas / disclaimer */
.notice { background: var(--gold-100); border-left: 4px solid var(--gold); padding: 18px 22px; border-radius: 4px; font-size: .95rem; }
.notice strong { color: var(--green-950); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--green-950); color: rgba(255,255,255,.72); padding: 72px 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-600) 40%, transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: .9rem; max-width: 340px; }
.site-footer h5 { font-family: var(--sans); color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li a { color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer li a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .8rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   Animaciones al hacer scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .principles, .board, .contact-strip, .steps, .news { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 12px 0 20px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px var(--gutter); font-size: .9rem; border-radius: 0; }
  .nav a::after { display: none; }
  .nav .btn { margin: 12px var(--gutter) 0; }
  .nav-toggle { display: flex; }
  .topbar .right span.addr { display: none; }
  .split, .split.reverse, .mission-grid, .two-col, .cta-band .container { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .chain { grid-template-columns: 1fr; }
  .hero-scroll { display: none; }
  .hero .container { padding: 80px 0 90px; }
  .hero-diagonal { background: linear-gradient(115deg, rgba(76,138,63,.35) 0%, rgba(76,138,63,.2) 55%, transparent 55.2%); }
  .cta-band .actions { align-items: flex-start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .principles, .board, .contact-strip, .steps, .news, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .stat { padding: 22px 14px; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .stat:first-child { border-top: 0; }
  .brand img { height: 42px; }
  .site-header .container { height: 72px; }
  .nav { inset: 72px 0 auto 0; }
  .photo-stack { padding: 0 0 40px 30px; }
  .photo-stack .badge { right: 0; top: -10px; padding: 10px 14px; }
  .photo-stack .badge b { font-size: 1.4rem; }
  .member { padding: 22px; }
  .member.featured { flex-direction: column; align-items: flex-start; }
  .page-hero .container { padding: 90px 0 44px; }
  .topbar .right { display: none; }
}
