/* Fundación Alfarcito · sitio institucional */
:root {
  --verde: #79883A;
  --verde-t: #5F6B2C;
  --verde-d: #474F22;
  --marron: #A0441A;
  --marron-h: #AB4917;
  --celeste: #5D7786;
  --celeste-t: #4D6573;
  --beige: #F4EFE4;
  --arena: #EAE3D4;
  --blanco: #FCFBF8;
  --ink: #22271A;
  --txt: #2E3326;
  --muted: #666A5B;
  --rule: #D9D0BD;
  --serif: 'Roboto Serif', Georgia, serif;
  --sans: 'Roboto', Arial, sans-serif;
  --max: 1200px;
  --gut: 24px;
  --r: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanco); color: var(--txt); font-family: var(--sans); font-size: 17px; line-height: 1.65; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--marron); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--marron-h); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.22rem; font-weight: 500; line-height: 1.3; }
p { margin: 0; }
p + p { margin-top: 1em; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.kicker { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--marron); margin-bottom: 14px; display: block; }
.lead { font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); }
.muted { color: var(--muted); }
.rule { width: 56px; height: 3px; background: var(--verde); border: 0; margin: 22px 0; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-beige { background: var(--beige); }
.bg-arena { background: var(--arena); }
.bg-verde { background: var(--verde-t); color: #fff; }
.bg-verde h2, .bg-verde h3, .bg-verde .lead { color: #fff; }
.bg-ink { background: var(--ink); color: #E9E5DA; }
.center { text-align: center; }
.stack > * + * { margin-top: 18px; }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head.center { margin-left: auto; margin-right: auto; }
.head p { margin-top: 16px; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-family: var(--sans); font-weight: 500; font-size: 0.98rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--marron); color: #fff; }
.btn-primary:hover { background: var(--marron-h); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--beige); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-verde { background: var(--verde-t); color: #fff; }
.btn-verde:hover { background: var(--verde-d); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow { font-weight: 500; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(252,251,248,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 0.95rem var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; background: none; border: 0; cursor: pointer; border-radius: 999px; }
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { color: var(--marron); }
.has-sub > button svg { width: 11px; height: 11px; flex: none; transition: transform .25s ease; }
.sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; padding: 10px; list-style: none; margin: 6px 0 0; box-shadow: 0 18px 40px -18px rgba(34,39,26,.25); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--beige); color: var(--marron); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover > button svg, .has-sub.open > button svg { transform: rotate(180deg); }
.menu .btn { margin-left: 10px; padding: 11px 22px; }
.menu > li > a.btn, .menu > li > a.btn:hover, .menu > li > a.btn[aria-current="page"] { color: #fff; }
.menu > li > a.btn-primary { background: var(--marron); }
.menu > li > a.btn-primary:hover { background: var(--marron-h); }
.menu-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; flex: none; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--beige); cursor: pointer; place-items: center; transition: background .2s, transform .2s; }
.nav-toggle:hover { background: var(--arena); }
.nav-toggle:focus-visible { outline: 2px solid var(--verde); outline-offset: 2px; }
.nav-toggle .bars { position: relative; display: block; width: 26px; height: 18px; }
.nav-toggle .bars span { position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7.75px; }
.nav-toggle .bars span:nth-child(3) { top: 15.5px; }

/* Hero portada */
.hero { background: var(--beige); position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 9vw, 130px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 520px; }
.hero-media { position: relative; }
.hero-shape { position: absolute; inset: -8% -14% -10% -6%; z-index: 0; color: var(--verde); opacity: .16; }
.blob { border-radius: 58% 42% 46% 54% / 46% 52% 48% 54%; overflow: hidden; }
.hero-photo { position: relative; z-index: 1; aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; height: auto; }
.hero-inset { position: absolute; z-index: 2; width: 38%; height: auto; aspect-ratio: 1; left: -9%; bottom: -6%; border-radius: 50%; object-fit: cover; border: 8px solid var(--beige); box-shadow: 0 20px 40px -20px rgba(34,39,26,.45); }
.hero-iso { position: absolute; z-index: 2; width: 74px; height: auto; right: 2%; top: -2%; transform: rotate(12deg); }
.hero-place { display: inline-flex; align-items: center; gap: 10px; margin-top: 38px; font-size: 0.9rem; color: var(--muted); }
.hero-place svg { width: 18px; height: 18px; color: var(--verde); }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* Hero interior */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,29,18,.78) 0%, rgba(25,29,18,.45) 45%, rgba(25,29,18,.1) 100%), linear-gradient(0deg, rgba(25,29,18,.5), transparent 50%); z-index: 1; }
.page-hero .wrap { position: relative; z-index: 2; padding-bottom: clamp(90px, 11vw, 150px); padding-top: 120px; }
.page-hero h1 { color: #fff; max-width: 780px; }
.page-hero .kicker { color: #F1D9B8; }
.page-hero p.lead { color: rgba(255,255,255,.92); margin-top: 18px; max-width: 620px; }
.page-hero .wave { z-index: 2; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Cifras */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.stat .n { font-family: var(--serif); font-weight: 200; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: #fff; }
.stat .l { margin-top: 12px; font-size: .98rem; color: rgba(255,255,255,.86); max-width: 190px; line-height: 1.45; }
.stats.light .n { color: var(--verde-t); }
.stats.light .l { color: var(--txt); }
.stats.three { grid-template-columns: repeat(3, 1fr); }
.stats.six { grid-template-columns: repeat(6, 1fr); gap: 22px; }
.stats.four { grid-template-columns: repeat(4, 1fr); }
html { overflow-x: clip; }
.stats.six .l { font-size: .92rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.rev .split-media { order: -1; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--r); aspect-ratio: 5 / 4; object-fit: cover; }
.split-media.tall img { aspect-ratio: 4 / 5; }
.split-media.blobbed img { border-radius: 46% 54% 52% 48% / 52% 46% 54% 48%; aspect-ratio: 1; }
.split-media .tag-photo { position: absolute; left: 20px; bottom: 20px; background: rgba(252,251,248,.94); padding: 8px 14px; border-radius: 999px; font-size: .82rem; color: var(--ink); }
.split-media img.deco-trama { position: absolute; height: auto; aspect-ratio: auto; border-radius: 0; width: 46%; right: -8%; bottom: -10%; z-index: -1; opacity: .9; }
.split-media img.deco-iso { position: absolute; height: auto; aspect-ratio: auto; border-radius: 0; width: 64px; top: -24px; right: 18px; transform: rotate(10deg); }

/* Origen con recorte */
.origen { overflow: hidden; }
.origen-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.origen-figure { position: relative; padding-bottom: clamp(56px, 8vw, 110px); }
.origen-figure .linea { position: absolute; left: -18%; bottom: 4%; width: 70%; opacity: .7; z-index: 1; }
.origen-figure img.retrato { position: relative; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 62% 30%; max-width: 520px; margin: 0 auto; }
.origen-text { padding-bottom: clamp(56px, 8vw, 110px); }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar { text-decoration: none; color: inherit; display: block; padding: 34px 26px 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--rule); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pillar:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(34,39,26,.35); border-color: transparent; color: inherit; }
.icon-circle { width: 76px; height: 76px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; margin-bottom: 22px; color: var(--verde-t); }
.icon-circle svg { width: 38px; height: 38px; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 1rem; }
.pillar .link-arrow { margin-top: 18px; font-size: .92rem; color: var(--marron); }
.c-marron .icon-circle { color: var(--marron); }
.c-celeste .icon-circle { color: var(--celeste-t); }

/* Tarjetas */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.five { grid-template-columns: repeat(5, 1fr); }
.cards.five .card { padding: 26px 22px; }
.card { background: #fff; border-radius: var(--r); padding: 32px 30px; border: 1px solid var(--rule); }
.card h3 { margin-bottom: 10px; }
.card .icon-circle { width: 60px; height: 60px; margin-bottom: 18px; }
.card .icon-circle svg { width: 30px; height: 30px; }
.card.flat { background: transparent; border: 0; border-top: 3px solid var(--verde); border-radius: 0; padding: 24px 0 0; }
.card.beige { background: var(--beige); border-color: transparent; }

/* Pedido */
.ask { background: var(--marron); color: #fff; border-radius: 28px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; position: relative; overflow: hidden; }
.ask h2 { color: #fff; }
.ask p { color: rgba(255,255,255,.9); }
.ask .iso-bg { position: absolute; right: -40px; bottom: -60px; width: 260px; opacity: .14; filter: brightness(0) invert(1); }
.amounts { display: grid; gap: 12px; position: relative; }
.amount { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 20px; border-radius: 14px; background: rgba(255,255,255,.12); }
.amount strong { font-family: var(--serif); font-weight: 300; font-size: 1.6rem; color: #fff; }
.amount span { color: rgba(255,255,255,.9); font-size: .95rem; }

/* Cita */
.quote { font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; color: var(--ink); max-width: 860px; margin: 0 auto; }
.quote-who { margin-top: 22px; color: var(--muted); display: inline-flex; gap: 14px; align-items: center; }
.quote-who::before { content: ""; width: 40px; height: 2px; background: var(--verde); }

/* Banda foto */
.band { position: relative; color: #fff; overflow: hidden; min-height: 520px; display: flex; align-items: center; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(25,29,18,.25), rgba(25,29,18,.7) 60%); z-index: 1; }
.band .wrap { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.band-box { max-width: 520px; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.9); margin-top: 14px; font-size: 1.1rem; }

/* Novedades */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(34,39,26,.35); color: inherit; }
.news-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.news-card .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.news-card p { color: var(--muted); font-size: .98rem; }
.tag { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--verde-t); }
.tag.marron { color: var(--marron); }
.tag.celeste { color: var(--celeste-t); }
.article { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 100px; }
.article:first-child { border-top: 0; padding-top: 0; }
.article img { width: 100%; border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 10px 0 18px; }
.article .meta { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }

/* Línea de tiempo */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 2px; background: var(--rule); }
.timeline li { position: relative; padding-top: 42px; }
.timeline li::before { content: ""; position: absolute; top: 6px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--blanco); border: 3px solid var(--verde); }
.timeline .y { font-family: var(--serif); font-size: 1.6rem; font-weight: 300; color: var(--verde-t); line-height: 1; }
.timeline p { margin-top: 10px; font-size: .95rem; color: var(--txt); line-height: 1.5; }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; border-radius: 16px; overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery .w2 { grid-column: span 2; }
.gallery .h2 { grid-row: span 2; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font-family: var(--serif); font-style: italic; font-size: 1.05rem; background: linear-gradient(0deg, rgba(25,29,18,.75), transparent); }

/* Listas */
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 20px no-repeat; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps li { counter-increment: s; background: #fff; border-radius: var(--r); padding: 30px 28px; border: 1px solid var(--rule); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--verde-t); color: #fff; font-family: var(--serif); font-size: 1.2rem; margin-bottom: 18px; }
.steps h3 { margin-bottom: 8px; }

/* Equipo */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team ul { list-style: none; padding: 0; margin: 16px 0 0; }
.team li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.team li strong { display: block; font-weight: 500; color: var(--ink); }
.team li span { color: var(--muted); font-size: .95rem; }

/* Fichas comunidades */
.fichas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ficha { background: #fff; border-radius: var(--r); padding: 28px; border: 1px solid var(--rule); position: relative; }
.ficha h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 4px; }
.ficha .esc { color: var(--marron); font-size: .92rem; font-weight: 500; margin-bottom: 14px; display: block; }
.ficha p { color: var(--muted); font-size: .98rem; }
.ficha.note { background: var(--verde-t); color: #fff; border-color: transparent; display: flex; flex-direction: column; justify-content: center; }
.ficha.note h3, .ficha.note p { color: #fff; }

/* Donar */
.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.give-card { background: #fff; border-radius: 24px; padding: 34px 30px; border: 1px solid var(--rule); display: flex; flex-direction: column; scroll-margin-top: 100px; }
.give-card.feature { background: var(--marron); color: #fff; border-color: transparent; }
.give-card.feature h3, .give-card.feature .price { color: #fff; }
.give-card.feature p, .give-card.feature li { color: rgba(255,255,255,.92); }
.give-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: 12px; }
.give-card .btns { margin-top: auto; padding-top: 26px; }
.price-list { list-style: none; padding: 0; margin: 18px 0 0; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.08); font-size: .95rem; }
.give-card.feature .price-list li { border-bottom-color: rgba(255,255,255,.2); }
.price-list strong { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--beige); font-size: .9rem; color: var(--ink); }
.bank { background: var(--beige); border-radius: 16px; padding: 18px 20px; margin-top: 16px; font-size: .92rem; }
.bank-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--rule); }
.bank-row:last-child { border-bottom: 0; }
.bank-row span { grid-column: 1; font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bank-row b { grid-column: 1 / -1; grid-row: 2; white-space: nowrap; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.35; }
.bank-row span { grid-row: 1; }
.bank-row .copy { grid-column: 2; grid-row: 1; margin: 0; }
.copy { background: #fff; border: 1px solid var(--rule); border-radius: 999px; font: 500 .75rem var(--sans); color: var(--marron); padding: 3px 10px; cursor: pointer; margin-left: 8px; white-space: nowrap; }
.copy.ok { color: var(--verde-t); border-color: var(--verde); }

/* Índice ayudar */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.way { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--rule); text-decoration: none; color: var(--ink); font-weight: 500; transition: border-color .2s, transform .2s; }
.way:hover { border-color: var(--marron); color: var(--marron); transform: translateY(-2px); }
.way svg { width: 26px; height: 26px; color: var(--verde-t); flex: none; }

/* Formularios */
.form { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--rule); }
.form h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 500; color: var(--ink); }
.field input, .field select, .field textarea { font: 400 1rem var(--sans); color: var(--ink); padding: 13px 14px; border-radius: 12px; border: 1px solid var(--rule); background: var(--blanco); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--verde); outline-offset: 1px; border-color: transparent; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label { font-weight: 400; display: inline-flex; gap: 8px; align-items: center; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form-ok { display: none; margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #EEF1E2; color: var(--verde-d); font-weight: 500; }
.form-ok.show { display: block; }

/* Contacto */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--rule); border-radius: 16px; }
.contact-list svg { width: 24px; height: 24px; color: var(--verde-t); flex: none; margin-top: 2px; }
.contact-list strong { display: block; font-weight: 500; color: var(--ink); }
.contact-list a { word-break: break-word; }

/* Callout */
.callout { border-left: 4px solid var(--marron); background: #fff; padding: 22px 26px; border-radius: 0 16px 16px 0; }
.callout.verde { border-left-color: var(--verde); }
.callout h3 { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: #CFCBBF; padding: clamp(64px, 8vw, 96px) 0 32px; position: relative; font-size: .95rem; }
.site-footer a { color: #E9E5DA; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.foot-brand img { height: 52px; width: auto; margin-bottom: 20px; }
.foot-lema { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.35rem; color: #fff; line-height: 1.35; max-width: 300px; }
.site-footer h4 { font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #A9B26F; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.socials svg { width: 19px; height: 19px; }
.foot-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #A6A396; }
.foot-legal a { color: #C9C5B8; }
.foot-legal .credit a { color: #C9C5B8; }

/* Animación */
/* (movimiento: ver bloque al final) */

/* Responsive */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .pillars, .cards.four, .ways { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(4, 1fr); row-gap: 36px; }
  .timeline::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .give { grid-template-columns: 1fr 1fr; }
  .give-card.feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: start; }
  .give-card.feature h3, .give-card.feature > p { grid-column: 1; }
  .give-card.feature .price-list { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .give-card.feature .btns { grid-column: 1; padding-top: 20px; }
  .cards.five { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav { height: 72px; }
  .brand img { height: 40px; }
  .nav-toggle { display: grid; }
  .nav > nav { position: absolute; width: 0; height: 0; }
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--blanco); }
  body.nav-open { overflow: hidden; }
  .menu { position: fixed; top: calc(76px + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; z-index: 60; background: var(--blanco); flex-direction: column; align-items: stretch; padding: 16px var(--gut) 40px; gap: 0; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
  .nav-open .menu { opacity: 1; visibility: visible; transform: none; }
  .nav-open .nav-toggle { background: var(--ink); }
  .nav-open .nav-toggle .bars span { background: #fff; }
  .nav-open .nav-toggle .bars span:nth-child(1) { top: 7.75px; transform: rotate(45deg); }
  .nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
  .nav-open .nav-toggle .bars span:nth-child(3) { top: 7.75px; transform: rotate(-45deg); }
  .menu > li { opacity: 0; transform: translateY(14px); transition: opacity .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
  .nav-open .menu > li { opacity: 1; transform: none; }
  .nav-open .menu > li:nth-child(1) { transition-delay: .06s; } .nav-open .menu > li:nth-child(2) { transition-delay: .11s; }
  .nav-open .menu > li:nth-child(3) { transition-delay: .16s; } .nav-open .menu > li:nth-child(4) { transition-delay: .21s; }
  .nav-open .menu > li:nth-child(5) { transition-delay: .26s; } .nav-open .menu > li:nth-child(6) { transition-delay: .31s; }
  .menu-extra { display: flex; flex-direction: column; gap: 14px; border-bottom: 0 !important; padding-top: 28px; }
  .menu > li.menu-extra > a { display: inline-flex; width: auto; justify-content: flex-start; gap: 10px; align-items: center; padding: 0; color: var(--ink); text-decoration: none; font: 500 1.05rem var(--sans); }
  .menu-extra svg { width: 22px; height: 22px; color: var(--verde-t); }
  .menu-social { display: flex; gap: 10px; }
  .menu-social a { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); display: grid; place-items: center; }
  .menu-extra em { font-family: var(--serif); font-weight: 300; font-size: 1.15rem; color: var(--muted); }
  .menu > li { border-bottom: 1px solid var(--rule); }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; padding: 20px 4px; font-family: var(--serif); font-weight: 300; font-size: 1.6rem; }
  .has-sub > button svg { width: 18px; height: 18px; }
  .has-sub:hover > button svg { transform: none; }
  .has-sub.open > button svg { transform: rotate(180deg); }
  .sub a { font-size: 1.05rem; padding: 12px 14px; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; margin: 0; display: none; min-width: 0; background: transparent; }
  .has-sub.open .sub { display: block; }
  .has-sub:hover .sub { opacity: 1; }
  .menu > li.cta { border-bottom: 0; padding-top: 24px; }
  .menu > li > a.btn { margin: 0; justify-content: center; width: 100%; padding: 18px; font-family: var(--sans); font-weight: 500; font-size: 1.05rem; }
  .hero-grid, .split, .origen-grid, .ask, .article { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .hero-media { max-width: 560px; margin: 20px auto 0; width: 88%; }
  .fichas { grid-template-columns: 1fr 1fr; }
  .news { grid-template-columns: 1fr; gap: 20px; }
  .news-card { flex-direction: row; }
  .news-card img { width: 40%; aspect-ratio: auto; min-height: 100%; flex: none; }
  .hero-media { width: 72%; }
  .article img { max-height: 460px; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .origen-text { padding-bottom: 0; }
  .band .wrap { justify-content: flex-start; }
  .band::before { background: rgba(25,29,18,.6); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
}
@media (max-width: 760px) {
  .cards, .team { grid-template-columns: 1fr; }
  .cards.five { grid-template-columns: 1fr 1fr; }
  .cards.five .card:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .stats, .stats.three { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .pillars, .cards, .cards.two, .cards.four, .cards.five, .news, .team, .fichas, .give, .steps, .ways, .fields { grid-template-columns: 1fr; }
  .cards.five .card:last-child { grid-column: auto; }
  .give-card.feature { display: flex; }
  .give-card.feature .price-list { margin-top: 18px; }
  .news-card { flex-direction: column; }
  .news-card img { width: 100%; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-media { width: 90%; }
  .nav { height: 72px; }
  .nav-toggle { width: 52px; height: 52px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-inset { width: 40%; left: -6%; }
  .btns .btn { flex: 1 1 auto; justify-content: center; }
  .gallery { grid-auto-rows: 160px; }
  .gallery .w2 { grid-column: span 2; }
  .page-hero { min-height: 440px; }
  .amount { flex-direction: column; gap: 2px; }
}

/* ===== Movimiento =====
   Todo el contenido es visible sin JavaScript. El script marca como "pending" solo lo que
   todavía no entró en pantalla, y lo libera al aparecer. */
:root { --ease: cubic-bezier(.2,.7,.2,1); }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { scale: 1.16; } to { scale: 1.06; } }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes wave-in { from { transform: translateY(40%); } to { transform: none; } }
@keyframes blob-morph {
  0%, 100% { border-radius: 58% 42% 46% 54% / 46% 52% 48% 54%; }
  50% { border-radius: 46% 54% 56% 44% / 54% 44% 56% 46%; }
}
@keyframes shape-spin { from { rotate: 0deg; } to { rotate: 360deg; } }

.js main { animation: page-in .7s var(--ease) both; }
.js.leaving main, .js.leaving .site-footer { opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; }

/* Encabezado: se compacta al bajar y se esconde al seguir bajando */
.site-header { transition: transform .35s var(--ease), border-color .2s, box-shadow .3s; }
.site-header .nav { transition: height .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(34,39,26,.5); }
.site-header.scrolled .nav { height: 70px; }
.site-header.hide { transform: translateY(calc(-100% - env(safe-area-inset-top, 0px))); }
.brand img { transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 40px; }

/* Bloques: entrada general */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.pending:not(.txt) { opacity: 0; transform: translateY(34px); }

/* Textos: cada pieza entra por separado */
.txt > * { transition: opacity .8s var(--ease), transform .8s var(--ease), letter-spacing 1.1s var(--ease), width 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i, 0) * 90ms); }
.txt.pending > * { opacity: 0; transform: translateY(20px); }
.txt.pending > .kicker { letter-spacing: .4em; }
.txt.pending > .rule { width: 0; opacity: 1; transform: none; }
.txt.pending > h1, .txt.pending > h2 { opacity: 1; transform: none; }

/* Títulos palabra por palabra */
.wd { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.wi { display: inline-block; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--w, 0) * 55ms + 80ms); }
.pending .wi { transform: translateY(105%); opacity: 0; }

/* Fotos: se abren desde el centro y se asientan */
img.fx { transition: clip-path 1.3s var(--ease), transform 1.3s var(--ease), opacity 1s ease; transition-delay: calc(var(--d, 0s) + 120ms); }
.pending img.fx { clip-path: inset(9% 7% 9% 7%); transform: scale(1.12); opacity: .2; }
.split-media img.fx, .article img.fx { will-change: clip-path, transform; }

/* Cifras */
.stat .n { font-variant-numeric: tabular-nums; }
.stat { transition-delay: var(--d, 0s); }

/* Hero de portada */
.hero-photo.blob { animation: blob-morph 14s ease-in-out infinite; }
.hero-shape { animation: shape-spin 90s linear infinite; transform-origin: 50% 50%; }
.hero-iso, .deco-iso, .split-media img.deco-iso { animation: floaty 6s ease-in-out infinite; }
.hero-inset { transition: transform .9s var(--ease), opacity .9s ease; transition-delay: .55s; }
.pending .hero-inset { transform: scale(.6) rotate(-8deg); opacity: 0; }

/* Portadas internas y bandas */
.page-hero > img { animation: kenburns 2.6s var(--ease) both; will-change: translate; }
.band > img { scale: 1.12; will-change: translate; }
.page-hero .wave, .hero .wave { animation: wave-in 1.2s var(--ease) both .2s; }

/* Detalles al pasar el cursor */
.split-media img.fx { transition: clip-path 1.3s var(--ease), transform 1.3s var(--ease), opacity 1s ease, filter .6s ease; }
.split-media:hover img.fx { filter: saturate(1.12) contrast(1.03); }
.news-card img { transition: scale .8s var(--ease), clip-path 1.3s var(--ease), transform 1.3s var(--ease), opacity 1s ease; }
.news-card:hover img { scale: 1.05; }
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; pointer-events: none; }
.btn:hover::after { transform: translateX(120%); }
.pillar .icon-circle, .card .icon-circle { transition: transform .5s var(--ease), background .3s; }
.pillar:hover .icon-circle { transform: scale(1.08) rotate(-6deg); background: var(--arena); }
.way svg { transition: transform .4s var(--ease); }
.way:hover svg { transform: scale(1.15); }
.timeline li::before { transition: background .3s, transform .3s var(--ease); }
.timeline li:hover::before { background: var(--verde); transform: scale(1.25); }
.ficha { transition: transform .3s var(--ease), box-shadow .3s; }
.ficha:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(34,39,26,.4); }
.split-media .tag-photo { transition: transform .4s var(--ease); }

/* Barra de progreso de lectura */
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 3px; width: 100%; background: var(--verde); transform-origin: 0 50%; transform: scaleX(0); z-index: 70; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pending, .pending * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html { scroll-behavior: auto; }
}

/* Correcciones nov 2026: mapas, video, Instagram */
.map-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.map-text { position: sticky; top: 110px; }
.map-ilus { margin: 0; border-radius: var(--r); overflow: hidden; background: #79883A; box-shadow: 0 30px 60px -36px rgba(34,39,26,.55); }
.map-ilus img { width: 100%; height: auto; display: block; }
.map-card { margin: 28px 0 0; background: #fff; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; max-width: 420px; }
.map-card img { width: 100%; height: auto; display: block; aspect-ratio: 712 / 672; object-fit: cover; }
.map-card figcaption { padding: 14px 18px 16px; font-size: .92rem; color: var(--muted); }
.map-card figcaption strong { color: var(--ink); font-weight: 500; }
.map-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--rule); background: var(--beige); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.videos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.videos video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: #4D5623; display: block; }
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; max-width: 920px; }
.ig-grid .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; background: #fff; border-radius: var(--r) !important; border: 1px solid var(--rule) !important; box-shadow: none !important; }
.ig-grid iframe.instagram-media { min-width: 0 !important; }
.ig-grid blockquote.instagram-media { padding: 24px; }
@media (max-width: 1080px) { .stats.six { grid-template-columns: repeat(3, 1fr); row-gap: 40px; } }
@media (max-width: 860px) {
  .map-grid, .video-row { grid-template-columns: 1fr; }
  .map-text { position: static; }
  .map-embed { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) { .stats.six, .stats.four { grid-template-columns: 1fr 1fr; } .ig-grid { grid-template-columns: 1fr; } }
