/* =========================================================================
   Study Abroad Network — website styles
   Brand: green + black from the logo · DM Serif Display + Plus Jakarta Sans
   ========================================================================= */
:root {
  --green: #1a9e4f;
  --green-600: #13843f;
  --green-700: #0f6b33;
  --green-50: #eef8f1;
  --green-100: #d9f0e1;
  --ink: #0e1a13;
  --ink-2: #34443b;
  --muted: #5e6c64;
  --line: #e1e8e3;
  --bg: #ffffff;
  --bg-soft: #f4f8f5;
  --dark: #0a1510;
  --dark-2: #12231a;
  --gold: #e3a93b;
  --gold-50: #fdf4e2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -24px rgba(10, 30, 18, .28);
  --shadow-sm: 0 2px 10px rgba(10, 30, 18, .06);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 90%;
  --surface: #ffffff;
  --header-bg: rgba(255, 255, 255, .96);
  --hero-from: #f3faf5;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
em.accent, .accent { color: var(--green); font-style: italic; }
::selection { background: var(--green-100); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.container { width: var(--container); max-width: none; margin: 0 auto; padding: 0; }
.container.narrow { max-width: 820px; }
.sr-only, .hp, .lead-form input.hp { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; border: 0 !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font: 700 .95rem/1.2 var(--sans); border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s, border-color .2s; text-align: center; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(26, 158, 79, .65); }
.btn-primary:hover { background: var(--green-600); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-ghost, .btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--green); color: var(--green-700); }
.btn-light { background: #fff; color: var(--green-700); }
.btn-light:hover { background: var(--green-50); color: var(--green-700); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 9px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- labels ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 680px; }
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .74rem; font-weight: 700; }
.pill-gold { background: var(--gold-50); color: #9a6a10; }
.cat-pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-size: .78rem; font-weight: 700; margin-bottom: 14px; }

/* ---------- top bar + header ---------- */
.sn-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 8px; }
.sn-skip:focus { left: 8px; }
.sn-topbar { background: var(--dark); color: rgba(255, 255, 255, .78); font-size: .82rem; }
.sn-topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.sn-top-left { display: flex; gap: 22px; flex-wrap: wrap; }
.sn-top-left a, .sn-top-left span { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.sn-top-left a:hover { color: #fff; }
.sn-top-left .ic { width: 14px; height: 14px; color: var(--green); }
.sn-social { display: inline-flex; gap: 6px; }
.sn-social a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: rgba(255, 255, 255, .8); }
.sn-social a:hover { background: var(--green); color: #fff; }
.sn-social .ic { width: 15px; height: 15px; }
.sn-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.sn-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(10, 30, 18, .35); }
.sn-nav { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.sn-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.sn-logo img { width: 52px; height: 52px; border-radius: 50%; }
.sn-word { display: flex; flex-direction: column; line-height: 1.05; }
.sn-word strong { font-family: var(--serif); font-weight: 400; font-size: 1.32rem; letter-spacing: .01em; color: var(--ink); }
.sn-word small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green); font-weight: 800; margin-top: 3px; }
.sn-links { display: flex; gap: 2px; margin-left: auto; }
.sn-link { padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .93rem; }
.sn-link:hover, .sn-link.is-active { color: var(--green-700); background: var(--green-50); }
.sn-actions { display: flex; align-items: center; gap: 10px; }
.sn-portal { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--ink); padding: 8px 10px; border-radius: 10px; white-space: nowrap; }
.sn-portal:hover { background: var(--green-50); color: var(--green-700); }
.sn-portal .ic { width: 17px; height: 17px; }
.sn-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.sn-burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.sn-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sn-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.sn-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sn-menu { border-top: 1px solid var(--line); background: var(--surface); padding: 10px 20px 22px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 78px); overflow-y: auto; }
.sn-menu[hidden] { display: none; }
.sn-mlink { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 14px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.sn-mlink .ic { width: 17px; height: 17px; }
.sn-mlink.is-active { color: var(--green); }
.sn-menu .btn { margin-top: 16px; }
@media (max-width: 1120px) { .sn-links { display: none; } .sn-burger { display: flex; } .sn-actions { margin-left: auto; } }
@media (max-width: 760px) { .hide-md { display: none !important; } }
@media (max-width: 620px) { .sn-topbar { display: none; } .sn-cta, .sn-portal { display: none; } .sn-word strong { font-size: 1.08rem; } .sn-logo img { width: 44px; height: 44px; } .sn-nav { min-height: 68px; } }

/* ---------- sections ---------- */
.section { padding: 92px 0; }
.section-tight { padding: 52px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-green { background: linear-gradient(135deg, var(--green-700), var(--green)); color: rgba(255, 255, 255, .85); }
.section-green h2, .section-green h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head .lead { margin-left: auto; margin-right: auto; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head.left .lead { margin-left: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head-row h2 { margin: 0; }
.section-head-row a { font-weight: 700; }
@media (max-width: 720px) { .section { padding: 64px 0; } .section-head { margin-bottom: 34px; } }

/* ---------- hero (home) ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 10%, rgba(26, 158, 79, .18), transparent 60%), linear-gradient(180deg, var(--hero-from) 0%, var(--bg) 100%); padding: 72px 0 84px; }
.hero::after { content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%; border: 2px dashed rgba(26, 158, 79, .18); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); margin-bottom: 20px; }
.hero h1 em { color: var(--green); }
.hero .lead { font-size: 1.18rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 30px 0 0; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .72rem; font-weight: 800; }
.hero-media { position: relative; }
.hero-media > img { border-radius: 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.2; object-fit: cover; width: 100%; }
.hero-badge { position: absolute; background: var(--surface); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; font-size: .86rem; line-height: 1.3; }
.hero-badge strong { display: block; color: var(--ink); font-size: 1.25rem; font-family: var(--serif); font-weight: 400; }
.hero-badge.b1 { left: -28px; bottom: 36px; }
.hero-badge.b2 { right: -18px; top: 30px; }
.hero-badge .hb-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--green-50); display: grid; place-items: center; font-size: 1.3rem; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero-badge.b1 { left: 12px; } .hero-badge.b2 { right: 12px; } .hero { padding: 48px 0 64px; } }

/* image hero (inner pages built with the builder) */
.hero-image { position: relative; color: #fff; background: var(--dark) center / cover no-repeat; padding: 120px 0; }
.hero-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 20, 12, .92) 25%, rgba(6, 20, 12, .45)); }
.hero-image .container { position: relative; }
.hero-image h1 { color: #fff; max-width: 760px; }
.hero-image .lead { color: rgba(255, 255, 255, .82); }
.hero-image .eyebrow { color: #7fe0a6; }

/* ---------- inner page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-50), var(--bg)); padding: 54px 0 46px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 12px; }
.page-hero .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.crumbs-light, .crumbs-light a { color: rgba(255, 255, 255, .7); }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .9rem; }
.post-cover { width: 100%; border-radius: var(--radius); margin: 34px 0 6px; box-shadow: var(--shadow-sm); }
.post-body { padding: 34px 0 10px; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; border-top: 1px solid var(--line); padding: 22px 0 60px; font-size: .9rem; }
.share-row span { font-weight: 700; color: var(--ink); margin-right: 6px; }
.share-row a { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.share-row a:hover { border-color: var(--green); color: var(--green-700); }
.preview-bar { background: var(--gold); color: #3a2a06; text-align: center; padding: 10px; font-weight: 700; font-size: .9rem; }
.preview-bar a { color: #3a2a06; text-decoration: underline; }

/* ---------- prose ---------- */
.prose { font-size: 1.05rem; color: var(--ink-2); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--green); }
.prose img { border-radius: var(--radius-sm); margin: 1.5em 0; }
.prose blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 4px solid var(--green); background: var(--green-50); border-radius: 0 12px 12px 0; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.page-body { padding: 48px 20px 80px; }

/* ---------- grids & cards used by builder blocks ---------- */
.grid { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* stats band */
.stats-band { background: var(--dark); color: #fff; padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 6px 10px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3rem); color: #fff; line-height: 1.1; }
.stat strong em { color: #5fd38a; font-style: normal; }
.stat span { font-size: .9rem; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.f-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--green-50); color: var(--green); display: grid; place-items: center; margin-bottom: 18px; font-size: 1.5rem; }
.f-ic svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }
.section-dark .feature { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.section-dark .feature p { color: rgba(255, 255, 255, .66); }
.section-dark .f-ic { background: rgba(95, 211, 138, .12); color: #5fd38a; }
@media (max-width: 960px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .feature-grid { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--green-50); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* split (text + image) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green-50); color: var(--green); display: grid; place-items: center; font-size: .75rem; font-weight: 800; }
.check-list.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.reverse > :first-child { order: 0; } .check-list.two { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 48px 52px; border-radius: 28px; background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, .18), transparent 60%), linear-gradient(120deg, var(--green-700), var(--green)); color: rgba(255, 255, 255, .9); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .btn-row { margin-top: 0; }
@media (max-width: 620px) { .cta-band { padding: 34px 24px; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--green-100); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--green); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div, .faq details > p { padding: 0 0 18px; color: var(--muted); }

/* credentials */
.cred-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cred { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.cred .c-badge { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 800; font-size: .8rem; margin-bottom: 8px; }
.cred strong { color: var(--ink); }
.cred span { font-size: .9rem; color: var(--muted); }
@media (max-width: 960px) { .cred-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cred-grid { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.gallery img:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.member { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.member .m-av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-family: var(--serif); font-size: 1.8rem; overflow: hidden; }
.member .m-av img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: 2px; }
.member p { margin: 0; font-size: .9rem; color: var(--muted); }

/* text blocks inserted by the builder */
.text-block { max-width: 820px; }
.text-block.center { margin: 0 auto; }
.spacer { height: 48px; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- dynamic blocks ---------- */
.sc-block { display: contents; }
.sc-empty { color: var(--muted); padding: 20px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }

/* destinations */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
@media (min-width: 1100px) { .dest-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.dest-card { position: relative; min-height: 280px; border-radius: 22px; overflow: hidden; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: center / cover no-repeat; background-color: var(--dark-2); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.dest-card.no-img { background: radial-gradient(400px 260px at 100% 0%, rgba(95, 211, 138, .35), transparent 60%), linear-gradient(160deg, #173525, #0a1510); }
.dest-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: #fff; }
.dc-tag { position: absolute; top: 18px; left: 18px; background: rgba(255, 255, 255, .95); color: var(--green-700); padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.dc-flag { font-size: 3.4rem; line-height: 1; margin-bottom: auto; align-self: flex-end; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.dc-body strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.dc-body span { display: block; font-size: .88rem; opacity: .8; margin-top: 4px; }
.dc-count { display: inline-block !important; margin-top: 10px !important; font-size: .76rem !important; font-weight: 700; background: rgba(95, 211, 138, .2); color: #8ff0b4; padding: 3px 10px; border-radius: 999px; opacity: 1 !important; }
.dc-go { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--green); font-weight: 800; transition: transform .2s; }
.dest-card:hover .dc-go { transform: translateX(3px); }
@media (max-width: 760px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dest-card { min-height: 230px; } }
@media (max-width: 460px) { .dest-grid { grid-template-columns: 1fr; } }

/* courses */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.course-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.course-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.course-card:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-2px); }
.cc-top { display: flex; align-items: center; gap: 12px; }
.cc-logo { width: 46px; height: 46px; border-radius: 12px; background: var(--green-50); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; }
.cc-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px; }
.cc-logo span { font-weight: 800; color: var(--green-700); font-size: .82rem; }
.cc-logo.lg { width: 84px; height: 84px; border-radius: 20px; }
.cc-logo.lg span { font-size: 1.3rem; }
.cc-inst { min-width: 0; flex: 1; line-height: 1.3; }
.cc-inst strong { display: block; color: var(--ink); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-inst span { font-size: .8rem; color: var(--muted); }
.course-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.course-card h3 a { color: var(--ink); }
.course-card h3 a:hover { color: var(--green-700); }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.cc-meta span { font-size: .76rem; font-weight: 600; padding: 4px 10px; background: var(--bg-soft); border-radius: 999px; color: var(--ink-2); }
.cc-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .88rem; }
.cc-fee { font-weight: 700; color: var(--ink); }
.cc-link { font-weight: 700; }
@media (max-width: 1060px) { .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .course-grid, .course-grid.two { grid-template-columns: 1fr; } }

/* institutes */
.inst-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.inst-card { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--ink); transition: box-shadow .2s, border-color .2s; }
.inst-card:hover { box-shadow: var(--shadow-sm); border-color: var(--green-100); color: var(--ink); }
.ic-logo { width: 58px; height: 58px; border-radius: 14px; background: var(--green-50); display: grid; place-items: center; overflow: hidden; flex: none; border: 1px solid var(--line); }
.ic-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 5px; }
.ic-logo span { font-weight: 800; color: var(--green-700); font-size: .86rem; }
.ic-body { min-width: 0; line-height: 1.35; }
.ic-body strong { display: block; font-size: .96rem; }
.ic-body span { display: block; font-size: .82rem; color: var(--muted); }
.ic-body em { display: inline-block; margin-top: 5px; font-style: normal; font-size: .74rem; font-weight: 700; color: var(--green-700); background: var(--green-50); padding: 2px 9px; border-radius: 999px; }

.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-weight: 700; font-size: .9rem; min-height: 64px; transition: border-color .2s, box-shadow .2s; }
.logo-chip:hover { border-color: var(--green-100); box-shadow: var(--shadow-sm); color: var(--ink); }
.logo-chip img { max-height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.lc-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex: none; }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.testi-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.t-stars { color: var(--gold); letter-spacing: 2px; }
.testi-card blockquote { margin: 0; color: var(--ink); font-size: 1.02rem; }
.testi-card figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi-card figcaption img, .t-av { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--green-50); color: var(--green-700); display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.testi-card figcaption strong { display: block; color: var(--ink); }
.testi-card figcaption small { color: var(--muted); }
@media (max-width: 960px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }

/* blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.post-card-media { aspect-ratio: 16 / 10; background: linear-gradient(140deg, var(--green-50), var(--green-100)); display: grid; place-items: center; overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-glyph { font-family: var(--serif); font-size: 2.8rem; color: var(--green-700); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-body .pill { align-self: flex-start; }
.post-card h3 { margin: 0; font-size: 1.12rem; line-height: 1.35; }
.post-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.post-card-meta { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--muted); }
.post-card.featured { grid-column: span 3; flex-direction: row; }
.post-card.featured .post-card-media { flex: 1.1; aspect-ratio: auto; min-height: 320px; }
.post-card.featured .post-card-body { flex: 1; padding: 34px; justify-content: center; }
.post-card.featured h3 { font-size: 1.7rem; font-family: var(--serif); font-weight: 400; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } .post-card.featured { grid-column: span 2; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .post-card.featured { grid-column: auto; flex-direction: column; } .post-card.featured .post-card-media { min-height: 200px; } }

/* filters (blog + institutes) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 26px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: .88rem; background: var(--surface); }
.chip small { color: var(--muted); }
.chip:hover { border-color: var(--green); color: var(--green-700); }
.chip.active { background: var(--green); border-color: var(--green); color: #fff; }
.chip.active small { color: rgba(255, 255, 255, .8); }
.inline-search { display: flex; gap: 8px; margin-left: auto; }
.inline-search input { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .9rem; min-width: 220px; }
@media (max-width: 640px) { .inline-search { margin-left: 0; width: 100%; } .inline-search input { flex: 1; min-width: 0; } }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 34px; }
.pager-info { color: var(--muted); font-size: .9rem; }

/* ---------- forms ---------- */
.lead-form { position: relative; background: var(--surface); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.lead-form h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; margin-bottom: 6px; }
.lf-sub { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.lead-form label, .filters-panel label { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink); }
.lf-full { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea, .filters-panel input, .filters-panel select, .course-search input, .course-search select {
  width: 100%; font: 500 .95rem/1.4 var(--sans); color: var(--ink); background: var(--bg-soft); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, background .2s; }
.lead-form textarea { resize: vertical; min-height: 90px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus, .filters-panel input:focus, .filters-panel select:focus, .course-search input:focus, .course-search select:focus { outline: none; border-color: var(--green); background: var(--surface); }
.lf-note { text-align: center; font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.lead-form-wide { max-width: 980px; margin: 0 auto; }
.lead-form-wide .lf-grid { grid-template-columns: repeat(3, 1fr); }
.form-ok { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-100); padding: 14px 16px; border-radius: 12px; font-weight: 600; margin-bottom: 16px; }
.form-err { background: #fdecea; color: #a1281b; border: 1px solid #f6c9c3; padding: 12px 14px; border-radius: 12px; font-weight: 600; margin-bottom: 14px; }
.lead-form.sent .lf-grid, .lead-form.sent button, .lead-form.sent .lf-note { display: none; }
@media (max-width: 760px) { .lead-form-wide .lf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lf-grid, .lead-form-wide .lf-grid { grid-template-columns: 1fr; } .lead-form { padding: 22px; } }
.section-dark .lead-form, .hero-image .lead-form, .section-green .lead-form { color: var(--ink-2); }

.course-search { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 10px; background: var(--surface); padding: 10px; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.course-search input, .course-search select { background: var(--bg-soft); }
@media (max-width: 860px) { .course-search { grid-template-columns: 1fr 1fr; } .cs-q { grid-column: 1 / -1; } .course-search .btn { grid-column: 1 / -1; } }

/* contact info */
.ci-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
.ci-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.ci-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-50); color: var(--green); display: grid; place-items: center; flex: none; }
.ci-ic .ic { width: 20px; height: 20px; }
.ci-card small { display: block; color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ci-card strong { color: var(--ink); font-size: .98rem; word-break: break-word; }
.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }
.map-ph { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

/* ---------- directory pages ---------- */
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.side-sticky { position: sticky; top: 100px; }
@media (max-width: 1000px) { .layout-side { grid-template-columns: 1fr; } .side-sticky { position: static; } }
.prose-block { margin: 0 0 46px; }
.prose-block h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.toc a { padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); font-weight: 600; font-size: .86rem; color: var(--ink-2); }
.toc a:hover { background: var(--green-50); color: var(--green-700); }
.dest-hero { color: #fff; padding: 56px 0 64px; background: var(--dark) center / cover no-repeat; }
.dest-hero.no-img { background: radial-gradient(800px 400px at 90% 0%, rgba(95, 211, 138, .25), transparent 60%), linear-gradient(160deg, #173525, #0a1510); }
.dest-hero h1 { color: #fff; margin-bottom: 14px; }
.dest-hero .lead { color: rgba(255, 255, 255, .8); }
.dh-flag { font-size: 3.6rem; line-height: 1; margin-bottom: 14px; }
.dh-facts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.dh-facts div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; padding: 12px 18px; min-width: 150px; }
.dh-facts small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .62); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.dh-facts strong { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-bottom: 30px; }
.fact { background: var(--bg-soft); border-radius: 14px; padding: 14px 16px; }
.fact small { display: block; font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-bottom: 2px; }
.fact strong { color: var(--ink); font-size: .98rem; }
.course-hero .ch-row { display: flex; gap: 22px; align-items: center; }
.course-hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 8px; }
.ch-inst { margin: 0; color: var(--muted); font-weight: 600; }
@media (max-width: 620px) { .course-hero .ch-row { flex-direction: column; align-items: flex-start; } }
.course-img { width: 100%; border-radius: var(--radius); margin-bottom: 26px; aspect-ratio: 16 / 7; object-fit: cover; }
.apply-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.apply-card h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.apply-card p { color: var(--muted); font-size: .93rem; margin: 0 0 6px; }
.save-form { margin: 0; }
.apply-wa { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; padding-top: 6px; color: #128c4a; }
.apply-wa .ic { width: 18px; height: 18px; }
.layout-filters { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 34px; align-items: start; }
.filters-panel { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.fp-check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 600 !important; }
.fp-check input { width: 18px; height: 18px; accent-color: var(--green); }
.fp-actions { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.fp-reset { font-size: .86rem; font-weight: 700; }
.filters-toggle { display: none; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sort-form select { font: 600 .88rem var(--sans); padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-left: 6px; }
.empty-state { text-align: center; padding: 50px 24px; border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state strong { display: block; font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.empty-state p { color: var(--muted); }
@media (max-width: 960px) {
  .layout-filters { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; margin-bottom: 12px; }
  .filters-panel { position: static; display: none; }
  .filters-panel.open { display: flex; }
}

/* ---------- footer ---------- */
.sn-footer { background: var(--dark); color: rgba(255, 255, 255, .66); padding: 76px 0 0; margin-top: 0; font-size: .93rem; }
.sn-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 36px; padding-bottom: 50px; }
.sn-fbrand p { margin: 18px 0 20px; max-width: 320px; }
.sn-logo-light .sn-word strong { color: #fff; }
.sn-logo-light img { background: #fff; }
.sn-social-lg a { width: 38px; height: 38px; background: rgba(255, 255, 255, .06); }
.sn-fcol h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.sn-fcol ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sn-fcol a { color: rgba(255, 255, 255, .7); }
.sn-fcol a:hover { color: #5fd38a; }
.sn-fcontact li { display: flex; gap: 10px; align-items: flex-start; }
.sn-fcontact .ic { width: 16px; height: 16px; color: #5fd38a; flex: none; margin-top: 4px; }
.sn-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; }
.sn-footer-bottom nav { display: flex; gap: 18px; }
.sn-footer-bottom a { color: rgba(255, 255, 255, .66); }
.sn-footer-bottom a:hover { color: #fff; }
@media (max-width: 1060px) { .sn-footer-grid { grid-template-columns: 1fr 1fr 1fr; } .sn-fbrand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .sn-footer-grid { grid-template-columns: 1fr 1fr; } .sn-fcontact { grid-column: 1 / -1; } }
.sn-wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6); transition: transform .2s; }
.sn-wa-float:hover { transform: scale(1.07); color: #fff; }
.sn-wa-float .ic { width: 30px; height: 30px; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } * { transition: none !important; } }
@media (max-width: 520px) { .hero-badge.b2 { display: none; } .hero-badge.b1 { left: 10px; bottom: 14px; } }

/* =========================================================================
   Dark mode — chosen with the sun/moon button in the header (remembered per browser)
   ========================================================================= */
:root[data-theme="dark"] {
  --green-50: #10251a;
  --green-100: #1d3d2b;
  --ink: #eef5f0;
  --ink-2: #c3d1c8;
  --muted: #8fa197;
  --line: #22362b;
  --bg: #0a130e;
  --bg-soft: #0f1c15;
  --surface: #122019;
  --dark: #050c08;
  --dark-2: #0d1a13;
  --gold-50: #2a2312;
  --header-bg: rgba(10, 19, 14, .94);
  --hero-from: #0f2018;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, .75);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .35);
  color-scheme: dark;
}
:where([data-theme="dark"]) a { color: #45c97c; }
:where([data-theme="dark"]) a:hover { color: #74dc9f; }
[data-theme="dark"] .sn-link:hover, [data-theme="dark"] .sn-link.is-active,
[data-theme="dark"] .sn-portal:hover { color: #74dc9f; }
[data-theme="dark"] .btn-dark { background: var(--ink); color: var(--dark); }
[data-theme="dark"] .btn-ghost:hover, [data-theme="dark"] .btn-outline:hover { border-color: #45c97c; color: #74dc9f; }
[data-theme="dark"] ::selection { background: #1f5c38; color: #fff; }
[data-theme="dark"] .sn-header.scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .8); }
[data-theme="dark"] .prose blockquote { background: var(--bg-soft); }
[data-theme="dark"] .builder-page [style*="background-color:#fff"],
[data-theme="dark"] .builder-page [style*="background:#fff"] { background-color: var(--surface) !important; }

/* ---------- header: theme switch ---------- */
.sn-theme { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; transition: border-color .2s, color .2s; }
.sn-theme:hover { border-color: var(--green); color: var(--green); }
.sn-theme svg { width: 19px; height: 19px; }
.sn-theme .i-sun { display: none; }
[data-theme="dark"] .sn-theme .i-sun { display: block; }
[data-theme="dark"] .sn-theme .i-moon { display: none; }

/* ---------- header: account menu ---------- */
.sn-account { position: relative; display: flex; align-items: center; }
.has-login .sn-account-anon { visibility: hidden; }
.sn-acc-btn { display: inline-flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .9rem/1 var(--sans); cursor: pointer; max-width: 230px; }
.sn-acc-btn:hover, .sn-acc-btn[aria-expanded="true"] { border-color: var(--green); }
.sn-acc-av { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 800; flex: none; }
.sn-acc-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-acc-btn .chev { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.sn-acc-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.sn-acc-menu { position: absolute; right: 0; top: calc(100% + 10px); min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.sn-acc-menu[hidden] { display: none; }
.sn-acc-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; line-height: 1.3; }
.sn-acc-head strong { display: block; color: var(--ink); font-size: .95rem; }
.sn-acc-head small { color: var(--muted); font-size: .8rem; word-break: break-all; }
.sn-acc-menu a, .sn-acc-menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font: 600 .9rem/1.2 var(--sans); background: none; border: 0; cursor: pointer; text-align: left; }
.sn-acc-menu a:hover, .sn-acc-menu button:hover { background: var(--green-50); color: var(--ink); }
.sn-acc-menu .ic { width: 17px; height: 17px; color: var(--muted); }
.sn-acc-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.sn-acc-menu form { margin: 0; }
.sn-acc-menu .is-danger { color: #d0453a; }
.sn-maccount { display: flex; flex-direction: column; }
.sn-maccount .sn-mhead { padding: 16px 6px 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sn-maccount form { margin: 0; }
.sn-maccount button.sn-mlink { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); font: 600 1rem var(--sans); cursor: pointer; text-align: left; }
@media (max-width: 620px) { .sn-account { display: none; } }

/* ---------- layout: columns from the page builder ---------- */
.cols-1 { grid-template-columns: minmax(0, 1fr); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .cols-5, .cols-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-5, .cols-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sn-row { display: flex; gap: 24px; align-items: stretch; width: 100%; }
.sn-row > .sn-col { flex: 1 1 0%; min-width: 0; }
.sn-row.gap-0 { gap: 0; } .sn-row.gap-sm { gap: 12px; } .sn-row.gap-lg { gap: 40px; }
.sn-row.v-top { align-items: flex-start; } .sn-row.v-center { align-items: center; } .sn-row.v-bottom { align-items: flex-end; }
.sn-col > :last-child { margin-bottom: 0; }
@media (max-width: 760px) {
  .sn-row:not(.no-stack) { flex-wrap: wrap; }
  .sn-row:not(.no-stack) > .sn-col { flex: 1 1 100% !important; max-width: 100%; }
}

.sn-acc-av.has-photo { padding: 0; overflow: hidden; background: var(--bg-soft); }
.sn-acc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* built-in country covers on the destination banner: whole image on the right */
.dest-hero.is-cover { background-color: #07110c; background-size: cover, auto 125%; background-position: center, right -40px center; background-repeat: no-repeat; }
@media (max-width: 760px) { .dest-hero.is-cover { background-size: cover, cover; background-position: center, center; } }
