
:root {
  --green-950: #0f172a;
  --green-900: #172554;
  --green-800: #1d4ed8;
  --green-700: #2563eb;
  --green-600: #3b82f6;
  --green-100: #dbeafe;
  --green-50: #eff6ff;
  --gold-500: #f59e0b;
  --gold-400: #fbbf24;
  --gold-100: #fef3c7;
  --cream: #fff7ed;
  --ink: #0f172a;
  --muted: #667085;
  --white: #ffffff;
  --line: rgba(91, 33, 182, .14);
  --shadow: 0 24px 70px rgba(30, 27, 75, .16);
  --shadow-soft: 0 15px 40px rgba(30, 27, 75, .09);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 34px;
  --container: min(1180px, calc(100% - 40px));
  --header-h: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 9999; top: 10px; left: 10px; transform: translateY(-150%);
  padding: 10px 15px; border-radius: 10px; background: white; color: var(--green-950);
  font-weight: 800; box-shadow: var(--shadow-soft);
}
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(3rem, 7vw, 6.4rem); }
h2 { margin-bottom: 22px; font-size: clamp(2.25rem, 4.8vw, 4.4rem); }
h3 { line-height: 1.3; }
p { color: var(--muted); }
.section { position: relative; padding: 104px 0; }
.section--cream { background: var(--cream); }
.section--dark { overflow: hidden; color: var(--white); background: var(--green-950); }
.section--dark::before {
  content: ""; position: absolute; width: 650px; height: 650px; top: -300px; right: -220px;
  border: 1px solid rgba(255,255,255,.07); border-radius: 50%;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 17px;
  color: var(--green-700); font-size: .75rem; font-weight: 900; letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold-500); }
.eyebrow--light { color: var(--gold-400); }
.section-heading {
  display: grid; grid-template-columns: 1.12fr .68fr; align-items: end;
  gap: 75px; margin-bottom: 52px;
}
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin: 0; font-size: 1.02rem; }
.section-heading--light h2 { color: var(--white); }
.section-heading--light p { color: rgba(255,255,255,.7); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 13px 22px; border: 1px solid transparent;
  border-radius: 999px; background: var(--green-800); color: var(--white);
  text-decoration: none; font-weight: 850; box-shadow: 0 12px 26px rgba(11,107,75,.2);
  transition: transform .24s ease, background .24s ease, box-shadow .24s ease;
}
.button:hover { transform: translateY(-2px); background: var(--green-950); box-shadow: 0 18px 35px rgba(11,107,75,.25); }
.button--small { min-height: 42px; padding: 9px 17px; font-size: .88rem; }
.button--gold { background: var(--gold-500); color: var(--green-950); box-shadow: 0 14px 30px rgba(238,185,76,.25); }
.button--gold:hover { background: var(--gold-400); }
.button--ghost { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.38); box-shadow: none; }
.button--ghost:hover { background: rgba(255,255,255,.16); }
.button--full { width: 100%; }

.topline { background: var(--green-950); color: rgba(255,255,255,.78); font-size: .8rem; }
.topline__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline p { margin: 0; color: inherit; }
.topline a { text-decoration: none; font-weight: 700; }
.site-header {
  position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px;
  color: var(--gold-500); background: var(--green-900); box-shadow: 0 10px 20px rgba(30,27,75,.20);
}
.brand__mark img { width: 42px; height: 42px; object-fit: contain; border-radius: 13px; }
.brand--logo-only .brand__mark { width: 58px; height: 58px; }
.brand--logo-only .brand__mark img { width: 50px; height: 50px; }
.brand--text-only { gap: 0; }
.brand strong { display: block; font-family: Georgia, serif; font-size: 1.12rem; color: var(--green-950); }
.brand small { display: block; font-size: .69rem; color: var(--muted); letter-spacing: .04em; }
.nav-menu { display: flex; align-items: center; gap: 27px; }
.nav-menu > a:not(.button) { position: relative; font-size: .88rem; font-weight: 750; text-decoration: none; }
.nav-menu > a:not(.button)::after {
  content: ""; position: absolute; right: 100%; bottom: -8px; left: 0; height: 2px;
  background: var(--gold-500); transition: right .25s ease;
}
.nav-menu > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; width: 45px; height: 45px; padding: 11px; border: 0; border-radius: 13px; background: var(--green-50); }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--green-950); }

