/* =========================================================
   LATIMGS — v2 (ajustes agosto 2026)
   Se carga DESPUÉS de site.css. Sólo componentes nuevos
   o ajustes puntuales sobre lo existente.
   ========================================================= */

/* ---------- Navegación: doble CTA (Log in + Join us!) ---------- */
.nav-ctas { display:flex; align-items:center; gap:10px; }

.nav-login {
  display:inline-flex; align-items:center;
  color:rgba(255,255,255,.86);
  font-size:13px; font-weight:800;
  padding:10px 16px; border-radius:10px;
  border:1px solid rgba(255,255,255,.20);
  background:rgba(255,255,255,.05);
  transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.nav-login:hover {
  color:#fff;
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.36);
  transform:translateY(-1px);
}

.nav-join { transition:transform .18s ease, box-shadow .18s ease; }
.nav-join:hover { transform:translateY(-1px); box-shadow:0 12px 30px rgba(56,102,148,.36); }

.nav-links a.is-active { color:#fff; }
.nav-links a.is-active::after {
  content:""; display:block; height:2px; margin-top:5px; border-radius:2px;
  background:linear-gradient(135deg,var(--brand-vibrant),var(--brand-light));
}

.mobile-nav .mobile-join {
  background:linear-gradient(135deg,var(--orange),var(--red));
  color:#fff; text-align:center; border-radius:10px;
  padding:12px 16px; font-weight:800; margin-top:6px;
}

@media (max-width: 1080px) {
  .nav-ctas .nav-login { display:none; }
}

/* ---------- Modales genéricos ---------- */
.lat-modal {
  position:fixed; inset:0; z-index:10000;
  display:none; align-items:center; justify-content:center;
  padding:24px;
}
.lat-modal.open { display:flex; }
.lat-modal-backdrop {
  position:absolute; inset:0;
  background:rgba(4,13,30,.74);
  backdrop-filter:blur(6px);
  animation:latFade .22s ease;
}
.lat-modal-panel {
  position:relative; z-index:2;
  width:100%; max-width:520px;
  background:#fff; border-radius:22px;
  padding:38px 34px 32px;
  box-shadow:0 34px 90px rgba(4,13,30,.42);
  animation:latPop .26s cubic-bezier(.2,.9,.3,1.1);
  max-height:calc(100vh - 48px); overflow:auto;
}
.lat-modal-close {
  position:absolute; top:14px; right:16px;
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--line); background:#fff;
  color:var(--muted); font-size:22px; line-height:1;
  cursor:pointer; transition:background .16s ease, color .16s ease;
}
.lat-modal-close:hover { background:var(--brand-ice); color:var(--ink); }

@keyframes latFade { from { opacity:0 } to { opacity:1 } }
@keyframes latPop  { from { opacity:0; transform:translateY(14px) scale(.97) } to { opacity:1; transform:none } }

/* ---------- Join us! modal ---------- */
.join-modal-panel { text-align:left; }
.join-modal-panel h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(26px,3.4vw,34px); line-height:1.12;
  color:var(--ink); margin:10px 0 22px; letter-spacing:-.02em;
}
.join-modal-list { list-style:none; display:grid; gap:13px; margin:0 0 28px; }
.join-modal-list li {
  display:flex; align-items:flex-start; gap:12px;
  font-size:15px; color:var(--ink2); line-height:1.5;
}
.join-modal-list li span {
  flex:0 0 22px; width:22px; height:22px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:900; color:#fff;
  background:linear-gradient(135deg,var(--brand-vibrant),var(--brand-light));
  margin-top:1px;
}
.join-modal-cta { width:100%; justify-content:center; }
.join-modal-note { margin-top:14px; text-align:center; font-size:13px; color:var(--muted); }
.join-modal-note a { color:var(--brand-vibrant); font-weight:800; }

