/* ==========================================================
   Wings of Soul — stylesheet
   ========================================================== */
:root {
  --purple: #6c2ba7;
  --purple-dark: #4e1b7d;
  --purple-soft: #f3ecfa;
  --green: #97c554;
  --green-dark: #81a848;
  --teal: #083e47;
  --teal-dark: #002a31;
  --text: #3f4047;
  --muted: #69727d;
  --bg: #ffffff;
  --bg-alt: #f7f8f9;
  --line: #e6e8eb;
  --danger: #cf2e2e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(8, 62, 71, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 62, 71, 0.15);
  --container: 1180px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--teal); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--teal); color: #d8e6e8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.narrow { max-width: 720px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: .8rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.center .eyebrow::after { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-left: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); }
.brand-name { color: var(--purple); font-weight: 700; font-family: var(--font-head); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.9em;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  cursor: pointer;
  transition: background .25s, color .25s, transform .25s, box-shadow .25s, border-color .25s;
}
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } }
.btn:active { transform: scale(.97); transition-duration: .1s; }
.btn--primary { background: var(--purple); color: #fff; box-shadow: 0 8px 20px rgba(108, 43, 167, .3); }
.btn--primary:hover { background: var(--purple-dark); color: #fff; }
.btn--green { background: var(--green); color: var(--teal-dark); box-shadow: 0 8px 20px rgba(0, 30, 35, .22); }
.btn--green:hover { background: #a7d166; color: var(--teal-dark); }
.btn--outline { border-color: currentColor; color: #fff; }
.btn--outline:hover { background: #fff; color: var(--teal); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a82121; color: #fff; }
.link-more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; display: inline-flex; gap: .4em; align-items: center; }
.link-more svg { transition: transform .2s; }
.link-more:hover svg { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--teal-dark); color: #cfe0e2; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 1rem; }
.topbar a { color: #cfe0e2; }
.topbar a:hover { color: var(--green); }
.topbar__info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: .45em; }
.emergency-btn {
  background: var(--danger); color: #fff !important; border: 0;
  padding: .35em 1em; border-radius: 999px; font-weight: 600; font-size: .8rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: .5em;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(207, 46, 46, .6); }
  70% { box-shadow: 0 0 0 10px rgba(207, 46, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(207, 46, 46, 0); }
}

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.nav a { font-family: var(--font-head); font-weight: 500; color: var(--teal); position: relative; padding: .4em 0; }
.nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.nav ul a:hover::after, .nav ul a.active::after { transform: scaleX(1); }
.nav ul a.active { color: var(--purple); }
.nav .btn { color: #fff; padding: .75em 1.5em; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--teal); transition: transform .3s, background .3s;
}
.menu-toggle span { top: 21px; }
.menu-toggle span::before { content: ""; left: 0; top: -7px; }
.menu-toggle span::after { content: ""; left: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(calc(100vh - var(--header-h) - 42px), 780px);
  display: flex; align-items: center; color: #fff; overflow: hidden;
  background: var(--teal-dark);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: -6% 0; z-index: -2; background: url("../img/hero.jpg") 50% 45% / cover no-repeat; will-change: transform; }
/* desktop: the embrace sits to the right of the headline instead of behind it */
@media (min-width: 961px) {
  .hero__bg { left: 28%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%); mask-image: linear-gradient(90deg, transparent 0%, #000 30%); }
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0, 42, 49, .94) 0%, rgba(8, 62, 71, .82) 45%, rgba(108, 43, 167, .45) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero__content { max-width: 680px; }
.hero__kicker { font-family: var(--font-head); font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 500; margin-bottom: .4rem; color: #d8e6e8; }
.hero h1 { color: #fff; margin-bottom: .3em; }
.hero__title { margin-bottom: .25em; }
.rotator { display: inline-grid; color: var(--green); overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.rotator__word { grid-area: 1 / 1; display: block; white-space: nowrap; }
.hero__sub { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: #e4eef0; margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__wing { position: absolute; right: -60px; bottom: -40px; width: 420px; opacity: .08; pointer-events: none; }

/* ---------- Page banner ---------- */
.page-banner {
  position: relative; color: #fff; padding: 110px 0 90px; text-align: center;
  background: var(--teal) center / cover no-repeat;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 42, 49, .9), rgba(108, 43, 167, .7)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; margin-bottom: .3em; }
.breadcrumb { font-family: var(--font-head); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #d8e6e8; }
.breadcrumb a { color: var(--green); }

/* ---------- Counters ---------- */
.counters { position: relative; margin-top: -70px; z-index: 5; }
.counters__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.counter { padding: 38px 20px; text-align: center; border-right: 1px solid var(--line); }
.counter:last-child { border-right: 0; }
.counter__num { font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; color: var(--purple); line-height: 1; }
.counter__num::before { content: "+"; color: var(--green); margin-right: 2px; }
.counter__label { margin-top: .5rem; font-weight: 600; color: var(--teal); }
.counters__title { text-align: center; font-family: var(--font-head); font-weight: 600; color: var(--muted); margin-bottom: 1rem; }
.counters--static { margin-top: 0; }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 100%; max-height: 560px; object-fit: cover; }
.split__media::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 3px solid var(--green); border-radius: var(--radius); z-index: -1;
}
.badge-float {
  position: absolute; right: -20px; bottom: 30px; background: var(--purple); color: #fff; padding: 20px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-family: var(--font-head); max-width: 220px;
}
.badge-float strong { display: block; font-size: 2.2rem; line-height: 1; }
.badge-float span { font-size: .85rem; opacity: .9; }

.emergency-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
  background: var(--purple-soft); padding: 18px 22px; border-radius: 12px; margin-top: 1.6rem;
}
.emergency-strip p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--teal); font-size: .95rem; }

.checklist { list-style: none; padding: 0; margin: 1.2rem 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: .7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Services ---------- */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 38px 32px; box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden; display: flex; flex-direction: column;
}
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--purple); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) {
  .card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
  .card:hover::after { transform: scaleX(1); }
}
.card__icon {
  width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: var(--purple-soft); color: var(--purple); transition: background .3s, color .3s;
}
@media (hover: hover) { .card:hover .card__icon { background: var(--purple); color: #fff; } }
.card__icon svg { width: 34px; height: 34px; }
.card p { color: var(--muted); flex: 1; }
.card--compact { padding: 30px 26px; }
.card--compact .card__icon { width: 56px; height: 56px; border-radius: 14px; }
.card--compact .card__icon svg { width: 28px; height: 28px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: center; padding: 10px; }
.feature__icon { width: 74px; height: 74px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: rgba(151, 197, 84, .15); color: var(--green); }
.feature__icon svg { width: 34px; height: 34px; }
.section--dark .feature p { color: #b9cfd2; }

/* ---------- Mission banner ---------- */
.mission { position: relative; }
.mission .split__media::before { border-color: var(--purple); }

/* ---------- Testimonials ---------- */
.slider { position: relative; max-width: 820px; margin: 0 auto; }
.slider__track { overflow: hidden; }
.slider__slides { display: flex; transition: transform .6s cubic-bezier(.6, .05, .3, 1); }
.testimonial { flex: 0 0 100%; padding: 10px 20px 20px; text-align: center; }
.testimonial blockquote {
  margin: 0 0 1.6rem; font-size: clamp(1.1rem, 2vw, 1.35rem); font-style: italic; color: var(--teal); line-height: 1.6; position: relative;
}
.testimonial blockquote::before { content: "“"; display: block; font-family: Georgia, serif; font-size: 5rem; line-height: .6; color: var(--green); margin-bottom: .6rem; font-style: normal; }
.testimonial__avatar {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto .6rem; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--green)); color: #fff; font-family: var(--font-head); font-weight: 700;
}
.testimonial cite { font-style: normal; font-family: var(--font-head); font-weight: 600; color: var(--teal); display: block; }
.testimonial small { color: var(--muted); }
.stars { color: #f5a300; display: flex; justify-content: center; gap: 3px; margin-bottom: .8rem; }
.stars svg { width: 18px; height: 18px; }
.slider__dots { display: flex; justify-content: center; gap: 10px; margin-top: 10px; }
.slider__dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #cfd4d9; cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.slider__dots button.active { background: var(--purple); width: 30px; border-radius: 6px; }
.slider__arrow {
  position: absolute; top: 40%; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow);
  cursor: pointer; color: var(--purple); display: grid; place-items: center; transition: background .2s, color .2s;
}
.slider__arrow svg { width: 22px; height: 22px; }
.slider__arrow:hover { background: var(--purple); color: #fff; }
.slider__arrow--prev { left: -60px; }
.slider__arrow--next { right: -60px; }

/* ---------- Partners ---------- */
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 80px); padding: 10px clamp(20px, 3vw, 40px); margin: 0; list-style: none; flex: none; }
.marquee__track img { height: clamp(52px, 7vw, 76px); width: auto; max-width: 180px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.marquee__track li:hover img { filter: none; opacity: 1; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 90px 0;
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 45%, var(--teal) 100%);
}
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.cta::before { width: 380px; height: 380px; left: -120px; top: -160px; }
.cta::after { width: 280px; height: 280px; right: -80px; bottom: -120px; background: rgba(151, 197, 84, .18); }
.cta .container { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta .eyebrow { color: var(--green); }
.cta p { color: #eadff5; max-width: 620px; margin: 0 auto 2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Values / vision ---------- */
.vpv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vpv .card h3 { color: var(--purple); }

/* ---------- Quote ---------- */
.big-quote { text-align: center; max-width: 820px; margin: 0 auto; }
.big-quote img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.4rem; border: 4px solid var(--green); }
.big-quote blockquote { margin: 0 0 1rem; font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 500; color: #fff; line-height: 1.45; }
.big-quote cite { font-style: normal; color: var(--green); font-weight: 600; }

/* ---------- Team ---------- */
.team-group { margin-bottom: 56px; }
.team-group:last-child { margin-bottom: 0; }
.team-group h3 { display: flex; align-items: center; gap: 14px; color: var(--purple); margin-bottom: 26px; }
.team-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 26px; }
.member { text-align: center; }
.member__photo {
  width: 150px; height: 150px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--purple), var(--green)); padding: 4px; transition: transform .3s;
}
.member__photo img, .member__photo .initials { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 4px solid #fff; }
.member__photo .initials { display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; }
@media (hover: hover) { .member:hover .member__photo { transform: translateY(-6px) rotate(-2deg); } }
.member h4 { margin: 0 0 .15rem; font-size: 1.05rem; }
.member p { margin: 0; color: var(--muted); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.accordion { display: grid; gap: 14px; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.acc-item.open { box-shadow: var(--shadow); border-color: transparent; }
.acc-btn {
  width: 100%; text-align: left; background: none; border: 0; padding: 20px 60px 20px 24px; cursor: pointer; position: relative;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 600; color: var(--teal);
}
.acc-btn::before, .acc-btn::after {
  content: ""; position: absolute; right: 29px; top: 50%; width: 12px; height: 2px; margin-top: -1px; border-radius: 2px;
  background: var(--purple); transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .2s;
}
.acc-btn::after { transform: rotate(90deg); }
.acc-btn { background: linear-gradient(var(--purple-soft), var(--purple-soft)) no-repeat right 20px center / 30px 30px; }
.acc-btn { background-image: radial-gradient(circle, var(--purple-soft) 14.5px, transparent 15px); background-size: 30px 30px; }
.acc-item.open .acc-btn { background-image: radial-gradient(circle, var(--purple) 14.5px, transparent 15px); }
.acc-item.open .acc-btn::before, .acc-item.open .acc-btn::after { background: #fff; }
.acc-item.open .acc-btn::after { transform: rotate(0deg); }
.acc-panel { overflow: hidden; }
.js .acc-item:not(.open) .acc-panel { height: 0; }
.acc-panel__inner { padding: 0 24px 22px; color: var(--muted); }
.aside-box { background: var(--teal); color: #d8e6e8; border-radius: var(--radius); padding: 36px; position: sticky; top: calc(var(--header-h) + 20px); }
.aside-box h3 { color: #fff; }
.aside-box .btn { margin-top: .6rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.fact { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.fact h3 { color: var(--purple); }
.fact p { color: var(--muted); margin: 0; }
.stat-highlight { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--teal); line-height: 1; margin-bottom: .4rem; }

/* ---------- Contact ---------- */
.contact-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 70px; }
.info-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); }
.info-card .card__icon { margin: 0 auto 1rem; }
.info-card h3 { font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.info-card p, .info-card a { font-family: var(--font-head); font-weight: 600; color: var(--teal); margin: 0; word-break: break-word; }
.info-card a:hover { color: var(--purple); }
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: stretch; }
.form-wrap__media { border-radius: var(--radius); overflow: hidden; position: relative; min-height: 380px; background: var(--teal) center / cover no-repeat; }
.form-wrap__media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 42, 49, .92)); }
.form-wrap__media div { position: absolute; left: 30px; right: 30px; bottom: 30px; color: #fff; }
.form-wrap__media h3 { color: #fff; font-size: 1.5rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .88rem; color: var(--teal); margin-bottom: .35rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: .9em 1.1em; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--text); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(108, 43, 167, .12); }
.form .check { display: flex; gap: .7em; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.form .check input { width: auto; margin-top: .3em; accent-color: var(--purple); }
.form .check label { font-family: var(--font-body); font-weight: 400; color: var(--muted); margin: 0; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: 10px; display: none; font-weight: 600; }
.form-status.success { display: block; background: rgba(151, 197, 84, .15); color: #4f7a1d; }
.form-status.error { display: block; background: rgba(207, 46, 46, .1); color: var(--danger); }

/* ---------- Help / volunteer ---------- */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.help-card { border-radius: var(--radius); padding: 44px; color: #fff; position: relative; overflow: hidden; }
.help-card h3 { color: #fff; font-size: 1.6rem; }
.help-card p { color: rgba(255, 255, 255, .88); }
.help-card--purple { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.help-card--teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); }
.help-card .btn { margin-top: .6rem; }

/* ---------- Legal ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-dark); color: #aec5c9; padding-top: 80px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer__title { color: #fff; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3rem; }
.footer a { color: #aec5c9; }
.footer a:hover { color: var(--green); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer__logo img { height: 70px; width: auto; margin-bottom: 1.2rem; }
.footer__contact li { display: flex; gap: .7em; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: .3em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background .25s, transform .25s; }
.socials a:hover { background: var(--purple); color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: .85rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- Floating / modal ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer; z-index: 90;
  background: var(--purple); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-dark); }
.whatsapp {
  position: fixed; left: 24px; bottom: 24px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; z-index: 90;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .25s;
}
.whatsapp:hover { transform: scale(1.08); color: #fff; }
.whatsapp svg { width: 30px; height: 30px; }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(0, 20, 24, .7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__box {
  background: #fff; border-radius: 18px; max-width: 520px; width: 100%; padding: 44px 38px 38px; position: relative; text-align: center;
  transform: scale(.92); transition: transform .3s;
}
.modal.open .modal__box { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-alt); cursor: pointer; color: var(--teal); display: grid; place-items: center; }
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { background: var(--line); }
.modal__icon { width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: rgba(207, 46, 46, .1); color: var(--danger); }
.modal__icon svg { width: 36px; height: 36px; }
.modal__phone { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--danger); margin: .6rem 0 1.2rem; }
.modal small { display: block; color: var(--muted); margin-top: 1rem; }
.modal__999 { background: var(--bg-alt); border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-bottom: 1.2rem; }

/* ---------- Reveal ---------- */
/* .reveal is a hook for GSAP; content stays visible without JS */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .slider__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-info { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .menu-toggle { display: block; }
  .logo img { height: 48px; }
  .split, .faq-layout, .form-wrap, .help-grid { grid-template-columns: 1fr; gap: 50px; }
  .cards, .vpv { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .aside-box { position: static; }
  .badge-float { right: 10px; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .topbar__info .hide-sm { display: none; }
  .cards, .cards--4, .vpv, .features, .facts, .contact-info { grid-template-columns: 1fr; }
  .counters__grid { grid-template-columns: 1fr; }
  .counter { border-right: 0; border-bottom: 1px solid var(--line); }
  .counter:last-child { border-bottom: 0; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .help-card { padding: 32px 26px; }
  .split__media::before { display: none; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .member__photo { width: 120px; height: 120px; }
}

/* ---------- Language switch / skip link ---------- */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 4px 6px 4px 10px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--muted); }
.lang-switch svg { margin-right: 4px; }
.lang-switch a { font-family: var(--font-head); font-size: .78rem; font-weight: 600; color: var(--muted); padding: .25em .55em; border-radius: 999px; line-height: 1.4; }
.lang-switch a:hover { color: var(--purple); }
.lang-switch a.active { background: var(--purple); color: #fff; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--purple); color: #fff; padding: .6em 1em; border-radius: 8px; }
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }
@media (max-width: 1180px) and (min-width: 961px) {
  .nav, .nav ul { gap: 1.2rem; }
  .nav .btn { padding: .7em 1.1em; font-size: .88rem; }
}
@media (max-width: 960px) {

}

/* ==========================================================
   Browser surfaces
   ========================================================== */
::selection { background: rgba(108, 43, 167, .18); color: var(--teal-dark); }
html { caret-color: var(--purple); accent-color: var(--purple); -webkit-tap-highlight-color: rgba(108, 43, 167, .12); scrollbar-color: #c9bfd6 transparent; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .footer :focus-visible, .cta :focus-visible, .hero :focus-visible, .topbar :focus-visible { outline-color: var(--green); }
a { text-underline-offset: .2em; }
.nav__extra { display: none; }
.lbl-short { display: none; }
.topbar__phone, .topbar__info a { display: inline-flex; align-items: center; gap: .45em; white-space: nowrap; }
.header { transition: box-shadow .3s, transform .35s cubic-bezier(.16, 1, .3, 1); }
.header.is-hidden { transform: translateY(-100%); }

/* ==========================================================
   Tablet & mobile
   ========================================================== */
@media (max-width: 960px) {
  /* backdrop-filter would make the header the containing block of the fixed menu panel */
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  body.menu-open { overflow: hidden; }
  .menu-open .header { transform: none; box-shadow: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); bottom: 0; z-index: 99;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px max(28px, env(safe-area-inset-bottom)); background: #fff; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
  }
  .menu-open .nav { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .5s cubic-bezier(.16, 1, .3, 1), visibility 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 4px; border-bottom: 1px solid var(--line); font-size: 1.45rem; font-weight: 600; }
  .nav ul a::after { display: none; }
  .nav ul a.active { color: var(--purple); }
  .nav ul a.active::before { content: ""; order: 2; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
  .nav .lang-switch { align-self: flex-start; margin-top: 24px; padding: 6px 8px 6px 12px; }
  .nav .lang-switch a { font-size: .95rem; padding: .45em .95em; min-height: 36px; display: inline-flex; align-items: center; }
  .nav .btn { margin-top: 20px; justify-content: center; min-height: 54px; }
  .nav__extra { display: grid; gap: 14px; margin-top: auto; padding-top: 28px; }
  .nav__extra a { display: inline-flex; align-items: center; gap: .7em; color: var(--muted); font-size: .95rem; }
  .nav__extra svg { color: var(--purple); }
  .header.is-scrolled { box-shadow: 0 2px 14px rgba(0, 0, 0, .07); }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  body { font-size: 15.5px; }
  .container { padding: 0 18px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  h2 { font-size: clamp(1.6rem, 7vw, 1.95rem); letter-spacing: -.01em; }
  .lead { font-size: 1.02rem; }

  /* top bar: one line, thumb-sized emergency */
  .topbar .container { min-height: 40px; gap: .6rem; }
  .topbar__info { gap: 0; }
  .topbar__phone { font-size: .82rem; }
  .emergency-btn { padding: .45em .95em; font-size: .78rem; flex: none; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .logo img { height: 44px; }

  /* hero */
  .hero { min-height: min(calc(100svh - var(--header-h) - 40px), 700px); align-items: flex-end; }
  .hero::before { background: linear-gradient(180deg, rgba(0, 42, 49, .18) 0%, rgba(0, 42, 49, .35) 30%, rgba(0, 42, 49, .82) 58%, rgba(8, 62, 71, .97) 100%); }
  .hero .container { padding-top: 56px; padding-bottom: 104px; }
  .hero__bg { background-position: 50% 25%; }
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.2rem); }
  .hero__sub { font-size: 1.05rem; margin-bottom: 1.6rem; }
  .hero__actions { flex-direction: column; gap: .75rem; }
  .hero__actions .btn { justify-content: center; width: 100%; min-height: 52px; }
  .hero__wing { width: 240px; right: -70px; bottom: auto; top: 20px; }

  /* counters: one compact row instead of three stacked tiles */
  .counters { margin-top: -64px; }
  .counters__grid { grid-template-columns: repeat(3, 1fr); border-radius: 12px; }
  .counter { padding: 20px 6px; border-right: 1px solid var(--line); border-bottom: 0; }
  .counter:last-child { border-right: 0; }
  .counter__num { font-size: 1.75rem; }
  .counter__label { font-size: .72rem; line-height: 1.3; margin-top: .4rem; }

  /* split sections */
  .split { gap: 36px; }
  .split__media img { max-height: 360px; aspect-ratio: 4 / 3.4; }
  .badge-float { right: 12px; bottom: -18px; padding: 14px 18px; }
  .badge-float strong { font-size: 1.7rem; }
  .emergency-strip { flex-direction: column; align-items: stretch; text-align: left; }
  .emergency-strip .btn { justify-content: center; }

  /* cards become compact rows: icon beside text */
  .cards, .cards--4 { gap: 12px; }
  .card, .card--compact { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: start; padding: 20px 18px; border-radius: 12px; }
  .card .card__icon, .card--compact .card__icon { width: 48px; height: 48px; border-radius: 12px; margin: 0; grid-row: span 3; }
  .card .card__icon svg { width: 24px; height: 24px; }
  .card h3 { font-size: 1.05rem; margin: 2px 0 .35em; }
  .card p { font-size: .92rem; margin: 0; line-height: 1.6; }
  .card .link-more { margin-top: .6rem; }
  .card .checklist { grid-column: 1 / -1; margin-top: .8rem !important; }
  .vpv .card { grid-template-columns: 48px 1fr; }

  .features { gap: 8px; }
  .feature { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .feature:last-child { border-bottom: 0; }
  .feature__icon { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .feature__icon svg { width: 26px; height: 26px; }
  .feature h3 { font-size: 1.05rem; margin: 4px 0 .3em; }
  .feature p { font-size: .92rem; margin: 0; }

  /* testimonials */
  .testimonial { padding: 0 4px 10px; }
  .testimonial blockquote { font-size: 1.1rem; }
  .testimonial blockquote::before { font-size: 4rem; }

  /* team: centered wrap so a lone member never sits at the edge */
  .team { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 14px; }
  .member { width: calc(50% - 7px); }
  .member__photo { width: 112px; height: 112px; }
  .member h4 { font-size: .95rem; }
  .member p { font-size: .82rem; }
  .team-group { margin-bottom: 40px; }
  .team-group h3 { font-size: 1.05rem; margin-bottom: 20px; }
  .big-quote img { width: 88px; height: 88px; }

  /* faq, contact */
  .acc-btn { padding: 18px 58px 18px 18px; font-size: .98rem; }
  .acc-panel__inner { padding: 0 18px 18px; font-size: .95rem; }
  .aside-box { padding: 28px 22px; }
  .aside-box .btn { width: 100%; justify-content: center; }
  .fact { padding: 24px 20px; }
  .stat-highlight { font-size: 2rem; }
  .contact-info { gap: 12px; margin-bottom: 44px; }
  .info-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; text-align: left; align-items: center; padding: 18px; }
  .info-card .card__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
  .info-card h3 { margin: 0; font-size: .72rem; }
  .form-wrap__media { min-height: 300px; }
  .form .btn { width: 100%; justify-content: center; min-height: 52px; }
  .help-card h3 { font-size: 1.35rem; }
  .help-card .btn { width: 100%; justify-content: center; }

  /* page banner */
  .page-banner { padding: 64px 0 56px; }
  .page-banner h1 { font-size: clamp(2rem, 9vw, 2.6rem); }

  /* cta */
  .cta { padding: 64px 0; }
  .cta__actions { flex-direction: column; }
  .cta__actions .btn { justify-content: center; min-height: 52px; }

  /* footer */
  .footer { padding-top: 56px; }
  .footer__grid { gap: 32px; padding-bottom: 40px; }
  .footer ul { gap: .2rem; }
  .footer ul a, .footer__contact li { min-height: 40px; display: flex; align-items: center; }
  .footer__bottom .container { flex-direction: column; gap: .4rem; padding-bottom: 76px; }

  /* emergency dialog becomes a bottom sheet */
  .modal { place-items: end stretch; padding: 0; }
  .modal__box { max-width: none; border-radius: 22px 22px 0 0; padding: 40px 22px max(26px, env(safe-area-inset-bottom)); }
  .modal__box::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line); }
  .modal__box .btn { width: 100%; justify-content: center; min-height: 54px; }
  .modal__phone { font-size: 1.5rem; }
}

/* floating buttons respect the home indicator */
.to-top { bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px)); }
.whatsapp { bottom: max(24px, calc(env(safe-area-inset-bottom) + 12px)); }
@media (max-width: 640px) {
  .to-top { right: 16px; width: 44px; height: 44px; }
  .whatsapp { left: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee__track[aria-hidden="true"] { display: none; }
  .header.is-hidden { transform: none; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* on phones the WhatsApp bubble waits until the hero has been read, so it never covers the key numbers */
@media (max-width: 640px) {
  .whatsapp { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: opacity .3s, transform .4s cubic-bezier(.16, 1, .3, 1), visibility .3s; }
  .whatsapp.show { opacity: 1; visibility: visible; transform: none; }
}