.hero {
  position: relative; min-height: calc(100vh - 38px); display: flex; align-items: center;
  color: var(--white); overflow: hidden;
}
.hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
.hero__overlay {
  background:
    linear-gradient(90deg, rgba(30,27,75,.97) 0%, rgba(30,27,75,.84) 43%, rgba(30,27,75,.44) 72%, rgba(30,27,75,.24) 100%),
    linear-gradient(0deg, rgba(30,27,75,.48), transparent 45%);
}
.hero__orb { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; }
.hero__orb--one { width: 410px; height: 410px; top: 7%; right: -170px; animation: float 8s ease-in-out infinite; }
.hero__orb--two { width: 180px; height: 180px; right: 18%; bottom: 4%; animation: float 6s ease-in-out infinite reverse; }
.hero__content {
  position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.6fr);
  align-items: end; gap: 60px; padding-top: 100px; padding-bottom: 100px;
}
.hero__copy { max-width: 790px; }
.hero h1 { margin-bottom: 27px; text-shadow: 0 6px 35px rgba(0,0,0,.2); }
.hero h1 em { color: var(--gold-400); font-weight: 400; }
.hero__copy > p { max-width: 650px; margin-bottom: 32px; color: rgba(255,255,255,.8); font-size: 1.12rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 15px 24px; padding: 0; margin: 0; list-style: none; color: rgba(255,255,255,.82); font-size: .87rem; font-weight: 700; }
.hero__trust span { color: var(--gold-400); }
.hero-card {
  padding: 25px; border: 1px solid rgba(255,255,255,.5); border-radius: var(--radius);
  color: var(--ink); background: rgba(255,255,255,.94); backdrop-filter: blur(18px); box-shadow: var(--shadow);
}
.hero-card__head { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.hero-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--green-800); background: var(--green-100); font-size: 1.3rem; }
.hero-card__head small, .hero-card__head strong { display: block; }
.hero-card__head small { color: var(--muted); font-size: .69rem; letter-spacing: .1em; text-transform: uppercase; }
.hero-card__head strong { font-family: Georgia, serif; font-size: 1.05rem; }
.school-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 19px 0; }
.school-facts div { padding: 13px; border-radius: 13px; background: var(--green-50); }
.school-facts dt { color: var(--muted); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }
.school-facts dd { margin: 2px 0 0; color: var(--green-950); font-weight: 850; }
.hero-card > a { display: flex; align-items: center; justify-content: space-between; color: var(--green-800); font-size: .8rem; font-weight: 800; text-decoration: none; }
.scroll-cue { position: absolute; z-index: 3; bottom: 23px; left: 50%; width: 28px; height: 45px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 999px; background: var(--gold-400); transform: translateX(-50%); animation: scrollCue 1.8s infinite; }

.intro-band { padding: 36px 0; background: var(--green-100); }
.intro-band__inner { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 35px; }
.intro-band__arabic { border-right: 1px solid var(--line); color: var(--green-800); font-family: Georgia, serif; font-size: 2.2rem; text-align: center; }
.intro-band p { margin: 0; color: var(--green-950); font-size: 1.04rem; }

