/* =========================================================
   Hope Wings Special School - public stylesheet
   Palette taken from the logo: navy, wing blue, wing green,
   lime and gold
   ========================================================= */
:root {
  --navy: #12357a;
  --navy-dark: #0b2556;
  --blue: #2a7fd4;
  --sky: #5cb8f0;
  --green: #3f9d3b;
  --lime: #a9c63b;
  --gold: #e9a825;
  --gold-light: #f8d466;
  --cream: #fffaf0;
  --sky-soft: #eef7ff;
  --green-soft: #f0f9ea;
  --gold-soft: #fff6df;
  --ink: #23304a;
  --muted: #5d6a82;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 14px 40px rgba(18, 53, 122, .12);
  --shadow-hover: 0 22px 50px rgba(18, 53, 122, .2);
  --grad-wings: linear-gradient(135deg, var(--blue) 0%, var(--sky) 40%, var(--lime) 75%, var(--green) 100%);
  --grad-navy: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--blue));
  --font-head: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Dancing Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .25s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.hl { color: var(--gold); position: relative; white-space: nowrap; }
.hl-green { color: var(--green); }
.script { font-family: var(--font-script); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 50px; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s, background .3s;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.45) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 10px 25px rgba(233, 168, 37, .45); }
.btn-gold:hover { color: var(--white); background: #d9951a; }
.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 10px 25px rgba(18, 53, 122, .35); }
.btn-navy:hover { color: var(--white); background: var(--blue); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 10px 25px rgba(63, 157, 59, .35); }
.btn-green:hover { color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { color: var(--navy); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.8); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--cream);
  display: grid; place-items: center; transition: opacity .5s, visibility .5s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.loader-wings { position: relative; width: 120px; height: 120px; }
.loader-wings img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; animation: pulse 1.4s ease-in-out infinite; }
.loader-wings span {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 4px solid transparent; border-top-color: var(--gold); border-right-color: var(--green);
  animation: spin 1s linear infinite;
}

