:root {
  --green: #009541;
  --green-dark: #006c34;
  --green-ui: #007a37;     /* verde para texto y botones (AA). --green queda para acentos decorativos */
  --ink: #10261d;
  --navy: #081529;
  --blue: #004aad;
  --white: #fff;
  --sans: "Source Sans 3", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
  /* Estaban usadas sin definir. Valores tomados de los literales equivalentes en eventos.css. */
  --green-3: #587061;      /* verde apagado: etiquetas de eventos pasados (AA sobre #eef1ef) */
  --naranja: #e99453;      /* punto de estado "abierto" / "próximamente" */
  --texto: #3f5448;        /* texto de datos de evento */
  --texto-tenue: #5d6d64;  /* texto secundario */
}

* { box-sizing: border-box; }
html, body { max-width: 100%; overflow-x: hidden; }
html { scroll-behavior: smooth; }
body.is-loading { overflow: hidden; }
body { margin: 0; color: var(--navy); font-family: var(--sans); background: var(--white); }
a { color: inherit; text-decoration: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(0,149,65,.045), transparent 34%), white; isolation: isolate; }
.preloader-copy { position: relative; z-index: 3; padding: 0 28px; text-align: center; color: var(--green); animation: preloader-copy-in 2.1s cubic-bezier(.22,.61,.36,1) both; }
.preloader-copy::after { content: ""; display: block; width: 0; height: 2px; margin: 24px auto 0; background: var(--green); animation: preloader-rule-in .8s ease 1.15s forwards; }
.preloader-copy p { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 54px); font-weight: 700; letter-spacing: -.055em; line-height: 1; }
.preloader-copy span { display: block; margin-top: 17px; color: var(--navy); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .46em; }
.preloader-door { display: none; }
.preloader.is-done { pointer-events: none; animation: preloader-fade-out 1.05s cubic-bezier(.22,.61,.36,1) forwards; }
@keyframes preloader-copy-in { 0% { opacity: 0; filter: blur(10px); transform: translateY(8px) scale(.99); } 22% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } 100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); } }
@keyframes preloader-rule-in { to { width: 78px; } }
@keyframes preloader-fade-out { 0% { opacity: 1; filter: blur(0); } 72% { opacity: .96; filter: blur(0); } 100% { opacity: 0; visibility: hidden; filter: blur(3px); } }
@media (prefers-reduced-motion: reduce) {
  .preloader-copy, .preloader-door, .preloader.is-done { animation: none; }
  .preloader.is-done { opacity: 0; visibility: hidden; }
}