.split { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: 90px; }
.photo-stack { position: relative; padding: 0 70px 60px 0; }
.photo-stack__main { width: 100%; aspect-ratio: 4/4.25; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.photo-stack__small { position: absolute; right: 0; bottom: 0; width: 43%; aspect-ratio: 1/1.15; object-fit: cover; border: 9px solid var(--cream); border-radius: 25px; box-shadow: var(--shadow-soft); }
.photo-stack__note { position: absolute; bottom: 25px; left: 25px; padding: 13px 17px; border-radius: 17px; background: white; box-shadow: var(--shadow-soft); }
.photo-stack__note strong, .photo-stack__note span { display: block; }
.photo-stack__note span { color: var(--muted); font-size: .76rem; }
.split__copy > p { font-size: 1rem; }
.address-card { display: flex; align-items: flex-start; gap: 14px; padding: 18px; margin-top: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.address-card > span { color: var(--gold-500); font-size: 1.7rem; }
.address-card small, .address-card strong { display: block; }
.address-card small { color: var(--muted); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.address-card strong { font-size: .9rem; }

.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.feature-card { position: relative; overflow: hidden; min-height: 250px; padding: 32px 25px; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: .25s ease; }
.feature-card::after { content: ""; position: absolute; right: -35px; bottom: -45px; width: 120px; height: 120px; border-radius: 50%; background: var(--green-50); transition: .3s ease; }
.feature-card:hover { transform: translateY(-7px); border-color: rgba(11,107,75,.26); box-shadow: var(--shadow-soft); }
.feature-card:hover::after { transform: scale(1.25); }
.feature-card__number { position: absolute; top: 15px; right: 20px; color: rgba(91,33,182,.14); font-family: Georgia, serif; font-size: 2.8rem; font-weight: 800; }
.feature-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; border-radius: 17px; color: var(--green-800); background: var(--green-100); font-size: 1.4rem; }
.feature-card h3 { font-family: Georgia, serif; font-size: 1.25rem; }
.feature-card p { margin: 0; font-size: .89rem; }

.activity-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 18px; }
.activity-card { position: relative; grid-column: span 4; min-height: 360px; overflow: hidden; border-radius: var(--radius); background: #312e81; }
.activity-card.is-featured { grid-column: span 6; }
.activity-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.activity-card:hover img { transform: scale(1.055); }
.activity-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,28,21,.94), rgba(2,28,21,.02) 65%); }
.activity-card__content { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 25px; }
.activity-card small { color: var(--gold-400); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.activity-card h3 { margin: 5px 0 8px; color: white; font-family: Georgia, serif; font-size: 1.5rem; }
.activity-card p { margin: 0; color: rgba(255,255,255,.72); font-size: .85rem; }

.teacher-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 22px; }
.teacher-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow-soft); }
.teacher-card img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.teacher-card__body { padding: 24px; }
.teacher-card small { color: var(--green-700); font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.teacher-card h3 { margin: 7px 0 10px; font-family: Georgia, serif; font-size: 1.35rem; }
.teacher-card p { margin: 0; font-size: .9rem; }

.achievement-section { overflow: hidden; color: white; background: linear-gradient(130deg,var(--green-900),var(--green-950)); }
.achievement-list { display: grid; gap: 25px; }
.achievement-card { display: grid; grid-template-columns: minmax(250px,.7fr) 1fr; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.08); }
.achievement-card img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; }
.achievement-card__body { align-self: center; padding: clamp(30px,5vw,65px); }
.achievement-card small { color: var(--gold-400); font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.achievement-card h3 { margin: 10px 0 15px; font-family: Georgia,serif; font-size: clamp(2rem,4vw,3.4rem); }
.achievement-card p { color: rgba(255,255,255,.75); }
.achievement-card__meta { display: flex; gap: 10px; margin-bottom: 24px; }
.achievement-card__meta span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: .78rem; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.gallery-filters button { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--green-800); background: white; font-weight: 800; }
.gallery-filters button.is-active { border-color: var(--green-800); color: white; background: var(--green-800); }
.gallery-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: 19px; background: var(--green-50); }
.gallery-item.is-tall { grid-row: span 2; }
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(2,35,25,.78),transparent 56%); }
.gallery-item span { position: absolute; z-index: 2; right: 16px; bottom: 14px; left: 16px; color: white; font-size: .83rem; font-weight: 800; text-align: left; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 20px; }
.video-card { position: relative; overflow: hidden; min-height: 320px; padding: 0; border: 0; border-radius: var(--radius); background: var(--green-950); text-align: left; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .78; transition: transform .55s ease; }
.video-card:hover img { transform: scale(1.05); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(2,35,25,.93),transparent 62%); }
.video-card__play { position: absolute; z-index: 2; top: 25px; right: 25px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--green-950); background: var(--gold-500); font-size: 1.2rem; box-shadow: 0 10px 25px rgba(0,0,0,.2); }
.video-card__body { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 25px; }
.video-card h3 { margin: 0 0 5px; color: white; font-family: Georgia,serif; font-size: 1.35rem; }
.video-card p { margin: 0; color: rgba(255,255,255,.7); font-size: .84rem; }

.faq-layout { display: grid; grid-template-columns: .7fr 1fr; align-items: start; gap: 80px; }
.faq-intro { position: sticky; top: 115px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: white; }
.faq-item button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 22px; border: 0; color: var(--ink); background: transparent; font-weight: 850; text-align: left; }
.faq-item button span:last-child { font-size: 1.35rem; transition: transform .2s ease; }
.faq-item.is-open button span:last-child { transform: rotate(45deg); }
.faq-item__answer { display: none; padding: 0 22px 20px; }
.faq-item.is-open .faq-item__answer { display: block; }
.faq-item__answer p { margin: 0; }

