:root {
  --navy: #173a78;
  --navy-2: #102b5d;
  --blue: #244b95;
  --yellow: #ffd20a;
  --yellow-soft: #fff4b8;
  --green: #128b4c;
  --green-dark: #08713b;
  --ink: #182338;
  --muted: #667085;
  --white: #fff;
  --line: #e9edf4;
  --bg: #f8fafc;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(15, 38, 78, .12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar { background: var(--navy-2); color: rgba(255,255,255,.86); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topbar-inner { display:flex; justify-content:space-between; gap:20px; padding: 9px 0; }

.site-header { position: absolute; top: 34px; left: 0; width: 100%; z-index: 20; }
.nav-wrap { background: rgba(255,255,255,.96); backdrop-filter: blur(18px); border-radius: 18px; box-shadow: 0 15px 50px rgba(10, 32, 72, .13); min-height: 82px; display:flex; align-items:center; padding: 10px 18px 10px 22px; gap: 18px; }
.brand { display:flex; align-items:center; gap:10px; min-width: 260px; }
.brand img { width: 58px; height: 58px; object-fit:contain; }
.brand-text { display:flex; flex-direction:column; line-height:1.05; }
.brand-text strong { font-size: 15px; letter-spacing:.02em; color:var(--navy-2); }
.brand-text span { font-size: 12px; font-weight:800; color:var(--green); letter-spacing:.13em; margin-top:5px; }
.nav-menu { display:flex; align-items:center; justify-content:center; gap: 19px; flex:1; }
.nav-menu a { font-size:11px; font-weight:800; letter-spacing:.03em; color:#294268; position:relative; padding: 11px 0; }
.nav-menu a::after { content:''; position:absolute; left:0; right:100%; bottom:4px; height:2px; background:var(--green); transition:.25s; }
.nav-menu a:hover::after, .nav-menu a.active::after { right:0; }
.nav-cta { background:var(--yellow); color:var(--navy-2); padding:14px 22px; border-radius:12px; font-size:12px; font-weight:900; box-shadow:0 8px 20px rgba(255,210,10,.28); }
.nav-toggle { display:none; border:0; background:transparent; font-size:25px; cursor:pointer; color:var(--navy); position:relative; z-index:31; width:44px; height:44px; align-items:center; justify-content:center; -webkit-tap-highlight-color:transparent; touch-action:manipulation; }

.hero { min-height: 820px; padding-top: 190px; position:relative; overflow:hidden; background: radial-gradient(circle at 85% 18%, rgba(255,210,10,.22), transparent 30%), linear-gradient(135deg,#eef5ff 0%,#fff 48%,#effaf4 100%); }
.hero::before { content:''; position:absolute; inset:0; background-image: linear-gradient(rgba(23,58,120,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,58,120,.035) 1px, transparent 1px); background-size: 40px 40px; mask-image:linear-gradient(to bottom, black, transparent 75%); }
.hero-grid { position:relative; z-index:2; display:grid; grid-template-columns: 1.05fr .95fr; align-items:center; min-height:570px; }
.hero-copy { padding-bottom:55px; }
.eyebrow, .section-kicker { color:var(--green); font-weight:900; font-size:11px; letter-spacing:.17em; }
.eyebrow { display:flex; align-items:center; gap:9px; margin-bottom:18px; }
.eyebrow span { width:28px; height:3px; background:var(--yellow); display:block; border-radius:99px; }
.hero h1 { font-size: clamp(48px,6vw,82px); line-height:.99; letter-spacing:-.06em; color:var(--navy-2); max-width:700px; }
.hero h1 em { color:var(--green); font-style:normal; position:relative; }
.hero h1 em::after { content:''; position:absolute; left:0; bottom:-8px; width:75%; height:9px; background:var(--yellow); z-index:-1; border-radius:99px; transform:skewX(-16deg); }
.hero-copy > p { max-width:610px; color:#59677d; margin:28px 0; font-size:16px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.btn { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:54px; padding:0 24px; border-radius:14px; font-size:12px; font-weight:900; letter-spacing:.04em; transition:.25s; }
.btn:hover { transform:translateY(-3px); }
.btn-primary { background:var(--navy); color:white; box-shadow:0 12px 28px rgba(23,58,120,.25); }
.btn-outline { border:1.5px solid #c8d2e2; color:var(--navy); background:rgba(255,255,255,.7); }
.hero-note { margin-top:25px; font-size:11px; color:#718096; display:flex; align-items:center; gap:8px; }
.pulse-dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 0 6px rgba(18,139,76,.11); }

.hero-visual { position:relative; min-height:540px; }
.sun-disc { position:absolute; width:440px; height:440px; right:40px; top:30px; border-radius:50%; background:linear-gradient(145deg,var(--yellow),#ffe978); box-shadow: 0 35px 80px rgba(255,210,10,.26); }
.shape { position:absolute; border-radius: 48% 52% 45% 55%; transform:rotate(-15deg); }
.shape-left { width:310px; height:470px; background:var(--navy); right:260px; top:120px; opacity:.96; }
.shape-right { width:290px; height:420px; background:var(--green); right:35px; top:165px; opacity:.95; transform:rotate(15deg); }
.hero-logo-card { position:absolute; z-index:4; width:300px; height:300px; border-radius:50%; background:rgba(255,255,255,.94); border:10px solid rgba(255,255,255,.55); box-shadow:0 30px 70px rgba(18,42,82,.22); right:100px; top:115px; display:flex; align-items:center; justify-content:center; flex-direction:column; }
.hero-logo-card img { width:190px; height:180px; object-fit:contain; }
.hero-logo-card span { color:var(--green); font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:.13em; margin-top:-10px; }
.hero-logo-card strong { color:var(--navy); font-size:16px; letter-spacing:.08em; }
.floating-card { position:absolute; z-index:6; background:#fff; border-radius:18px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px; padding:15px 17px; }
.floating-card b { font-size:24px; color:var(--navy); }
.floating-card span { font-size:10px; font-weight:700; line-height:1.4; color:#68758a; }
.card-top { top:88px; right:0; }
.card-bottom { bottom:30px; left:30px; }
.card-bottom b { color:var(--green); font-size:18px; }
.hero-wave { position:absolute; bottom:-2px; left:-2%; width:104%; height:100px; background:white; clip-path:ellipse(65% 55% at 50% 100%); }

.quick-stats { background:#fff; position:relative; z-index:5; box-shadow:0 -10px 40px rgba(20,40,70,.04); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); padding:25px 0; }
.stats-grid > div { padding:8px 25px; border-right:1px solid var(--line); display:flex; flex-direction:column; }
.stats-grid > div:last-child { border:0; }
.stats-grid strong { font-size:25px; color:var(--navy); letter-spacing:-.04em; }
.stats-grid span { font-size:10px; color:var(--muted); font-weight:700; }

.section { padding:110px 0; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.section h2 { font-size:clamp(36px,4.5vw,58px); line-height:1.05; letter-spacing:-.055em; color:var(--navy-2); margin-top:13px; }
.section h2 span { color:var(--green); }
.intro { background:#fff; }
.intro-text { padding-top:35px; color:#637086; font-size:15px; }
.intro-text p + p { margin-top:15px; }
.text-link { display:inline-block; color:var(--navy); font-weight:900; font-size:12px; margin-top:22px; }

.majors { background:var(--bg); }
.section-head { display:flex; justify-content:space-between; gap:50px; align-items:flex-end; margin-bottom:45px; }
.section-head > p { max-width:420px; color:var(--muted); font-size:13px; }
.major-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.major-card { min-height:430px; border-radius:26px; padding:30px; position:relative; overflow:hidden; color:white; transition:.3s; }
.major-card:hover { transform:translateY(-7px); box-shadow:var(--shadow); }
.major-pplg { background:linear-gradient(145deg,#163b79,#2559a5); }
.major-mplb { background:linear-gradient(145deg,#0b7140,#18a05c); }
.major-tkr { background:linear-gradient(145deg,#1b4a82,#112e5f); }
.major-number { position:absolute; top:22px; right:25px; font-size:11px; font-weight:900; opacity:.55; }
.major-icon { width:68px; height:68px; border-radius:20px; display:grid; place-items:center; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.2); font-size:24px; font-weight:900; margin-bottom:80px; }
.major-card h3 { font-size:39px; line-height:1; letter-spacing:-.04em; }
.major-card h4 { font-size:14px; margin-top:8px; line-height:1.4; }
.major-card p { color:rgba(255,255,255,.74); font-size:12px; margin:17px 0 20px; }
.major-card a { font-size:11px; font-weight:900; color:var(--yellow); }

.dark-section { background:var(--navy-2); color:white; position:relative; overflow:hidden; }
.dark-section::after { content:''; position:absolute; width:480px; height:480px; border-radius:50%; border:1px solid rgba(255,255,255,.08); right:-180px; bottom:-180px; }
.light h2 { color:white; }
.light .section-kicker { color:var(--yellow); }
.light > p { color:rgba(255,255,255,.65); }
.program-grid { display:grid; grid-template-columns:repeat(4,1fr); border-top:1px solid rgba(255,255,255,.13); }
.program-grid article { padding:28px 22px 5px 0; border-right:1px solid rgba(255,255,255,.13); margin-right:22px; }
.program-grid article:last-child { border-right:0; }
.program-grid span { color:var(--yellow); font-size:11px; font-weight:900; }
.program-grid h3 { font-size:17px; margin:55px 0 10px; }
.program-grid p { color:rgba(255,255,255,.62); font-size:11px; }

.student-section { background:linear-gradient(180deg,#f8fafc 0%,#fff 100%); }
.student-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:30px; align-items:stretch; }
.student-panel { padding:30px 0; }
.student-panel p { color:var(--muted); max-width:550px; margin:22px 0; }
.pill-list { display:flex; flex-wrap:wrap; gap:8px; }
.pill-list span { border:1px solid #dce4ee; border-radius:99px; padding:9px 14px; color:var(--navy); font-size:10px; font-weight:900; background:white; }
.quote-card { background:var(--yellow); border-radius:28px; padding:45px; min-height:310px; display:flex; flex-direction:column; justify-content:center; position:relative; overflow:hidden; }
.quote-card::after { content:'BP'; position:absolute; right:-10px; bottom:-70px; font-size:180px; line-height:1; font-weight:900; color:rgba(23,58,120,.08); }
.quote-mark { font-size:65px; line-height:.5; color:var(--navy); }
.quote-card p { color:var(--navy-2); font-size:18px; font-weight:700; line-height:1.45; position:relative; z-index:2; }
.quote-line { width:35px; height:3px; background:var(--green); margin:25px 0 10px; }
.quote-card span { font-size:10px; font-weight:900; color:var(--navy); }

.instagram-section { background:#fff; }
.instagram-btn { padding:13px 18px; border-radius:12px; background:#f1f6ff; color:var(--navy); font-size:11px; font-weight:900; }
.instagram-feed { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; align-items:start; }
.ig-placeholder { min-height:360px; border:1px dashed #ccd7e7; background:#f8fafc; border-radius:18px; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:25px; color:var(--muted); }
.ig-placeholder strong { color:var(--navy); margin-bottom:7px; }
.ig-placeholder code { font-size:10px; margin-top:15px; background:#edf2f8; padding:6px 8px; border-radius:6px; }
.ig-help { font-size:10px; color:#8a95a6; margin-top:16px; }

.spmb { background:var(--green); color:white; padding:75px 0; position:relative; overflow:hidden; }
.spmb::before { content:''; position:absolute; width:460px; height:460px; border-radius:50%; background:rgba(255,210,10,.13); right:-140px; top:-190px; }
.spmb-inner { display:flex; justify-content:space-between; align-items:center; gap:40px; position:relative; z-index:2; }
.spmb .section-kicker { color:var(--yellow); }
.spmb h2 { color:white; }
.spmb h2 span { color:var(--yellow); }
.spmb p { color:rgba(255,255,255,.75); max-width:650px; margin-top:17px; font-size:13px; }
.btn-yellow { background:var(--yellow); color:var(--navy-2); white-space:nowrap; }

.contact { background:#f8fafc; }
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.contact-grid > div:first-child p { max-width:540px; margin-top:22px; color:var(--muted); font-size:13px; }
.contact-list { display:grid; gap:10px; }
.contact-list a { background:white; border:1px solid var(--line); border-radius:16px; padding:17px; display:flex; gap:14px; align-items:center; transition:.2s; }
.contact-list a:hover { transform:translateX(5px); border-color:#cdd8e8; }
.contact-list a > span { width:42px; height:42px; border-radius:12px; background:#eef4ff; display:grid; place-items:center; color:var(--navy); }
.contact-list b, .contact-list small { display:block; }
.contact-list b { font-size:11px; color:var(--navy); }
.contact-list small { color:var(--muted); font-size:10px; margin-top:2px; }
.map-card { background:white; border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.map-heading { padding:14px 17px; display:flex; align-items:center; justify-content:space-between; gap:16px; }
.map-heading b, .map-heading small { display:block; }
.map-heading b { font-size:11px; color:var(--navy); }
.map-heading small { color:var(--muted); font-size:10px; margin-top:2px; }
.map-heading a { color:var(--green); font-size:10px; font-weight:800; white-space:nowrap; }
.map-card iframe { display:block; width:100%; height:260px; border:0; }

footer { background:#0b2148; color:white; padding:25px 0; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.footer-brand { display:flex; align-items:center; gap:10px; }
.footer-brand img { width:42px; height:42px; object-fit:contain; }
.footer-brand strong, .footer-brand span { display:block; }
.footer-brand strong { font-size:11px; }
.footer-brand span { font-size:9px; color:rgba(255,255,255,.55); margin-top:2px; }
.footer-inner > p { color:rgba(255,255,255,.5); font-size:9px; }

@media (max-width: 1050px) {
  .nav-menu { gap:12px; }
  .brand { min-width:220px; }
  .nav-menu a { font-size:10px; }
  .hero-grid { grid-template-columns:1fr .85fr; }
  .hero-logo-card { right:30px; }
  .shape-left { right:200px; }
  .program-grid { grid-template-columns:repeat(2,1fr); row-gap:25px; }
}

@media (max-width: 820px) {
  .site-header { z-index:1000; }
  .nav-wrap { position:relative; z-index:1001; }
  .topbar-inner { justify-content:center; text-align:center; }
  .topbar-inner span:last-child { display:none; }
  .site-header { top:28px; }
  .nav-wrap { min-height:68px; }
  .nav-toggle { display:block; margin-left:auto; }
  .nav-menu { display:none; position:absolute; top:calc(100% + 10px); left:0; right:0; z-index:30; background:white; border-radius:18px; box-shadow:var(--shadow); padding:18px; flex-direction:column; align-items:stretch; }
  .nav-menu.open { display:flex; }
  .nav-menu a { font-size:11px; padding:11px 5px; }
  .nav-cta { display:none; }
  .hero { padding-top:150px; min-height:auto; }
  .hero-grid { grid-template-columns:1fr; padding-bottom:80px; }
  .hero-copy { padding-bottom:10px; }
  .hero-visual { min-height:450px; margin-top:20px; }
  .sun-disc { width:330px; height:330px; right:50%; transform:translateX(50%); }
  .shape-left { width:230px; height:350px; right:51%; top:100px; }
  .shape-right { width:210px; height:320px; right:22%; top:130px; }
  .hero-logo-card { width:235px; height:235px; right:50%; transform:translateX(50%); top:105px; }
  .hero-logo-card img { width:145px; height:140px; }
  .card-top { right:4%; top:70px; }
  .card-bottom { left:4%; bottom:15px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid > div:nth-child(2) { border-right:0; }
  .stats-grid > div { margin-bottom:8px; }
  .two-col, .student-grid, .contact-grid { grid-template-columns:1fr; gap:30px; }
  .section { padding:75px 0; }
  .section-head { display:block; }
  .section-head > p { margin-top:20px; }
  .major-grid, .instagram-feed { grid-template-columns:1fr; }
  .major-card { min-height:350px; }
  .major-icon { margin-bottom:50px; }
  .spmb-inner { display:block; }
  .spmb .btn { margin-top:28px; }
}

@media (max-width: 520px) {
  .container { width:min(100% - 26px,1180px); }
  .brand { min-width:0; }
  .brand img { width:47px; height:47px; }
  .brand-text strong { font-size:11px; }
  .brand-text span { font-size:9px; }
  .hero h1 { font-size:45px; }
  .hero-copy > p { font-size:13px; }
  .hero-actions .btn { width:100%; }
  .hero-visual { min-height:390px; }
  .sun-disc { width:285px; height:285px; }
  .hero-logo-card { width:205px; height:205px; top:88px; }
  .hero-logo-card img { width:125px; height:120px; }
  .hero-logo-card strong { font-size:12px; }
  .floating-card { transform:scale(.85); }
  .card-top { right:-8px; }
  .card-bottom { left:-8px; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .stats-grid > div { padding:8px 12px; }
  .stats-grid strong { font-size:18px; }
  .section h2 { font-size:37px; }
  .quote-card { padding:30px; }
  .footer-inner { display:block; }
  .footer-inner > p { margin-top:15px; }
}


/* ===== REVISI 2026: Sambutan, warna konsentrasi, foto, guru ===== */
.principal-section { background:#fff; }
.principal-grid { display:grid; grid-template-columns:360px 1fr; gap:70px; align-items:center; }
.principal-photo { min-height:0; border-radius:30px; overflow:hidden; background:linear-gradient(145deg,#eef4ff,#fff7cf); border:1px solid var(--line); display:flex; align-items:flex-end; justify-content:center; }
.principal-photo img { position:static; inset:auto; width:100%; height:auto; min-height:0; max-height:none; object-fit:contain; object-position:center bottom; display:block; }
.principal-photo > span { display:none; }
.principal-copy { position:relative; }
.principal-copy h2 { margin-bottom:20px; }
.principal-copy p { color:var(--muted); font-size:14px; line-height:1.8; max-width:680px; }
.principal-copy p + p { margin-top:12px; }
.principal-quote { position:absolute; right:0; top:-45px; font-size:100px; line-height:1; color:rgba(255,210,10,.35); font-weight:900; }
.principal-signature { display:flex; flex-direction:column; margin-top:28px; padding-left:18px; border-left:4px solid var(--yellow); }
.principal-signature strong { color:var(--navy); font-size:15px; }
.principal-signature span { color:var(--muted); font-size:10px; margin-top:3px; }

.photo-slot { position:relative; background:rgba(255,255,255,.12); border:1px dashed rgba(255,255,255,.35); display:flex; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
.photo-slot img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* Fix: kepala sekolah harus tetap menjadi elemen normal agar tinggi gambar terbaca di desktop */
.principal-photo img { position:static !important; inset:auto !important; width:100% !important; height:auto !important; max-height:none !important; min-height:0 !important; object-fit:contain !important; object-position:center bottom !important; display:block !important; }
.photo-slot > span { position:relative; z-index:1; font-size:10px; font-weight:900; letter-spacing:.08em; color:rgba(255,255,255,.7); line-height:1.6; }
.photo-slot > span small { font-size:8px; font-weight:600; opacity:.8; }
.principal-photo > span { color:#738096; }

.major-card { padding:22px; min-height:570px; }
.major-photo { height:auto; aspect-ratio:2/1; border-radius:20px; margin-bottom:17px; }
.major-photo img { object-fit:cover; }
.major-photo > span { color:rgba(255,255,255,.78); }
.major-icon { margin-bottom:25px; }
.major-pplg { background:linear-gradient(145deg,#174ea6,#2f7be5); }
.major-mplb { background:linear-gradient(145deg,#d96b12,#f59a25); }
.major-tkr { background:linear-gradient(145deg,#b42325,#e44742); }

.student-pills { margin:-20px 0 25px; }
.activity-gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; overflow:hidden; }
.activity-photo { aspect-ratio:16/9; height:auto; border-radius:20px; background:#edf2f8; border:1px dashed #cbd6e5; }
.activity-photo > span { color:#718096; }
.student-highlight { margin-top:22px; }
.student-highlight .quote-card { min-height:220px; }

/* Guru page */
.guru-hero { padding:155px 0 70px; background:linear-gradient(145deg,var(--navy-2),#1b4a82); color:#fff; position:relative; overflow:hidden; }
.guru-hero::after { content:''; position:absolute; width:420px; height:420px; border:1px solid rgba(255,255,255,.1); border-radius:50%; right:-130px; top:-150px; }
.guru-hero h1 { font-size:clamp(44px,6vw,74px); line-height:.98; letter-spacing:-.06em; margin-top:14px; }
.guru-hero h1 span { color:var(--yellow); }
.guru-hero p { max-width:650px; margin-top:18px; color:rgba(255,255,255,.7); font-size:14px; line-height:1.7; }
.guru-section { background:#f8fafc; }
.guru-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.guru-card { background:#fff; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:0 12px 30px rgba(18,47,91,.05); transition:.25s; }
.guru-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.guru-photo { height:290px; background:linear-gradient(145deg,#edf3fb,#fff7d5); }
.guru-photo > span { color:#758196; }
.guru-info { padding:20px; }
.guru-info h3 { color:var(--navy); font-size:15px; line-height:1.35; }
.guru-info p { color:var(--muted); font-size:10px; margin-top:6px; }
.guru-note { margin-top:35px; color:#8a95a6; font-size:10px; }

@media (max-width:1050px) {
  .principal-grid { grid-template-columns:300px 1fr; gap:40px; }
  .guru-grid { grid-template-columns:repeat(3,1fr); }
}
@media (max-width:820px) {
  .principal-grid { grid-template-columns:1fr; }
  .principal-photo { width:100%; min-height:0; }
  .principal-photo img { position:static; width:100%; height:auto; max-height:none; object-fit:contain; }
  .principal-copy { padding-top:15px; }
  .principal-quote { display:none; }
  .activity-gallery { grid-template-columns:repeat(2,1fr); }
  .guru-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:520px) {
  .activity-gallery { grid-template-columns:1fr 1fr; gap:9px; }
  .activity-photo { aspect-ratio:16/9; height:auto; border-radius:14px; }
  .guru-grid { grid-template-columns:1fr; }
  .guru-photo { height:330px; }
}


/* Google Maps */
.map-card{margin-top:36px;background:#fff;border:1px solid rgba(18,49,102,.10);border-radius:28px;overflow:hidden;box-shadow:0 16px 50px rgba(18,49,102,.08)}
.map-heading{display:flex;gap:14px;align-items:center;padding:22px 24px;color:#123166}.map-heading span{font-size:26px}.map-heading b{display:block;font-size:17px}.map-heading small{display:block;color:#64748b;margin-top:3px}.map-card iframe{display:block;width:100%;height:360px;border:0}.map-link{display:inline-flex;margin:16px 20px 20px;padding:12px 18px;border-radius:999px;background:#123166;color:#fff;text-decoration:none;font-weight:800;font-size:12px;letter-spacing:.04em}
.instagram-feed{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ig-post,.ig-placeholder{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;border-radius:22px;background:#eef2f7;text-decoration:none;color:#123166}.ig-post img{width:100%;height:100%;object-fit:cover;display:block}.ig-post-overlay{position:absolute;inset:auto 0 0;padding:40px 18px 18px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.78))}.ig-post-overlay span{font-size:11px;font-weight:800;text-transform:uppercase}.ig-post-overlay p{margin:5px 0 0;font-size:13px;line-height:1.4}.ig-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:30px;border:1px dashed rgba(18,49,102,.18)}.ig-placeholder-icon{font-size:38px;margin-bottom:12px}.ig-placeholder strong{font-size:15px}.ig-placeholder span{font-size:12px;color:#64748b;margin-top:7px;line-height:1.5}@media(max-width:800px){.instagram-feed{grid-template-columns:1fr}.map-card iframe{height:300px}}

/* =========================================================
   MOTION SYSTEM — SMK BHAKTI PERTIWI
   Subtle, modern animations with reduced-motion support.
   ========================================================= */
html { scroll-behavior: smooth; }

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  z-index: 9999;
  pointer-events: none;
  transition: width .08s linear;
}

.site-header { transition: top .35s ease, transform .35s ease; }
.site-header.is-scrolled { top: 12px; }
.site-header.is-scrolled .nav-wrap {
  min-height: 70px;
  box-shadow: 0 18px 55px rgba(10,32,72,.17);
}
.nav-wrap { transition: min-height .35s ease, box-shadow .35s ease, transform .35s ease; }

/* Initial hero entrance */
.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroIn .75s cubic-bezier(.22,1,.36,1) forwards;
}
.hero-copy .eyebrow { animation-delay: .08s; }
.hero-copy h1 { animation-delay: .16s; }
.hero-copy > p { animation-delay: .24s; }
.hero-copy .hero-actions { animation-delay: .32s; }
.hero-copy .hero-note { animation-delay: .40s; }

.hero-visual > * { animation: heroFloatIn .9s cubic-bezier(.22,1,.36,1) both; }
.hero-visual .sun-disc { animation-delay: .10s; }
.hero-visual .shape-left { animation-delay: .18s; }
.hero-visual .shape-right { animation-delay: .24s; }
.hero-visual .hero-logo-card { animation-delay: .30s; }
.hero-visual .card-top { animation-delay: .42s; }
.hero-visual .card-bottom { animation-delay: .50s; }

@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
@keyframes heroFloatIn {
  from { opacity: 0; transform: translateY(35px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Ambient hero motion */
.sun-disc { animation: heroIn .9s cubic-bezier(.22,1,.36,1) both, breathe 6s ease-in-out 1.2s infinite; }
.hero-logo-card { animation: heroFloatIn .9s cubic-bezier(.22,1,.36,1) both, logoFloat 5s ease-in-out 1.3s infinite; }
.card-top { animation: heroFloatIn .9s cubic-bezier(.22,1,.36,1) both, floatCard 4.5s ease-in-out 1.5s infinite; }
.card-bottom { animation: heroFloatIn .9s cubic-bezier(.22,1,.36,1) both, floatCard 5.2s ease-in-out 1.7s infinite reverse; }

@keyframes breathe { 0%,100% { transform:scale(1); } 50% { transform:scale(1.035); } }
@keyframes logoFloat { 0%,100% { transform:translateY(0) rotate(0deg); } 50% { transform:translateY(-10px) rotate(1deg); } }
@keyframes floatCard { 0%,100% { margin-top:0; } 50% { margin-top:-9px; } }

.pulse-dot { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(18,139,76,.30); } 70% { box-shadow:0 0 0 9px rgba(18,139,76,0); } 100% { box-shadow:0 0 0 0 rgba(18,139,76,0); } }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-42px); }
.reveal-right { transform: translateX(42px); }
.reveal-scale { transform: translateY(25px) scale(.96); }
.reveal-left.is-visible, .reveal-right.is-visible, .reveal-scale.is-visible { transform: none; }

/* Staggered cards */
.stagger > * { opacity:0; transform:translateY(28px); }
.stagger.is-visible > * { animation: cardReveal .65s cubic-bezier(.22,1,.36,1) forwards; }
.stagger.is-visible > *:nth-child(1) { animation-delay:.04s; }
.stagger.is-visible > *:nth-child(2) { animation-delay:.12s; }
.stagger.is-visible > *:nth-child(3) { animation-delay:.20s; }
.stagger.is-visible > *:nth-child(4) { animation-delay:.28s; }
.stagger.is-visible > *:nth-child(5) { animation-delay:.36s; }
.stagger.is-visible > *:nth-child(6) { animation-delay:.44s; }
@keyframes cardReveal { to { opacity:1; transform:translateY(0); } }

/* More responsive hover feedback */
.major-card, .guru-card, .activity-photo, .ig-post, .quote-card, .map-card, .program-grid article {
  will-change: transform;
}
.major-card { transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.major-card:hover { transform:translateY(-10px) rotate(-.35deg); }
.guru-card { transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.guru-card:hover { transform:translateY(-9px); }
.ig-post { transition:transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.ig-post img { transition:transform .7s cubic-bezier(.22,1,.36,1); }
.ig-post:hover { transform:translateY(-7px); box-shadow:0 22px 50px rgba(18,49,102,.15); }
.ig-post:hover img { transform:scale(1.055); }

/* Button shine */
.btn-primary, .nav-cta, .map-link {
  position:relative;
  overflow:hidden;
}
.btn-primary::after, .nav-cta::after, .map-link::after {
  content:'';
  position:absolute;
  top:-120%; left:-35%;
  width:30%; height:340%;
  background:rgba(255,255,255,.28);
  transform:rotate(20deg);
  transition:left .65s ease;
}
.btn-primary:hover::after, .nav-cta:hover::after, .map-link:hover::after { left:120%; }

/* Section divider motion */
.section-kicker::before {
  content:'';
  display:inline-block;
  width:0;
  height:2px;
  vertical-align:middle;
  margin-right:0;
  background:var(--yellow);
  transition:width .65s ease, margin-right .65s ease;
}
.section-kicker.is-visible::before { width:24px; margin-right:9px; }

/* Floating activity photos */
.activity-photo { transition:transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease; }
.activity-photo:hover { transform:translateY(-7px) scale(1.015); box-shadow:0 18px 40px rgba(18,49,102,.12); }

/* Respect accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .stagger > *, .hero-copy > * { opacity:1 !important; transform:none !important; }
}
.guru-hero .container > * { opacity:0; transform:translateY(24px); animation:heroIn .8s cubic-bezier(.22,1,.36,1) forwards; }
.guru-hero .container > *:nth-child(1){animation-delay:.08s}.guru-hero .container > *:nth-child(2){animation-delay:.18s}
.guru-card.reveal { opacity:0; transform:translateY(30px); }
.guru-card.reveal.is-visible { opacity:1; transform:translateY(0); transition:opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1), box-shadow .45s ease; }
.photo-spec-note{margin:-8px 0 18px;padding:12px 15px;border:1px solid rgba(18,49,102,.09);background:#f8fafc;border-radius:14px;color:#6b7890;font-size:11px;line-height:1.6}
.photo-spec-note b{color:var(--navy)}
