/* ==========================================================================
   MCS 2026 redesign — navy / teal / gold, editorial serif headlines.
   Loaded last in layout.tsx so it wins over legacy styles.
   ========================================================================== */

:root {
  --m-navy: #12355b;
  --m-navy-deep: #0d2a47;
  --m-ink: #15304d;
  --m-teal: #1a8696;
  --m-teal-soft: #7fd3dc;
  --m-gold: #f5cf72;
  --m-gold-deep: #e9bb4d;
  --m-tint: #f1f7f9;
  --m-tint-2: #e8f2f5;
  --m-line: #dbe6ec;
  --m-muted: #5a6e82;
  --m-white: #ffffff;
  --m-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --m-sans: 'Inter', 'DM Sans', system-ui, -apple-system, Arial, sans-serif;
  --m-radius: 12px;
  --m-shadow: 0 14px 34px rgba(13, 42, 71, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--m-white); color: var(--m-ink); font-family: var(--m-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.ic { width: 1em; height: 1em; flex: 0 0 auto; }
.m-skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--m-navy); color: #fff; font-weight: 700; }
.m-skip:focus { top: 12px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--m-teal); outline-offset: 3px; }

.m-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

/* ---------- Type ---------- */
.m-eyebrow { margin: 0 0 14px; color: var(--m-teal); font: 700 11px/1.2 var(--m-sans); letter-spacing: .16em; text-transform: uppercase; }
.m-eyebrow-light { color: var(--m-teal-soft); }
.m-title { margin: 0; color: var(--m-navy); font: 700 clamp(34px, 4vw, 52px)/1.04 var(--m-serif); letter-spacing: -.02em; }
.m-title em { color: var(--m-teal); font-style: italic; font-weight: 600; }
.m-title-light { color: #fff; }
.m-title-light em { color: var(--m-teal-soft); }
.m-title-sm { font-size: clamp(30px, 3.2vw, 42px); }
.m-title .m-italic-navy { color: var(--m-navy); }
.m-copy { max-width: 520px; margin: 18px 0 26px; color: var(--m-muted); font-size: 15.5px; line-height: 1.7; }
.m-copy-light { color: #cfdbe6; }
.m-link { display: inline-flex; align-items: center; gap: 8px; color: var(--m-navy); font-weight: 700; font-size: 14px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: gap .2s ease, color .2s ease; }
.m-link:hover { gap: 12px; color: var(--m-teal); }

/* ---------- Buttons (house button: pill, soft gradient, gentle lift) ---------- */
.m-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: .85rem 1.9rem; border: 1px solid #cfe0ee; border-radius: 999px; background: linear-gradient(180deg, #ffffff, #eef5fb); color: var(--m-navy); font: 800 1.05rem/1.1 var(--m-sans); white-space: nowrap; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 6px 18px -10px rgba(13,42,71,.55); transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.m-btn svg { width: 18px; height: 18px; }
.m-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 10px 22px -10px rgba(13,42,71,.6); }
.m-btn:active { transform: translateY(0) scale(.985); box-shadow: inset 0 2px 4px rgba(13,42,71,.18), 0 3px 10px -8px rgba(13,42,71,.5); transition-duration: .08s; }
.m-btn:focus-visible, .m-nav a:focus-visible, .m-step-card:focus-visible, .m-news-list a:focus-visible { outline: 3px solid var(--m-teal-soft); outline-offset: 3px; }
.m-btn:hover svg { transform: translateX(2px); } .m-btn svg { transition: transform .2s ease; }
/* Gold: the house call-to-action, from the MCS palette */
.m-btn-gold { border-color: #d9ab3c; background: linear-gradient(180deg, #f9dd8f, #e9bb4d); color: var(--m-navy-deep); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 18px -10px rgba(233,187,77,.95); }
.m-btn-gold:hover { background: linear-gradient(180deg, #fbe39d, #e2b13f); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px -10px rgba(233,187,77,1); }
.m-btn-gold:active { box-shadow: inset 0 2px 4px rgba(120,80,0,.25), 0 3px 10px -8px rgba(233,187,77,.8); }
/* Navy: solid button on light backgrounds */
.m-btn-navy { border-color: #0d2a47; background: linear-gradient(180deg, #1f4f7e, #12355b); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 6px 18px -10px rgba(18,53,91,.95); }
.m-btn-navy:hover { background: linear-gradient(180deg, #245a8e, #0f2f52); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 22px -10px rgba(18,53,91,1); }
.m-btn-navy:active { box-shadow: inset 0 2px 5px rgba(0,0,0,.35), 0 3px 10px -8px rgba(18,53,91,.8); }
/* Ghost: glass on dark photos */
.m-btn-ghost { border-color: rgba(255,255,255,.75); background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 18px -10px rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.m-btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.2); }
.m-btn-ghost:active { background: rgba(255,255,255,.1); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.m-btn-outline { color: var(--m-navy); }
.m-btn-sm { padding: .6rem 1.2rem; font-size: .92rem; }

/* ---------- Header ---------- */
.m-header-shell { position: sticky; top: 0; z-index: 50; }
.m-utility { background: var(--m-white); border-bottom: 1px solid var(--m-line); color: var(--m-muted); font-size: 12px; }
.m-utility .m-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.m-utility a, .m-utility-address { display: inline-flex; align-items: center; gap: 6px; color: var(--m-muted); }
.m-utility a:hover { color: var(--m-teal); }
.m-utility svg { width: 13px; height: 13px; color: var(--m-teal); }
.m-utility-links { display: inline-flex; align-items: center; gap: 20px; }
.m-header { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--m-line); box-shadow: 0 6px 18px rgba(13,42,71,.04); }
.m-navrow { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.m-brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; color: var(--m-navy); }
.m-brand img { width: 50px; height: 50px; object-fit: contain; }
.m-brand span { display: flex; flex-direction: column; font: 800 15px/1.05 var(--m-sans); letter-spacing: .02em; text-transform: uppercase; }
.m-brand small { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--m-muted); }
.m-brand-light { color: #fff; }
.m-brand-light small { color: #b9cad9; }
.m-brand-light img { background: #fff; border-radius: 50%; padding: 3px; }
.m-nav { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
.m-nav a { position: relative; padding: 10px 10px; color: var(--m-ink); font: 500 13.5px/1 var(--m-sans); white-space: nowrap; transition: color .2s ease; }
.m-nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--m-teal); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.m-nav a:hover, .m-nav a[aria-current="page"] { color: var(--m-teal); }
.m-nav a:hover::after, .m-nav a[aria-current="page"]::after { transform: scaleX(1); }
.m-nav-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.m-menu { position: relative; display: none; } /* solo cuando el menú principal se esconde */
.m-menu summary { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; color: var(--m-navy); cursor: pointer; list-style: none; transition: background .2s ease; }
.m-menu summary::-webkit-details-marker { display: none; }
.m-menu summary:hover { background: var(--m-tint); }
.m-menu summary svg { width: 22px; height: 22px; }
.m-menu .m-menu-close, .m-menu[open] .m-menu-open { display: none; }
.m-menu[open] .m-menu-close { display: block; }
.m-menu-panel { position: absolute; right: 0; top: calc(100% + 12px); display: grid; min-width: 260px; padding: 10px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #fff; box-shadow: 0 24px 48px rgba(13,42,71,.16); }
.m-menu-panel > a { padding: 11px 12px; border-radius: 8px; color: var(--m-ink); font-size: 14px; font-weight: 500; }
.m-menu-panel > a:hover { background: var(--m-tint); color: var(--m-teal); }
.m-menu-lang { display: none; padding: 10px 12px 4px; border-top: 1px solid var(--m-line); margin-top: 6px; }

/* Language switch (shared component) */
.m-lang { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--m-line); border-radius: 999px; background: var(--m-tint); }
.m-lang a { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 8px; border-radius: 999px; color: var(--m-muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: transform .15s ease, background .15s ease, color .15s ease; }
.m-lang a:hover { background: #fff; color: var(--m-navy); }
.m-lang a:active { transform: scale(.94); }
.m-lang a.active { background: linear-gradient(180deg, #1f4f7e, #12355b); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }

/* ---------- Hero ---------- */
.m-hero { position: relative; overflow: hidden; min-height: clamp(520px, 72vh, 680px); display: flex; align-items: center; background: var(--m-navy-deep); color: #fff; }
.m-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.m-slide.is-active { position: relative; opacity: 1; visibility: visible; width: 100%; min-height: inherit; }
.m-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.m-slide.is-active .m-hero-img { animation: m-hero-in 1.1s ease both; }
.m-slide.is-active .m-hero-copy { animation: m-rise .8s .1s ease both; }
.m-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,56,.92) 0%, rgba(10,32,56,.78) 34%, rgba(10,32,56,.25) 62%, rgba(10,32,56,.05) 100%); }
.m-slide.is-poster .m-hero-img { object-fit: contain; object-position: right center; background: #f4f6f8; }
.m-slide.is-poster .m-hero-shade { background: linear-gradient(90deg, rgba(10,32,56,.96) 0%, rgba(10,32,56,.9) 40%, rgba(10,32,56,0) 58%); }
.m-hero-content { position: relative; z-index: 1; padding: 80px 0 104px; }
.m-hero-copy { max-width: 560px; }
.m-hero-title { margin: 0; color: #fff; font: 700 clamp(44px, 5.6vw, 72px)/1.02 var(--m-serif); letter-spacing: -.025em; }
.m-hero-title em { color: var(--m-teal-soft); font-style: italic; font-weight: 600; }
.m-hero-lede { max-width: 440px; margin: 22px 0 32px; color: #dbe6ef; font-size: 16.5px; line-height: 1.65; }
.m-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.m-hero-controls { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; }
.m-hero-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06)); color: #fff; font-size: 15px; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 14px -8px rgba(0,0,0,.7); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.m-hero-arrow:hover { transform: translateY(-2px); background: rgba(255,255,255,.26); }
.m-hero-arrow:active { transform: translateY(0) scale(.95); background: rgba(255,255,255,.12); box-shadow: inset 0 2px 4px rgba(0,0,0,.35); }
.m-hero-dots { display: flex; gap: 8px; }
.m-hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.45); cursor: pointer; transition: width .25s ease, background .25s ease; }
.m-hero-dots button.active { width: 26px; background: var(--m-gold); }
@keyframes m-hero-in { from { opacity: .3; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes m-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Trust strip ---------- */
.m-trust { background: var(--m-tint); border-bottom: 1px solid var(--m-line); }
.m-trust .m-wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px; min-height: 64px; flex-wrap: wrap; padding: 12px 0; }
.m-trust span { text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; color: var(--m-navy); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; }
.m-trust svg { width: 20px; height: 20px; color: var(--m-teal); stroke-width: 1.7; }

/* ---------- Sections ---------- */
.m-section { padding: 96px 0; background: #fff; }
.m-section.m-tint { background: var(--m-tint); }
.m-section-tight { padding: 56px 0; }
.m-section-last { padding-bottom: 96px; }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.m-split-steps { grid-template-columns: .85fr 1.15fr; }
.m-split-head { align-items: end; }
.m-split-head .m-copy { margin-top: 0; }
.m-split-pay { grid-template-columns: .8fr 1.2fr; }

/* Next-step cards */
.m-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.m-step-card { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 24px 22px 54px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #fff; box-shadow: var(--m-shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.m-step-card:hover { transform: translateY(-6px); border-color: rgba(26,134,150,.35); box-shadow: 0 22px 40px rgba(13,42,71,.12); }
.m-step-card small { color: var(--m-teal); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.m-step-icon { width: 30px; height: 30px; margin: 18px 0 14px; color: var(--m-teal); stroke-width: 1.5; }
.m-step-card strong { color: var(--m-navy); font: 700 21px/1.15 var(--m-serif); }
.m-step-card span { margin-top: 10px; color: var(--m-muted); font-size: 13.5px; line-height: 1.55; }
.m-step-arrow { position: absolute; right: 20px; bottom: 20px; width: 18px; height: 18px; color: var(--m-navy); transition: transform .25s ease; }
.m-step-card:hover .m-step-arrow { transform: translateX(4px); color: var(--m-teal); }

/* Pillars */
.m-pillars { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--m-line); }
.m-pillars article { padding: 36px 28px 8px; border-left: 1px solid var(--m-line); }
.m-pillars article:first-child { border-left: 0; padding-left: 0; }
.m-icon-badge { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--m-tint-2); color: var(--m-teal); }
.m-icon-badge svg { width: 21px; height: 21px; stroke-width: 1.8; }
.m-pillars h3 { margin: 18px 0 8px; color: var(--m-navy); font: 700 16px/1.3 var(--m-sans); letter-spacing: 0; }
.m-pillars p { margin: 0; color: var(--m-muted); font-size: 14px; line-height: 1.6; }

/* Navy band */
.m-band { position: relative; overflow: hidden; padding: 84px 0; background: linear-gradient(115deg, var(--m-navy-deep), var(--m-navy) 60%, #164a6f); color: #fff; }
.m-band::after { content: ''; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(127,211,220,.06); }
.m-band .m-copy { margin-top: 0; }
.m-band .m-wrap { position: relative; z-index: 1; }

/* Scholarship partner */
.m-inline-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.m-partner { height: 56px; width: auto; }

/* Photo band */
.m-photo-band { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 460px; background: var(--m-navy-deep); }
.m-photo-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 92% center; }
.m-photo-band-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,32,56,.94) 0%, rgba(10,32,56,.8) 38%, rgba(10,32,56,.15) 72%); }
.m-photo-band-copy { position: relative; z-index: 1; padding: 80px 0; }
.m-photo-band-copy .m-copy { max-width: 420px; }

/* News list */
.m-news-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.m-news-list { border-top: 1px solid var(--m-line); }
.m-news-list a { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 22px 6px; border-bottom: 1px solid var(--m-line); transition: background .2s ease, padding .2s ease; }
.m-news-list a:hover { background: var(--m-tint); padding-left: 14px; padding-right: 14px; }
.m-news-list b { text-transform: uppercase; color: var(--m-teal); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.m-news-list strong { display: block; color: var(--m-navy); font-size: 15.5px; font-weight: 700; }
.m-news-list span { display: block; margin-top: 4px; color: var(--m-muted); font-size: 13.5px; }
.m-news-list svg { width: 20px; height: 20px; color: var(--m-teal); transition: transform .2s ease; }
.m-news-list a:hover svg { transform: translate(3px, -3px); }

/* Feature / MCS Connect */
.m-feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 40px; border-radius: 18px; background: var(--m-tint); }
.m-media-card { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border: 6px solid #fff; border-radius: 12px; box-shadow: var(--m-shadow); background: var(--m-navy); }
.m-media-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% 85%; transition: transform .6s ease; }
.m-media-card:hover .m-media-img { transform: scale(1.04); }
.m-media-card::after { content: none; }
.m-play { position: absolute; z-index: 1; left: 50%; top: 45%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--m-navy); box-shadow: 0 10px 26px rgba(0,0,0,.25); transition: transform .25s ease; }
.m-play svg { width: 22px; height: 22px; margin-left: 3px; fill: currentColor; }
.m-media-card:hover .m-play { transform: translate(-50%, -50%) scale(1.08); }
.m-media-caption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 12px 18px; background: rgba(13,42,71,.94); color: #fff; }
.m-media-caption strong { display: block; font: 700 18px/1.2 var(--m-serif); }
.m-media-caption span { color: #cfdbe6; font-size: 12px; }

/* Payments */
.m-pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.m-pay-grid a { display: flex; flex-direction: column; gap: 8px; padding: 6px 26px; border-left: 1px solid var(--m-line); transition: color .2s ease; }
.m-pay-grid svg { width: 22px; height: 22px; color: var(--m-teal); stroke-width: 1.7; margin-bottom: 6px; }
.m-pay-grid strong { color: var(--m-navy); font-size: 14.5px; }
.m-pay-grid span { color: var(--m-muted); font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.m-pay-grid a:hover strong { color: var(--m-teal); }

/* Contact panel */
.m-contact { display: grid; grid-template-columns: 1fr 1fr auto; gap: 40px; align-items: center; padding: 44px 48px; border-radius: 18px; background: var(--m-tint); }
.m-contact-lines { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.m-contact-lines li { display: flex; align-items: flex-start; gap: 12px; color: var(--m-ink); font-size: 14px; line-height: 1.5; }
.m-contact-lines svg { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 2px; color: var(--m-teal); }
.m-contact-lines a:hover { color: var(--m-teal); }

/* ---------- Footer ---------- */
footer.m-footer { position: relative; overflow: hidden; padding: 72px 0 0; background: var(--m-navy-deep); color: #c9d6e2; }
footer.m-footer::after { content: ''; position: absolute; right: -180px; top: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(127,211,220,.10), rgba(127,211,220,0) 70%); opacity: 1; }
.m-footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
.m-footer-brand p { max-width: 300px; margin: 18px 0 20px; font-size: 14px; line-height: 1.65; }
.m-footer-h { margin: 4px 0 18px; color: #fff; font: 700 13px/1 var(--m-sans); letter-spacing: .08em; text-transform: uppercase; }
.m-footer-grid > div > a:not(.m-brand) { display: block; margin-bottom: 11px; color: #c9d6e2; font-size: 14px; transition: color .2s ease; }
.m-footer-grid a:hover { color: var(--m-gold); }
.m-footer-contact, .m-footer-grid > div > a.m-footer-contact { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.m-footer-contact svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 3px; color: var(--m-teal-soft); }
.m-social { display: flex; gap: 10px; }
.m-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; font: 700 15px/1 Arial, sans-serif; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.m-social a:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-3px); }
.m-social svg { width: 15px; height: 15px; }
.m-footer-bottom { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255,255,255,.12); color: #9fb2c4; font-size: 12.5px; }
.m-footer-bottom em { color: var(--m-teal-soft); }
.m-footer-bottom span:last-child { display: inline-flex; gap: 18px; }
.m-footer-bottom a:hover { color: #fff; }


/* ---------- Inner pages ---------- */
.m-page-hero { position: relative; overflow: hidden; padding: 96px 0 88px; background: linear-gradient(115deg, var(--m-navy-deep), var(--m-navy) 60%, #164a6f); color: #fff; }
.m-page-hero::after { content: ''; position: absolute; right: -140px; top: -180px; width: 460px; height: 460px; border-radius: 50%; border: 64px solid rgba(127,211,220,.06); }
.m-page-hero .m-wrap { position: relative; z-index: 1; }
.m-page-title { font-size: clamp(40px, 5vw, 64px); }
.m-page-hero .m-copy { margin-bottom: 0; }
.m-page-hero .m-btn { margin-top: 28px; }
.m-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.m-card { padding: 30px 28px; border: 1px solid var(--m-line); border-radius: var(--m-radius); background: #fff; box-shadow: var(--m-shadow); }
.m-card h2 { margin: 20px 0 10px; color: var(--m-navy); font: 700 22px/1.2 var(--m-serif); }
.m-card p { color: var(--m-muted); font-size: 14.5px; line-height: 1.65; overflow-wrap: anywhere; }
.m-card p a { color: var(--m-navy); font-weight: 600; }
.m-card p a:hover { color: var(--m-teal); }
.m-icon-badge-lg { width: 54px; height: 54px; }
.m-icon-badge-lg svg { width: 24px; height: 24px; }
.m-icon-badge-lg img { width: 26px; height: 26px; object-fit: contain; }
.m-card-logo { display: inline-block; }
.m-card-logo img { height: 54px; width: auto; }
.m-pill { display: inline-block; margin-top: 14px; padding: 7px 12px; border-radius: 999px; background: var(--m-tint-2); color: var(--m-navy); font-size: 12.5px; font-weight: 600; overflow-wrap: anywhere; }
.m-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding: 44px 48px; border-radius: 18px; background: linear-gradient(115deg, var(--m-navy-deep), var(--m-navy)); }
.m-cta .m-eyebrow { margin-bottom: 10px; }

/* ---------- Contact form ---------- */
.m-form-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; margin-top: 56px; overflow: hidden; border-radius: 18px; box-shadow: var(--m-shadow); }
.m-form-intro { padding: 44px 40px; background: linear-gradient(140deg, var(--m-navy-deep), var(--m-navy)); }
.m-form-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; }
.m-form-phone svg { width: 20px; height: 20px; color: var(--m-gold); }
.m-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 40px; background: #fff; border: 1px solid var(--m-line); border-left: 0; border-radius: 0 18px 18px 0; }
.m-form label { display: grid; gap: 7px; color: var(--m-navy); font-size: 13px; font-weight: 600; }
.m-form label span { color: var(--m-muted); font-weight: 400; }
.m-form input, .m-form select, .m-form textarea { width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid #c9d7e0; border-radius: 8px; background: #fbfdfe; color: var(--m-ink); font: 400 15px/1.4 var(--m-sans); }
.m-form textarea { min-height: 140px; resize: vertical; }
.m-form input:focus, .m-form select:focus, .m-form textarea:focus { border-color: var(--m-teal); background: #fff; outline: 3px solid rgba(26,134,150,.18); outline-offset: 0; }
.m-form-wide, .m-form .m-btn, .m-form-status { grid-column: 1 / -1; }
.m-form .m-btn { justify-self: start; border: 0; }
.m-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-form-status { padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; }
.m-form-status.is-sent { background: #e6f6ee; color: #135c3a; }
.m-form-status.is-error { background: #fdecec; color: #8a1f1f; }

/* ---------- Calendar ---------- */
.m-news-list article { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--m-line); }
.m-news-list article b { color: var(--m-teal); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.m-news-list article strong { display: block; color: var(--m-navy); font-size: 15.5px; }
.m-news-list article span { display: block; margin-top: 4px; color: var(--m-muted); font-size: 13.5px; }

/* ---------- Standards document ---------- */
.m-doc { max-width: 860px; }
.standards-document { margin-bottom: 40px; padding: 40px 44px; border: 1px solid var(--m-line); border-radius: 18px; background: #fff; box-shadow: var(--m-shadow); }
.standards-doc-header { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--m-line); }
.standards-doc-header .eyebrow { margin-bottom: 12px; color: var(--m-teal); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.standards-doc-header h2 { color: var(--m-navy); font: 700 clamp(30px, 3.4vw, 42px)/1.1 var(--m-serif); }
.standards-doc-header h2 em { color: var(--m-teal); }
.standards-doc-header p:last-child { margin-top: 14px; color: var(--m-muted); line-height: 1.6; }
.standards-document section + section { margin-top: 30px; }
.standards-document h3 { margin-bottom: 12px; color: var(--m-navy); font: 700 22px/1.25 var(--m-serif); }
.standards-document h4 { margin: 20px 0 6px; color: var(--m-navy); font-size: 15px; }
.standards-document p, .standards-document li { color: #3d5266; font-size: 15px; line-height: 1.7; }
.standards-document ol { margin: 10px 0 0; padding-left: 22px; }
.standards-document li + li { margin-top: 8px; }
.standards-document a { color: var(--m-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.standards-contacts { margin: 18px 0; padding: 18px 20px; border-radius: 12px; background: var(--m-tint); }
.standards-contacts p + p { margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .m-nav { display: none; }
  .m-menu { display: block; }
  .m-menu-lang { display: block; }
}
@media (max-width: 980px) {
  .m-card-grid { grid-template-columns: 1fr; }
  .m-form-panel { grid-template-columns: 1fr; }
  .m-form { border-left: 1px solid var(--m-line); border-top: 0; border-radius: 0 0 18px 18px; }
  .m-split, .m-split-steps, .m-split-pay, .m-feature { grid-template-columns: 1fr; gap: 36px; }
  .m-pillars { grid-template-columns: repeat(2, 1fr); }
  .m-pillars article:nth-child(3) { border-left: 0; padding-left: 0; }
  .m-contact { grid-template-columns: 1fr 1fr; }
  .m-contact .m-btn { grid-column: 1 / -1; justify-self: start; }
  .m-footer-grid { grid-template-columns: 1fr 1fr; }
  .m-section { padding: 72px 0; }
  .m-section-tight { padding: 44px 0; }
}
@media (max-width: 720px) {
  .m-slide { align-items: flex-end; }
  .m-page-hero { padding: 64px 0 56px; }
  .m-cta { padding: 30px 24px; }
  .m-form, .m-form-intro { padding: 28px 22px; }
  .m-form { grid-template-columns: 1fr; }
  .m-news-list article { grid-template-columns: 1fr; gap: 6px; }
  .standards-document { padding: 26px 20px; }
  .m-wrap { width: calc(100% - 32px); }
  .m-utility-address, .m-utility-mail { display: none !important; }
  .m-utility .m-wrap { justify-content: flex-end; }
  .m-navrow { min-height: 66px; gap: 12px; }
  .m-brand img { width: 42px; height: 42px; }
  .m-brand span { font-size: 13px; }
  .m-nav-tools .m-btn { display: none; }
  .m-hero { min-height: 560px; align-items: flex-end; }
  .m-hero-img { object-position: 58% center; }
  .m-hero-shade { background: linear-gradient(180deg, rgba(10,32,56,.15) 0%, rgba(10,32,56,.7) 45%, rgba(10,32,56,.95) 100%); }
  .m-hero-content { padding: 140px 0 84px; }
  .m-slide.is-poster .m-hero-img { object-fit: cover; object-position: center; }
  .m-trust .m-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .m-trust span { font-size: 10.5px; letter-spacing: .08em; }
  .m-step-grid { grid-template-columns: 1fr; }
  .m-step-card { min-height: 0; }
  .m-pillars { grid-template-columns: 1fr; }
  .m-pillars article, .m-pillars article:nth-child(3) { border-left: 0; padding: 26px 0 0; }
  .m-news-head { flex-direction: column; align-items: flex-start; }
  .m-news-list a { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .m-news-list b { grid-column: 1 / -1; }
  .m-news-list svg { grid-row: 2; grid-column: 2; }
  .m-feature { padding: 22px; }
  .m-pay-grid { grid-template-columns: 1fr; gap: 18px; }
  .m-pay-grid a { border-left: 0; padding: 0 0 18px; border-bottom: 1px solid var(--m-line); }
  .m-contact { grid-template-columns: 1fr; padding: 30px 24px; gap: 26px; }
  .m-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .m-photo-band-shade { background: linear-gradient(90deg, rgba(10,32,56,.92), rgba(10,32,56,.7)); }
  .m-photo-band-img { object-position: 85% center; }
}
@media (prefers-reduced-motion: reduce) {
  .m-slide, .m-slide.is-active .m-hero-img, .m-slide.is-active .m-hero-copy { animation: none; transition: none; }
  .m-btn, .m-btn svg, .m-step-card, .m-media-img { transition: none; }
}

/* Lists, footer extras */
.m-list-block { margin-top: 56px; padding: 40px 44px; border-radius: 18px; background: var(--m-tint); }
.m-check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin: 24px 0 0; padding: 0; list-style: none; }
.m-check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--m-ink); font-size: 15px; line-height: 1.5; }
.m-check-list .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--m-teal); stroke-width: 2.4; }
.m-footer-church { margin-top: -8px !important; font-size: 13.5px; }
.m-footer-church a { color: var(--m-teal-soft); text-decoration: underline; text-underline-offset: 3px; }
.m-footer-notice { position: relative; z-index: 1; margin-bottom: 18px; color: #8ea3b6; font-size: 12px; line-height: 1.55; }
@media (max-width: 720px) {
  .m-list-block { padding: 28px 22px; }
  .m-check-list { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .m-actions .m-btn, .m-cta .m-btn, .m-band .m-btn, .m-form .m-btn, .m-contact .m-btn, .m-news-head .m-btn { width: 100%; }
}
.m-menu-panel > a.m-menu-enroll { display: none; align-items: center; gap: 8px; margin-top: 6px; background: linear-gradient(180deg, #f9dd8f, #e9bb4d); color: var(--m-navy-deep); font-weight: 800; }
@media (max-width: 720px) { .m-menu-panel > a.m-menu-enroll { display: flex; } }