.contact-section { overflow: hidden; color: white; background: var(--green-950); }
.contact-section::before { content: ""; position: absolute; width: 650px; height: 650px; right: -200px; bottom: -350px; border-radius: 50%; background: rgba(255,255,255,.03); }
.contact-grid { display: grid; grid-template-columns: 1fr .72fr; align-items: center; gap: 80px; }
.contact-copy h2 { color: white; }
.contact-copy > p { max-width: 670px; color: rgba(255,255,255,.72); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 28px 0; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-details div { padding: 17px; border: 1px solid rgba(255,255,255,.11); border-radius: 16px; background: rgba(255,255,255,.05); }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { color: var(--gold-400); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; }
.contact-details strong { margin-top: 5px; font-size: .86rem; }
.interest-card { display: grid; gap: 14px; padding: 30px; border-radius: var(--radius); color: var(--ink); background: white; box-shadow: var(--shadow); }
.interest-card h3 { margin: 2px 0 0; font-family: Georgia,serif; font-size: 1.5rem; }
.interest-card > div small { color: var(--green-700); font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.interest-card label { display: grid; gap: 6px; color: var(--ink); font-size: .78rem; font-weight: 800; }
.interest-card input, .interest-card textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); background: var(--green-50); outline: none;
}
.interest-card input:focus, .interest-card textarea:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(19,130,93,.12); }
.form-note { margin: 0; font-size: .73rem; text-align: center; }

.site-footer {
  padding: 65px 0 25px;
  color: rgba(255,255,255,.75);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--secondary) 24%, transparent), transparent 34%),
    linear-gradient(135deg, var(--green-950), color-mix(in srgb, var(--green-900) 78%, black));
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .35fr .8fr; gap: 45px; align-items: start; }
.footer-grid > div:first-child strong { color: white; font-family: Georgia,serif; font-size: 1.5rem; }
.footer-grid p { max-width: 450px; color: rgba(255,255,255,.6); }
.footer-grid small, .footer-grid > div:not(:first-child) strong { display: block; }
.footer-grid small { color: var(--gold-400); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.footer-grid > div:not(:first-child) strong { margin-top: 7px; color: white; font-size: .88rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 25px; margin-top: 35px; border-top: 1px solid rgba(255,255,255,.08); font-size: .75rem; }

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: white;
  background: rgba(255,255,255,.06);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 800;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.footer-social a:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--gold-500) 65%, white);
  background: rgba(255,255,255,.11);
}
.footer-social__icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 7px;
  color: var(--green-950);
  background: var(--gold-400);
  font-size: .7rem;
  font-weight: 950;
}
.footer-social[data-display="icon"] a {
  width: 42px;
  padding: 0;
  justify-content: center;
}
.footer-social[data-display="icon"] .footer-social__label { display: none; }

.floating-whatsapp {
  position: fixed;
  z-index: 91;
  right: 22px;
  bottom: 82px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 45px rgba(18, 140, 126, .3);
  text-decoration: none;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(18, 140, 126, .38);
}
.floating-whatsapp[data-position="left"] { left: 22px; right: auto; }
.floating-whatsapp__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 12px;
  background: rgba(255,255,255,.18);
}
.floating-whatsapp__icon svg { width: 24px; height: 24px; }
.floating-whatsapp__text { white-space: nowrap; font-size: .84rem; }
.floating-whatsapp[data-style="circle"] {
  width: 58px;
  height: 58px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
}
.floating-whatsapp[data-style="circle"] .floating-whatsapp__text { display: none; }
.floating-whatsapp[data-style="circle"] .floating-whatsapp__icon {
  width: 42px;
  height: 42px;
  background: transparent;
}
.floating-whatsapp[data-style="pill"] {
  min-height: 50px;
  border-radius: 999px;
  padding: 8px 16px 8px 9px;
}
.floating-whatsapp[data-style="chat-card"]::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: #128c7e;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.floating-whatsapp[data-position="left"][data-style="chat-card"]::after {
  left: 18px;
  right: auto;
}
.floating-whatsapp.is-pulsing::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(37,211,102,.55);
  border-radius: inherit;
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0% { opacity: .75; transform: scale(.9); }
  70%,100% { opacity: 0; transform: scale(1.16); }
}