/* ---------- Video modal ---------- */
.video-modal-panel { max-width:940px; padding:18px; background:#0A1424; }
.video-modal-panel .lat-modal-close { background:rgba(255,255,255,.10); border-color:rgba(255,255,255,.20); color:#fff; }
.video-modal-panel .lat-modal-close:hover { background:rgba(255,255,255,.20); color:#fff; }
.video-frame { position:relative; width:100%; aspect-ratio:16/9; border-radius:14px; overflow:hidden; background:#000; }
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ---------- HOME · Mission ---------- */
.mission-block { background:var(--brand-ice); }
.mission-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.mission-copy h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(34px,4.2vw,54px); line-height:1.05;
  letter-spacing:-.025em; color:var(--ink); margin:12px 0 22px;
}
.mission-copy p { color:var(--ink2); font-size:17px; line-height:1.8; }

/* Infografía del 6%: anillo */
.mission-figure {
  background:#fff; border:1px solid var(--line); border-radius:24px;
  padding:44px 38px 38px; box-shadow:var(--shadow-soft);
  display:flex; flex-direction:column; align-items:center; text-align:center;
}
.mission-figure-head {
  font-size:12px; font-weight:900; letter-spacing:.14em;
  text-transform:uppercase; color:var(--brand-mid); margin-bottom:30px;
}

.mission-ring { position:relative; width:210px; max-width:100%; }
.mission-ring svg { width:100%; height:auto; transform:rotate(-90deg); display:block; }
.mission-ring circle { fill:none; stroke-width:16; stroke-linecap:round; }
.ring-track { stroke:var(--brand-ice); }
.ring-value {
  stroke:var(--brand-vibrant);           /* respaldo */
  stroke:url(#ringGrad);
  /* 2πr = 527.8 · el 6% son 31.7 */
  stroke-dasharray:31.7 527.8;
  stroke-dashoffset:0;
  transition:stroke-dasharray 1.1s cubic-bezier(.22,.9,.3,1);
}
/* Antes de entrar en pantalla el arco está en cero, y se dibuja al aparecer */
.mission-figure:not(.in) .ring-value { stroke-dasharray:0 527.8; }

.mission-ring-center {
  position:absolute; inset:0;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:2px; pointer-events:none;
}
.mission-ring-center b {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:54px; line-height:1; letter-spacing:-.04em; font-weight:700;
  color:var(--brand-vibrant);
}
.mission-ring-center span {
  font-size:12px; font-weight:800; letter-spacing:.08em;
  text-transform:uppercase; color:var(--muted);
}

.mission-figure-label {
  font-size:15.5px; color:var(--ink2); line-height:1.65;
  margin-top:28px; max-width:360px;
}
.mission-figure-label strong { color:var(--ink); font-weight:800; }

@media (max-width:900px) {
  .mission-grid { grid-template-columns:1fr; gap:34px; }
}

/* ---------- HOME · Logros / "Making a real change" ---------- */
.impact-stats {
  background:linear-gradient(160deg,var(--navy),#0A1B33 60%,var(--navy2));
  padding:96px 0; position:relative; overflow:hidden;
}
.impact-stats::before {
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 18% 24%, rgba(118,131,200,.20), transparent 46%),
             radial-gradient(circle at 82% 78%, rgba(56,102,148,.24), transparent 48%);
  pointer-events:none;
}
.impact-stats .wrap { position:relative; z-index:2; }
.impact-head { text-align:center; max-width:700px; margin:0 auto 62px; }
.impact-head h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(36px,4.6vw,58px); line-height:1.04; letter-spacing:-.03em;
  color:#fff; margin-bottom:16px;
}
.impact-head p { color:rgba(255,255,255,.62); font-size:17px; line-height:1.7; }
.impact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:0; }
/* Sin tarjetas: los numeros van sueltos, como en la referencia */
.impact-card {
  padding:22px 24px; text-align:center; position:relative;
}
.impact-card + .impact-card::before {
  content:""; position:absolute; left:0; top:18%; bottom:18%;
  width:1px; background:rgba(255,255,255,.13);
}
.impact-value {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(46px,5.6vw,68px); line-height:1; letter-spacing:-.035em;
  color:#fff; margin-bottom:12px;
}
.impact-value em { font-style:normal; color:var(--brand-light); }
.impact-label { font-size:13px; font-weight:800; letter-spacing:.13em; text-transform:uppercase; color:rgba(255,255,255,.56); }

@media (max-width:860px) {
  .impact-grid { grid-template-columns:1fr; gap:34px; }
  .impact-card + .impact-card::before { display:none; }
}

/* ---------- HOME · Journey de 6 pasos ---------- */
.pathway { background:#fff; }
.pathway-head { max-width:760px; margin:0 auto 58px; text-align:center; }
.pathway-head h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(34px,4.4vw,56px); line-height:1.05; letter-spacing:-.03em;
  color:var(--ink); margin-bottom:16px;
}
.pathway-head p { color:var(--ink2); font-size:17px; line-height:1.7; }

.pathway-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pathway-step {
  position:relative;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:32px 28px 30px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pathway-step:hover { transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--brand-soft); }
.pathway-num {
  width:44px; height:44px; border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:'DM Sans',system-ui,sans-serif; font-size:18px; font-weight:800; color:#fff;
  background:linear-gradient(135deg,var(--brand-vibrant),var(--brand-light));
  box-shadow:0 10px 24px rgba(56,102,148,.28);
  margin-bottom:20px;
}
.pathway-step h3 { font-size:20px; line-height:1.25; color:var(--ink); margin-bottom:10px; letter-spacing:-.01em; }
.pathway-step p { font-size:14.5px; color:var(--ink2); line-height:1.65; }

@media (max-width:1000px) { .pathway-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px)  { .pathway-grid { grid-template-columns:1fr; } }

/* ---------- ABOUT · Personas (directors / councils) ---------- */
.people-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.person-card {
  background:#fff; border:1px solid var(--line); border-radius:20px;
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.person-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--brand-soft); }
.person-photo { position:relative; aspect-ratio:4/5; overflow:hidden; background:var(--brand-ice); }
.person-photo img { width:100%; height:100%; object-fit:cover; object-position:center top; transition:transform .5s ease; }
.person-card:hover .person-photo img { transform:scale(1.04); }
.person-body { padding:22px 22px 24px; display:flex; flex-direction:column; gap:8px; flex:1; }
.person-name { font-size:17px; font-weight:800; color:var(--ink); line-height:1.25; letter-spacing:-.01em; }
.person-role { font-size:12px; font-weight:800; letter-spacing:.09em; text-transform:uppercase; color:var(--brand-mid); }
.person-bio { font-size:13.5px; color:var(--ink2); line-height:1.62; }
.person-bio.clamped {
  display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical;
  overflow:hidden;
}
.person-more {
  margin-top:auto; padding-top:12px;
  font-size:12.5px; font-weight:800; color:var(--brand-vibrant);
  background:none; border:0; cursor:pointer; text-align:left;
}
.person-more:hover { text-decoration:underline; }

@media (max-width:1080px) { .people-grid { grid-template-columns:repeat(3,1fr); } }
@media (max-width:800px)  { .people-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:520px)  { .people-grid { grid-template-columns:1fr; } }

/* ---------- ABOUT · Volunteers (grid de íconos) ---------- */
.perks-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.perk-card {
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:34px 28px; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.perk-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-soft); border-color:var(--brand-soft); }
.perk-icon {
  width:48px; height:48px; border-radius:14px; margin-bottom:20px;
  display:inline-flex; align-items:center; justify-content:center;
  background:var(--brand-ice); color:var(--brand-mid);
}
.perk-icon svg { width:24px; height:24px; stroke:currentColor; fill:none; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.perk-card p { font-size:15px; color:var(--ink2); line-height:1.65; }

@media (max-width:900px) { .perks-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px) { .perks-grid { grid-template-columns:1fr; } }

/* ---------- ABOUT · Partnerships & Funding ---------- */
.funding { background:var(--brand-ice); }
.funding-grid { display:grid; grid-template-columns:1.05fr .95fr; gap:52px; align-items:start; }
.funding-copy h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(34px,4.2vw,52px); line-height:1.05; letter-spacing:-.03em;
  color:var(--ink); margin:12px 0 20px;
}
.funding-copy > p { color:var(--ink2); font-size:16.5px; line-height:1.75; }
.funding-metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:30px 0 28px; }
.funding-metric { background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 18px; }
.funding-metric b {
  display:block;
  font-family:'DM Sans',system-ui,sans-serif; font-size:30px; line-height:1;
  letter-spacing:-.03em; color:var(--brand-vibrant); margin-bottom:8px;
}
.funding-metric span { font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.funding-note {
  background:#fff; border:1px solid var(--line); border-left:3px solid var(--brand-vibrant);
  border-radius:12px; padding:16px 18px; font-size:13.5px; color:var(--ink2); line-height:1.6;
}
.funding-card {
  background:#fff; border:1px solid var(--line); border-radius:22px;
  padding:34px 30px; box-shadow:var(--shadow-soft);
}
.funding-card h3 { font-size:22px; color:var(--ink); margin-bottom:8px; letter-spacing:-.01em; }
.funding-card > p { font-size:14px; color:var(--muted); line-height:1.6; margin-bottom:22px; }
.funding-card .field { width:100%; }
.funding-card label { display:grid; gap:7px; font-size:12px; font-weight:800; color:#4a5568; margin-bottom:14px; }

@media (max-width:960px) {
  .funding-grid { grid-template-columns:1fr; gap:36px; }
  .funding-metrics { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:520px) { .funding-metrics { grid-template-columns:1fr; } }

/* ---------- MEMBERSHIPS: globos a la derecha ---------- */
.tiers-layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:60px; align-items:start; }

.tiers-intro { position:sticky; top:110px; }
.tiers-intro h2 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(34px,4.2vw,52px); line-height:1.05;
  letter-spacing:-.03em; color:var(--ink); margin:12px 0 20px;
}
.tiers-intro > p { color:var(--ink2); font-size:16.5px; line-height:1.75; }
.tiers-note {
  background:var(--brand-ice); border:1px solid var(--line);
  border-left:3px solid var(--brand-vibrant); border-radius:12px;
  padding:16px 18px; margin:26px 0; font-size:13.5px; color:var(--ink2); line-height:1.6;
}
.tiers-note strong { color:var(--ink); }

.tiers-stack { display:grid; gap:20px; }

.tier-bubble {
  position:relative; display:flex; gap:20px;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:30px 30px 28px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.tier-bubble:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--brand-soft); }

