/* AVE FM – Catholic Malayalam Radio */
:root {
  --navy: #0b2a5b;
  --navy-2: #06357a;
  --blue: #1565d8;
  --blue-2: #2a7ff0;
  --sky: #eaf2fd;
  --gold: #f2b705;
  --gold-soft: #fbe7a6;
  --cream: #fbf8f1;
  --text: #1c2740;
  --muted: #56627a;
  --line: #e4e9f2;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 42, 91, .08);
  --shadow-lg: 0 18px 50px rgba(11, 42, 91, .16);
  --player-h: 56px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  padding-bottom: var(--player-h);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
svg { fill: currentColor; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--blue); margin-bottom: .6em; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head h2::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--gold); margin: 14px auto 0; }
.section-head p:last-child { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 600; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; text-decoration: none !important; }
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 8px 20px rgba(21, 101, 216, .3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(21, 101, 216, .38); }
.btn-outline { border: 2px solid var(--blue); color: var(--blue); background: transparent; padding: 10px 22px; }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-app { background: #000; color: #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.btn-app svg { width: 18px; height: 20px; }
.btn-app:hover { transform: translateY(-1px); background: #1b1b1b; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Top bar */
.topbar { background: linear-gradient(90deg, #072a6b, #0b3f96 60%, #072a6b); color: #e7efff; font-size: .82rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-live { display: flex; align-items: center; gap: 8px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-live svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.topbar-live strong { color: #fff; }
.topbar .sep { opacity: .5; margin: 0 4px; }
.topbar .gold { color: var(--gold); font-weight: 600; }
.topbar-right { display: flex; align-items: center; gap: 14px; flex: none; }
.topbar-social { display: flex; gap: 4px; padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, .25); }
.topbar-social a { color: #fff; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.topbar-social a:hover { background: rgba(255, 255, 255, .15); }
.topbar-social svg { width: 17px; height: 17px; }
.app-pill { display: inline-flex; align-items: center; gap: 8px; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 5px 14px 5px 10px; font-weight: 600; font-size: .8rem; text-decoration: none !important; transition: background .15s; }
.app-pill:hover { background: #1d1d1d; }
.app-pill svg { width: 16px; height: 18px; }
.app-pill-menu { display: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(11, 42, 91, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; flex: none; text-decoration: none !important; }
.brand img { height: 64px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.menu { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.menu > li > a, .sub-toggle { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; font-size: .98rem; padding: 8px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; text-decoration: none !important; transition: background .15s, color .15s; }
.menu > li > a:hover, .sub-toggle:hover, .menu > li > a.active:not([href="#top"]) { background: var(--sky); color: var(--blue); }
.home-pill { display: inline-grid; place-items: center; width: 46px; height: 34px; border-radius: 999px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 6px 14px rgba(21, 101, 216, .3); }
.home-pill svg { width: 20px; height: 20px; }
.sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.has-sub { position: relative; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .sub-toggle[aria-expanded="true"] + .submenu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--navy); font-weight: 500; font-size: .93rem; text-decoration: none !important; }
.submenu a:hover { background: var(--sky); color: var(--blue); }
.search { position: relative; display: flex; align-items: center; }
.search input { width: 230px; height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 48px 0 20px; font: inherit; font-size: .95rem; color: var(--text); background: #fff; box-shadow: 0 4px 14px rgba(11, 42, 91, .08); }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 101, 216, .15); }
.search button { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 22px; height: 22px; }
.search-msg { position: absolute; top: calc(100% + 6px); left: 16px; font-size: .78rem; color: #b3261e; white-space: nowrap; }
.search-hit { animation: hit 2.4s ease-out; border-radius: 10px; }
@keyframes hit { 0%, 60% { box-shadow: 0 0 0 4px var(--gold); background-color: #fff8dc; } 100% { box-shadow: 0 0 0 4px transparent; } }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero slider */
.hero { position: relative; overflow: hidden; background: #cfe3f8; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; min-height: max(420px, 30vw); padding-bottom: 46px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.kicker { display: flex; align-items: center; justify-content: center; gap: 14px; text-transform: uppercase; letter-spacing: .24em; font-size: clamp(.72rem, .9vw, .95rem); font-weight: 600; color: var(--navy); margin-bottom: .4em; }
.kicker::before, .kicker::after { content: ""; height: 2px; width: clamp(36px, 5vw, 90px); background: currentColor; opacity: .7; }
.hero h1 { font-size: clamp(3rem, 5.6vw, 6.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; margin-bottom: .1em; color: var(--navy); }
.hero h1 span { display: block; white-space: nowrap; font-size: .39em; font-weight: 700; letter-spacing: -.01em; margin-top: .28em; }
.hero h2 { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 800; }
.hero-desc { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 500; font-size: clamp(1rem, 1.3vw, 1.4rem); line-height: 1.45; color: #1b2b4f; max-width: 34ch; margin: .5em auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: clamp(18px, 2vw, 30px); }
.js-listen .i-pause, .radio-playing .js-listen .i-play { display: none; }
.radio-playing .js-listen .i-pause { display: block; }
.btn-live { background: linear-gradient(180deg, #f2353b, #c8101a); color: #fff; box-shadow: 0 10px 22px rgba(200, 16, 26, .35); }
.btn-live:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(200, 16, 26, .42); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); padding: 12px 22px; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: linear-gradient(180deg, #2fd36b, #13a24a); color: #fff; box-shadow: 0 10px 22px rgba(19, 162, 74, .3); }
.btn-whatsapp:hover { transform: translateY(-1px); }
.btn-app-lg { background: #000; color: #fff; border: 1px solid #a6a6a6; border-radius: 12px; padding: 10px 22px 10px 16px; }
.btn-app-lg svg { width: 26px; height: 28px; }
.btn-app-lg span { display: flex; flex-direction: column; font-size: 1.35rem; line-height: 1.05; font-weight: 500; }
.btn-app-lg small { font-size: .62rem; letter-spacing: .06em; }

/* Slide 1: cross – message – Jesus – slogan, after the banner design */
.slide-main { background:
    radial-gradient(ellipse 34% 60% at 40% 46%, rgba(255, 251, 238, .97), rgba(255, 246, 224, .7) 45%, rgba(255, 246, 224, 0) 75%),
    linear-gradient(180deg, #8fbdf0 0%, #c4dcf6 34%, #f5eedd 64%, #ead1a4 100%); }
.slide-main::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18%; background: linear-gradient(90deg, rgba(43, 120, 220, 0), #2b78dc 55%, #1c5fc4); }
.hero-cross, .hero-jesus { position: absolute; bottom: 0; height: 100%; object-fit: cover; }
.hero-cross { left: 0; width: 26%; object-position: 70% bottom; -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(90deg, #000 70%, transparent); }
.hero-jesus { right: 11%; width: 33%; object-position: center bottom; z-index: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 86%, transparent); }
.slide-main .slide-content { position: relative; z-index: 2; margin-left: 24.5%; width: 34%; text-align: center; padding-top: clamp(24px, 3vw, 48px); }
.hero-script { position: absolute; z-index: 2; right: 1.5%; top: 18%; width: 15%; margin: 0; font-family: "Satisfy", "Brush Script MT", cursive; font-size: clamp(2rem, 3.2vw, 4rem); line-height: 1.12; color: #fff; text-shadow: 0 3px 14px rgba(5, 40, 110, .55); transform: rotate(-6deg); }
.hero-script::after { content: ""; display: block; width: 80%; height: 4px; margin: 10px 0 0 10%; border-radius: 4px; background: linear-gradient(90deg, transparent, var(--gold)); transform: rotate(-4deg); }

/* Slide 2: designed prayer banner (desktop); text version on phones */
.slide-banner { position: absolute; inset: 0 0 46px 0; display: block; overflow: hidden; }
.slide-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.slide-prayer { background: #0a2a6b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath d='M0 60V34C260 10 520 2 760 14c90 5 170 4 240-6v52z' fill='%230b2f78'/%3E%3Cpath d='M0 34C260 10 520 2 760 14c90 5 170 4 240-6' fill='none' stroke='%23f2b705' stroke-width='5'/%3E%3C/svg%3E") bottom / 100% 60px no-repeat; }
.slide-prayer .slide-split { display: none; }

/* Slides 2 and 3 */
.slide-split { height: 100%; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: 28px; }
.slide-split .slide-content { text-align: left; }
.slide-split .kicker { justify-content: flex-start; }
.slide-split .kicker::after { display: none; }
.slide-split .hero-desc { margin-inline: 0; }
.slide-split .hero-actions { justify-content: flex-start; }
.slide-prayer { background: radial-gradient(circle at 20% 50%, #1d4796, #0b1f4d 60%); }
.slide-prayer .slide-art { width: min(560px, 100%); height: auto; border-radius: 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.slide-prayer h2, .slide-prayer .kicker { color: #fff; }
.slide-prayer .hero-desc { color: #dbe6fb; }
.slide-app { background: linear-gradient(115deg, #eaf3ff 0%, #cfe2fb 50%, #3a86e8 100%); }
.slide-app .slide-split { grid-template-columns: 1fr auto; }
.slide-phone { width: clamp(130px, 10vw, 170px); aspect-ratio: 9 / 20; border-radius: 28px; background: #111; padding: 7px; box-shadow: 0 24px 50px rgba(6, 30, 80, .35); transform: rotate(6deg); margin-right: 6%; }
.slide-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 22px; }

.hero-controls { position: absolute; z-index: 5; right: 2.2%; bottom: 66px; display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 8px; margin-right: 18px; }
.dots button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .75); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.dots button[aria-selected="true"] { background: var(--blue); width: 26px; border-radius: 999px; }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
.arrow:hover { background: var(--blue); }
.arrow svg { width: 24px; height: 24px; }

/* Quick links strip */
.quicklinks { position: relative; z-index: 6; margin-top: -42px; }
.quicklinks ul { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); }
.quicklinks li + li { border-left: 1px solid var(--line); }
.quicklinks a { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 10px; border-radius: 12px; color: #1b2b4f; font-family: "Lora", Georgia, serif; font-size: 1rem; line-height: 1.25; text-decoration: none !important; transition: background .15s; }
.quicklinks a:hover { background: var(--sky); }
.quicklinks svg, .qi-img { width: 40px; height: 40px; flex: none; color: var(--navy); object-fit: contain; }
.quicklinks span span { display: inline; }

/* Schedule */
.schedule { background: var(--cream); }
.schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.schedule-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 14px; box-shadow: var(--shadow); }
.schedule-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; padding-bottom: 14px; border-bottom: 2px solid var(--gold-soft); margin-bottom: 6px; }
.schedule-card h3 svg { width: 22px; height: 22px; color: var(--gold); }
.schedule-card ol { list-style: none; margin: 0; padding: 0; }
.schedule-card li { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.schedule-card li:last-child { border-bottom: 0; }
.schedule-card time { font-weight: 700; color: var(--navy); white-space: nowrap; }
.schedule-card small { display: block; color: var(--muted); font-size: .8rem; }
.section-head .note { font-size: .85rem; margin-top: -.4em; }
.section-head .note em, .schedule-card em { font-style: normal; font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); background: var(--sky); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.schedule-card li.now { background: linear-gradient(90deg, var(--sky), transparent); margin: 0 -12px; padding-inline: 12px; border-radius: 10px; }
.schedule-card li.now time::after { content: "On air"; display: block; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; color: #d90f1c; }

/* Prayer request */
.prayer { background: linear-gradient(180deg, #f2fbf5, #fff); }
.prayer-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.prayer-copy p { color: #34405a; }
.prayer-copy .verse { font-family: "Lora", Georgia, serif; font-style: italic; font-size: 1.08rem; color: var(--navy); border-left: 4px solid #25d366; padding-left: 16px; }
.prayer-copy cite { display: block; font-style: normal; font-family: "Poppins", sans-serif; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.wa-direct { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 16px; background: #fff; border: 1px solid #c9eed6; color: #0e7a3a; font-weight: 700; font-size: 1.15rem; box-shadow: var(--shadow); text-decoration: none !important; }
.wa-direct svg { width: 40px; height: 40px; padding: 7px; border-radius: 50%; background: #25d366; color: #fff; }
.wa-direct span { display: flex; flex-direction: column; line-height: 1.2; }
.wa-direct small { font-size: .72rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.prayer-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.prayer-form label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 5px; font-weight: 600; font-size: .9rem; color: var(--navy); }
.prayer-form label span { font-weight: 400; color: var(--muted); }
.prayer-form input, .prayer-form select, .prayer-form textarea { flex: 1 1 100%; font: inherit; font-weight: 400; font-size: .95rem; color: var(--text); border: 1px solid #d3dcea; border-radius: 12px; padding: 11px 14px; background: #fbfcfe; width: 100%; }
.prayer-form textarea { resize: vertical; min-height: 120px; }
.prayer-form input:focus, .prayer-form select:focus, .prayer-form textarea:focus { outline: none; border-color: #25d366; box-shadow: 0 0 0 3px rgba(37, 211, 102, .18); background: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.prayer-form .btn { justify-content: center; font-size: 1.02rem; }
.form-note { margin: 0; font-size: .8rem; color: var(--muted); text-align: center; }
.form-error { margin: 0; color: #b3261e; font-size: .85rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.about .intro { font-size: 1.08rem; color: var(--navy); }
.ave-meaning { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 22px 0; }
.ave-meaning h3 { margin-bottom: .35em; }
.ave-meaning p { margin: 0; color: var(--navy) !important; font-weight: 500; }
.about-grid { align-items: start; }
.about-photo { position: sticky; top: 100px; }
.about p { color: #34405a; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.about-logo { box-shadow: none; border-radius: 0; overflow: visible; }
.about-logo img { object-fit: contain; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 18px 36px rgba(11, 42, 91, .16)); }

/* App band */
.app-band { padding-top: 0; }
.app-card { position: relative; overflow: hidden; border-radius: 28px; background: linear-gradient(115deg, #eaf3ff 0%, #d4e6fd 45%, #2c7be5 100%); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 24px; padding: clamp(32px, 5vw, 56px); box-shadow: var(--shadow); }
.app-card::before { content: ""; position: absolute; right: -10%; top: -40%; width: 70%; height: 180%; background: radial-gradient(closest-side, rgba(255, 255, 255, .35), transparent); }
.app-copy { position: relative; }
.app-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); max-width: 14ch; }
.app-copy p { max-width: 46ch; color: #2b3754; }
.play-badge { display: inline-flex; align-items: center; gap: 12px; background: #000; color: #fff; border-radius: 10px; padding: 9px 20px 9px 14px; border: 1px solid #a6a6a6; text-decoration: none !important; margin-top: 8px; transition: transform .15s; }
.play-badge:hover { transform: translateY(-1px); }
.play-badge svg { width: 26px; height: 28px; }
.play-badge span { display: flex; flex-direction: column; font-size: 1.35rem; line-height: 1.05; font-weight: 500; letter-spacing: -.01em; }
.play-badge small { font-size: .62rem; letter-spacing: .06em; font-weight: 500; }
.phone { position: relative; justify-self: center; width: 230px; aspect-ratio: 9 / 20; border-radius: 34px; background: #111; padding: 8px; box-shadow: 0 30px 60px rgba(6, 30, 80, .35); transform: rotate(6deg); }
.phone-screen { height: 100%; border-radius: 27px; overflow: hidden; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Programmes */
.programmes { background: linear-gradient(180deg, #fff, var(--cream)); }
.programme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.programme { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.programme:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.programme h3 { margin-bottom: .2em; }
.programme p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.programme-icon { flex: none; width: 76px; height: 76px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #fff4d4, #fde4a0); color: #9a6a00; }
.programme:nth-child(2n) .programme-icon { background: linear-gradient(135deg, #e6f0ff, #c8dcfb); color: var(--navy-2); }
.programme-icon svg { width: 40px; height: 40px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 22px; box-shadow: var(--shadow); text-align: center; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 12px; margin-bottom: 16px; background: var(--sky); }
.person h3 { margin-bottom: .1em; }
.person .role { color: var(--blue); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8em; }
.person p:last-child { color: var(--muted); font-size: .9rem; line-height: 1.6; margin: 0; }

/* Instagram */
.insta { padding-top: 0; }
.insta-head h2 { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: .2em; }
.insta-head h2 svg { width: 36px; height: 36px; }
.insta-head h2 a { color: var(--blue); }
.insta-head p { color: var(--muted); }
.insta-embed { position: relative; height: calc(146px + min(900px, 100vw - 32px) * .667); max-width: 900px; margin: 8px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
/* Profile header (~120px) + two rows of square posts (each one third of the width). */
.insta-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: var(--muted); text-decoration: none !important; background: radial-gradient(circle at 50% 35%, #fff 0%, #f6f0fb 60%, #fdeef3 100%); }
.insta-fallback img { width: 120px; height: 120px; }
.insta-fallback strong { font-size: 1.25rem; color: var(--navy); }
.insta-fallback span { max-width: 32ch; }
.insta-fallback-btn { margin-top: 6px; padding: 11px 24px; border-radius: 999px; color: #fff; font-weight: 600; background: linear-gradient(90deg, #f58529, #dd2a7b 50%, #8134af); box-shadow: 0 8px 20px rgba(221, 42, 123, .3); }
.insta-embed iframe { position: relative; z-index: 1; background: transparent; display: block; width: 100%; height: 100%; border: 0; }
.insta-more { text-align: center; margin-top: 18px; }
.insta-head { text-align: center; }
.insta-head h2 { justify-content: center; }

/* Contact */
.contact { position: relative; padding: clamp(64px, 9vw, 110px) 0; background: linear-gradient(rgba(253, 248, 234, .55), rgba(253, 248, 234, .75)), url("../../images/contact-bg.webp") center / cover no-repeat; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: rgba(255, 255, 255, .96); border-radius: 24px; padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow-lg); max-width: 960px; margin-inline: auto; }
.contact-card h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.contact-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; color: var(--blue); }
.contact-link svg { width: 22px; height: 22px; flex: none; }
.contact-link.whatsapp { color: #128c4a; }
.contact address { font-style: normal; border-left: 3px solid var(--gold); padding-left: 28px; color: #34405a; line-height: 1.8; }
.contact address strong { color: var(--navy); }
.contact address .link-arrow { margin-top: 10px; }

/* Connect band */
.connect { background: linear-gradient(90deg, var(--navy), var(--navy-2)); color: #fff; padding: 40px 0; }
.connect-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.connect h2 { color: #fff; font-size: 1.8rem; margin-bottom: .2em; }
.connect p { margin: 0; color: #d6e2f5; max-width: 50ch; }
.connect-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--gold); color: #fff; border-radius: 999px; padding: 9px 20px; font-weight: 600; font-size: .92rem; text-decoration: none !important; transition: background .15s, color .15s; }
.social-btn svg { width: 20px; height: 20px; color: var(--gold); }
.social-btn:hover { background: var(--gold); color: var(--navy); }
.social-btn:hover svg { color: var(--navy); }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 20px 0; font-size: .85rem; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; text-align: center; }
.footer-inner p { margin: 0; }
.site-footer a { color: var(--navy); }

/* Sticky player */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: var(--player-h); background: linear-gradient(90deg, #072250, #0b3a86); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
.player-inner { height: 100%; display: flex; align-items: center; gap: 12px; }
.player-toggle { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); transition: transform .15s; }
.player-toggle:hover { transform: scale(1.05); }
.player-toggle svg { width: 20px; height: 20px; }
.player-toggle .i-pause, .player-toggle .spinner { display: none; }
.player.is-playing .i-play { display: none; }
.player.is-playing .i-pause { display: block; }
.player.is-loading .i-play, .player.is-loading .i-pause { display: none; }
.player.is-loading .spinner { display: block; width: 18px; height: 18px; border: 3px solid var(--sky); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
.player-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.player-meta strong { font-size: .85rem; }
.player-meta span { font-size: .72rem; color: #c9d8f0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-badge { flex: none; background: linear-gradient(#ff4a4a, #d90f1c); font-size: .62rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px; }
.live-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.player.is-playing .live-badge::before { animation: pulse 1.4s ease-in-out infinite; }
.wave { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 24px; min-width: 0; overflow: hidden; }
.wave i { width: 3px; height: 30%; border-radius: 3px; background: rgba(255, 255, 255, .55); }
.wave i:nth-child(3n) { height: 60%; } .wave i:nth-child(4n) { height: 85%; } .wave i:nth-child(5n) { height: 45%; }
.player.is-playing .wave i { animation: bar 1s ease-in-out infinite alternate; background: #fff; }
.player.is-playing .wave i:nth-child(2n) { animation-duration: .7s; }
.player.is-playing .wave i:nth-child(3n) { animation-duration: 1.2s; }
.player.is-playing .wave i:nth-child(5n) { animation-duration: .85s; }
.volume { flex: none; display: flex; align-items: center; gap: 8px; color: #fff; }
.volume svg { width: 22px; height: 22px; }
.volume input { width: 96px; accent-color: var(--gold); }
.volume svg { width: 18px !important; height: 18px !important; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { opacity: .25; } }
@keyframes bar { from { height: 18%; } to { height: 95%; } }

/* Responsive */
@media (max-width: 1180px) {
  .search input { width: 170px; }
  .menu > li > a, .sub-toggle { padding: 8px 9px; }
  .hero-script { display: none; }
  .slide-main::after { width: 8%; }
  .hero-jesus { right: 0; width: 38%; }
  .slide-main .slide-content { margin-left: 24%; width: 40%; }
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .topbar .gold, .topbar .sep { display: none; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 14px; background: #fff; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); max-height: calc(100vh - 140px); overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s, opacity .2s, visibility .2s; }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a, .sub-toggle { width: 100%; justify-content: flex-start; font-size: 1.05rem; padding: 10px 8px; }
  .home-pill { width: 40px; height: 30px; }
  .submenu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 18px; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: none; }
  .sub-toggle[aria-expanded="true"] + .submenu { display: block; }
  .search input { width: 100%; }
  .app-pill-menu { display: inline-flex; justify-content: center; padding: 11px 16px; font-size: .95rem; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .quicklinks ul { grid-template-columns: repeat(3, 1fr); }
  .quicklinks li:nth-child(4) { border-left: 0; }
  .quicklinks li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .prayer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .about-photo { position: static; }
  .brand img { height: 46px; }
  .schedule-grid, .team-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-card { grid-template-columns: 1fr; }
  .contact address { border-left: 0; border-top: 3px solid var(--gold); padding: 22px 0 0; }
  .app-card { grid-template-columns: 1fr; text-align: center; }
  .app-copy h2, .app-copy p { margin-inline: auto; }
  .phone { width: 190px; margin-top: 12px; transform: rotate(0); }
  .team-grid { max-width: 480px; margin-inline: auto; }
  /* Hero stacks: message first, artwork below */
  .slide { min-height: 0; padding-bottom: 128px; }
  .slide-main { display: flex; flex-direction: column; align-items: center; }
  .slide-main::after, .hero-cross { display: none; }
  .slide-main .slide-content { margin: 0; width: auto; padding: 28px 18px 8px; }
  .slide-main { background: linear-gradient(180deg, #6fa8ea 0%, #cfe2f8 46%, #f6eedc 78%, #ecd6ad 100%); }
  .hero-jesus { position: relative; order: -1; right: auto; width: 100%; height: auto; max-height: 360px; object-fit: cover; object-position: center 20%; margin: 0; -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
  .slide-main .slide-content { margin-top: -36px; }
  .slide-split, .slide-app .slide-split { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 28px 8px; }
  .slide-prayer .slide-split { width: 100%; height: auto; padding-top: 0; gap: 18px; align-content: start; }
  .slide-prayer .slide-content { padding-inline: 18px; }
  .slide-split .slide-content { text-align: center; }
  .slide-split .kicker, .slide-split .hero-actions { justify-content: center; }
  .slide-split .kicker::after { display: block; }
  .slide-split .hero-desc { margin-inline: auto; }
  .slide-banner { display: none; }
  .slide-prayer .slide-split { display: grid; }
  .slide-prayer .slide-art { width: 100%; max-height: 300px; object-fit: cover; object-position: 60% center; border-radius: 0; box-shadow: none; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .slide-prayer { background: radial-gradient(circle at 50% 75%, #1d4796, #0b1f4d 70%); }
  .slide-phone { margin: 8px 0 0; transform: none; }
  .hero-controls { left: 0; right: 0; bottom: 70px; justify-content: center; }
  .dots { margin-right: 10px; }
  .arrow { width: 36px; height: 36px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .header-inner { min-height: 78px; }
  .brand img { height: 60px; }
  .nav-toggle { width: 48px; height: 48px; }
  .nav-toggle span { height: 3px; background: var(--blue); margin: 6px 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .programme-grid { grid-template-columns: 1fr; }
  .wave, .volume { display: none; }
  .player-meta { flex: 1; }
  .connect-inner { flex-direction: column; align-items: flex-start; }
  .quicklinks { margin-top: -54px; }
  .quicklinks .container { position: relative; width: calc(100% - 20px); }
  .quicklinks .container::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 22px; border-radius: 0 20px 20px 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .9)); pointer-events: none; transition: opacity .2s; }
  .quicklinks.at-end .container::after { opacity: 0; }
  .quicklinks ul { display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 8px 6px; border-radius: 20px; background: #fff; }
  .quicklinks ul::-webkit-scrollbar { display: none; }
  .quicklinks li { flex: 0 0 auto; min-width: 78px; scroll-snap-align: start; }
  .quicklinks li + li, .quicklinks li:nth-child(4) { border-left: 1px solid var(--line); }
  .quicklinks li:nth-child(n+4) { border-top: 0; }
  .quicklinks a { flex-direction: column; gap: 6px; text-align: center; font-family: "Poppins", sans-serif; font-size: .7rem; line-height: 1.2; padding: 8px 6px; color: var(--navy); white-space: nowrap; }
  .quicklinks a br { display: none; }
  .quicklinks .ql-long { display: none; }
  .quicklinks svg, .qi-img { width: 28px; height: 28px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { padding: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
