:root {
  --navy: #0e2238;
  --navy-2: #183a56;
  --blue: #4da3d9;
  --blue-dark: #2e7fac;
  --ice: #eaf5fb;
  --snow: #f7fafc;
  --paper: #ffffff;
  --ink: #243241;
  --muted: #667788;
  --line: #dce6ed;
  --green: #1f6b52;
  --green-bg: #e9f4ef;
  --error: #a83a3a;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(14, 34, 56, 0.1);
  --shell: min(1220px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { max-width: 100%; font: inherit; }
button, select { cursor: pointer; }
input, select, textarea { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { margin-top: 0; color: var(--navy); letter-spacing: -0.04em; line-height: 1.08; }
p { margin-top: 0; }
.shell { width: var(--shell); margin-inline: auto; }
.narrow-shell { max-width: 900px; }
.section { padding: 88px 0; }
.section-tinted { background: var(--snow); }
.section-navy { background: var(--navy); color: #fff; }
.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;
}
.skip-link {
  position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 15px;
  border-radius: 8px; background: #fff; color: var(--navy); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  margin: 0 0 13px; color: var(--blue-dark); font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.button {
  display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 11px; font-size: 0.9rem;
  font-weight: 750; line-height: 1.2; text-decoration: none; transition: 180ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--navy); color: #fff; }
.button-primary:hover { background: var(--navy-2); }
.button-secondary { border-color: #cbd9e2; background: #fff; color: var(--navy); }
.button-secondary:hover { border-color: var(--blue); }
.button-light { background: #fff; color: var(--navy); }
.text-link { color: var(--navy); font-weight: 750; text-decoration: none; }
.text-link span { color: var(--blue-dark); }

/* Header */
.site-header {
  position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(14, 34, 56, 0.08);
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px);
}
.header-inner { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-size: 1.05rem; font-weight: 850; text-decoration: none; letter-spacing: -0.04em; }
.brand > span:last-child > span { color: var(--blue-dark); }
.brand-mark {
  position: relative; display: grid; width: 35px; height: 35px; place-items: center; overflow: hidden;
  border-radius: 50%; background: var(--navy);
}
.brand-mark::before, .brand-mark::after, .brand-mark > span {
  position: absolute; width: 17px; height: 17px; content: ""; transform: rotate(45deg);
}
.brand-mark::before { top: 3px; left: 2px; background: #fff; }
.brand-mark::after { right: 2px; bottom: 3px; background: var(--blue); }
.brand-mark > span { bottom: -5px; left: 9px; background: #d8ecf6; }
.primary-nav { display: flex; align-items: center; gap: 21px; }
.primary-nav > a:not(.nav-cta) { color: #415264; font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.primary-nav > a:not(.nav-cta):hover, .primary-nav > a[aria-current="page"] { color: var(--blue-dark); }
.primary-nav .nav-cta {
  display: inline-flex; min-height: 42px; align-items: center; padding: 0 18px; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 800; text-decoration: none;
}
.language-chip { display: inline-flex; align-items: center; gap: 4px; color: #647483; font-size: 0.76rem; font-weight: 750; }
.mobile-header-cta { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--snow); }
.menu-toggle > span:not(.sr-only) { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--navy); }

/* Home hero */
.home-hero-v3 {
  position: relative; padding: 62px 0 82px; overflow: hidden;
  background: radial-gradient(circle at 82% 14%, rgba(77, 163, 217, 0.15), transparent 25rem), linear-gradient(180deg, #fff, var(--snow));
}
.home-hero-v3::before {
  position: absolute; right: -160px; bottom: -260px; width: 540px; height: 540px;
  border: 1px solid rgba(77, 163, 217, 0.15); border-radius: 50%; content: "";
}
.home-hero-grid-v3 { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr); align-items: center; gap: 50px; }
.hero-copy-v3 { max-width: 660px; padding-bottom: 55px; }
.hero-copy-v3 .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero-copy-v3 .eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.hero-copy-v3 h1 { margin: 18px 0 20px; font-size: clamp(3.2rem, 5.7vw, 5.8rem); font-weight: 780; line-height: 0.98; letter-spacing: -0.06em; }
.hero-lead-v3 { max-width: 600px; color: #536474; font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.65; }
.hero-actions-v3 { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.home-hero-visual-v3 {
  position: relative; align-self: stretch; min-height: 500px; margin: 0; overflow: hidden;
  border-radius: 24px 24px 64px 24px; background: #dceaf2; box-shadow: var(--shadow);
}
.home-hero-visual-v3::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 34, 56, 0.63)); content: ""; }
.home-hero-visual-v3 img { width: 100%; height: 100%; min-height: 500px; object-fit: cover; object-position: 58% center; }
.home-hero-visual-v3 figcaption {
  position: absolute; z-index: 1; right: 26px; bottom: 24px; left: 26px; display: flex;
  align-items: end; justify-content: space-between; gap: 20px; color: #fff;
}
.home-hero-visual-v3 figcaption strong { max-width: 140px; font-size: 1.14rem; }
.home-hero-visual-v3 figcaption span { max-width: 205px; color: rgba(255,255,255,.82); font-size: .8rem; text-align: right; }
.home-search-panel-v3 {
  grid-column: 1 / -1; margin-top: -46px; padding: 24px; border: 1px solid rgba(14,34,56,.08);
  border-radius: 18px; background: #fff; box-shadow: 0 22px 60px rgba(14,34,56,.12);
}
.search-panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.search-panel-heading span { padding: 5px 9px; border-radius: 7px; background: var(--ice); color: var(--blue-dark); font-size: .67rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.search-panel-heading strong { color: var(--navy); font-size: .9rem; }
.hero-search { display: grid; grid-template-columns: 1.2fr .88fr .9fr 1fr .75fr auto; align-items: end; gap: 10px; }
.field-group, .form-field { display: grid; gap: 6px; min-width: 0; }
.field-group label, .form-field label { color: #536474; font-size: .73rem; font-weight: 760; }
.hero-search select, .hero-search input, .filter-bar select, .match-form-v3 select, .match-form-v3 input,
.application-form input, .application-form select, .application-form textarea {
  width: 100%; min-height: 50px; padding: 0 13px; border: 1px solid #d6e2e9; border-radius: 10px;
  background: #fbfdfe; color: var(--navy); font-size: .87rem;
}
.hero-search input[type="date"], .match-form-v3 input[type="date"] { min-width: 0; }
.hero-search-button { min-height: 50px; white-space: nowrap; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 16px; color: #657584; font-size: .77rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust b { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--green-bg); color: var(--green); font-size: .7rem; }

/* Shared sections */
.section-heading { max-width: 740px; margin-bottom: 38px; }
.section-heading h2, .section-heading-row h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.2rem); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.resort-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.resort-card-v3 {
  position: relative; min-height: 220px; padding: 24px; overflow: hidden; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; text-decoration: none; transition: 180ms ease;
}
.resort-card-v3:hover { border-color: #aed4e9; transform: translateY(-3px); box-shadow: 0 18px 45px rgba(14,34,56,.08); }
.resort-card-v3::after { position: absolute; right: -36px; bottom: -48px; width: 145px; height: 145px; border-radius: 50%; background: var(--ice); content: ""; }
.resort-marker { position: absolute; top: 22px; right: 22px; color: #a5b2bd; font-size: .7rem; font-weight: 800; }
.resort-pin { display: grid; width: 42px; height: 42px; margin-bottom: 26px; place-items: center; border-radius: 11px; background: var(--ice); color: var(--blue-dark); font-size: 1.3rem; }
.resort-card-v3 small { color: var(--muted); font-size: .72rem; font-weight: 720; letter-spacing: .08em; text-transform: uppercase; }
.resort-card-v3 h3 { margin: 5px 0 17px; font-size: 1.45rem; }
.card-link { position: relative; z-index: 1; color: var(--navy); font-size: .82rem; font-weight: 780; }
.card-link b { margin-left: 5px; color: var(--blue-dark); }
.empty-state-v3 {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 27px;
  border: 1px dashed #bfd1dc; border-radius: var(--radius); background: #fff;
}
.empty-state-icon { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 14px; background: var(--ice); color: var(--blue-dark); font-size: 1.7rem; }
.empty-state-v3 h3 { margin-bottom: 5px; font-size: 1.16rem; }
.empty-state-v3 p { max-width: 680px; margin: 0; color: var(--muted); font-size: .9rem; }
.instructor-list-v3 { display: grid; gap: 12px; }
.instructor-row { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 22px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.instructor-row img, .profile-initials { width: 112px; height: 112px; border-radius: 13px; object-fit: cover; }
.profile-initials { display: grid; place-items: center; background: var(--ice); color: var(--navy); font-size: 1.4rem; font-weight: 800; }
.instructor-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.instructor-title-line h3 { margin: 0; font-size: 1.3rem; }
.verified-label { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: .68rem; font-weight: 800; }
.instructor-row-main > p { margin: 5px 0; color: var(--muted); font-size: .86rem; }
.tag-line { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-line span { padding: 4px 7px; border-radius: 6px; background: var(--snow); color: #566676; font-size: .7rem; }
.quick-option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.quick-option-grid > a { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; transition: 180ms ease; }
.quick-option-grid > a:hover { border-color: #aed4e9; transform: translateY(-2px); }
.quick-option-grid > a > span { display: grid; width: 42px; height: 42px; margin-bottom: 30px; place-items: center; border-radius: 11px; background: var(--ice); color: var(--blue-dark); }
.quick-option-grid h3 { margin-bottom: 9px; font-size: 1.18rem; }
.quick-option-grid p { min-height: 66px; color: var(--muted); font-size: .84rem; }
.quick-option-grid b { color: var(--blue-dark); font-size: .79rem; }
.process-v3 { display: grid; grid-template-columns: .78fr 1.22fr; gap: 70px; align-items: start; }
.process-v3 .eyebrow { color: #89c5e8; }
.process-v3 h2 { color: #fff; font-size: clamp(2.3rem, 4vw, 3.7rem); }
.process-v3 ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.process-v3 li { display: grid; grid-template-columns: 50px 1fr; gap: 17px; padding: 21px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.process-v3 li > span { color: #85bfdc; font-size: .75rem; font-weight: 800; }
.process-v3 h3 { margin-bottom: 5px; color: #fff; font-size: 1.18rem; }
.process-v3 p { margin: 0; color: #b9c8d3; font-size: .87rem; }
.match-banner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; padding: 44px; border-radius: 22px; background: linear-gradient(135deg, var(--navy), #1c4b6b); color: #fff; }
.match-banner .eyebrow { color: #91cbe9; }
.match-banner h2 { margin-bottom: 10px; color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.match-banner p { max-width: 720px; margin: 0; color: #c7d5df; }
.why-v3 { display: grid; grid-template-columns: .7fr 1.3fr; gap: 55px; }
.why-v3 > div:first-child h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.why-v3 > div:first-child p { color: var(--muted); }
.why-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.why-card-grid article { padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.why-card-grid article > span { display: grid; width: 37px; height: 37px; margin-bottom: 22px; place-items: center; border-radius: 10px; background: var(--ice); color: var(--blue-dark); }
.why-card-grid h3 { margin-bottom: 8px; font-size: 1rem; }
.why-card-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.instructor-cta-v3 { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 42px; border: 1px solid #cfe0e9; border-radius: 21px; background: linear-gradient(135deg, #f7fbfd, #eaf5fb); }
.instructor-cta-v3 h2 { margin-bottom: 9px; font-size: clamp(2rem, 3.4vw, 3rem); }
.instructor-cta-v3 p { max-width: 720px; margin: 0; color: var(--muted); }
.home-guide-v3 { border-top: 1px solid var(--line); }
.guide-promo-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.guide-promo-grid h2 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); }
.guide-promo-grid > div:first-child p:not(.eyebrow) { color: var(--muted); }
.guide-link-list { display: grid; }
.guide-link-list a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.guide-link-list span { color: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.guide-link-list strong { color: var(--navy); }
.guide-link-list b { color: var(--blue-dark); }
.faq-section-v3 { border-top: 1px solid var(--line); }
.faq-layout { display: grid; grid-template-columns: .55fr 1.45fr; gap: 70px; }
.faq-list-v3 details { border-bottom: 1px solid var(--line); }
.faq-list-v3 summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 0; color: var(--navy); font-weight: 740; cursor: pointer; list-style: none; }
.faq-list-v3 summary::-webkit-details-marker { display: none; }
.faq-list-v3 summary span { color: var(--blue-dark); font-size: 1.3rem; }
.faq-list-v3 details[open] summary span { transform: rotate(45deg); }
.faq-list-v3 details p { max-width: 750px; padding: 0 0 20px; color: var(--muted); }

/* Pages and landing */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 27px; color: #748390; font-size: .74rem; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs span[aria-hidden="true"] { color: #aab7c0; }
.page-hero-v3, .page-hero, .apply-hero { padding: 70px 0 92px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--snow)); }
.page-hero-v3 h1, .page-hero h1, .apply-hero h1 { margin-bottom: 18px; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .98; }
.page-lead-v3, .page-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.24rem); }
.result-section-v3 { padding: 0 0 88px; }
.filter-shell { position: relative; z-index: 2; margin-top: -30px; margin-bottom: 56px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fff; box-shadow: 0 16px 50px rgba(14,34,56,.08); }
.filter-bar { display: grid; grid-template-columns: 1fr .9fr .9fr .9fr .9fr auto; align-items: end; gap: 9px; }
.filter-bar select { min-height: 46px; }
.filter-bar .button { min-height: 46px; }
.result-title { margin-bottom: 25px; }
.result-count { padding: 7px 10px; border-radius: 999px; background: var(--green-bg); color: var(--green); font-size: .72rem; font-weight: 800; }
.editorial-v3 { background: var(--snow); }
.editorial-layout-v3 { display: grid; grid-template-columns: .62fr 1.38fr; gap: 65px; align-items: start; }
.editorial-layout-v3 aside { position: sticky; top: 110px; }
.editorial-layout-v3 aside h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.editorial-layout-v3 aside p:not(.eyebrow) { color: var(--muted); font-size: .86rem; }
.editorial-articles-v3 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editorial-articles-v3 article { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.editorial-articles-v3 h3 { margin-bottom: 10px; font-size: 1.13rem; }
.editorial-articles-v3 p { margin: 0; color: var(--muted); font-size: .86rem; }
.directory-notice, .truth-note { margin-top: 28px; padding: 18px 20px; border-left: 3px solid var(--blue); border-radius: 0 10px 10px 0; background: var(--snow); }
.directory-notice p, .truth-note p { margin: 4px 0 0; color: var(--muted); font-size: .86rem; }
.guide-directory { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-directory > a { display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.guide-directory > a:hover { border-color: #acd4e9; }
.guide-directory > a > span { color: var(--blue-dark); font-size: .74rem; font-weight: 800; }
.guide-directory h2 { margin-bottom: 6px; font-size: 1.3rem; }
.guide-directory p { margin: 0; color: var(--muted); font-size: .86rem; }
.guide-directory b { color: var(--blue-dark); }

/* Match */
.match-hero .truth-note { max-width: 720px; }
.match-section { background: var(--snow); }
.match-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; }
.match-form-v3 { display: grid; gap: 16px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.match-form-v3 fieldset, .application-form fieldset { min-width: 0; margin: 0; padding: 0 0 22px; border: 0; border-bottom: 1px solid var(--line); }
.match-form-v3 legend, .application-form legend { width: 100%; margin-bottom: 16px; color: var(--navy); font-size: 1rem; font-weight: 800; }
.match-form-v3 legend span { margin-right: 8px; color: var(--blue-dark); font-size: .72rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.match-summary { position: sticky; top: 105px; padding: 27px; border-radius: 18px; background: var(--navy); color: #fff; }
.match-summary .eyebrow { color: #8bc8e8; }
.match-summary h2 { color: #fff; font-size: 1.6rem; }
.match-summary p { color: #c5d3dd; }
.match-summary .text-link { color: #fff; }
.match-results { margin-top: 28px; }

/* Partner / marketplace / support */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.partner-grid article, .marketplace-category-grid article { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); }
.partner-grid article > span, .marketplace-category-grid article > span { color: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.partner-grid h2, .marketplace-category-grid h2 { margin: 28px 0 9px; font-size: 1.25rem; }
.partner-grid p, .marketplace-category-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.partner-cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; margin-top: 24px; padding: 32px; border-radius: 17px; background: var(--snow); }
.partner-cta h2 { margin-bottom: 6px; }
.partner-cta p { margin: 0; color: var(--muted); }
.marketplace-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; }
.marketplace-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.marketplace-callout { padding: 32px; border-radius: 18px; background: var(--navy); color: #fff; }
.marketplace-callout .eyebrow { color: #8cc8e7; }
.marketplace-callout h2 { color: #fff; font-size: 2rem; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.support-grid > a { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.support-grid span { color: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.support-grid h2 { margin: 28px 0 9px; font-size: 1.28rem; }
.support-grid p { min-height: 78px; color: var(--muted); font-size: .86rem; }
.support-grid b { color: var(--blue-dark); font-size: .79rem; }

/* Existing profile and application flow */
.apply-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.apply-value-grid article { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); }
.apply-value-grid article > span { color: var(--blue-dark); font-size: .72rem; font-weight: 800; }
.apply-value-grid h2 { margin: 25px 0 8px; font-size: 1.25rem; }
.apply-value-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.section-dark { padding: 86px 0; background: var(--navy); color: #fff; }
.verification-section h2, .verification-section h3 { color: #fff; }
.verification-section p { color: #c3d2dc; }
.process-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 65px; }
.process-list { margin: 0; padding: 0; list-style: none; }
.process-list li { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-list li > span { color: #8bc6e6; font-size: .72rem; font-weight: 800; }
.process-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.process-list p { margin: 0; font-size: .85rem; }
.application-layout { display: grid; grid-template-columns: .6fr 1.4fr; gap: 55px; align-items: start; }
.application-intro { position: sticky; top: 105px; }
.application-intro h2 { font-size: 2.4rem; }
.application-intro p { color: var(--muted); }
.application-form-wrap { padding: 29px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.application-form { display: grid; gap: 26px; }
.application-form textarea { min-height: 130px; padding-top: 12px; resize: vertical; }
.application-form fieldset { display: grid; gap: 14px; }
.application-form label span { color: #85929d; font-weight: 500; }
.choice-group { display: grid; gap: 10px; }
.choice-group > span { color: var(--navy); font-size: .82rem; font-weight: 760; }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-grid label { cursor: pointer; }
.choice-grid input {
  position: absolute; width: 1px; height: 1px; min-height: 1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none;
}
.choice-grid label span { display: inline-flex; padding: 8px 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-size: .8rem; font-weight: 650; }
.choice-grid input:checked + span { border-color: var(--blue); background: var(--ice); color: var(--navy); }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .82rem; }
.consent input { width: 17px; min-height: 17px; margin-top: 4px; }
.field-help, .application-disclaimer { color: var(--muted); font-size: .75rem; }
.field-help { display: flex; justify-content: space-between; gap: 12px; margin: 4px 0 0; }
.field-error { margin: 2px 0 0; color: var(--error); font-size: .75rem; }
.honeypot { position: absolute; left: -9999px; }
.other-resort[hidden] { display: none; }
.success-banner, .error-summary { display: grid; grid-template-columns: auto 1fr; gap: 13px; margin-bottom: 20px; padding: 17px; border-radius: 10px; }
.success-banner { background: var(--green-bg); color: var(--green); }
.error-summary { background: #f9eaea; color: var(--error); }
.success-banner h2, .error-summary strong { margin: 0; color: inherit; font-size: 1rem; }
.success-banner p, .error-summary p { margin: 3px 0 0; font-size: .82rem; }
.profile-hero { padding: 72px 0; background: var(--snow); }
.profile-grid { display: grid; grid-template-columns: 330px 1fr; gap: 48px; align-items: start; }
.profile-photo-wrap img, .profile-photo-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; object-fit: cover; }
.profile-photo-placeholder { display: grid; place-items: center; background: var(--ice); color: var(--navy); font-size: 4rem; font-weight: 800; }
.profile-main h1 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.profile-meta span { padding: 6px 9px; border-radius: 7px; background: #fff; color: var(--muted); font-size: .75rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.profile-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.profile-details article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.profile-details h2 { font-size: 1.25rem; }
.profile-details p, .profile-details li { color: var(--muted); font-size: .86rem; }

/* Simple and error pages */
.prose-page { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prose-page article { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); }
.prose-page h2 { font-size: 1.25rem; }
.prose-page p { margin: 0; color: var(--muted); }
.error-page { display: grid; min-height: 70vh; place-items: center; padding: 70px 0; background: var(--snow); }
.error-inner { max-width: 760px; text-align: center; }
.error-inner > span { display: block; color: var(--blue); font-size: 5rem; font-weight: 900; line-height: 1; }
.error-inner h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.error-inner p { color: var(--muted); }
.error-inner > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 25px; }

/* Footer */
.site-footer { padding: 70px 0 24px; background: #091c2d; color: #b9c8d3; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, .85fr); gap: 45px; }
.brand-footer { color: #fff; }
.footer-intro p { max-width: 340px; color: #9fb0bd; font-size: .83rem; }
.footer-intro .ecosystem-note { color: #7fb9dc; font-size: .72rem; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.footer-grid h2 { margin-bottom: 17px; color: #fff; font-size: .79rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid > div:not(.footer-intro) { display: grid; align-content: start; gap: 9px; }
.footer-grid a, .footer-language { color: #aebec9; font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p, .footer-bottom a { margin: 0; color: #8498a7; font-size: .72rem; text-decoration: none; }

/* Public language selector and Arabic reading direction. */
.language-switcher { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.language-switcher a { display: grid; min-width: 28px; height: 27px; place-items: center; padding: 0 6px; border-radius: 999px; color: var(--muted); font-size: .66rem; font-weight: 850; text-decoration: none; }
.language-switcher a:hover { color: var(--navy); }
.language-switcher a[aria-current="page"] { background: var(--navy); color: #fff; }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .market-card-cta,
html[dir="rtl"] .button,
html[dir="rtl"] select { text-align: center; }
html[dir="rtl"] .primary-nav,
html[dir="rtl"] .market-card-title,
html[dir="rtl"] .market-card-bottom,
html[dir="rtl"] .section-heading-row,
html[dir="rtl"] .footer-bottom { direction: rtl; }
html[dir="rtl"] .breadcrumbs { direction: rtl; }
html[dir="rtl"] .profile-market-sections ul,
html[dir="rtl"] .content-grid ul,
html[dir="rtl"] .step-list { padding-right: 1.35rem; padding-left: 0; }
html[dir="rtl"] .directory-notice,
html[dir="rtl"] .truth-note { border-right: 3px solid var(--blue); border-left: 0; border-radius: 10px 0 0 10px; }

@media (max-width: 1100px) {
  .primary-nav { gap: 13px; }
  .primary-nav > a:not(.nav-cta) { font-size: .75rem; }
  .home-hero-grid-v3 { grid-template-columns: 1fr .82fr; gap: 28px; }
  .hero-search, .filter-bar { grid-template-columns: repeat(3, 1fr); }
  .hero-search-button, .filter-bar .button { width: 100%; }
  .quick-option-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner { gap: 8px; }
  .mobile-header-cta {
    display: inline-flex; min-height: 38px; align-items: center; margin-left: auto; padding: 0 11px; border-radius: 9px;
    background: var(--navy); color: #fff; font-size: .72rem; font-weight: 800; text-decoration: none;
  }
  .menu-toggle { display: block; order: 3; }
  .primary-nav {
    position: fixed; z-index: 110; top: 72px; right: 0; bottom: 0; display: none; width: min(390px, 100%);
    align-items: stretch; flex-direction: column; gap: 0; padding: 22px; overflow-y: auto; background: #fff; box-shadow: -20px 30px 50px rgba(14,34,56,.14);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.nav-cta) { padding: 14px 3px; border-bottom: 1px solid var(--line); font-size: .98rem; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 18px; }
  .language-chip { padding: 14px 3px; }
  .language-switcher { margin: 12px 0; align-self: flex-start; }
  .home-hero-v3 { padding: 42px 0 58px; }
  .home-hero-grid-v3 { grid-template-columns: 1fr; gap: 27px; }
  .hero-copy-v3 { max-width: none; padding-bottom: 0; }
  .hero-copy-v3 h1 { font-size: clamp(3rem, 10vw, 5rem); }
  .home-hero-visual-v3, .home-hero-visual-v3 img { min-height: 390px; }
  .home-search-panel-v3 { margin-top: -5px; }
  .resort-card-grid { grid-template-columns: 1fr 1fr; }
  .process-v3, .why-v3, .guide-promo-grid, .faq-layout, .editorial-layout-v3, .match-layout,
  .marketplace-layout, .application-layout, .process-grid { grid-template-columns: 1fr; gap: 35px; }
  .editorial-layout-v3 aside, .match-summary, .application-intro { position: static; }
  .match-banner, .instructor-cta-v3, .partner-cta { grid-template-columns: 1fr; }
  .partner-grid, .support-grid, .apply-value-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 260px 1fr; }
  .profile-details { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1220px); }
  .section { padding: 66px 0; }
  .section-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-copy-v3 h1 { font-size: clamp(2.75rem, 13vw, 4.25rem); }
  .hero-actions-v3 { display: grid; }
  .hero-actions-v3 .button { width: 100%; }
  .home-hero-visual-v3 { min-height: 310px; border-radius: 18px 18px 42px 18px; }
  .home-hero-visual-v3 img { min-height: 310px; }
  .home-hero-visual-v3 figcaption { align-items: flex-start; flex-direction: column; }
  .home-hero-visual-v3 figcaption span { text-align: left; }
  .home-search-panel-v3 { padding: 18px; }
  .search-panel-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .hero-search, .filter-bar, .form-grid { grid-template-columns: 1fr; }
  .hero-trust { align-items: flex-start; flex-direction: column; gap: 8px; }
  .resort-card-grid, .quick-option-grid, .why-card-grid, .editorial-articles-v3, .guide-directory,
  .marketplace-category-grid, .prose-page { grid-template-columns: 1fr; }
  .instructor-row { grid-template-columns: 82px 1fr; }
  .instructor-row img, .profile-initials { width: 82px; height: 82px; }
  .instructor-row .button { grid-column: 1 / -1; width: 100%; }
  .empty-state-v3 { grid-template-columns: 1fr; text-align: left; }
  .match-banner, .instructor-cta-v3 { padding: 28px; }
  .page-hero-v3, .page-hero, .apply-hero { padding: 50px 0 72px; }
  .page-hero-v3 h1, .page-hero h1, .apply-hero h1 { font-size: clamp(2.65rem, 13vw, 4.1rem); }
  .profile-grid, .profile-details { grid-template-columns: 1fr; }
  .profile-photo-wrap { max-width: 330px; }
  .application-form-wrap { padding: 20px; box-shadow: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-intro { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .brand { font-size: .96rem; }
  .brand-mark { width: 32px; height: 32px; }
  .header-inner { min-height: 66px; }
  .primary-nav { top: 66px; }
  .home-hero-v3 { padding-top: 34px; }
  .hero-copy-v3 .eyebrow { font-size: .62rem; }
  .home-hero-visual-v3, .home-hero-visual-v3 img { min-height: 280px; }
  .resort-card-v3 { min-height: 200px; }
  .guide-link-list a { grid-template-columns: 32px 1fr auto; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