.back-to-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 46px; height: 46px; border: 0; border-radius: 50%; opacity: 0; pointer-events: none; transform: translateY(10px); color: white; background: var(--green-800); box-shadow: var(--shadow-soft); transition: .25s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.toast { position: fixed; z-index: 999; left: 50%; bottom: 28px; padding: 11px 18px; border-radius: 999px; opacity: 0; pointer-events: none; transform: translate(-50%,15px); color: white; background: var(--green-950); box-shadow: var(--shadow); transition: .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 25px; background: rgba(2,25,18,.86); backdrop-filter: blur(12px); }
.modal__close { position: fixed; top: 22px; right: 22px; z-index: 2; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(255,255,255,.1); font-size: 1.8rem; }
.lightbox-card { max-width: min(1000px,90vw); margin: 0; }
.lightbox-card img { max-height: 78vh; margin: auto; border-radius: 20px; box-shadow: 0 25px 80px rgba(0,0,0,.45); }
.lightbox-card figcaption { padding: 14px; color: white; text-align: center; }
.video-modal-card, .note-modal-card { width: min(820px,100%); padding: 24px; border-radius: var(--radius); background: white; box-shadow: 0 25px 80px rgba(0,0,0,.4); }
.video-modal-card h3 { margin-bottom: 15px; font-family: Georgia,serif; font-size: 1.5rem; }
.video-modal-card video { width: 100%; max-height: 70vh; border-radius: 15px; background: black; }
.note-modal-card { width: min(620px,100%); }
.note-modal-card textarea { width: 100%; padding: 13px; margin: 8px 0 15px; border: 1px solid var(--line); border-radius: 14px; resize: vertical; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.empty-state { grid-column: 1/-1; padding: 35px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); background: rgba(255,255,255,.05); text-align: center; }
.section--dark .empty-state, .achievement-section .empty-state { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.72); }

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%,0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%,17px); } }

