/* =========================================================
   Hispamedic — hoja de estilos (réplica del diseño Elementor)
   ========================================================= */

:root {
  --c-primary: #131319;      /* títulos fuertes */
  --c-heading: #333333;
  --c-text: #78787E;
  --c-body: #333333;
  --c-accent: #7468F1;       /* violeta de marca */
  --c-accent-dark: #5f53e0;
  --c-accent-soft: #8F86F3;
  --c-secondary: #F6F8FF;    /* fondo cabecera */
  --c-lilac: #E4E4FF;
  --c-pink: #FF5995;
  --c-pink-soft: #FFF2F4;
  --c-yellow-soft: #FFF9E4;
  --c-green: #19B485;
  --c-link: #CC3366;
  --c-border: #C4C4CC;
  --c-white: #FFFFFF;
  --f-heading: "Kanit", sans-serif;
  --f-body: "Archivo", sans-serif;
  --radius-lg: 38px;
  --radius-md: 30px;
  --radius-sm: 20px;
  --shadow-card: 0 0 10px rgba(0, 0, 0, .1);
  --container: 1225px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.4;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-accent-dark); }
h1, h2, h3, h4 { font-family: var(--f-heading); font-weight: 400; color: var(--c-heading); margin: 0 0 .5em; line-height: 1.1; }
h1 { font-size: 68px; letter-spacing: -1.1px; color: var(--c-primary); }
h2 { font-size: 54px; letter-spacing: -.3px; }
h3 { font-size: 32px; }
p { margin: 0 0 1em; }
ul { margin: 0; }
strong { font-weight: 700; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-accent); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { display: inline-flex; width: 1em; height: 1em; vertical-align: -.125em; }
.icon svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-size: 15px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase;
  padding: 22px 40px; border-radius: 32px; border: 1px solid transparent; line-height: 1;
  cursor: pointer; transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: scale(.96); }