.tier-bubble-num {
  flex:0 0 44px; width:44px; height:44px; border-radius:14px;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:'DM Sans',system-ui,sans-serif; font-size:18px; font-weight:700; color:#fff;
  background:linear-gradient(135deg,var(--brand-vibrant),var(--brand-light));
  box-shadow:0 10px 24px rgba(56,102,148,.28);
}
.tier-bubble-body { flex:1; min-width:0; }
.tier-bubble-head { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin-bottom:8px; }
.tier-bubble-head h3 {
  font-family:'DM Sans',system-ui,sans-serif; font-size:25px; font-weight:700;
  letter-spacing:-.02em; color:var(--ink);
}
.tier-bubble-price {
  font-size:12px; font-weight:900; letter-spacing:.08em; text-transform:uppercase;
  color:var(--brand-mid); background:var(--brand-ice);
  padding:5px 12px; border-radius:999px;
}
.tier-bubble > .tier-bubble-body > p { font-size:14.5px; color:var(--ink2); line-height:1.65; margin-bottom:18px; }

/* El plan destacado */
.tier-bubble.featured { border-color:transparent; background:linear-gradient(160deg,var(--navy),#0B1E38); }
.tier-bubble.featured .tier-bubble-head h3 { color:#fff; }
.tier-bubble.featured > .tier-bubble-body > p { color:rgba(255,255,255,.72); }
.tier-bubble.featured .tier-bubble-price { background:rgba(118,131,200,.26); color:var(--brand-soft); }
.tier-bubble.featured .tier-list li { color:rgba(255,255,255,.82); }
.tier-bubble.featured .tier-list li span { background:rgba(118,131,200,.28); color:var(--brand-soft); }

.tier-list { list-style:none; display:grid; gap:11px; }
.tier-list li { display:flex; align-items:flex-start; gap:11px; font-size:14.5px; color:var(--ink2); line-height:1.55; }
.tier-list li span {
  flex:0 0 20px; width:20px; height:20px; border-radius:50%; margin-top:1px;
  display:inline-flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:900;
  background:var(--brand-ice); color:var(--brand-vibrant);
}

@media (max-width:1000px) {
  .tiers-layout { grid-template-columns:1fr; gap:40px; }
  .tiers-intro { position:static; }
}
@media (max-width:560px) {
  .tier-bubble { flex-direction:column; gap:16px; padding:26px 22px; }
}

/* Comparativa de membresías */
.tier-compare { margin-top:70px; overflow-x:auto; -webkit-overflow-scrolling:touch; }
.tier-compare table { width:100%; min-width:620px; border-collapse:collapse; }
.tier-compare th, .tier-compare td { padding:16px 18px; text-align:left; border-bottom:1px solid var(--line); font-size:14.5px; }
.tier-compare thead th {
  font-size:12px; font-weight:900; letter-spacing:.1em; text-transform:uppercase;
  color:var(--brand-mid); border-bottom:2px solid var(--line);
}
.tier-compare tbody th { font-weight:700; color:var(--ink); }
.tier-compare td { text-align:center; color:var(--ink2); }
.tier-compare thead th:not(:first-child) { text-align:center; }
.tier-compare .yes { color:var(--brand-vibrant); font-weight:900; }
.tier-compare .no  { color:#CBD2E0; }

/* ---------- NEWS ---------- */
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.news-card {
  display:flex; flex-direction:column;
  background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.news-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--brand-soft); }
.news-card-img { aspect-ratio:16/10; overflow:hidden; background:var(--brand-ice); }
.news-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.news-card:hover .news-card-img img { transform:scale(1.05); }
.news-card-body { padding:24px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.news-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.news-tag {
  font-size:11px; font-weight:900; letter-spacing:.1em; text-transform:uppercase;
  color:var(--brand-vibrant); background:var(--brand-ice);
  padding:5px 11px; border-radius:999px;
}
.news-date { font-size:12.5px; color:var(--muted); font-weight:700; }
.news-card h3 { font-size:19px; line-height:1.3; color:var(--ink); letter-spacing:-.01em; }
.news-card p { font-size:14px; color:var(--ink2); line-height:1.65; }
.news-card .news-link { margin-top:auto; padding-top:12px; font-size:13px; font-weight:800; color:var(--brand-vibrant); }
.news-empty {
  text-align:center; padding:70px 24px;
  border:1px dashed var(--line); border-radius:20px; color:var(--muted);
}

@media (max-width:1000px) { .news-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px)  { .news-grid { grid-template-columns:1fr; } }

/* Detalle de noticia */
.news-article { max-width:760px; margin:0 auto; }
.news-article h1 {
  font-family:'DM Sans','Plus Jakarta Sans',system-ui,sans-serif;
  font-size:clamp(32px,4.4vw,50px); line-height:1.08; letter-spacing:-.03em;
  color:var(--ink); margin:16px 0 18px;
}
.news-article-cover { border-radius:20px; overflow:hidden; margin:28px 0 34px; }
.news-body { font-size:17px; line-height:1.85; color:var(--ink2); }
.news-body p { margin-bottom:22px; }
.news-body h2 { font-size:26px; color:var(--ink); margin:34px 0 14px; letter-spacing:-.02em; }
.news-body ul, .news-body ol { margin:0 0 22px 22px; }
.news-body li { margin-bottom:9px; }
.news-body a { color:var(--brand-vibrant); font-weight:700; text-decoration:underline; }

/* ---------- Utilidades ---------- */
.section-title.center { text-align:center; margin-left:auto; margin-right:auto; max-width:760px; }
.alt-bg { background:var(--brand-ice); }

/* ---------- Avisos de formulario ---------- */
.form-alert {
  padding:13px 16px; border-radius:11px;
  font-size:13.5px; line-height:1.55; margin-bottom:20px;
}
.form-alert.ok    { background:#ECFDF5; color:#065F46; border:1px solid #A7F3D0; }
.form-alert.error { background:#FEF2F2; color:#991B1B; border:1px solid #FECACA; }

/* ---------- Botón de donación (About Us) ---------- */
.donate-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:26px; }
.btn-donate {
  background:linear-gradient(135deg,#0F7B4F,#2FA36B);
  color:#fff; box-shadow:0 12px 32px rgba(15,123,79,.28);
}
.btn-donate:hover { box-shadow:0 16px 40px rgba(15,123,79,.36); }
.btn-donate svg { width:17px; height:17px; fill:currentColor; }

/* ---------- Recursos ---------- */
.res-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.res-card {
  display:flex; flex-direction:column; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:20px;
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.res-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); border-color:var(--brand-soft); }
.res-card-img { aspect-ratio:16/10; overflow:hidden; background:var(--brand-ice); position:relative; }
.res-card-img img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.res-card:hover .res-card-img img { transform:scale(1.05); }
.res-play {
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(4,13,30,.34); color:#fff; font-size:34px;
  transition:background .25s ease;
}
.res-card:hover .res-play { background:rgba(4,13,30,.48); }
.res-card-body { padding:24px 24px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.res-card h3 { font-size:18.5px; line-height:1.3; color:var(--ink); letter-spacing:-.01em; }
.res-card p { font-size:14px; color:var(--ink2); line-height:1.65; }
.res-card-foot { margin-top:auto; padding-top:14px; }
.res-lock { font-size:12px; color:var(--muted); display:flex; align-items:center; gap:6px; margin-top:8px; }

@media (max-width:1000px) { .res-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px)  { .res-grid { grid-template-columns:1fr; } }

/* Descarga lista tras dejar el email */
.res-ready {
  background:#ECFDF5; border:1px solid #A7F3D0; border-radius:14px;
  padding:20px 22px; margin-top:20px;
}
.res-ready b { display:block; color:#065F46; margin-bottom:10px; font-size:15px; }

/* Tarjeta de recurso sin imagen: mantiene la proporcion */
.res-card-img.is-blank {
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(150deg,var(--navy),#132a4a);
}
.res-blank-mark {
  font-family:'DM Sans',system-ui,sans-serif;
  font-size:56px; font-weight:700; letter-spacing:-.04em;
  color:rgba(255,255,255,.22);
}

/* ---------- Cuerpo de la nota escrito en el editor ----------
   Los estilos que elige quien escribe (color, tamano, fuente)
   viajan en el atributo style, asi que solo definimos la base
   y dejamos que lo inline mande.                             */
.news-body h2, .news-body h3, .news-body h4 {
  color:var(--ink); letter-spacing:-.02em; line-height:1.2;
}
.news-body h2 { font-size:28px; margin:36px 0 14px; }
.news-body h3 { font-size:23px; margin:30px 0 12px; }
.news-body h4 { font-size:19px; margin:24px 0 10px; }
.news-body strong, .news-body b { font-weight:800; color:var(--ink); }
.news-body em, .news-body i { font-style:italic; }
.news-body u { text-decoration:underline; }
.news-body s { text-decoration:line-through; }
.news-body blockquote {
  border-left:3px solid var(--brand-light);
  padding:4px 0 4px 20px; margin:26px 0;
  font-size:19px; line-height:1.7; color:var(--ink2);
}
.news-body img {
  max-width:100%; height:auto; border-radius:14px;
  margin:26px 0; box-shadow:var(--shadow-soft);
}
.news-body a { color:var(--brand-vibrant); font-weight:700; text-decoration:underline; }
.news-body a:hover { text-decoration:none; }
/* Alineacion elegida en el editor */
.news-body [style*="text-align:center"] { text-align:center; }
.news-body [style*="text-align:right"]  { text-align:right; }
.news-body [style*="text-align:justify"]{ text-align:justify; }
/* Las fuentes con nombre corto del editor */
.news-body [style*="font-family:dm-sans"]  { font-family:'DM Sans','Plus Jakarta Sans',sans-serif; }
.news-body [style*="font-family:jakarta"]  { font-family:'Plus Jakarta Sans',system-ui,sans-serif; }
.news-body [style*="font-family:arial"]    { font-family:Arial,Helvetica,sans-serif; }
.news-body [style*="font-family:georgia"]  { font-family:Georgia,'Times New Roman',serif; }
.news-body [style*="font-family:times"]    { font-family:'Times New Roman',Times,serif; }
.news-body [style*="font-family:courier"]  { font-family:'Courier New',Courier,monospace; }
.news-body [style*="font-family:verdana"]  { font-family:Verdana,Geneva,sans-serif; }

/* ---------- Contact Us del home (según la referencia del brief) ---------- */
.contact-lines { display:grid; gap:11px; margin-top:30px; }
.contact-line { font-size:16px; color:var(--ink2); line-height:1.5; }
a.contact-line { color:var(--brand-vibrant); font-weight:700; transition:opacity .16s ease; }
a.contact-line:hover { opacity:.75; }

/* La etiqueta y su asterisco van en la misma línea */
.field-label { display:block; margin-bottom:0; }
.field-label > .field-name {
  display:block; margin-bottom:7px;
  font-size:11.5px; font-weight:900; letter-spacing:.09em;
  text-transform:uppercase; color:#4a5568;
}
.field-label i { color:#E53E3E; font-style:normal; margin-left:2px; }
.field-optional {
  font-weight:700; letter-spacing:0; text-transform:none;
  color:var(--muted); font-size:12px; margin-left:4px;
}

/* ---------- About Us: hero con foto al lado ---------- */
.about-hero { padding-bottom:0; }
.about-hero-grid {
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:56px; align-items:center;
}
.about-hero-copy h1 { margin-bottom:20px; }
.about-hero-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-top:28px; }
.about-hero-photo {
  border-radius:24px; overflow:hidden;
  box-shadow:0 30px 70px rgba(4,13,30,.45);
  transform:translate3d(0,var(--parallax-y,0px),0);
}
.about-hero-photo img { width:100%; height:100%; object-fit:cover; aspect-ratio:4/3; }

@media (max-width:960px) {
  .about-hero-grid { grid-template-columns:1fr; gap:36px; }
  .about-hero-photo { order:-1; }
}

/* ---------- Footer: balance y credito de diseno ---------- */
.footer .wrap {
  max-width:1180px;
}

.footer-meta {
  display:flex;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.footer-credit {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:rgba(255,255,255,.48);
  font-size:13px;
}

.footer-credit-link {
  display:inline-flex;
  align-items:center;
  border-radius:5px;
}

.footer-credit-logo {
  display:block;
  width:auto;
  height:18px;
  opacity:.72;
  transition:opacity .2s ease, transform .2s ease, filter .2s ease;
}

.footer-credit-link:hover .footer-credit-logo,
.footer-credit-link:focus-visible .footer-credit-logo {
  opacity:1;
  transform:translateY(-1px);
  filter:drop-shadow(0 4px 9px rgba(255,0,99,.18));
}

.footer-credit-link:focus-visible {
  outline:2px solid rgba(255,255,255,.8);
  outline-offset:4px;
}

@media (min-width:1051px) {
  .footer-main {
    grid-template-columns:minmax(300px,1.45fr) repeat(3,minmax(132px,.72fr));
    gap:clamp(34px,4vw,58px);
  }

  .footer-topline {
    grid-template-columns:minmax(0,1.2fr) minmax(220px,.8fr);
  }

  .footer-topline > div:last-child {
    justify-content:center !important;
  }
}

@media (max-width:1050px) {
  .footer .wrap {
    max-width:820px;
  }

  .footer-topline {
    text-align:center;
  }

  .footer-topline p {
    margin-inline:auto;
  }

  .footer-topline > div:last-child {
    justify-content:center !important;
  }

  .footer-main {
    max-width:720px;
    margin-inline:auto;
  }

  .footer-bottom,
  .footer-meta {
    justify-content:center;
    text-align:center;
  }
}

@media (max-width:720px) {
  .footer .wrap {
    max-width:430px;
  }

  .footer-main {
    max-width:340px;
  }

  .footer-meta {
    gap:14px 18px;
  }

  .footer-credit {
    width:100%;
    justify-content:center;
  }
}

@media (prefers-reduced-motion:reduce) {
  .footer-credit-logo {
    transition:none;
  }

  .footer-credit-link:hover .footer-credit-logo,
  .footer-credit-link:focus-visible .footer-credit-logo {
    transform:none;
  }
}