/* ---------- topbar ---------- */
.topbar { background: var(--navy-dark); color: #dfe8ff; font-size: .88rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 20px; flex-wrap: wrap; }
.topbar-note { margin: 0; }
.topbar-note i { color: var(--gold); animation: wiggle 2.5s ease-in-out infinite; display: inline-block; }
.topbar a { color: #dfe8ff; }
.topbar a:hover { color: var(--gold-light); }
.topbar-contact { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-social { display: flex; gap: 12px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(18, 53, 122, .06);
  transition: box-shadow .3s, padding .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(18, 53, 122, .14); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; transition: transform .6s; }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.55rem; color: var(--navy); font-weight: 800; }
.brand-text small { font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--green); font-weight: 800; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a {
  display: block; padding: 10px 14px; border-radius: 30px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.main-nav > ul > li > a i { font-size: .65rem; margin-left: 3px; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { background: var(--sky-soft); color: var(--blue); }
.main-nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  list-style: none; margin: 0; padding: 10px;
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow-hover);
  border-top: 4px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s;
}
.main-nav .has-sub:hover .sub, .main-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .sub a { display: block; padding: 9px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; }
.main-nav .sub a:hover { background: var(--green-soft); color: var(--green); padding-left: 20px; }
.nav-toggle { display: none; background: var(--navy); border: 0; width: 46px; height: 46px; border-radius: 14px; cursor: pointer; padding: 12px 11px; }
.nav-toggle span { display: block; height: 3px; background: var(--white); border-radius: 3px; margin: 4px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero slider ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--sky-soft) 0%, var(--cream) 55%, var(--green-soft) 100%); }
.hero-swiper { width: 100%; }
.hero-slide { position: relative; min-height: 640px; display: flex; align-items: center; padding: 70px 0 130px; }
.hero-slide.has-bg::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 86, .85) 0%, rgba(11, 37, 86, .45) 45%, rgba(11, 37, 86, 0) 70%);
  z-index: 1;
}
.hero-slide .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform: scale(1.12); transition: transform 7s ease; }
.hero-slide.swiper-slide-active .bg { transform: scale(1); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-text .kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 40px;
  background: var(--white); color: var(--green); font-weight: 800; font-size: .9rem; box-shadow: var(--shadow);
}
.hero-text h1 { margin: 18px 0 16px; }
.hero-text h1 .script { color: var(--gold); display: block; font-size: 1.05em; }
.hero-text p { font-size: 1.2rem; color: var(--muted); max-width: 560px; }
.hero-slide.has-bg .hero-text h1, .hero-slide.has-bg .hero-text h2, .hero-slide.has-bg .hero-text p { color: var(--white); text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
.hero-text h2.h1 { margin: 18px 0 16px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-text > * { opacity: 0; transform: translateY(30px); }
.swiper-slide-active .hero-text > * { animation: riseIn .9s forwards; }
.swiper-slide-active .hero-text > *:nth-child(2) { animation-delay: .15s; }
.swiper-slide-active .hero-text > *:nth-child(3) { animation-delay: .3s; }
.swiper-slide-active .hero-text > *:nth-child(4) { animation-delay: .45s; }

.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-blob {
  width: min(420px, 85vw); aspect-ratio: 1;
  background: var(--grad-wings);
  border-radius: 42% 58% 63% 37% / 43% 41% 59% 57%;
  animation: morph 9s ease-in-out infinite;
  display: grid; place-items: center; box-shadow: 0 30px 60px rgba(42, 127, 212, .25);
}
.hero-blob img { width: 78%; border-radius: 50%; background: var(--white); padding: 12px; box-shadow: 0 20px 40px rgba(0,0,0,.15); animation: floatY 5s ease-in-out infinite; }
.hero-art .orbit { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.hero-art .orbit i { position: absolute; font-size: 1.8rem; }
.hero-art .orbit i:nth-child(1) { top: 2%; left: 48%; color: var(--gold); }
.hero-art .orbit i:nth-child(2) { top: 48%; right: 0; color: var(--green); }
.hero-art .orbit i:nth-child(3) { bottom: 2%; left: 46%; color: var(--blue); }
.hero-art .orbit i:nth-child(4) { top: 46%; left: 0; color: #e86a8d; }
.hero-chip {
  position: absolute; background: var(--white); border-radius: 18px; padding: 12px 18px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .95rem; color: var(--navy);
  animation: floatY 4s ease-in-out infinite;
}
.hero-chip i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--white); }
.hero-chip.c1 { top: 10%; left: -2%; }
.hero-chip.c1 i { background: var(--green); }
.hero-chip.c2 { bottom: 12%; right: -2%; animation-delay: 1.5s; }
.hero-chip.c2 i { background: var(--gold); }
.hero .swiper-pagination { bottom: 110px !important; z-index: 5; }
.swiper-pagination-bullet { width: 12px; height: 12px; background: var(--navy); opacity: .3; transition: .3s; }
.swiper-pagination-bullet-active { opacity: 1; width: 34px; border-radius: 10px; background: var(--gold); }
.hero .wave-bottom { z-index: 4; }

/* clouds + bubbles */
.clouds { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.cloud { position: absolute; background: var(--white); border-radius: 100px; opacity: .85; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: var(--white); border-radius: 50%; }
.cloud.c1 { width: 160px; height: 46px; top: 12%; animation-duration: 48s; }
.cloud.c2 { width: 110px; height: 34px; top: 30%; animation-duration: 62s; animation-delay: -20s; }
.cloud.c3 { width: 200px; height: 56px; top: 64%; animation-duration: 75s; animation-delay: -40s; opacity: .6; }
.cloud::before { width: 55%; height: 140%; top: -60%; left: 14%; }
.cloud::after { width: 38%; height: 110%; top: -40%; right: 14%; }

/* ---------- waves ---------- */
.wave { position: absolute; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.wave svg { width: 100%; height: 90px; display: block; }
.wave-bottom { bottom: -1px; }
.wave-bottom path { fill: var(--white); }
.wave-top { top: -1px; }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section.bg-cream { background: var(--cream); }
.section.bg-sky { background: var(--sky-soft); }
.section.bg-green { background: var(--green-soft); }
.section-title { max-width: 760px; margin: 0 auto 56px; }
.section-title.text-left { margin-left: 0; }
.section-title .tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px; border-radius: 40px;
  background: var(--gold-soft); color: #b47a0a; font-weight: 800; font-size: .9rem; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-title .tag i { animation: wiggle 3s ease-in-out infinite; display: inline-block; }
.section-title p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- features strip (under hero) ---------- */
.feature-strip { margin-top: -70px; position: relative; z-index: 6; }
.feature-box {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow);
  text-align: center; transition: transform .4s, box-shadow .4s; border-bottom: 5px solid var(--c, var(--blue));
}
.feature-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.feature-box .ic {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 24px; display: grid; place-items: center;
  font-size: 1.9rem; color: var(--white); background: var(--c, var(--blue));
  transform: rotate(-6deg); transition: transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.feature-box:hover .ic { transform: rotate(6deg) scale(1.1); }
.feature-box h3 { font-size: 1.2rem; margin-bottom: 6px; }
.feature-box p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media .frame {
  border-radius: 46% 54% 40% 60% / 52% 44% 56% 48%; overflow: hidden; background: var(--grad-wings);
  aspect-ratio: 1 / 1; display: grid; place-items: center; box-shadow: var(--shadow-hover);
}
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .frame img.logo-fallback { width: 70%; height: auto; border-radius: 50%; background: #fff; padding: 10px; }
.about-media .badge-years {
  position: absolute; bottom: 6%; right: 0; background: var(--gold); color: var(--white); border-radius: 50%;
  width: 140px; height: 140px; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
  font-family: var(--font-head); font-weight: 700; line-height: 1.1; animation: bounce 3s ease-in-out infinite;
  border: 6px solid var(--white);
}
.about-media .badge-years strong { display: block; font-size: 2.4rem; }
.about-media .dots { position: absolute; top: -20px; left: -20px; width: 120px; height: 120px; background-image: radial-gradient(var(--lime) 3px, transparent 3px); background-size: 18px 18px; z-index: -1; animation: floatY 6s ease-in-out infinite; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; }
.check-list li::before {
  content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; flex: 0 0 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: .85rem;
}
.rich-text h2 { font-size: 1.7rem; margin-top: 1.2em; }
.rich-text h3 { margin-top: 1em; }
.rich-text ul, .rich-text ol { padding-left: 1.3em; }
.rich-text li { margin-bottom: .4em; }
.rich-text img { border-radius: var(--radius); margin: 1em 0; }
.rich-text blockquote { border-left: 5px solid var(--gold); background: var(--gold-soft); margin: 1.2em 0; padding: 16px 22px; border-radius: 0 16px 16px 0; }

/* mission cards */
.mv-card {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: var(--shadow);
  position: relative; overflow: hidden; transition: transform .4s;
}
.mv-card:hover { transform: translateY(-8px) rotate(-.5deg); }
.mv-card::before { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; top: -60px; right: -60px; background: var(--c); opacity: .14; transition: transform .6s; }
.mv-card:hover::before { transform: scale(1.6); }
.mv-card .ic { width: 64px; height: 64px; border-radius: 20px; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }

/* ---------- programs ---------- */
.program-card {
  --c: var(--blue); --soft: var(--sky-soft);
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
}
.program-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); }
.program-card.c-green { --c: var(--green); --soft: var(--green-soft); }
.program-card.c-gold { --c: var(--gold); --soft: var(--gold-soft); }
.program-card.c-sky { --c: var(--sky); --soft: #e7f6ff; }
.program-card.c-lime { --c: #8fad22; --soft: #f5f9e3; }
.program-card.c-navy { --c: var(--navy); --soft: #e9eef9; }
.program-media { position: relative; height: 200px; background: var(--soft); overflow: hidden; }
.program-media::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--c); opacity: .12;
  right: -60px; top: -80px; transition: transform .6s;
}
.program-card:hover .program-media::before { transform: scale(1.5); }
.program-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.program-card:hover .program-media img { transform: scale(1.08); }
.program-icon {
  position: absolute; left: 26px; bottom: -1px; width: 80px; height: 80px; border-radius: 26px 26px 0 0;
  background: var(--white); display: grid; place-items: center;
}
.program-media:not(:has(img)) .program-icon { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); border-radius: 30px; width: 100px; height: 100px; box-shadow: var(--shadow); }
.program-icon i { font-size: 2.1rem; color: var(--c); transition: transform .5s; }
.program-card:hover .program-icon i { transform: scale(1.2) rotate(-10deg); }
.program-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.program-body h3 a { color: var(--navy); }
.program-body h3 a:hover { color: var(--c); }
.program-body p { color: var(--muted); flex: 1; }
.link-more { font-weight: 800; color: var(--c, var(--blue)); display: inline-flex; gap: 8px; align-items: center; font-family: var(--font-head); }
.link-more i { transition: transform .3s; }
.link-more:hover i { transform: translateX(6px); }

/* ---------- stats counters ---------- */
.stats-band { background: var(--grad-navy); color: var(--white); padding: 90px 0; position: relative; overflow: hidden; }
.stats-band::before, .stats-band::after { content: ''; position: absolute; border-radius: 50%; border: 40px solid rgba(255,255,255,.05); }
.stats-band::before { width: 400px; height: 400px; top: -200px; left: -100px; }
.stats-band::after { width: 300px; height: 300px; bottom: -150px; right: -50px; border-color: rgba(233, 168, 37, .12); }
.stat { text-align: center; position: relative; z-index: 1; }
.stat .ic { width: 84px; height: 84px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; background: rgba(255,255,255,.1); color: var(--gold-light); border: 2px dashed rgba(255,255,255,.3); animation: spin 18s linear infinite; }
.stat .ic i { animation: spin 18s linear infinite reverse; }
.stat .num { font-family: var(--font-head); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--white); }
.stat p { color: #cbd8f5; margin: 6px 0 0; font-weight: 700; }

/* ---------- facilities ---------- */
.facility-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); display: flex; gap: 20px;
  transition: transform .4s, background .4s; position: relative; overflow: hidden;
}
.facility-card:hover { transform: translateY(-8px); }
.facility-card .ic { flex: 0 0 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 1.6rem; color: var(--white); background: var(--c, var(--blue)); }
.facility-card:nth-child(6n+1) { --c: var(--blue); }
.facility-card:nth-child(6n+2) { --c: var(--green); }
.facility-card:nth-child(6n+3) { --c: var(--gold); }
.facility-card:nth-child(6n+4) { --c: var(--sky); }
.facility-card:nth-child(6n+5) { --c: #8fad22; }
.facility-card:nth-child(6n+6) { --c: var(--navy); }
.facility-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.facility-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.facility-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.facility-card.with-img { flex-direction: column; }

/* ---------- team ---------- */
.team-card { text-align: center; }
.team-photo {
  width: 210px; height: 210px; margin: 0 auto 18px; border-radius: 50%; position: relative; padding: 8px;
  background: var(--grad-wings); transition: transform .5s;
}
.team-card:hover .team-photo { transform: translateY(-8px) rotate(4deg); }
.team-photo img, .team-photo .ph { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); background: var(--sky-soft); }
.team-photo .ph { display: grid; place-items: center; font-family: var(--font-head); font-size: 4rem; color: var(--navy); font-weight: 800; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--green); font-weight: 800; font-size: .95rem; }
.team-card p { color: var(--muted); font-size: .95rem; margin-top: 8px; }