.btn-primary { background: var(--c-accent); color: #fff; box-shadow: 0 8px 20px rgba(116, 104, 241, .25); }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; }
.btn-outline { background: var(--c-secondary); color: var(--c-accent); border-color: var(--c-accent); }
.btn-outline:hover { background: var(--c-accent); color: #fff; }
.btn-white { background: #fff; color: var(--c-accent); padding: 16px 40px; }
.btn-white:hover { background: var(--c-primary); color: #fff; }
.btn-block { width: 100%; }

/* ---------- Topbar + cabecera ---------- */
.topbar { display: flex; justify-content: flex-end; padding: 10px 20px; background: #fff; font-size: 12px; font-weight: 700; letter-spacing: .8px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 9px; height: 9px; }

.site-header { background: var(--c-secondary); border-radius: 30px; margin: 0 0 0; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 150px; }
.logo img { width: 70px; height: auto; }
.main-nav { margin-left: auto; }
.menu { list-style: none; padding: 0; display: flex; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a { color: #8C8C8C; font-size: 16px; padding: 13px 20px; display: block; }
.menu > li.has-sub > a { padding-right: 4px; }
.menu > li > a:hover, .menu > li.current > a { color: var(--c-accent); }
.sub-toggle { background: none; border: 0; padding: 6px 14px 6px 4px; cursor: pointer; color: #8C8C8C; display: inline-flex; }
.sub-toggle .icon { width: 10px; height: 10px; transition: transform .2s; }
.menu .sub-menu {
  list-style: none; padding: 10px 0; margin: 0; position: absolute; top: 100%; left: 0; min-width: 230px;
  background: #fff; border-radius: 16px; box-shadow: 0 15px 40px rgba(19, 19, 25, .12);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s;
  max-height: 70vh; overflow-y: auto;
}
.menu .sub-menu a { display: block; padding: 9px 22px; color: var(--c-body); font-size: 15px; }
.menu .sub-menu a:hover, .menu .sub-menu a[aria-current] { color: var(--c-accent); background: var(--c-secondary); }
.menu > li.has-sub:hover .sub-menu, .menu > li.has-sub:focus-within .sub-menu, .menu > li.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu > li.has-sub:hover .sub-toggle .icon, .menu > li.open .sub-toggle .icon { transform: rotate(180deg); }
.header-cta { padding: 18px 38px; }
.nav-toggle, .nav-cta-mobile { display: none; }

/* ---------- Animaciones de entrada ---------- */
[data-reveal] { opacity: 0; transition: opacity .9s ease, transform .9s ease; }
[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="zoom"] { transform: scale(.6); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Secciones genéricas ---------- */
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 20px; }
.section-intro { max-width: 770px; margin: 0 auto; text-align: center; color: var(--c-text); font-size: 19px; font-weight: 500; letter-spacing: .7px; line-height: 1.5; }
.kicker {
  display: inline-block; font-family: var(--f-body); font-size: 11px; font-weight: 700; letter-spacing: .6px;
  padding: 6px 22px; border-radius: 20px; margin-bottom: 14px; background: var(--c-pink-soft); color: var(--c-primary);
}
.kicker.yellow { background: var(--c-yellow-soft); }
.lead { color: var(--c-text); font-size: 19px; font-weight: 500; letter-spacing: .7px; line-height: 1.5; }

/* ---------- Portada: vídeo ---------- */
.hero-video { position: relative; overflow: hidden; height: 950px; background: #0d0d14; }
.hero-video iframe, .hero-video .hero-poster {
  position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.77vh;
  transform: translate(-50%, -50%); border: 0; pointer-events: none;
}
.hero-video .hero-poster { object-fit: cover; width: 100%; height: 100%; min-width: 0; }
.hero-video-toggle {
  position: absolute; right: 20px; bottom: 20px; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(19, 19, 25, .55); color: #fff; cursor: pointer; font-size: 14px;
}

/* ---------- Portada: intro ---------- */
.home-intro { padding: 0 0 20px; }
.home-intro-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 650px; }
.home-intro-text { padding-right: 40px; display: flex; flex-direction: column; gap: 20px; }
.home-intro-text h1 { margin: 0; }
.home-intro-text .lead { max-width: 500px; margin: 0; }
.check-list { list-style: none; padding: 0; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-family: var(--f-body); font-size: 14px; font-weight: 600; letter-spacing: .2px; text-transform: uppercase; color: var(--c-heading); }
.check-list .icon { color: var(--c-green); width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.home-intro-media { position: relative; display: flex; justify-content: center; }
.home-intro-media img { width: 100%; max-width: 612px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }

/* ---------- Portada: quiénes somos ---------- */
.about-card { background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(116, 104, 241, .08); overflow: hidden; }
.about-card .progress { height: 4px; background: #fff; }
.about-card .progress span { display: block; height: 100%; width: 0; background: var(--c-accent); transition: width 1.6s ease; }
.about-card.is-visible .progress span, .about-card .progress span.is-visible { width: 100%; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 60px; gap: 0; }
.about-text { padding-left: 40px; }
.about-text h2 { font-size: 48px; }
.about-text p { color: var(--c-text); font-size: 18px; line-height: 1.6; }

/* Carrusel */
.carousel { position: relative; }
.carousel-track { position: relative; aspect-ratio: 517 / 410; border-radius: var(--radius-md); overflow: hidden; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.carousel-slide.is-active { opacity: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--c-border); cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button[aria-current="true"] { background: var(--c-accent); transform: scale(1.25); }

/* ---------- Portada: objetivos ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.goal-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 50px 30px;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 360px;
  transition: transform .3s, box-shadow .3s;
}
.goal-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(116, 104, 241, .15); }
.goal-card img { width: 130px; height: 90px; object-fit: cover; border-radius: 8px; margin-bottom: 20px; }
.goal-card h3 { font-family: var(--f-body); font-weight: 500; font-size: 32px; line-height: 1; margin-bottom: 18px; }
.goal-card p { color: var(--c-body); font-size: 18px; line-height: 1.6; margin: 0; }

/* ---------- Portada: servicios ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.services-media { border-radius: var(--radius-md); overflow: hidden; min-height: 427px; background-size: cover; background-position: center; }
.services-text { padding: 40px 0 40px 40px; }
.services-text h2 { font-size: 54px; }
.services-text ul { padding-left: 20px; color: var(--c-body); line-height: 1.6; }
.services-text li { margin-bottom: 6px; }
.headline-highlight { position: relative; display: inline-block; }
.headline-highlight svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; overflow: visible; }
.headline-highlight path { fill: none; stroke: var(--c-accent); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 1500; stroke-dashoffset: 1500; opacity: .7; }
.headline-highlight.animate path { animation: draw 1.2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 395px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 60px 30px;
}
.cta-box .cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.5s ease; }
.cta-box:hover .cta-bg { transform: scale(1.1); }
.cta-box::after { content: ""; position: absolute; inset: 0; background: rgba(116, 104, 241, .82); }
.cta-content { position: relative; z-index: 1; max-width: 760px; }
.cta-content h2 { color: #fff; font-size: 54px; }
.cta-content p { font-weight: 600; font-size: 18px; line-height: 1.5; margin-bottom: 28px; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { background: var(--c-accent); color: #fff; padding: 80px 0 40px; margin-top: 0; }
.page-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; min-height: 260px; }
.page-hero-inner.no-image { grid-template-columns: 1fr; min-height: 200px; }
.page-hero-text { max-width: 640px; }
.page-hero-title { color: #fff; font-family: var(--f-heading); font-size: 54px; line-height: 1.05; margin: 0 0 18px; letter-spacing: -.3px; }
.page-hero p { color: #fff; font-size: 18px; font-weight: 500; line-height: 1.5; margin: 0 0 12px; }
.page-hero a:not(.btn) { color: #fff; font-weight: 600; }
.page-hero-media img { width: 100%; max-width: 480px; border-radius: var(--radius-md); }
.page-hero-media.is-card { background: #fff; border-radius: var(--radius-md); padding: 10px; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); }
.page-hero-media.is-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 20px; }
.page-hero-media.overlap { margin-bottom: -110px; position: relative; z-index: 2; }
.page-hero-media.overlap img { box-shadow: var(--shadow-card); }
.page-hero-media.is-card.logo-card { width: 220px; height: 190px; padding: 18px; }
.page-hero-media.photo img { width: 360px; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero + .section { padding-top: 140px; }
.page-hero + .section.tight { padding-top: 60px; }
.page-hero .contact-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 30px; font-size: 14px; }
.breadcrumb li + li::before { content: "»"; margin-right: 6px; }
.breadcrumb.on-dark, .breadcrumb.on-dark a { color: #fff; }

/* ---------- Listados de países ---------- */
.country-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.country-card {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--c-heading); transition: transform .3s, box-shadow .3s;
}
.country-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(116, 104, 241, .18); color: var(--c-accent); }
.country-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.country-card h3 { font-size: 20px; margin: 0; color: inherit; }

/* ---------- Fichas de asociaciones / universidades ---------- */
.org-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.org-card {
  background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 18px 14px 22px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14px; line-height: 1.45; word-break: break-word;
}
.org-card .org-logo { width: 100%; height: 90px; display: flex; align-items: center; justify-content: center; }
.org-card .org-logo img { max-height: 90px; width: auto; max-width: 100%; object-fit: contain; }
.org-card .org-logo.placeholder { background: var(--c-secondary); border-radius: 18px; color: var(--c-accent); font-family: var(--f-heading); font-size: 26px; }
.org-card h3 { font-family: var(--f-heading); font-size: 17px; line-height: 1.2; margin: 4px 0 2px; color: var(--c-heading); }
.org-card h3 a { color: var(--c-heading); }
.org-card h3 a:hover { color: var(--c-accent); }
.org-card p { margin: 0; color: var(--c-body); }
.section-title.sm { font-size: 40px; }
@media (max-width: 767px) { .section-title.sm { font-size: 28px; } }
.org-card a { color: var(--c-link); }
.org-card a:hover { color: var(--c-accent); }
.org-meta { list-style: none; padding: 0; display: grid; gap: 6px; }

.country-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.country-links a { display: inline-block; padding: 9px 18px; border-radius: 30px; background: var(--c-secondary); color: var(--c-accent); font-size: 15px; font-weight: 500; transition: background .2s, color .2s; }
.country-links a:hover { background: var(--c-accent); color: #fff; }

/* ---------- Texto largo (Nosotros) ---------- */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 42px; margin-top: 10px; }
.prose p { color: var(--c-text); font-size: 18px; line-height: 1.7; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.mv-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 40px; }
.mv-card h2 { font-size: 36px; }
.mv-card p { color: var(--c-text); line-height: 1.7; margin: 0; }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 10px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--c-body); margin-bottom: 6px; }
.field label .req { color: #E00; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--c-body); background: #fff;
  border: 1.5px solid var(--c-border); border-radius: 24px; padding: 10px 20px; min-height: 46px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; border-radius: 20px; }
.field input[type="file"] { padding: 8px 12px; font-size: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(116, 104, 241, .2); }
.field .hint { display: block; font-size: 12px; color: var(--c-text); margin-top: 4px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d33; }
.field .error { color: #d33; font-size: 13px; margin-top: 4px; display: block; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: 13px; color: var(--c-text); line-height: 1.5; }
.form-legal input { width: auto; min-height: 0; margin-right: 8px; vertical-align: middle; }
.alert { border-radius: 18px; padding: 16px 20px; margin-bottom: 20px; font-size: 16px; line-height: 1.5; }
.alert-success { background: #E7FAF3; color: #0c6b4e; border: 1px solid #ADEFDB; }
.alert-error { background: #FFF2F4; color: #9b1238; border: 1px solid #FFD6E5; }
.form-card .btn { margin-top: 6px; padding: 16px 30px; }

.contact-form-wrap { max-width: 700px; margin: 0 auto; }

.member-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.member-text h1 { color: #fff; font-size: 48px; line-height: 1.05; }
.member-text p, .member-text li { color: #fff; font-size: 16px; line-height: 1.55; }
.member-text ul { padding-left: 20px; display: grid; gap: 8px; }
.member-side { display: grid; gap: 20px; }
.member-side .member-img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.page-hero.member { padding: 60px 0; }

/* ---------- Pie ---------- */
.site-footer { padding: 60px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 90px; margin-bottom: 14px; }
.footer-brand p { color: var(--c-body); }
.footer-title { font-family: var(--f-body); font-weight: 700; font-size: 16px; color: var(--c-primary); margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--c-accent); display: inline-flex; align-items: center; gap: 8px; }
.footer-links .icon { width: 12px; height: 12px; }
.footer-links .sub-toggle { color: var(--c-accent); padding: 2px 6px; }
.footer-links .sub-menu { list-style: none; padding: 8px 0 0 14px; display: none; gap: 6px; }
.footer-links li.open > .sub-menu { display: grid; }
.footer-links li.open .sub-toggle .icon { transform: rotate(180deg); }
.footer-bottom { margin-top: 40px; padding: 14px 0; font-size: 12px; color: var(--c-text); border-top: 1px solid #eee; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page h1 { font-size: 120px; color: var(--c-accent); margin: 0; }

/* =========================================================
   Responsive (mismos puntos de corte que Elementor)
   ========================================================= */
@media (max-width: 1200px) {
  .org-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h2 { font-size: 42px; }
  .header-inner { min-height: 100px; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: var(--c-accent); color: #fff; border: 0; border-radius: 12px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle .icon { width: 20px; height: 20px; }
  .nav-toggle .icon-close { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
  .nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute; left: 10px; right: 10px; top: calc(100% + 8px); background: #fff; border-radius: 20px; box-shadow: 0 20px 50px rgba(19, 19, 25, .15);
    padding: 14px; display: none; max-height: calc(100vh - 140px); overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid #f0f0f5; }
  .menu > li > a { flex: 1; color: var(--c-body); }
  .menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; width: 100%; max-height: none; padding: 0 0 10px 10px; }
  .menu > li.open .sub-menu { display: block; }
  .menu > li.has-sub:hover .sub-menu { display: none; }
  .menu > li.has-sub.open:hover .sub-menu, .menu > li.has-sub.open .sub-menu { display: block; }
  .sub-toggle { padding: 12px 16px; }
  .nav-cta-mobile { display: flex; margin-top: 14px; }
  .hero-video { height: 560px; }
  .home-intro-grid, .about-grid, .services-grid, .member-grid, .mv-grid { grid-template-columns: 1fr; }
  .home-intro-grid { min-height: 0; padding: 60px 0; gap: 40px; }
  .home-intro-text { padding-right: 0; }
  .home-intro-media img { max-width: 420px; }
  .about-grid { padding: 40px 30px; gap: 30px; }
  .about-text { padding-left: 0; }
  .services-text { padding: 20px 0; }
  .services-media { min-height: 320px; }
  .cards-3 { grid-template-columns: 1fr 1fr; }
  .org-grid { grid-template-columns: repeat(3, 1fr); }
  .page-hero-inner { grid-template-columns: 1fr; }
  .page-hero-media.is-card { width: 200px; height: 200px; }
  .page-hero-media.overlap { margin-bottom: -70px; }
  .page-hero + .section { padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  h1 { font-size: 40px; letter-spacing: -.5px; }
  h2, .services-text h2, .cta-content h2 { font-size: 34px; }
  .about-text h2 { font-size: 32px; }
  .goal-card h3 { font-size: 26px; }
  .page-hero { padding: 50px 0 40px; }
  .page-hero-title { font-size: 36px; }
  .member-text h1 { font-size: 34px; }
  .section { padding: 40px 0; }
  .topbar { justify-content: center; }
  .site-header { border-radius: 20px; }
  .logo img { width: 56px; }
  .hero-video { height: 260px; }
  .btn { padding: 18px 30px; }
  .cards-3 { grid-template-columns: 1fr; }
  .goal-card { min-height: 0; }
  .org-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .country-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .country-card { padding: 12px; }
  .country-card h3 { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mv-card { padding: 28px; }
  .about-grid { padding: 24px 18px; }
}

@media (max-width: 420px) {
  .org-grid { grid-template-columns: 1fr; }
}