@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px; border: 1px solid var(--line);
    border-radius: 18px; background: white; box-shadow: var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 10px 12px; }
  .hero__content { grid-template-columns: 1fr; align-items: center; }
  .hero-card { max-width: 500px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 55px; }
  .photo-stack { max-width: 670px; }
  .faq-layout { grid-template-columns: 1fr; gap: 35px; }
  .faq-intro { position: static; }
  .activity-card, .activity-card.is-featured { grid-column: span 6; }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 720px) {
  :root { --container: min(100% - 28px,1180px); --header-h: 70px; }
  .topline__inner { justify-content: center; text-align: center; }
  .topline a { display: none; }
  .section { padding: 76px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .brand__mark { width: 44px; height: 44px; }
  .brand strong { font-size: 1rem; }
  .hero { min-height: 850px; }
  .hero__overlay { background: linear-gradient(90deg,rgba(30,27,75,.95),rgba(30,27,75,.68)),linear-gradient(0deg,rgba(30,27,75,.5),transparent); }
  .hero__content { gap: 35px; padding-top: 70px; padding-bottom: 80px; }
  .hero h1 { font-size: clamp(2.8rem,15vw,4.4rem); }
  .hero__copy > p { font-size: 1rem; }
  .hero__actions .button { width: 100%; }
  .hero-card { padding: 19px; }
  .intro-band__inner { grid-template-columns: 1fr; gap: 16px; }
  .intro-band__arabic { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
  .feature-grid { grid-template-columns: 1fr; }
  .activity-grid { display: grid; grid-template-columns: 1fr; }
  .activity-card, .activity-card.is-featured { grid-column: auto; min-height: 340px; }
  .achievement-card { grid-template-columns: 1fr; }
  .achievement-card img { min-height: 310px; max-height: 460px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery-item.is-wide { grid-column: span 2; }
  .contact-details { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .gallery-item.is-wide { grid-column: auto; }
  .gallery-item.is-tall { grid-row: auto; }
  .school-facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ============================================================
   THEME TOGGLE — PUBLIC WEBSITE
   ============================================================ */
.nav-tools { display: flex; align-items: center; gap: 9px; }
.public-theme-toggle {
  display: grid; place-items: center; width: 43px; height: 43px; padding: 0;
  border: 1px solid var(--line); border-radius: 14px;
  color: var(--green-900); background: var(--green-50);
  font-size: 1.05rem; font-weight: 900; box-shadow: 0 8px 22px rgba(23,37,84,.06);
}
.public-theme-toggle:hover { transform: translateY(-1px); border-color: var(--green-700); }

html[data-theme="dark"] {
  color-scheme: dark;
  --white: #0f172a;
  --cream: #111827;
  --ink: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(148,163,184,.18);
  --shadow: 0 24px 70px rgba(0,0,0,.35);
  --shadow-soft: 0 15px 40px rgba(0,0,0,.24);
}
html[data-theme="dark"] body { background: #0f172a; }
html[data-theme="dark"] .site-header {
  background: rgba(15,23,42,.92);
  border-color: rgba(148,163,184,.14);
}
html[data-theme="dark"] .brand strong,
html[data-theme="dark"] .nav-menu > a:not(.button),
html[data-theme="dark"] h2,
html[data-theme="dark"] h3 { color: #f8fafc; }
html[data-theme="dark"] .brand small,
html[data-theme="dark"] p { color: #cbd5e1; }
html[data-theme="dark"] .public-theme-toggle,
html[data-theme="dark"] .nav-toggle {
  color: #f8fafc; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12);
}
html[data-theme="dark"] .section:not(.section--dark):not(.achievement-section):not(.contact-section),
html[data-theme="dark"] .section--cream { background: #0f172a; }
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .teacher-card,
html[data-theme="dark"] .video-card,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .address-card,
html[data-theme="dark"] .interest-card,
html[data-theme="dark"] .gallery-item,
html[data-theme="dark"] .modal-card {
  color: #f8fafc; background: #172033; border-color: rgba(148,163,184,.16);
}
html[data-theme="dark"] .intro-band { background: #172033; }
html[data-theme="dark"] .intro-band p { color: #e2e8f0; }
html[data-theme="dark"] .gallery-filters button { color: #cbd5e1; background: #172033; border-color: rgba(148,163,184,.16); }
html[data-theme="dark"] .gallery-filters button.is-active { color: white; background: var(--green-700); }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  color: #f8fafc; background: #111827; border-color: rgba(148,163,184,.22);
}
html[data-theme="dark"] .footer { background: #070b17; }

@media (max-width: 900px) {
  .nav-tools { margin-left: auto; }
}


/* ============================================================
   THEME TOGGLE PLACEMENT & PUBLIC LIVE ANALYTICS — v5
   ============================================================ */
.public-theme-toggle--floating {
  position: fixed;
  z-index: 88;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 17px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .2);
  backdrop-filter: blur(16px);
}
.public-theme-toggle--left { left: 22px; }
.public-theme-toggle--right { right: 82px; }
[data-theme-toggle-footer] { display: inline-flex; align-items: center; }
[data-theme-toggle-footer] .public-theme-toggle { width: 38px; height: 38px; border-radius: 12px; }

.public-analytics {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--gold-500) 16%, transparent), transparent 32%),
    linear-gradient(135deg, var(--green-950), color-mix(in srgb, var(--green-900) 82%, black));
  color: white;
}
.public-analytics::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -150px;
  bottom: -220px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.public-analytics__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(260px,.75fr) minmax(0,1.25fr);
  gap: 50px;
  align-items: center;
}
.public-analytics__copy h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.5rem); color: white; }
.public-analytics__copy p { margin: 0; color: rgba(255,255,255,.72); }
.public-analytics__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.public-analytics__grid article {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 118px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(16px);
}
.public-analytics__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: var(--gold-400);
  background: rgba(255,255,255,.1);
  font-size: 1.25rem;
}
.public-analytics__grid strong { display: block; color: white; font-size: 1.8rem; line-height: 1; }
.public-analytics__grid small { display: block; margin-top: 7px; color: rgba(255,255,255,.68); font-size: .74rem; }
.live-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34,197,94,.13);
  animation: pulse 2s infinite;
}

html[data-theme="dark"] .public-analytics {
  background:
    radial-gradient(circle at 10% 0%, color-mix(in srgb, var(--gold-500) 14%, transparent), transparent 32%),
    linear-gradient(135deg, #080d1d, #111a35);
}

@media (max-width: 860px) {
  .public-analytics__inner { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .public-analytics { padding: 52px 0; }
  .public-analytics__grid { grid-template-columns: 1fr; }
  .public-analytics__grid article { min-height: auto; }
  .public-theme-toggle--floating { bottom: 16px; }
  .public-theme-toggle--left { left: 16px; }
  .public-theme-toggle--right { right: 70px; }
}


.footer-brand { display: flex; align-items: flex-start; gap: 16px; }
.footer-brand > img { width: 58px; height: 58px; flex: 0 0 auto; object-fit: contain; border-radius: 18px; background: rgba(255,255,255,.08); padding: 5px; }
.footer-brand > div { min-width: 0; }
@media (max-width: 640px) {
  .footer-brand { align-items: center; }
  .footer-brand > img { width: 50px; height: 50px; }
}


@media (max-width: 640px) {
  .floating-whatsapp {
    right: 14px;
    bottom: 74px;
    max-width: calc(100vw - 28px);
  }
  .floating-whatsapp[data-position="left"] { left: 14px; right: auto; }
  .floating-whatsapp__text { font-size: .78rem; }
  .footer-social { gap: 8px; }
}



/* ============================================================
   FOOTER BUILDER v5.4
   ============================================================ */
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 34px;
  margin-bottom: 38px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand-row[hidden] { display: none !important; }
.footer-brand-row[data-position="side"] {
  align-items: flex-start;
}
.footer-builder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 6vw, 90px);
}
.footer-column h3 {
  margin: 0 0 20px;
  color: #fff;
  font-size: .95rem;
  font-weight: 900;
  letter-spacing: -.01em;
}
.footer-column__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}
.footer-column__list a,
.footer-column__list span {
  color: rgba(255,255,255,.68);
  font-size: .82rem;
  line-height: 1.5;
  text-decoration: none;
}
.footer-column__list a {
  transition: color .2s ease, transform .2s ease;
}
.footer-column__list a:hover {
  color: var(--gold-400);
  transform: translateX(3px);
}
.footer-social--bottom { min-height: 0; }
.footer-social--bottom:empty { display: none; }
.footer-social [data-social-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-column .footer-social {
  margin-top: 16px;
}
.footer-brand-row .footer-social {
  margin-top: 0;
  justify-content: flex-end;
}
.footer-bottom {
  color: rgba(255,255,255,.55);
}
@media (max-width: 900px) {
  .footer-builder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-row { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .footer-builder-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* WhatsApp placeholder tetap terlihat sebelum nomor diisi */
.floating-whatsapp.is-unavailable {
  background: linear-gradient(135deg, #64748b, #334155);
  box-shadow: 0 18px 45px rgba(51,65,85,.26);
}
.floating-whatsapp.is-unavailable:hover {
  box-shadow: 0 22px 50px rgba(51,65,85,.32);
}
.floating-whatsapp.is-unavailable::after {
  background: #334155 !important;
}
.floating-whatsapp.is-unavailable.is-pulsing::before {
  border-color: rgba(148,163,184,.45);
}
@media (max-width: 520px) {
  .floating-whatsapp[data-style="chat-card"] {
    max-width: calc(100vw - 92px);
  }
  .floating-whatsapp__text {
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* =========================================================
   Footer Studio v5.5 — layout fleksibel, tidak bertumpuk
   ========================================================= */
.site-footer[data-background="solid"] {
  background: var(--green-950);
}
.site-footer[data-background="soft"] {
  background:
    radial-gradient(circle at 85% 0%, color-mix(in srgb, var(--gold-500) 14%, transparent), transparent 35%),
    linear-gradient(145deg, color-mix(in srgb, var(--green-900) 88%, white), var(--green-950));
}
.site-footer[data-background="accent"] {
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.13), transparent 28%),
    linear-gradient(135deg, var(--secondary), var(--green-800) 48%, var(--green-950));
}
.site-footer[data-density="compact"] { padding-top: 40px; }
.site-footer[data-density="spacious"] { padding-top: 85px; }
.site-footer[data-align="center"] { text-align: center; }

.footer-layout {
  display: block;
}
.footer-builder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 4.5vw, 68px);
}
.footer-brand-block {
  min-width: 0;
}
.footer-brand-block[hidden] { display: none !important; }
.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.footer-brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  object-fit: contain;
  border-radius: 17px;
  padding: 6px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.12);
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.28;
}
.footer-brand p {
  max-width: 300px;
  margin: 7px 0 0;
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  line-height: 1.65;
}
.footer-brand-block[data-mode="logo-only"] .footer-brand { justify-content: flex-start; }
.footer-brand-block[data-mode="logo-only"] .footer-brand img { width: 64px; height: 64px; }
.footer-brand-block[data-mode="name-only"] .footer-brand { display: block; }

.footer-block {
  min-width: 0;
}
.footer-column h3,
.footer-social-panel h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: .92rem;
  font-weight: 900;
}
.footer-column__list {
  gap: 10px;
}
.footer-column__list a,
.footer-column__list span {
  font-size: .79rem;
}
.footer-social-panel[hidden] { display: none !important; }
.footer-social-panel [data-social-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.footer-social-slot {
  margin-top: 16px;
}
.footer-bottom > [data-social-links] {
  order: -1;
  width: 100%;
  margin: 0 0 18px;
}
.footer-bottom[data-align="left"] { justify-content: flex-start; }
.footer-bottom[data-align="center"] { justify-content: center; text-align: center; }
.footer-bottom[data-align="between"] { justify-content: space-between; }
.site-footer.footer-no-divider .footer-bottom { border-top: 0; }

/* Template: rekomendasi — semua blok langsung menjadi satu baris */
.site-footer[data-template="compact-grid"] .footer-builder-grid {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(145px, .8fr));
}
/* Logo lebih lebar di kiri */
.site-footer[data-template="brand-left"] .footer-builder-grid {
  grid-template-columns: minmax(260px, 1.7fr) repeat(2, minmax(150px, .7fr));
}
/* Tanpa brand besar */
.site-footer[data-template="clean-three"] .footer-builder-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
/* Kontak menjadi pusat */
.site-footer[data-template="contact-focus"] .footer-builder-grid {
  grid-template-columns: minmax(210px, 1.2fr) repeat(3, minmax(150px, .8fr));
}
/* Footer modern di tengah */
.site-footer[data-template="centered"] .footer-builder-grid,
.site-footer[data-template="minimal"] .footer-builder-grid {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  text-align: center;
}
.site-footer[data-template="centered"] .footer-brand,
.site-footer[data-template="minimal"] .footer-brand {
  justify-content: center;
}
.site-footer[data-template="centered"] .footer-column__list,
.site-footer[data-template="minimal"] .footer-column__list {
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer[data-template="centered"] .footer-column__list a:not(:last-child)::after,
.site-footer[data-template="minimal"] .footer-column__list a:not(:last-child)::after {
  content: "•";
  margin-left: 14px;
  color: rgba(255,255,255,.28);
}
.site-footer[data-template="minimal"] {
  padding-top: 42px;
}
.site-footer[data-template="minimal"] .footer-builder-grid {
  gap: 18px;
}
.site-footer[data-template="minimal"] .footer-bottom {
  margin-top: 22px;
}

/* Rata tengah untuk template apa pun */
.site-footer[data-align="center"] .footer-brand { justify-content: center; }
.site-footer[data-align="center"] .footer-column__list { align-items: center; }
.site-footer[data-align="center"] .footer-social-panel [data-social-links],
.site-footer[data-align="center"] .footer-brand-block [data-social-links] {
  justify-content: center;
}

/* Ikon media sosial asli, tanpa file eksternal */
.footer-social [data-social-links],
[data-social-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
[data-social-links] a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,.055);
  text-decoration: none;
  font-size: .76rem;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
[data-social-links] a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.11);
}
[data-social-links][data-display="icon"] a {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
}
[data-social-links][data-display="icon"] .footer-social__label { display: none; }
.footer-social__icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255,255,255,.14);
}
.footer-social__icon svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.65;
}
.footer-social__icon svg rect,
.footer-social__icon svg circle,
.footer-social__icon svg .social-icon-line {
  fill: none;
}
.footer-social__icon svg .social-icon-cut {
  fill: #fff;
  stroke: none;
}
[data-social-links][data-style="brand"] a[data-social="whatsapp"] .footer-social__icon { background: #25d366; }
[data-social-links][data-style="brand"] a[data-social="facebook"] .footer-social__icon { background: #1877f2; }
[data-social-links][data-style="brand"] a[data-social="instagram"] .footer-social__icon { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
[data-social-links][data-style="brand"] a[data-social="youtube"] .footer-social__icon { background: #ff0000; }
[data-social-links][data-style="brand"] a[data-social="tiktok"] .footer-social__icon { background: #111; }
[data-social-links][data-style="brand"] a[data-social="x"] .footer-social__icon { background: #050505; }
[data-social-links][data-style="brand"] a[data-social="telegram"] .footer-social__icon { background: #229ed9; }
[data-social-links][data-style="brand"] a[data-social="linkedin"] .footer-social__icon { background: #0a66c2; }
[data-social-links][data-style="brand"] a[data-social="email"] .footer-social__icon { background: var(--secondary); }
[data-social-links][data-style="outline"] .footer-social__icon {
  color: var(--gold-400);
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--gold-400) 60%, transparent);
}
[data-social-links][data-style="mono"] .footer-social__icon {
  color: var(--green-950);
  background: var(--gold-400);
}

@media (max-width: 1050px) {
  .site-footer[data-template] .footer-builder-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 660px) {
  .site-footer[data-mobile-stack="stack"] .footer-builder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer[data-mobile-stack="scroll"] .footer-builder-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }
  .site-footer[data-mobile-stack="scroll"] .footer-block {
    flex: 0 0 min(82vw, 300px);
    scroll-snap-align: start;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer[data-align="center"] .footer-bottom { align-items: center; }
}