/* ---------- testimonials ---------- */
.testimonials { background: var(--sky-soft); overflow: hidden; }
.testi-swiper { padding: 10px 10px 60px !important; }
.testi-card { background: var(--white); margin: 0; border-radius: var(--radius-lg); padding: 40px 34px 30px; box-shadow: var(--shadow); position: relative; height: 100%; }
.testi-card .quote { position: absolute; top: 26px; right: 30px; font-size: 3rem; color: var(--gold-soft); }
.testi-card .stars { color: var(--gold); margin-bottom: 10px; }
.testi-card blockquote { margin: 0 0 22px; font-size: 1.05rem; color: var(--ink); font-style: italic; }
.testi-card figcaption { display: flex; align-items: center; gap: 14px; }
.testi-card figcaption img, .testi-card .avatar { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.testi-card .avatar { display: grid; place-items: center; background: var(--grad-wings); color: var(--white); font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; }
.testi-card figcaption strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 1.1rem; }
.testi-card figcaption small { color: var(--muted); font-weight: 700; }

/* ---------- gallery ---------- */
.gallery-filter { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filter button {
  border: 2px solid var(--sky-soft); background: var(--white); color: var(--navy); padding: 8px 22px; border-radius: 40px;
  font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: .3s;
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 1; display: block; box-shadow: var(--shadow); transition: transform .4s, opacity .4s; }
.gallery-item.hide { display: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery-item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 2rem; color: var(--white);
  background: linear-gradient(135deg, rgba(42, 127, 212, .8), rgba(63, 157, 59, .8)); opacity: 0; transition: opacity .4s;
}
.gallery-item:hover img { transform: scale(1.12) rotate(2deg); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .cap { position: absolute; left: 12px; bottom: 12px; z-index: 2; background: rgba(255,255,255,.95); color: var(--navy); font-weight: 800; font-size: .85rem; padding: 4px 12px; border-radius: 20px; opacity: 0; transform: translateY(10px); transition: .4s; }
.gallery-item:hover .cap { opacity: 1; transform: none; }

/* ---------- events / blog cards ---------- */
.event-card, .post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .4s, box-shadow .4s; display: flex; flex-direction: column; }
.event-card:hover, .post-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
.event-media, .post-media { position: relative; height: 210px; overflow: hidden; background: var(--grad-wings); display: block; }
.event-media img, .post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-card:hover img, .post-card:hover img { transform: scale(1.08); }
.ph-art { display: grid; place-items: center; height: 100%; font-size: 3.4rem; color: rgba(255,255,255,.9); }
.ph-art i { animation: floatY 4s ease-in-out infinite; }
.date-badge { position: absolute; top: 16px; left: 16px; background: var(--gold); color: var(--white); border-radius: 16px; padding: 8px 14px; text-align: center; font-weight: 800; line-height: 1.1; font-size: .85rem; text-transform: uppercase; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.date-badge strong { display: block; font-size: 1.6rem; font-family: var(--font-head); }
.event-body, .post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 a, .post-body h3 a { color: var(--navy); }
.event-body h3 a:hover, .post-body h3 a:hover { color: var(--blue); }
.event-info { list-style: none; padding: 0; margin: 0 0 10px; color: var(--green); font-weight: 700; font-size: .92rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.event-body p, .post-body p { color: var(--muted); flex: 1; }
.post-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; font-weight: 700; margin-bottom: 8px; }
.post-meta i { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 0 auto; display: grid; gap: 16px; }
.faq-item { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; border-left: 6px solid var(--blue); transition: border-color .3s; }
.faq-item[open] { border-left-color: var(--gold); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 26px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--sky-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; transition: transform .3s, background .3s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--gold); color: var(--white); }
.faq-item .answer { padding: 0 26px 22px; color: var(--muted); animation: fadeDown .4s; }

/* ---------- CTA ---------- */
.cta-band { padding: 0 0 100px; }
.cta-inner {
  background: var(--grad-wings); border-radius: var(--radius-lg); padding: 50px 56px; color: var(--white);
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center; position: relative; overflow: hidden;
  box-shadow: 0 30px 60px rgba(42, 127, 212, .3);
}
.cta-inner::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.12); right: -80px; top: -120px; }
.cta-inner h2 { color: var(--white); margin-bottom: 6px; }
.cta-inner p { margin: 0; font-size: 1.1rem; opacity: .95; }
.cta-art { width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; font-size: 3rem; animation: floatY 4s ease-in-out infinite; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: url('../../uploads/art/page-banner.svg') center / cover no-repeat, var(--grad-navy); color: var(--white); padding: 90px 0 140px; text-align: center; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero .lead { font-size: 1.2rem; color: #d6e2ff; max-width: 680px; margin: 0 auto 20px; }
.breadcrumb ol { list-style: none; padding: 8px 22px; margin: 0; display: inline-flex; flex-wrap: wrap; gap: 8px; background: rgba(255,255,255,.12); border-radius: 40px; font-weight: 700; font-size: .95rem; }
.breadcrumb li + li::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-right: 8px; color: var(--gold-light); }
.breadcrumb a { color: var(--white); }
.breadcrumb span { color: var(--gold-light); }
.hero-bubbles span { position: absolute; bottom: -60px; border-radius: 50%; background: rgba(255,255,255,.12); animation: bubble linear infinite; }
.hero-bubbles span:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 9s; }
.hero-bubbles span:nth-child(2) { width: 20px; height: 20px; left: 25%; animation-duration: 6s; animation-delay: 2s; }
.hero-bubbles span:nth-child(3) { width: 60px; height: 60px; left: 55%; animation-duration: 12s; animation-delay: 1s; background: rgba(233, 168, 37, .25); }
.hero-bubbles span:nth-child(4) { width: 26px; height: 26px; left: 75%; animation-duration: 8s; animation-delay: 3s; background: rgba(169, 198, 59, .3); }
.hero-bubbles span:nth-child(5) { width: 34px; height: 34px; left: 90%; animation-duration: 10s; }
.floaty { position: absolute; font-size: 1.8rem; opacity: .55; animation: floatY 5s ease-in-out infinite; }
.floaty.f1 { top: 22%; left: 8%; color: var(--gold-light); }
.floaty.f2 { top: 30%; right: 10%; color: #ff9fb8; animation-delay: 1s; }
.floaty.f3 { bottom: 34%; left: 18%; color: var(--lime); animation-delay: 2s; }

/* ---------- detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
.detail-main .cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; box-shadow: var(--shadow); }
.detail-main .cover img { width: 100%; max-height: 460px; object-fit: cover; }
.sidebar { position: sticky; top: 110px; display: grid; gap: 26px; }
.side-box { background: var(--cream); border-radius: var(--radius); padding: 28px; }
.side-box h3 { font-size: 1.25rem; border-bottom: 3px dotted var(--gold); padding-bottom: 10px; margin-bottom: 16px; }
.side-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.side-box ul a { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; color: var(--ink); font-weight: 700; transition: .3s; }
.side-box ul a:hover, .side-box ul a.active { background: var(--white); color: var(--blue); padding-left: 18px; }
.side-box ul a i { color: var(--green); }
.side-box.cta-side { background: var(--grad-navy); color: var(--white); text-align: center; }
.side-box.cta-side h3 { color: var(--white); border-color: rgba(255,255,255,.3); }
.event-facts { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.event-facts span { background: var(--sky-soft); color: var(--navy); padding: 10px 18px; border-radius: 14px; font-weight: 800; }
.event-facts i { color: var(--gold); margin-right: 6px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 30px; font-weight: 800; color: var(--navy); flex-wrap: wrap; }
.share a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); transition: .3s; }
.share a:hover { background: var(--navy); color: var(--white); transform: translateY(-4px); }

/* ---------- forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-hover); position: relative; }
.form-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 8px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--grad-wings); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 800; color: var(--navy); margin-bottom: 6px; font-size: .95rem; }
.form-control {
  width: 100%; padding: 14px 18px; border-radius: 16px; border: 2px solid #e3ebf7; background: #fbfdff;
  font-family: inherit; font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s;
}
.form-control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 5px rgba(42, 127, 212, .12); background: #fff; }
textarea.form-control { min-height: 140px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }
.alert { padding: 16px 20px; border-radius: 16px; margin-bottom: 20px; font-weight: 700; animation: fadeDown .5s; }
.alert-success { background: var(--green-soft); color: #2b6e28; border: 2px solid #cfe9c4; }
.alert-error { background: #fff0f0; color: #b23434; border: 2px solid #f6d0d0; }
.contact-cards { display: grid; gap: 20px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); transition: transform .3s; }
.contact-card:hover { transform: translateX(8px); }
.contact-card .ic { flex: 0 0 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--c, var(--blue)); }
.contact-card h3 { font-size: 1.1rem; margin: 0 0 2px; }
.contact-card p, .contact-card a { margin: 0; color: var(--muted); font-weight: 700; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 60px; line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* principal */
.principal { display: grid; grid-template-columns: 300px 1fr; gap: 50px; align-items: center; background: var(--white); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow); position: relative; }
.principal .photo { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--grad-wings); padding: 10px; }
.principal .photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid #fff; background: #fff; }
.principal blockquote { margin: 0; font-size: 1.2rem; font-style: italic; color: var(--ink); }
.principal .sign { font-family: var(--font-script); font-size: 1.8rem; color: var(--navy); margin-top: 16px; }

/* pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); font-weight: 800; }
.pagination .current { background: var(--navy); color: var(--white); }
.pagination a:hover { background: var(--gold); color: var(--white); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state i { font-size: 3.5rem; color: var(--sky); margin-bottom: 14px; display: block; animation: bounce 2.5s infinite; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-dark); color: #c6d3f1; padding: 140px 0 0; position: relative; overflow: hidden; margin-top: 20px; }
.site-footer .wave-top path { fill: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; position: relative; z-index: 1; }
.site-footer h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 50px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--lime)); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c6d3f1; }
.site-footer ul a { transition: padding .3s, color .3s; }
.site-footer ul a:hover { color: var(--gold-light); padding-left: 6px; }
.brand-footer { margin-bottom: 18px; }
.brand-footer img { width: 70px; height: 70px; background: #fff; }
.brand-footer .brand-text strong { color: var(--white); }
.brand-footer .brand-text small { color: var(--lime); }
.social { display: flex; gap: 10px; margin-top: 10px; }
.social a { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--white); transition: .3s; }
.social a:hover { background: var(--gold); transform: translateY(-5px) rotate(-6deg); color: var(--white); }
.contact-list li { display: flex; gap: 12px; }
.contact-list i { color: var(--gold); margin-top: 6px; width: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 60px; padding: 22px 0; font-size: .92rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { margin: 0; }
.footer-bottom .fa-heart { color: #ff6b8b; animation: pulse 1.3s infinite; display: inline-block; }
.footer-shapes i { position: absolute; opacity: .08; color: #fff; animation: floatY 7s ease-in-out infinite; }
.footer-shapes .s1 { font-size: 6rem; top: 30%; right: 6%; }
.footer-shapes .s2 { font-size: 4rem; bottom: 18%; left: 4%; animation-delay: 2s; }
.footer-shapes .s3 { font-size: 5rem; top: 50%; left: 44%; animation-delay: 4s; }

/* floating buttons */
.whatsapp-float { position: fixed; left: 22px; bottom: 22px; z-index: 950; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); animation: ring 2.2s infinite; }
.whatsapp-float:hover { color: #fff; }
.back-top { position: fixed; right: 22px; bottom: 22px; z-index: 950; width: 52px; height: 52px; border-radius: 16px; border: 0; background: var(--gold); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px); transition: .4s; box-shadow: var(--shadow); }
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--navy); }