.site-header { height: 102px; padding: 0 3.2%; display: flex; align-items: center; gap: clamp(24px, 3vw, 52px); background: white; position: relative; z-index: 10; box-shadow: 0 3px 12px rgba(0,0,0,.08); }
.brand { display: flex; align-items: center; min-width: 175px; flex-shrink: 0; color: var(--green); }
.brand-logo { display: block; width: 175px; height: auto; padding: 0; margin: 0; }
.brand-mark { width: 64px; height: 44px; position: relative; border-right: 2px solid var(--green); display: block; }
.brand-mark::before, .brand-mark::after, .brand-mark span { content: ""; position: absolute; background: var(--green); border-radius: 1px; }
.brand-mark::before { left: 0; top: 4px; width: 31px; height: 35px; clip-path: polygon(0 0, 100% 15%, 100% 45%, 34% 31%, 34% 100%, 0 88%); }
.brand-mark::after { left: 16px; top: 13px; width: 37px; height: 14px; transform: skewY(20deg); }
.brand-mark span { left: 2px; bottom: 1px; width: 29px; height: 5px; transform: rotate(-20deg); }
.brand-name { font-family: var(--serif); font-size: 23px; line-height: .86; font-weight: 700; letter-spacing: -.06em; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1 1 auto; min-width: 0; gap: clamp(18px, 1.8vw, 34px); font-size: clamp(14px, 1.12vw, 17px); font-weight: 500; white-space: nowrap; }
.main-nav > a:not(.nav-cta), .nav-parent { padding: 35px 0 30px; position: relative; }
.main-nav > a:not(.nav-cta)::after, .nav-parent::after { content: ""; position: absolute; height: 3px; left: 0; right: 0; bottom: 23px; background: transparent; }
.main-nav > a.active, .nav-group.active .nav-parent, .nav-parent:hover, .nav-parent:focus-visible { color: var(--green-ui); font-weight: 700; }
.main-nav > a.active::after, .nav-group.active .nav-parent::after, .nav-group:focus-within .nav-parent::after { background: var(--green); }
.submenu a.active { color: var(--green-ui); font-weight: 700; }
.submenu-label { display: block; padding: 14px 14px 6px; color: var(--green-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; border-top: 1px solid #e8efe9; }
.submenu a + .submenu-label { margin-top: 4px; }
.nav-group { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 6px; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.nav-parent span { margin-top: -3px; font-size: 18px; line-height: 1; transition: transform .2s ease; }
.nav-group:hover .nav-parent span, .nav-group:focus-within .nav-parent span { transform: rotate(180deg); }
.submenu { position: absolute; z-index: 20; top: calc(100% - 12px); left: 50%; display: grid; width: 255px; padding: 12px; border-top: 3px solid var(--green); background: white; box-shadow: 0 14px 28px rgba(16,38,29,.16); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
.nav-group:hover .submenu, .nav-group:focus-within .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { padding: 12px 14px; color: var(--ink); font-size: 15px; line-height: 1.15; border-bottom: 1px solid #e8efe9; }
.submenu a:last-child { border-bottom: 0; }
.submenu a:hover, .submenu a:focus-visible { color: var(--green-ui); background: #f3f8f3; }
.nav-cta { color: white; background: var(--green-ui); border-radius: 12px; padding: 11px 14px; font-weight: 700; box-shadow: 0 3px 0 rgba(0,0,0,.07); }
.nav-cta span, .button span { font-size: 25px; line-height: 0; margin-left: 7px; vertical-align: -2px; }
.menu-toggle { display: none; }

.hero { min-height: calc(100vh - 102px); height: min(850px, calc(100vh - 102px)); position: relative; overflow: hidden; background: #eee; }
.hero-slider, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity .75s ease, visibility .75s ease; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-image { position: absolute; inset: 0; background-position: center center; background-size: cover; background-repeat: no-repeat; }
.hero-image-1 { background-image: linear-gradient(90deg, rgba(255,255,255,.18), transparent 44%), url("../assets/hero-encuentro-educativo.png"); }
.hero-image-2 { background-image: linear-gradient(90deg, rgba(255,255,255,.12), transparent 44%), url("../assets/slide-02-pluralidad.png"); }
.hero-image-3 { background-image: linear-gradient(90deg, rgba(255,255,255,.12), transparent 44%), url("../assets/slide-03-historia-alcance.png"); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 22%; background: linear-gradient(transparent, rgba(255,255,255,.4)); pointer-events: none; }
.hero-panel { position: absolute; z-index: 2; left: 0; top: 62px; width: min(51%, 795px); min-height: 0; padding: 44px 64px 46px 58px; background: rgba(255,255,255,.97); clip-path: polygon(0 0, 71% 0, 68% 8%, 88% 8%, 83% 17%, 100% 17%, 91% 59%, 97% 59%, 92% 70%, 100% 70%, 96% 100%, 0 100%); }
.hero-content { max-width: 650px; padding-left: 32px; }
.hero-rule { position: absolute; left: 58px; top: 49px; bottom: 45px; width: 3px; background: var(--green); }
.eyebrow { margin: 0 0 25px; font-weight: 700; letter-spacing: .22em; font-size: 15px; color: #0d3826; }
h1, .hero-slide h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 3.55vw, 64px); line-height: .99; letter-spacing: -.065em; color: var(--ink); }
h1 em, .hero-slide h2 em { color: var(--green); font-style: italic; }
.hero-copy { max-width: 590px; margin: 27px 0 25px; font-size: 19px; line-height: 1.28; letter-spacing: -.01em; }
.hero-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 8px 15px; border-radius: 10px; font-size: 17px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 15px rgba(0,0,0,.15); }
.button-primary { color: white; background: var(--green-ui); }
.button-secondary { color: var(--blue); border: 2px solid var(--blue); background: white; }
.year-mark { position: absolute; z-index: 1; right: 11%; top: 13px; color: rgba(255,255,255,.43); font-family: var(--serif); font-size: clamp(125px, 15vw, 260px); font-style: italic; line-height: 1; letter-spacing: -.15em; }
.since-mark { position: absolute; z-index: 3; right: 2.8%; top: 115px; display: flex; align-items: center; gap: 16px; color: white; font-weight: 700; letter-spacing: .2em; font-size: 16px; }
.since-mark i { height: 28px; width: 3px; background: var(--green); display: block; }
.since-mark span { background: var(--green-ui); padding: 8px 16px; }
.discover { position: absolute; z-index: 3; bottom: 26px; left: 4.3%; display: flex; align-items: center; gap: 17px; width: 63%; color: #164c2f; font-size: 17px; font-weight: 700; letter-spacing: .14em; }
.discover-arrow { font-size: 42px; font-weight: 400; line-height: .5; }
.discover i { height: 1px; background: rgba(255,255,255,.9); flex: 1; }
.slider-controls { position: absolute; z-index: 6; right: 3.5%; bottom: 23px; display: flex; align-items: center; gap: 13px; color: var(--green); }
.slider-arrow { width: 30px; height: 30px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(0,149,65,.55); border-radius: 50%; color: var(--green); background: rgba(255,255,255,.82); font: 600 18px/1 var(--sans); cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.slider-pause svg { width: 14px; height: 14px; fill: currentColor; }
.slider-pause .i-play { display: none; }
.slider-pause[aria-pressed="true"] .i-play { display: block; }
.slider-pause[aria-pressed="true"] .i-pause { display: none; }
.slider-pause[hidden] { display: none; }
.slider-arrow:hover, .slider-arrow:focus-visible { color: white; background: var(--green); transform: translateY(-1px); }
.slider-dots { display: flex; align-items: center; gap: 7px; }
.slider-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(0,149,65,.35); cursor: pointer; transition: width .25s ease, border-radius .25s ease, background .25s ease; }
.slider-dot.is-active { width: 25px; border-radius: 8px; background: var(--green); }
.trajectory-strip { position: relative; display: grid; grid-template-columns: minmax(220px, .7fr) 1.8fr; gap: 6%; align-items: center; min-height: 245px; padding: 42px 7%; overflow: hidden; color: white; background: var(--green-dark); }
.trajectory-strip::before { content: ""; position: absolute; width: 500px; height: 500px; right: -90px; top: -260px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025); }
.trajectory-strip::after { content: ""; position: absolute; left: 7%; right: 7%; top: 50%; height: 1px; background: rgba(255,255,255,.24); pointer-events: none; }
.trajectory-intro, .trajectory-stats { position: relative; z-index: 1; }
.trajectory-kicker { margin: 0 0 8px; color: #cce7d4; font-size: 12px; font-weight: 700; letter-spacing: .25em; }
.trajectory-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(25px, 2.6vw, 40px); line-height: 1.02; letter-spacing: -.05em; }
.trajectory-intro h2 em { color: #f0b17b; font-style: italic; }
.trajectory-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.trajectory-stat { min-height: 130px; padding: 0 clamp(20px, 2.6vw, 48px); border-left: 1px solid rgba(255,255,255,.34); }
.trajectory-stat:first-child { border-left: 0; }
.trajectory-number { display: flex; align-items: baseline; gap: 8px; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 82px); line-height: .88; letter-spacing: -.09em; }
.trajectory-unit { color: #f0b17b; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.trajectory-stat h3 { margin: 16px 0 0; font-size: clamp(14px, 1.25vw, 18px); font-weight: 600; line-height: 1.15; }
.about-section { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(54px, 8vw, 132px); align-items: center; min-height: 650px; padding: 112px 9%; overflow: hidden; background: #f7faf5; }
.about-section::before { content: ""; position: absolute; width: 310px; height: 310px; left: -180px; bottom: -180px; border: 1px solid rgba(0,149,65,.18); border-radius: 50%; box-shadow: 0 0 0 24px rgba(0,149,65,.035), 0 0 0 50px rgba(0,149,65,.025); }
.about-copy { position: relative; z-index: 1; max-width: 570px; }
.about-copy .eyebrow { margin-bottom: 28px; }
.about-copy h2 { max-width: 610px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: .99; letter-spacing: -.065em; color: var(--ink); }
.about-copy h2 em { color: var(--green); font-style: italic; }
.about-text { max-width: 510px; margin: 30px 0 29px; color: #31473c; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.42; }
.about-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-ui); font-size: 18px; font-weight: 700; border-bottom: 2px solid var(--green-ui); padding-bottom: 5px; transition: gap .2s ease, color .2s ease; }
.about-link span { font-size: 25px; line-height: .7; }
.about-link:hover, .about-link:focus-visible { gap: 15px; color: var(--green-dark); }
.about-visual { position: relative; min-height: 455px; }
.about-image-frame { position: absolute; inset: 0 4% 0 0; overflow: hidden; clip-path: polygon(0 0, 92% 0, 100% 8%, 96% 21%, 100% 31%, 95% 45%, 100% 58%, 95% 72%, 100% 86%, 92% 100%, 0 100%); background: #dce9df; }
.about-image-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,53,28,.1), transparent 30%), linear-gradient(0deg, rgba(0,43,25,.22), transparent 35%); pointer-events: none; }
.about-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: saturate(.92); }
.about-stamp { position: absolute; z-index: 2; right: 0; top: 38px; display: grid; place-items: center; width: 124px; height: 124px; padding: 17px; border-radius: 50%; color: white; text-align: center; background: var(--green-ui); box-shadow: 0 8px 18px rgba(0,55,29,.2); transform: rotate(8deg); }
.about-stamp::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.about-stamp span { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .19em; }
.about-stamp strong { position: relative; margin-top: -4px; font-family: var(--serif); font-size: 33px; line-height: 1; letter-spacing: -.07em; }
.about-caption { position: absolute; z-index: 2; left: -25px; bottom: 28px; display: flex; align-items: center; gap: 11px; padding: 14px 18px; color: white; font-size: 13px; font-weight: 600; line-height: 1.1; background: var(--green-dark); }
.about-caption i { display: block; width: 25px; height: 3px; background: #f0b17b; }
.work-section { position: relative; padding: 120px 9% 130px; overflow: hidden; background: white; }
.work-section::before { content: ""; position: absolute; width: 470px; height: 470px; right: -230px; bottom: -235px; border: 1px solid rgba(0,74,173,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0,74,173,.025), 0 0 0 58px rgba(0,74,173,.02); }
.work-heading { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) minmax(260px, .62fr); gap: 8%; align-items: end; margin-bottom: 56px; }
.work-heading .eyebrow { margin-bottom: 22px; }
.work-heading h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); line-height: .99; letter-spacing: -.065em; color: var(--ink); }
.work-heading h2 em { color: var(--green); font-style: italic; }
.work-intro { max-width: 410px; margin: 0 0 5px; color: #31473c; font-size: 19px; line-height: 1.35; }
.work-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr .94fr 1fr; align-items: stretch; gap: 18px; }
.work-card { position: relative; display: flex; min-height: 330px; flex-direction: column; padding: 30px 30px 29px; overflow: hidden; color: var(--ink); border-top: 5px solid var(--green); background: #f4f8f3; transition: transform .25s ease, box-shadow .25s ease; }
.work-card:hover, .work-card:focus-visible { transform: translateY(-8px); box-shadow: 0 18px 30px rgba(16,38,29,.13); }
.work-card-events { margin-top: 28px; background: #e8f3e9; }
.work-card-campaigns { color: white; border-top-color: var(--blue); background: var(--blue); }
.work-card-alliances { margin-top: 58px; border-top-color: #f0b17b; background: #fff1e7; }
.work-index { position: absolute; top: 23px; right: 27px; font-size: 12px; font-weight: 700; letter-spacing: .18em; opacity: .62; }
.work-card img { width: 72px; height: 72px; margin: 8px 0 29px; object-fit: contain; }
.work-card-campaigns img { filter: brightness(0) invert(1); }
.work-card-campaigns img { opacity: .92; }
.work-card h3 { margin: 0 0 10px; font-family: var(--serif); font-size: 31px; letter-spacing: -.045em; }
.work-card p { max-width: 280px; margin: 0; font-size: 16px; line-height: 1.35; }
.work-arrow { align-self: flex-end; margin-top: auto; font-size: 30px; line-height: .8; }
.work-card-campaigns .work-arrow { color: #f4c39a; }
.work-card-alliances .work-arrow { color: var(--green); }
.home-events { padding: 118px 9% 126px; background: #f3f7f4; }
.home-events-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.home-events-heading .eyebrow { margin-bottom: 20px; }
.home-events-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.065em; color: var(--ink); }
.home-events-heading h2 em { color: var(--green); font-style: italic; }
.events-archive-link { color: var(--green-ui); font-size: 16px; font-weight: 700; border-bottom: 1px solid var(--green-ui); padding-bottom: 5px; white-space: nowrap; }
.events-archive-link span { margin-left: 7px; font-size: 20px; }
.home-events-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.event-card { overflow: hidden; border: 1px solid #dce9df; background: white; }
.event-card-featured { display: grid; grid-template-columns: minmax(270px, .84fr) minmax(0, 1fr); min-height: 490px; border: 0; background: var(--green-dark); color: white; }
.event-card-media { position: relative; min-height: 100%; overflow: hidden; background: var(--green-3); }
.event-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,65,31,.05), rgba(0,65,31,.68)); pointer-events: none; }
.event-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.event-card:hover .event-card-media img { transform: scale(1.04); }
.event-state { position: absolute; z-index: 1; top: 19px; left: 19px; display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .1em; line-height: 1; }
.event-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.event-state-open { color: var(--green-dark); background: white; }
.event-state-open::before { background: var(--naranja); }
.event-state-past { color: white; background: rgba(23,36,28,.78); }
.event-state-past::before { background: #c9d3cc; }
.event-media-date { position: absolute; z-index: 1; left: 24px; bottom: 25px; display: flex; align-items: baseline; gap: 10px; color: white; }
.event-media-date strong { font-family: var(--serif); font-size: 87px; line-height: .8; letter-spacing: -.1em; }
.event-media-date small { color: #f0b17b; font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; }
.event-card-content { display: flex; min-width: 0; flex-direction: column; padding: 37px 39px; }
.event-type { margin: 0 0 16px; color: var(--green-ui); font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.25; }
.event-card-featured .event-type { color: #cce7d4; }
.event-card h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(27px, 2.6vw, 39px); line-height: 1.02; letter-spacing: -.055em; }
.event-card h3 em { color: var(--green); font-style: italic; font-weight: 500; }
.event-card-featured h3 em { color: #f0b17b; }
.event-summary { margin: 0; color: #53655b; font-size: 16px; line-height: 1.35; }
.event-card-featured .event-summary { color: #e1f1e6; }
.event-facts { display: grid; gap: 9px; margin: auto 0 27px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.24); font-size: 14px; }
.event-facts div { display: grid; grid-template-columns: 65px 1fr; gap: 9px; }
.event-facts dt { color: #f0b17b; font-weight: 700; }
.event-facts dd { margin: 0; color: #e1f1e6; }
.free-tag { display: inline-block; padding: 3px 8px; color: var(--ink); border-radius: 999px; background: #f0b17b; font-size: 12px; font-weight: 700; }
.event-cta { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; padding: 11px 16px; color: white; border-radius: 9px; background: var(--green-ui); font-weight: 700; }
.event-cta span { font-size: 22px; line-height: .7; }
.recent-events-stack { display: grid; grid-template-rows: repeat(2, 1fr); gap: 22px; }
.event-card-recent { display: grid; grid-template-columns: minmax(155px, .63fr) 1fr; min-height: 234px; }
.event-card-recent .event-card-content { padding: 25px 28px; }
.event-card-recent .event-type { margin-bottom: 10px; font-size: 10px; }
.event-card-recent h3 { margin-bottom: 9px; font-size: clamp(23px, 2vw, 29px); }
.event-card-recent .event-summary { font-size: 14px; }
.event-recent-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: auto; padding-top: 16px; color: var(--texto-tenue); font-size: 13px; }
.event-recent-meta span + span { position: relative; }
.event-recent-meta span + span::before { content: "·"; position: absolute; left: -9px; }
.event-read-link { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; margin-top: 13px; color: var(--green-dark); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.event-read-link span { font-size: 18px; }
.event-card-virtual .event-card-media::after { background: linear-gradient(180deg, rgba(0,74,173,.08), rgba(0,74,173,.73)); }

/* Grilla editorial de tres eventos: cada estado tiene el mismo peso visual. */
.home-events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.home-events-grid .event-card { display: flex; flex-direction: column; min-height: 600px; border-radius: 0; }
.home-events-grid .event-card-media { min-height: 218px; aspect-ratio: 1.45 / 1; }
.home-events-grid .event-card-content { flex: 1; padding: 27px 28px 30px; }
.home-events-grid .event-card h3 { font-size: clamp(26px, 2.2vw, 34px); }
.home-events-grid .event-card .event-summary { min-height: 48px; }
.home-events-grid .event-facts { margin-top: auto; margin-bottom: 22px; padding-top: 19px; border-top: 1px solid #dce9df; color: var(--texto); }
.home-events-grid .event-facts div { grid-template-columns: 63px 1fr; }
.home-events-grid .event-facts dt { color: var(--green-ui); }
.home-events-grid .event-facts dd { color: var(--texto); }
.event-state-soon { color: #72512f; background: #f9e5d4; }
.event-state-soon::before { background: var(--naranja); }
.event-card-soon { background: #fffaf5; border-color: #efd7c1; }
.event-card-soon .event-card-media::after { background: linear-gradient(180deg, rgba(235,144,70,.04), rgba(103,72,39,.55)); }
.event-card-soon .event-type, .event-card-soon h3 em { color: #a35d25; }
.event-card-past { background: #eef1ef; border-color: #d8e0da; }
.event-card-past .event-card-media { filter: saturate(.55); }
.event-card-past .event-type, .event-card-past h3 em { color: var(--green-3); }
.event-card-past h3 { color: #425149; }
.event-card-past .event-summary, .event-card-past .event-facts dd { color: #536158; }
.event-card-past .event-facts { border-color: #d2ddd5; }
.event-card-past .event-facts dt { color: var(--green-3); }
.event-note { margin-top: auto; padding-top: 16px; color: #806649; font-size: 14px; line-height: 1.35; }
.event-facts-light, .event-facts-past { margin-top: auto; }
.home-events-grid .event-read-link { margin-top: auto; }

@media (max-width: 1180px) {
  .site-header { gap: 18px; padding-inline: 2.4%; }
  .brand { min-width: 220px; }
  .main-nav { gap: 17px; font-size: 15px; }
  .nav-cta { padding-inline: 13px; }
  .hero-panel { width: 57%; }
  .hero-copy { font-size: 19px; }
}

/* Compact desktop: keeps the full menu visible without creating a wider canvas. */
@media (max-width: 1450px) and (min-width: 861px) {
  .site-header { padding-inline: 2%; gap: 20px; }
  .brand { min-width: 155px; }
  .brand-logo { width: 155px; }
  .main-nav { gap: 15px; font-size: 14px; }
  .main-nav > a:not(.nav-cta), .nav-parent { padding-block: 34px 29px; }
  .nav-cta { padding: 10px 10px; font-size: 13px; }
  .nav-cta span { font-size: 20px; margin-left: 3px; }
}

@media (max-width: 1060px) and (min-width: 861px) {
  .nav-cta { display: none; } /* con 3 desplegables el menú no cabe junto al botón; "Publicaciones" ya cubre ese destino */
}

@media (max-width: 860px) {
  .site-header { height: 76px; justify-content: space-between; }
  .brand { min-width: auto; }
  .brand-logo { width: 112px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; border: 0; background: transparent; padding: 12px 4px; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 28px; height: 2px; background: var(--green); }
  .main-nav { position: absolute; display: none; top: 76px; left: 0; right: 0; padding: 18px 7%; flex-direction: column; align-items: stretch; gap: 0; background: white; box-shadow: 0 10px 18px rgba(0,0,0,.12); }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-cta), .nav-parent { padding: 13px 0; }
  .main-nav > a:not(.nav-cta)::after, .nav-parent::after { display: none; }
  .nav-group { display: block; }
  .nav-parent { width: 100%; justify-content: space-between; }
  .nav-parent span { margin-right: 5px; }
  .nav-group.open .nav-parent span { transform: rotate(180deg); }
  .submenu, .nav-group:hover .submenu, .nav-group:focus-within .submenu { position: static; display: none; width: auto; padding: 0 0 6px 15px; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.open .submenu { display: grid; }
  .submenu a { padding: 10px 12px; font-size: 14px; }
  .nav-cta { margin-top: 10px; text-align: center; }
  .hero { height: auto; min-height: 760px; padding-top: 340px; }
  .hero-image { height: 470px; bottom: auto; background-position: 62% center; }
  .hero-panel { top: 250px; width: 94%; min-height: auto; padding: 38px 36px 38px 26px; clip-path: polygon(0 0, 86% 0, 83% 7%, 100% 7%, 96% 24%, 100% 24%, 96% 100%, 0 100%); }
  .hero-rule { left: 26px; top: 43px; bottom: 38px; }
  .hero-content { padding-left: 25px; }
  .eyebrow { font-size: 12px; margin-bottom: 21px; }
  h1, .hero-slide h2 { font-size: clamp(36px, 7.7vw, 59px); }
  .hero-copy { margin: 25px 0; font-size: 18px; }
  .button { font-size: 17px; min-height: 48px; padding-inline: 14px; }
  .year-mark { right: 3%; top: 24px; font-size: 100px; }
  .since-mark { top: 105px; right: 3%; font-size: 11px; gap: 8px; }
  .since-mark span { padding: 6px 10px; }
  .discover { width: 76%; bottom: 20px; left: 7%; font-size: 13px; }
  .slider-controls { right: 6%; bottom: 16px; }
  .trajectory-strip { display: block; padding: 42px 7% 34px; }
  .trajectory-strip::after { display: none; }
  .trajectory-intro { margin-bottom: 34px; }
  .trajectory-stats { grid-template-columns: repeat(3, 1fr); }
  .trajectory-stat { min-height: 105px; padding: 0 14px; }
  .trajectory-stat:first-child { padding-left: 0; }
  .trajectory-number { font-size: clamp(40px, 8vw, 58px); }
  .trajectory-unit { display: block; font-size: 10px; }
  .trajectory-stat h3 { margin-top: 12px; font-size: 13px; }
  .about-section { grid-template-columns: 1fr; gap: 54px; min-height: 0; padding: 88px 7% 96px; }
  .about-copy { max-width: 680px; }
  .about-copy h2 { max-width: 600px; }
  .about-visual { min-height: 440px; }
  .about-caption { left: 0; }
  .work-section { padding: 88px 7% 96px; }
  .work-heading { display: block; margin-bottom: 42px; }
  .work-intro { margin-top: 25px; font-size: 18px; }
  .work-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .work-card { min-height: 300px; padding: 24px 20px; }
  .work-card-events { margin-top: 18px; }
  .work-card-alliances { margin-top: 38px; }
  .work-card img { width: 60px; height: 60px; margin-bottom: 22px; }
  .work-card h3 { font-size: 26px; }
  .work-card p { font-size: 14px; }
  .home-events { padding-inline: 7%; }
  .home-events-grid { grid-template-columns: 1fr; }
  .home-events-layout { grid-template-columns: 1fr; }
  .event-card-featured { min-height: 430px; }
  .recent-events-stack { grid-template-columns: repeat(2, 1fr); grid-template-rows: 1fr; }
  .event-card-recent { display: block; }
  .event-card-recent .event-card-media { min-height: 180px; }
  .event-card-recent .event-card-content { min-height: 245px; }
}
@media (max-width: 520px) {
  .hero { min-height: 850px; padding-top: 310px; }
  .hero-image { height: 390px; background-position: 57% center; }
  .hero-panel { top: 260px; width: 100%; padding-right: 25px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .desktop-break { display: none; }
  .year-mark { font-size: 79px; top: 30px; }
  .since-mark { top: 100px; }
  .discover { bottom: 15px; }
  /* Con el botón de pausa los controles ocupan la línea: se oculta el texto del cue (sigue disponible para lectores de pantalla). */
  .discover > span:not(.discover-arrow) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .slider-controls { right: 5%; bottom: 13px; }
  .trajectory-stats { display: block; }
  .trajectory-stat, .trajectory-stat:first-child { min-height: 0; padding: 17px 0 17px 18px; border-left: 2px solid rgba(255,255,255,.32); border-top: 0; }
  .trajectory-stat h3 { margin-top: 8px; }
  .about-section { gap: 40px; padding-block: 72px 78px; }
  .about-copy .eyebrow { margin-bottom: 21px; }
  .about-copy h2 { font-size: clamp(40px, 12vw, 56px); }
  .about-text { margin-top: 25px; font-size: 17px; }
  .about-link { font-size: 17px; }
  .about-visual { min-height: 350px; margin-inline: -7%; }
  .about-image-frame { inset: 0; clip-path: polygon(0 0, 95% 0, 100% 7%, 96% 19%, 100% 32%, 96% 46%, 100% 59%, 96% 73%, 100% 87%, 94% 100%, 0 100%); }
  .about-stamp { top: 20px; right: 15px; width: 102px; height: 102px; }
  .about-stamp span { font-size: 9px; }
  .about-stamp strong { font-size: 27px; }
  .about-caption { left: 15px; bottom: 18px; font-size: 11px; }
  .work-section { padding-block: 72px 78px; }
  .work-heading h2 { font-size: clamp(40px, 12vw, 56px); }
  .work-grid { display: block; }
  .work-card, .work-card-events, .work-card-alliances { min-height: 250px; margin: 0 0 14px; padding: 25px 23px; }
  .work-card img { width: 58px; height: 58px; margin: 0 0 20px; }
  .work-card h3 { font-size: 29px; }
  .home-events { padding-block: 72px 82px; }
  .home-events-heading { display: block; }
  .events-archive-link { display: inline-block; margin-top: 24px; }
  .home-events-grid { gap: 14px; }
  .home-events-grid .event-card { min-height: 0; }
  .home-events-grid .event-card-media { min-height: 210px; }
  .home-events-grid .event-card-content { min-height: 420px; padding: 27px 23px 29px; }
  .event-card-featured { display: block; min-height: 0; }
  .event-card-featured .event-card-media { min-height: 300px; }
  .event-card-featured .event-card-content { min-height: 435px; padding: 30px 23px; }
  .event-media-date strong { font-size: 69px; }
  .event-card h3 { font-size: 31px; }
  .recent-events-stack { display: block; }
  .event-card-recent { margin-top: 14px; }
  .event-card-recent .event-card-media { min-height: 190px; }
}

/* Alianzas: grilla fija (son pocas, no necesita carrusel) */
.allies { position: relative; padding: 112px 9% 118px; overflow: hidden; background: radial-gradient(rgba(0,108,52,.13) 1.2px, transparent 1.7px) 0 0 / 24px 24px, #f4f8f4; border-top: 1px solid #e6eee8; }
.allies::before { content: ""; position: absolute; width: 420px; height: 420px; right: -230px; top: -230px; border: 1px solid rgba(0,149,65,.2); border-radius: 50%; box-shadow: 0 0 0 28px rgba(0,149,65,.04), 0 0 0 60px rgba(0,149,65,.025); }
.allies-heading { position: relative; display: flex; align-items: end; justify-content: space-between; gap: 8%; margin-bottom: 56px; }
.allies-heading .eyebrow { margin-bottom: 20px; }
.allies-heading h2 { max-width: 650px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); line-height: .99; letter-spacing: -.065em; color: var(--ink); }
.allies-heading h2 em { color: var(--green); font-style: italic; }
.allies-heading > p { max-width: 330px; margin: 0; padding-left: 20px; border-left: 3px solid #f0b17b; color: #42594c; font-size: 18px; line-height: 1.4; }
.allies-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
/* Línea punteada que solo asoma entre tarjetas: sugiere la red. */
.allies-grid::before { content: ""; position: absolute; left: 0; right: 0; top: 128px; border-top: 3px dotted rgba(0,149,65,.45); }
.ally-card { --accent: var(--green); position: relative; display: flex; flex-direction: column; background: white; border-radius: 6px 30px 6px 6px; border-bottom: 5px solid var(--accent); box-shadow: 0 18px 40px -20px rgba(16,38,29,.35); }
.ally-card:nth-child(2) { --accent: var(--blue); }
.ally-card:nth-child(3) { --accent: #e99453; }
.ally-card:nth-child(4) { --accent: #6c8e76; }
.ally-logo { display: grid; place-items: center; height: 256px; margin: 0 20px; overflow: hidden; }
.ally-logo img { display: block; width: 100%; max-width: 200px; height: auto; aspect-ratio: 1; object-fit: contain; }
/* El archivo trae mucho margen blanco alrededor del logo. */
.ally-logo img.is-padded { transform: scale(1.6); }
.ally-card h3 { flex: 1; margin: 0 20px; padding: 20px 0 24px; border-top: 1px solid #e3ece5; color: var(--ink); font-family: var(--serif); font-size: 19px; line-height: 1.25; letter-spacing: -.02em; text-align: center; }
@media (max-width: 1100px) {
  .allies-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .allies-grid::before { display: none; }
}
@media (max-width: 860px) {
  .allies { padding: 88px 7% 96px; }
  .allies-heading { display: block; margin-bottom: 42px; }
  .allies-heading > p { margin-top: 25px; }
}
@media (max-width: 520px) {
  .allies { padding: 72px 6% 80px; }
  .allies-heading h2 { font-size: clamp(40px, 12vw, 56px); }
  .allies-grid { gap: 12px; }
  .ally-card { border-radius: 6px 20px 6px 6px; }
  .ally-logo { height: 156px; margin: 0 10px; }
  .ally-logo img { max-width: 128px; }
  .ally-card h3 { margin: 0 10px; padding: 14px 0 16px; font-size: 15px; }
}

/* Iconos SVG propios y barra de secciones (Nosotros y Campaña) */
.ico { flex-shrink: 0; width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
/* "clip" en lugar de "hidden": hidden crea un contenedor de scroll y rompe sticky y animation-timeline. */
html:has(.has-section-nav), .has-section-nav { overflow-x: clip; }
.has-section-nav section[id] { scroll-margin-top: 58px; }
.section-nav { position: sticky; top: 0; z-index: 9; display: flex; justify-content: safe center; gap: 6px; padding: 9px 20px; overflow-x: auto; background: rgba(255,255,255,.96); border-bottom: 1px solid #dce9df; box-shadow: 0 8px 18px -14px rgba(16,38,29,.45); scrollbar-width: none; }
.section-nav a { display: flex; flex-shrink: 0; align-items: center; gap: 8px; padding: 7px 15px 7px 11px; color: var(--ink); border-radius: 999px; font-size: 15px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.section-nav .ico { width: 26px; height: 26px; color: var(--green-ui); stroke-width: 3; }
.section-nav a:hover { background: #eef6f0; }
.section-nav a:focus-visible { outline-offset: -3px; }
.section-nav a[aria-current] { color: #fff; background: var(--green-ui); }
.section-nav a[aria-current] .ico { color: #fff; --ic-accent: #ffd7b8; }
@media (max-width: 680px) { .section-nav { justify-content: flex-start; padding-inline: 12px; } }

/* Contacto */
.contact { padding: 104px 9% 112px; background: radial-gradient(rgba(0,108,52,.13) 1.2px, transparent 1.7px) 0 0 / 24px 24px, #f4f8f4; border-top: 1px solid #e6eee8; }
.contact-box { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 1320px; margin: 0 auto; overflow: hidden; background: #fff; border-radius: 8px 44px 8px 8px; box-shadow: 0 30px 60px -32px rgba(16,38,29,.5); }
.contact-info { position: relative; padding: 54px 48px; overflow: hidden; color: #fff; background: radial-gradient(circle at 100% 0%, rgba(255,255,255,.12), transparent 40%), linear-gradient(145deg, #006c34, #023f23); }
.contact-info::after { content: ""; position: absolute; width: 300px; height: 300px; right: -170px; bottom: -170px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.025); pointer-events: none; }
.contact-info > * { position: relative; z-index: 1; }
.contact-info .eyebrow { margin-bottom: 18px; color: #b8ddc2; }
.contact-info h2 { margin: 0; font-family: var(--serif); font-size: clamp(40px, 4vw, 60px); line-height: 1.02; letter-spacing: -.06em; }
.contact-info h2 em { color: #f0b17b; font-style: italic; }
.contact-lead { margin: 20px 0 38px; color: #e1f1e6; font-size: 19px; line-height: 1.45; }
.contact-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; align-items: center; gap: 20px; padding: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 6px 26px 6px 6px; }
.contact-icon { display: grid; place-items: center; flex-shrink: 0; width: 66px; height: 66px; background: rgba(255,255,255,.13); border-radius: 50% 50% 50% 10px; }
.contact-icon .ico { width: 40px; height: 40px; }
.contact-list h3 { margin: 0 0 4px; color: #b8ddc2; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.contact-list address, .contact-list p { margin: 0; font-size: 18px; font-style: normal; line-height: 1.35; }
.contact-phone { display: inline-block; font-family: var(--serif); font-size: 29px; font-weight: 600; letter-spacing: -.02em; }
.contact-map { display: inline-block; margin-top: 8px; color: #ffd7b8; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
/* Sobre verde oscuro el foco azul no contrasta. */
.contact-info :focus-visible { outline-color: #ffd7b8; box-shadow: none; }
.contact-form { align-self: center; padding: 54px 52px; }
.contact-form h3 { margin: 0 0 6px; color: var(--ink); font-family: var(--serif); font-size: 34px; letter-spacing: -.04em; }
.contact-hint { margin: 0 0 28px; color: var(--texto-tenue); font-size: 15px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-fields label { display: grid; gap: 7px; min-width: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.contact-wide { grid-column: 1 / -1; }
.contact-fields input, .contact-fields textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #f8fbf8; border: 1px solid #84998a; border-radius: 10px; font: 400 17px var(--sans); }
.contact-fields textarea { resize: vertical; }
.contact-fields :focus { background: #fff; }
.contact-form :user-invalid { border-color: #b3261e; background: #fff6f5; outline-color: #b3261e; }
.contact-consent { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0 26px; color: #42594c; font-size: 15px; line-height: 1.4; cursor: pointer; }
.contact-consent input { flex-shrink: 0; width: 20px; height: 20px; margin: 0; accent-color: var(--green-ui); }
.contact-send { display: inline-flex; align-items: center; justify-content: center; gap: 11px; min-height: 52px; padding: 12px 28px; color: #fff; background: var(--green-ui); border: 0; border-radius: 10px; font: 700 17px var(--sans); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.contact-send:hover { transform: translateY(-2px); box-shadow: 0 10px 18px -8px rgba(0,0,0,.4); }
.contact-send .ico { width: 24px; height: 24px; stroke-width: 3; }
.contact-status { margin: 18px 0 0; padding: 14px 16px; color: #6b3d16; background: #fdeee1; border-radius: 10px; line-height: 1.4; }
.contact-status:empty { margin: 0; padding: 0; }
@media (max-width: 1000px) {
  .contact { padding: 80px 7% 88px; }
  .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .contact { padding: 56px 5% 64px; }
  .contact-box { border-radius: 6px 26px 6px 6px; }
  .contact-info, .contact-form { padding: 36px 22px; }
  .contact-list li { gap: 14px; padding: 16px 14px; }
  .contact-icon { width: 52px; height: 52px; }
  .contact-icon .ico { width: 32px; height: 32px; }
  .contact-phone { font-size: 25px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-send { width: 100%; }
}

/* Pie de página (común a todo el sitio) */
.site-footer { position: relative; overflow: hidden; color: #cfe0d6; background: radial-gradient(circle at 0% 0%, rgba(0,149,65,.2), transparent 38%), #0a1b13; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--green) 0 58%, #e99453 58% 80%, var(--blue) 80%); }
.site-footer::after { content: ""; position: absolute; width: 380px; height: 380px; right: -230px; bottom: -230px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.03), 0 0 0 60px rgba(255,255,255,.018); pointer-events: none; }
.footer-shell { position: relative; z-index: 1; width: min(1320px, 86%); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr .75fr 1.05fr 1.15fr; gap: 38px; padding: 76px 0 56px; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-logo { display: inline-block; padding: 8px 12px; background: #fff; border-radius: 6px 28px 6px 6px; }
.footer-logo img { display: block; width: 140px; height: auto; }
.footer-brand p { max-width: 300px; margin: 20px 0 22px; font-size: 16px; line-height: 1.5; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; transition: color .2s ease, background .2s ease; }
.footer-social a:hover { color: var(--green-dark); background: #fff; }
.footer-social svg { width: 21px; height: 21px; }
.footer-col h2 { margin: 6px 0 20px; color: #f0b17b; font: 700 12px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.footer-col li a { display: inline-block; padding: 6px 0; font-size: 16px; line-height: 1.3; }
.footer-col a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact address, .footer-phone { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; font-size: 16px; font-style: normal; line-height: 1.4; }
.footer-contact svg { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: #f0b17b; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact .footer-phone { color: #fff; font-weight: 700; }
.footer-write { display: inline-flex; gap: 8px; margin-top: 6px; padding: 10px 18px; color: #fff; border: 1px solid #f0b17b; border-radius: 10px; font-weight: 700; transition: color .2s ease, background .2s ease; }
.footer-contact .footer-write:hover { color: var(--ink); background: #f0b17b; text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.16); color: #a9c2b4; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { font-weight: 700; }
/* Sobre fondo oscuro el foco azul no contrasta. */
.site-footer :focus-visible { outline-color: #ffd7b8; box-shadow: none; }
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 460px; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 60px 0 40px; }
  .footer-contact { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.16); }
}

/* Accesibilidad: saltar al contenido, foco visible y movimiento reducido */
.skip-link { position: absolute; z-index: 200; left: 12px; top: -64px; padding: 12px 18px; color: #fff; background: var(--green-dark); border-radius: 0 0 6px 6px; font: 700 15px var(--sans); transition: top .15s ease; }
.skip-link:focus { top: 0; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
