/* ============================================================
   Dr Gautam – Pediatric Cardiology   |   styles.css
   Mobile-first. Breakpoints: 640px, 900px, 1120px
   ============================================================ */
:root {
  --pink: #e8457a;
  --pink-dark: #c92d62;
  --pink-soft: #fde7ef;
  --teal: #19a7a0;
  --teal-dark: #13837d;
  --teal-soft: #dff6f4;
  --sky: #3b82c4;
  --sky-soft: #e3f0fb;
  --sun: #f5a623;
  --sun-soft: #fff3d9;
  --violet: #8b5cf6;
  --violet-soft: #ede9fe;
  --ink: #1d2433;
  --ink-2: #4b5567;
  --ink-3: #7b8597;
  --line: #e7eaf0;
  --bg: #ffffff;
  --bg-2: #f7f9fc;
  --card: #ffffff;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(29, 36, 51, .08);
  --shadow-lg: 0 24px 60px rgba(29, 36, 51, .14);
  --font-head: "Poppins", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  --nav-h: 72px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
/* Hindi (Devanagari) pages: Poppins/Inter have no Devanagari glyphs, so lead with Noto Sans Devanagari and loosen line-height for matras */
html[lang="hi"] { --font-head: "Noto Sans Devanagari", "Poppins", "Segoe UI", system-ui, sans-serif; --font-body: "Noto Sans Devanagari", "Inter", "Segoe UI", system-ui, sans-serif; }
html[lang="hi"] body { line-height: 1.75; }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3 { line-height: 1.35; letter-spacing: 0; }
html[lang="hi"] .hero h1 { font-size: clamp(2rem, 1.2rem + 3.8vw, 3.4rem); }
html[lang="hi"] .post-content { line-height: 1.9; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: linear-gradient(135deg, var(--pink), var(--pink-dark)); color: #fff; box-shadow: 0 10px 24px rgba(232, 69, 122, .35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(232, 69, 122, .45); }
.btn-outline { background: #fff; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-outline:hover { background: var(--teal-soft); }
.btn-ghost { background: var(--sky-soft); color: var(--sky); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(29, 36, 51, .06); }
.header .container { display: flex; align-items: center; gap: 1rem; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; min-width: 0; }
.brand-logo { width: 42px; height: 42px; flex: none; }
.brand-name { white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.1; color: var(--ink); }
.brand-name small { display: block; white-space: normal; font-size: .7rem; font-weight: 500; color: var(--pink); letter-spacing: .04em; text-transform: uppercase; }
.nav { display: none; }
.nav a { padding: .5rem .7rem; border-radius: 10px; font-weight: 500; font-size: .92rem; color: var(--ink-2); position: relative; white-space: nowrap; }
.nav a:hover, .nav a.active { color: var(--pink); }
.nav a.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .2rem; height: 2px; background: var(--pink); border-radius: 2px; }
.header .btn-primary { display: none; padding: .7rem 1.2rem; font-size: .9rem; }
.lang-switch { display: inline-flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch button { padding: .35rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--ink-3); transition: background .18s, color .18s; }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; }
.burger:hover { background: var(--bg-2); }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 480px) {
  .header .container { gap: .5rem; }
  .brand { gap: .45rem; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: .9rem; }
  .brand-name small { display: none; }
  .lang-switch button { padding: .3rem .5rem; font-size: .74rem; }
  .burger { width: 40px; }
}
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; z-index: 49; padding: 1rem 16px 2rem; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: .9rem 1rem; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { width: 100%; margin-top: 1.25rem; }
@media (min-width: 1120px) {
  .nav { display: flex; gap: .15rem; }
  .header .btn-primary { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-alt { background: var(--bg-2); }
.section-head { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.3rem); display: flex; align-items: center; gap: .6rem; }
.section-head h2 svg { width: 1.1em; height: 1.1em; color: var(--pink); flex: none; }
.section-head p { color: var(--ink-2); max-width: 62ch; }
@media (min-width: 900px) { .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; } .section-head p { text-align: right; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1000px 600px at 15% -10%, #fde7ef 0%, transparent 60%), radial-gradient(900px 500px at 95% 10%, #dff6f4 0%, transparent 55%), linear-gradient(180deg, #fff 0%, #f7f9fc 100%); }
.hero .container { display: grid; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 3rem; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: .45rem; background: #fff; color: var(--pink); border: 1px solid var(--pink-soft); border-radius: 999px; padding: .4rem .9rem; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); }
.hero-badge svg { width: 1em; height: 1em; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.5vw, 4rem); margin: 1.1rem 0 1rem; font-weight: 800; }
.hero h1 .accent { color: var(--pink); display: inline-flex; align-items: center; gap: .3em; }
.hero h1 .accent svg { width: .85em; height: .85em; }
.hero-text { color: var(--ink-2); font-size: 1.05rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border-radius: 14px; padding: .6rem .9rem; font-size: .82rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.chip-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip-icon svg { width: 16px; height: 16px; }
.chip-icon.pink { background: var(--pink-soft); color: var(--pink); }
.chip-icon.sky { background: var(--sky-soft); color: var(--sky); }
.chip-icon.teal { background: var(--teal-soft); color: var(--teal); }
.hero-visual { position: relative; }
.hero-photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--pink-soft); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .7; }
.hero-blob.b1 { width: 260px; height: 260px; background: #fbcfe0; top: -60px; right: -40px; }
.hero-blob.b2 { width: 220px; height: 220px; background: #bdebe7; bottom: -50px; left: -40px; }
.float-card { position: absolute; background: #fff; border-radius: 16px; padding: .75rem 1rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem; font-size: .85rem; font-weight: 600; animation: floaty 5s ease-in-out infinite; }
.float-card svg { width: 22px; height: 22px; }
.float-card.fc1 { top: 18px; left: -8px; color: var(--pink); }
.float-card.fc2 { bottom: 22px; right: -8px; flex-direction: column; align-items: flex-start; gap: .1rem; animation-delay: -2.5s; }
.float-card.fc2 strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--teal-dark); line-height: 1; }
.float-card.fc2 span { color: var(--ink-3); font-weight: 500; font-size: .78rem; }
@media (max-width: 639px) { .float-card.fc2 { right: auto; left: -8px; align-items: flex-start; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.05fr 1fr; padding-top: 4rem; padding-bottom: 5rem; }
  .float-card.fc1 { left: -28px; top: 36px; } .float-card.fc2 { right: -28px; bottom: 40px; }
}
.hero-wave { display: block; width: 100%; height: 60px; color: var(--bg); margin-top: -1px; }

/* ---------- services grid ---------- */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { font-size: 1.08rem; margin: .9rem 0 .45rem; }
.card p { color: var(--ink-2); font-size: .93rem; }
.icon-box { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; }
.icon-box svg { width: 28px; height: 28px; }
.tint-pink { background: var(--pink-soft); color: var(--pink); }
.tint-teal { background: var(--teal-soft); color: var(--teal); }
.tint-sky { background: var(--sky-soft); color: var(--sky); }
.tint-sun { background: var(--sun-soft); color: #d98b0e; }
.tint-violet { background: var(--violet-soft); color: var(--violet); }
.tint-green { background: #e3f7ea; color: #1f9d55; }
.service-card { border-top: 4px solid transparent; }
.service-card.c1 { border-top-color: var(--pink); } .service-card.c2 { border-top-color: var(--teal); } .service-card.c3 { border-top-color: var(--sun); }
.service-card.c4 { border-top-color: var(--sky); } .service-card.c5 { border-top-color: var(--violet); } .service-card.c6 { border-top-color: #1f9d55; }

/* ---------- conditions / procedures (two-column lists) ---------- */
.info-list { display: grid; gap: .8rem; }
@media (min-width: 900px) { .info-list { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
.info-item { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.info-item .num { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.info-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.info-item p { color: var(--ink-2); font-size: .9rem; }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 3rem; } .split.rev > :first-child { order: 2; } }
.split-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- videos ---------- */
.video-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .video-grid { grid-template-columns: repeat(4, 1fr); } }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; padding: 0; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--sky-soft), var(--pink-soft)); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--pink); box-shadow: var(--shadow-lg); transition: transform .2s; }
.video-thumb .play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover .play { transform: scale(1.08); }
.video-thumb .dur, .video-thumb .soon { position: absolute; bottom: 10px; right: 10px; background: rgba(29, 36, 51, .8); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .55rem; border-radius: 6px; }
.video-thumb .soon { background: var(--sun); color: #3b2a00; }
.video-card.is-soon .play { opacity: .5; }
.video-body { padding: 1rem 1.1rem 1.2rem; }
.video-body h3 { font-size: .98rem; margin-bottom: .3rem; }
.video-body p { font-size: .86rem; color: var(--ink-2); }
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(13, 17, 28, .85); }
.modal.open { display: flex; }
.modal-box { width: min(960px, 100%); background: #000; border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow-lg); }
.modal-box .player { aspect-ratio: 16/9; width: 100%; background: #000; }
.modal-box video, .modal-box iframe { width: 100%; height: 100%; display: block; border: 0; }
.modal-title { color: #fff; padding: .8rem 1rem; font-weight: 600; display: flex; align-items: center; gap: .6rem; font-size: .95rem; background: #141a26; }
.modal-close { position: absolute; top: .4rem; right: .5rem; width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; }
.modal-close:hover { background: rgba(255, 255, 255, .12); }
.modal-close svg { width: 20px; height: 20px; }

/* ---------- about ---------- */
.about-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; display: grid; }
@media (min-width: 900px) { .about-card { grid-template-columns: 420px 1fr; } }
.about-photo { position: relative; background: linear-gradient(160deg, var(--pink-soft), var(--teal-soft)); min-height: 360px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; position: absolute; inset: 0; }
.about-body { padding: 1.75rem; }
@media (min-width: 900px) { .about-body { padding: 2.5rem; } }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink); }
.about-body h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); margin: .4rem 0 .15rem; }
.about-role { color: var(--teal-dark); font-weight: 600; }
.about-cred { color: var(--ink-3); font-size: .9rem; margin-bottom: 1rem; }
.about-bio { color: var(--ink-2); margin-bottom: 1.2rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .35rem 0; color: var(--ink-2); font-size: .95rem; }
.check-list svg { width: 20px; height: 20px; color: #1f9d55; flex: none; margin-top: .15rem; }
.about-body .btn { margin-top: 1.4rem; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery-title { font-size: 1.05rem; margin-top: 2.5rem; color: var(--ink-2); font-weight: 600; }

/* ---------- why ---------- */
.why-card { display: flex; gap: 1rem; align-items: flex-start; }
.why-card .icon-box { flex: none; width: 48px; height: 48px; border-radius: 14px; }
.why-card .icon-box svg { width: 24px; height: 24px; }
.why-card h3 { margin: 0 0 .3rem; font-size: 1rem; }

/* ---------- testimonials ---------- */
.testi { position: relative; }
.testi-track { display: grid; gap: 1rem; }
@media (min-width: 900px) { .testi-track { grid-template-columns: repeat(3, 1fr); } }
.testi-card { position: relative; padding-top: 2.2rem; }
.testi-card .quote-mark { position: absolute; top: 1rem; left: 1.4rem; width: 32px; height: 32px; color: var(--pink); opacity: .35; }
.testi-card blockquote { margin: 0 0 1rem; color: var(--ink); font-size: .97rem; line-height: 1.65; }
.stars { color: var(--sun); display: flex; gap: 2px; margin-bottom: .8rem; }
.stars svg { width: 16px; height: 16px; }
.testi-who { display: flex; align-items: center; gap: .7rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-family: var(--font-head); background: linear-gradient(135deg, var(--pink), var(--violet)); }
.testi-who strong { display: block; font-size: .9rem; }
.testi-who span { font-size: .8rem; color: var(--ink-3); }
.testi-note { font-size: .78rem; color: var(--ink-3); margin-top: 1rem; text-align: center; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; font-weight: 600; font-family: var(--font-head); font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--pink); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .answer { padding: 0 0 1.1rem; color: var(--ink-2); font-size: .94rem; }

/* ---------- appointment ---------- */
.appt { background: linear-gradient(135deg, #fde7ef 0%, #e3f0fb 55%, #dff6f4 100%); }
.appt-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .appt-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; } }
.form-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-size: .83rem; font-weight: 600; margin-bottom: .35rem; color: var(--ink-2); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(232, 69, 122, .15); background: #fff; }
.field textarea { min-height: 96px; resize: vertical; }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.2rem; }
.form-note { font-size: .78rem; color: var(--ink-3); margin-top: .9rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; background: rgba(255, 255, 255, .75); border-radius: 16px; padding: 1rem 1.1rem; backdrop-filter: blur(6px); }
.contact-item .icon-box { flex: none; width: 46px; height: 46px; border-radius: 13px; }
.contact-item .icon-box svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: .85rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .2rem; }
.contact-item p, .contact-item a { font-weight: 500; }
.contact-item a.link { color: var(--sky); font-weight: 600; font-size: .9rem; }
.map-embed { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/9; background: var(--bg-2); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- footer ---------- */
.footer { background: #0f172a; color: #cbd5e1; padding: 56px 0 28px; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer .brand-name { color: #fff; }
.footer .brand-name small { color: #f9a8c9; }
.footer-tag { margin-top: 1rem; font-size: .92rem; color: #94a3b8; max-width: 36ch; }
.footer h4 { color: #fff; font-size: .9rem; margin-bottom: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer li { margin-bottom: .5rem; }
.footer li a { font-size: .92rem; color: #cbd5e1; }
.footer li a:hover { color: #fff; }
.social { display: flex; gap: .6rem; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--pink); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .8rem; color: #94a3b8; display: flex; flex-direction: column; gap: .6rem; }
@media (min-width: 900px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* ---------- floating whatsapp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- blog ---------- */
.blog-home-grid { display: grid; gap: 1.2rem; }
@media (min-width: 900px) { .blog-home-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; } .blog-home-grid .featured { grid-row: 1 / 3; } }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--pink-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.post-cat { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, .95); color: var(--pink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.post-cat.inline { position: static; display: inline-block; background: var(--pink-soft); margin-bottom: .8rem; }
.post-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .78rem; color: var(--ink-3); font-weight: 500; }
.post-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.post-meta svg { width: 14px; height: 14px; }
.post-body h3 { font-size: 1.05rem; }
.post-body p { font-size: .9rem; color: var(--ink-2); flex: 1; }
.post-more { display: inline-flex; align-items: center; gap: .35rem; color: var(--pink); font-weight: 600; font-size: .88rem; margin-top: .4rem; }
.post-more svg { width: 16px; height: 16px; transition: transform .2s; }
.post-card:hover .post-more svg { transform: translateX(3px); }
@media (min-width: 900px) {
  .post-card.featured .post-cover { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .post-card.featured .post-body h3 { font-size: 1.45rem; }
  .post-card.featured .post-body p { font-size: 1rem; flex: 0; }
}
.blog-hero { background: radial-gradient(900px 400px at 10% 0%, #fde7ef 0%, transparent 60%), radial-gradient(800px 400px at 95% 20%, #dff6f4 0%, transparent 55%), var(--bg-2); padding: 56px 0 40px; text-align: center; }
.blog-hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3rem); margin: .5rem 0 .6rem; }
.blog-hero p { color: var(--ink-2); max-width: 56ch; margin: 0 auto; }
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.8rem 0 0; }
.tab { padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.tab:hover { border-color: var(--pink); color: var(--pink); }
.tab[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-list { display: grid; gap: 1.2rem; }
@media (min-width: 640px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .blog-list { grid-template-columns: repeat(3, 1fr); } }
.empty { grid-column: 1 / -1; text-align: center; color: var(--ink-3); padding: 3rem 0; }
.post-page { max-width: 780px; margin: 0 auto; padding-top: 40px; }
.post-back { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink-3); font-weight: 600; font-size: .9rem; margin-bottom: 1.5rem; }
.post-back svg { width: 18px; height: 18px; }
.post-back:hover { color: var(--pink); }
.post-head h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.7rem); margin-bottom: 1rem; }
.post-hero { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); margin: 2rem 0; aspect-ratio: 16/9; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-content { font-size: 1.07rem; line-height: 1.8; color: var(--ink); }
.post-content p { margin: 0 0 1.2rem; }
.post-content h3 { font-size: 1.3rem; margin: 2rem 0 .7rem; color: var(--ink); }
.post-content ul { padding-left: 1.3rem; margin: 0 0 1.3rem; list-style: disc; }
.post-content li { margin-bottom: .45rem; }
.post-content strong { color: var(--pink-dark); }
.post-cta { display: flex; flex-direction: column; gap: 1rem; margin: 2.5rem 0 1.5rem; background: linear-gradient(135deg, #fde7ef, #dff6f4); border: 0; }
.post-cta h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.post-cta p { color: var(--ink-2); }
@media (min-width: 640px) { .post-cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.post-share { display: flex; align-items: center; gap: 1rem; font-weight: 600; color: var(--ink-2); font-size: .92rem; padding-bottom: 1rem; }

/* ---------- floating mini player ---------- */
.mp { position: fixed; z-index: 90; right: 16px; bottom: 84px; width: min(420px, calc(100vw - 32px)); background: #0f1420; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); display: none; transform: translateY(20px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.mp.open { display: block; transform: none; opacity: 1; }
.mp-title { display: flex; align-items: center; gap: .5rem; padding: .55rem .5rem .55rem .8rem; color: #fff; font-size: .88rem; font-weight: 600; background: #161c2b; }
.mp-title > svg { width: 18px; height: 18px; color: var(--pink); flex: none; }
.mp-title span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-title button, .mp-controls button { width: 34px; height: 34px; border-radius: 8px; color: #e5e7eb; display: grid; place-items: center; flex: none; }
.mp-title button:hover, .mp-controls button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.mp-title button svg, .mp-controls button svg { width: 18px; height: 18px; }
.mp-stage { position: relative; aspect-ratio: 16/9; background: #000; }
.mp-stage video, .mp-stage iframe { width: 100%; height: 100%; display: block; border: 0; cursor: pointer; }
.mp-controls { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .5rem .35rem; background: linear-gradient(to top, rgba(0, 0, 0, .85), transparent); opacity: 0; transition: opacity .2s; }
.mp.show-ctr .mp-controls, .mp:not(.playing) .mp-controls { opacity: 1; }
.mp.is-yt .mp-controls { display: none; }
.mp-track { position: relative; height: 4px; background: rgba(255, 255, 255, .25); border-radius: 2px; margin: 0 .35rem .4rem; cursor: pointer; transition: height .15s; }
.mp.show-ctr .mp-track:hover { height: 6px; }
.mp-buf, .mp-bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; }
.mp-buf { background: rgba(255, 255, 255, .35); width: 0; }
.mp-bar { background: var(--pink); width: 0; }
.mp-bar::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); transform: translateY(-50%) scale(0); transition: transform .15s; }
.mp.show-ctr .mp-track:hover .mp-bar::after { transform: translateY(-50%) scale(1); }
.mp-seek { position: absolute; inset: -8px 0; width: 100%; opacity: 0; cursor: pointer; margin: 0; }
.mp-row { display: flex; align-items: center; gap: .1rem; }
.mp-time { color: #e5e7eb; font-size: .78rem; font-variant-numeric: tabular-nums; margin: 0 .5rem; }
.mp-spacer { flex: 1; }
.mp-cc[aria-pressed="true"] { color: var(--pink); }
.mp-backdrop { display: none; position: fixed; inset: 0; background: rgba(5, 8, 15, .75); z-index: -1; }
.mp.expanded { width: min(1100px, calc(100vw - 32px)); right: 50%; bottom: 50%; transform: translate(50%, 50%); border-radius: 18px; }
.mp.expanded .mp-backdrop { display: block; }
.mp.expanded .mp-title { font-size: 1rem; padding: .7rem .6rem .7rem 1rem; }
@media (max-width: 639px) {
  .mp { right: 0; left: 0; bottom: 0; width: 100%; border-radius: 14px 14px 0 0; }
  .wa-float { bottom: 16px; }
  .mp.open ~ .wa-float { display: none; }
  .mp.expanded { right: 0; bottom: 50%; transform: translateY(50%); border-radius: 14px; width: 100%; }
}
body.mp-expanded { overflow: hidden; }

/* ---------- topic articles: sources + video links ---------- */
.post-sources { font-size: .9rem; }
.post-sources li { margin-bottom: .35rem; }
.post-sources a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }
.post-sources-note { font-size: .9rem; color: var(--ink-3); }
.post-watch { margin: 0 0 1rem; }
.post-watch .btn svg { width: 1.1em; height: 1.1em; }
.video-card .video-thumb { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.video-card.is-soon .video-thumb { cursor: default; }
.video-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--pink); font-weight: 600; font-size: .85rem; margin-top: .6rem; }
.video-link svg { width: 15px; height: 15px; }