/* ---------- keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-4deg); } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 63% 37% / 43% 41% 59% 57%; }
  33% { border-radius: 63% 37% 45% 55% / 55% 62% 38% 45%; }
  66% { border-radius: 37% 63% 52% 48% / 38% 46% 54% 62%; }
}
@keyframes drift { from { transform: translateX(-260px); } to { transform: translateX(110vw); } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-560px) scale(1.2); opacity: 0; } }
@keyframes riseIn { to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-text > * { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .main-nav > ul > li > a { padding: 10px 9px; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .hero-slide.has-bg::before { background: linear-gradient(180deg, rgba(11, 37, 86, .82) 0%, rgba(11, 37, 86, .55) 60%, rgba(11, 37, 86, .2) 100%); }
  .nav-toggle { display: block; }
  .site-header { backdrop-filter: none; background: var(--white); }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 90px 22px 30px; gap: 20px; overflow-y: auto;
    clip-path: inset(0 0 0 100%); visibility: hidden;
    transition: clip-path .45s cubic-bezier(.77, 0, .18, 1), visibility 0s .45s; box-shadow: -20px 0 50px rgba(0,0,0,.15);
  }
  .main-nav.open { clip-path: inset(0 0 0 -60px); visibility: visible; transition: clip-path .45s cubic-bezier(.77, 0, .18, 1); }
  .main-nav > ul { flex-direction: column; }
  .main-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
  .main-nav .has-sub.open .sub { display: block; }
  .nav-toggle { position: relative; z-index: 1001; }
  .hero-grid, .about-grid, .detail-grid, .principal { grid-template-columns: 1fr; }
  .hero-art { min-height: 320px; order: -1; }
  .hero-slide { min-height: 0; padding: 50px 0 140px; }
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; text-align: center; padding: 40px 28px; }
  .cta-art { margin: 0 auto; }
  .cta-actions { justify-content: center; }
  .sidebar { position: static; }
  .principal { padding: 34px; text-align: center; }
  .principal .photo { max-width: 240px; margin: 0 auto; }
  .topbar-note { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4, .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .brand-text strong { font-size: 1.3rem; }
  .brand img { width: 48px; height: 48px; }
  .topbar-contact a:nth-child(2) { display: none; }
  .hero-chip { display: none; }
  .stat .num { font-size: 2.4rem; }
  .feature-strip .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-box { padding: 22px 14px; }
}
