/*!
 * Dr. Shreyas Bhalerao — Best Urologist in Panchkula
 * Premium Healthcare Theme (blue / teal / green)
 * Fonts: Fraunces (display, serif) + Manrope (body, sans)
 */

:root {
  --brand: #0e6ba8;
  --brand-2: #0aa1a1;
  --brand-3: #20a666;
  --brand-ink: #0e2233;
  --sub: #597287;
  --line: #e6f0f6;
  --bg: #ffffff;
  --bg-soft: #f4faff;
  --bg-mint: #f2fbf6;
  --shadow-sm: 0 4px 12px -6px rgba(14, 34, 51, .08);
  --shadow-md: 0 20px 40px -25px rgba(14, 107, 168, .22);
  --shadow-lg: 0 40px 80px -35px rgba(14, 107, 168, .28);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--brand-ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display, .hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  letter-spacing: -.015em;
  line-height: 1.15;
  color: var(--brand-ink);
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.6rem); }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + .9rem, 1.5rem); }

a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-2); }

::selection { background: var(--brand); color: #fff; }

img { max-width: 100%; height: auto; display: block; }

.container-xxl { max-width: 1280px; }

/* Utility */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brand-2); font-weight: 700;
}
.eyebrow::before {
  content: ''; width: 24px; height: 1.5px; background: var(--brand-2); display: inline-block;
}

.text-sub { color: var(--sub); }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

/* Buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--radius-pill);
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  text-decoration: none;
}
.btn-brand {
  background: var(--brand); color: #fff;
  box-shadow: 0 12px 24px -12px rgba(14, 107, 168, .55);
}
.btn-brand:hover { background: #0b5a90; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(14, 107, 168, .7); }
.btn-outline {
  background: transparent; color: var(--brand-ink); border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }
.btn-ghost { background: rgba(14, 107, 168, .08); color: var(--brand); }
.btn-ghost:hover { background: rgba(14, 107, 168, .15); }

/* Header / Nav */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  transition: all .3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.brand-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 55%, var(--brand-3));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; letter-spacing: .5px;
  font-family: 'Manrope', sans-serif; font-size: 17px;
  box-shadow: 0 8px 20px -8px rgba(14, 107, 168, .55);
}
.brand-name { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; color: var(--brand-ink); line-height: 1; }
.brand-tag { font-size: 11px; color: var(--sub); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

.nav-links a {
  color: var(--brand-ink); font-weight: 500; font-size: 14.5px; padding: 8px 4px;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; height: 2px; width: 0;
  background: var(--brand); transition: width .3s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* Hero */
.hero {
  position: relative;
  padding: 96px 0 120px;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(10, 161, 161, .12), transparent 60%),
    radial-gradient(900px 400px at -10% 100%, rgba(32, 166, 102, .10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4faff 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='1' cy='1' r='1' fill='%230e6ba8' opacity='.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-title { font-size: clamp(2.4rem, 4.5vw + 1rem, 4.2rem); }
.hero-sub { font-size: 18px; color: var(--sub); max-width: 560px; margin: 20px 0 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.hero-badge {
  background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px);
  border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 6px;
}
.hero-badge i { color: var(--brand-3); }
.hero-visual {
  position: relative; border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: linear-gradient(135deg, #eef7ff, #e6f8f4);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-stat {
  position: absolute; background: rgba(255, 255, 255, .95); backdrop-filter: blur(20px);
  padding: 16px 20px; border-radius: 20px; border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.hero-stat.top { top: 24px; left: -20px; }
.hero-stat.bot { bottom: 24px; right: -20px; }
.hero-stat .num { font-family: 'Fraunces', serif; font-size: 32px; color: var(--brand); font-weight: 500; line-height: 1; }
.hero-stat .lbl { font-size: 12px; color: var(--sub); font-weight: 600; margin-top: 4px; }

/* Cards */
.card-soft {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
  height: 100%;
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(14, 107, 168, .2); }
.card-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14, 107, 168, .12), rgba(10, 161, 161, .12));
  color: var(--brand); font-size: 24px; margin-bottom: 18px;
}
.card-title { font-family: 'Fraunces', serif; font-size: 20px; margin: 0 0 10px; color: var(--brand-ink); font-weight: 500; }
.card-desc { color: var(--sub); font-size: 14.5px; margin-bottom: 14px; line-height: 1.6; }
.card-link { font-weight: 600; font-size: 13.5px; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 12px; }

/* Treatment grid — dense */
.treatment-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
  transition: all .3s var(--ease); text-decoration: none;
}
.treatment-tile:hover { border-color: var(--brand); background: var(--bg-soft); transform: translateY(-2px); }
.treatment-tile .ic {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(14, 107, 168, .1), rgba(32, 166, 102, .12));
  color: var(--brand); font-size: 18px;
}
.treatment-tile .tt { font-family: 'Fraunces', serif; color: var(--brand-ink); font-weight: 500; font-size: 15.5px; line-height: 1.25; margin: 2px 0 4px; }
.treatment-tile .td { font-size: 12.5px; color: var(--sub); }

/* Feature strip */
.feature-strip {
  background: linear-gradient(135deg, var(--brand), #0b5a90);
  color: #fff; border-radius: var(--radius-lg); padding: 56px; overflow: hidden; position: relative;
}
.feature-strip::before {
  content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
  border-radius: 50%; background: rgba(255, 255, 255, .06);
}
.feature-strip .h { color: #fff; }

/* Testimonials */
.tm-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px; position: relative;
}
.tm-quote { font-family: 'Fraunces', serif; font-size: 17px; line-height: 1.6; color: var(--brand-ink); font-style: italic; }
.tm-author { display: flex; gap: 14px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.tm-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); overflow: hidden; }
.tm-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tm-stars { color: #f5a623; font-size: 14px; letter-spacing: 2px; }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff;
  margin-bottom: 14px; overflow: hidden; transition: all .3s;
}
.faq-item.open { border-color: rgba(14, 107, 168, .3); box-shadow: var(--shadow-sm); }
.faq-q {
  padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; font-weight: 600; font-family: 'Manrope', sans-serif; color: var(--brand-ink);
  font-size: 15.5px;
}
.faq-q .plus { color: var(--brand); font-size: 22px; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  padding: 0 24px; color: var(--sub); font-size: 15px; line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 1000px; padding: 0 24px 20px; }

/* Footer */
.site-footer {
  background: #0a1c2b; color: #a3bccf; padding: 72px 0 24px;
}
.site-footer h5 { color: #fff; font-family: 'Fraunces', serif; font-weight: 500; font-size: 17px; margin-bottom: 20px; }
.site-footer a { color: #a3bccf; font-size: 14px; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 24px; font-size: 13px; color: #7a94a8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Floating buttons */
.floating-actions {
  position: fixed; right: 20px; bottom: 20px; z-index: 950;
  display: flex; flex-direction: column; gap: 12px;
}
.floating-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 22px; box-shadow: 0 14px 28px -8px rgba(0, 0, 0, .3);
  transition: transform .3s var(--ease); text-decoration: none;
}
.floating-btn:hover { transform: scale(1.08); color: #fff; }
.fb-wa { background: #25d366; animation: pulse-wa 2.4s infinite; }
.fb-call { background: var(--brand); animation: pulse-call 2.4s infinite; }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@keyframes pulse-call { 0% { box-shadow: 0 0 0 0 rgba(14,107,168,.6); } 70% { box-shadow: 0 0 0 20px rgba(14,107,168,0); } 100% { box-shadow: 0 0 0 0 rgba(14,107,168,0); } }

/* PWA install banner */
.pwa-banner {
  position: fixed; bottom: 90px; right: 20px; z-index: 940;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 16px; max-width: 320px; box-shadow: var(--shadow-md);
  display: none; align-items: center; gap: 14px;
}
.pwa-banner.show { display: flex; }

/* Article */
.article-body { font-size: 17px; color: #263a4b; line-height: 1.85; }
.article-body h2 { margin-top: 2.4em; margin-bottom: .5em; font-family: 'Fraunces', serif; font-weight: 500; }
.article-body h3 { margin-top: 1.8em; margin-bottom: .4em; font-family: 'Fraunces', serif; font-weight: 500; }
.article-body p { margin-bottom: 1.2em; }
.article-body ul, .article-body ol { margin-bottom: 1.4em; padding-left: 1.6em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  border-left: 4px solid var(--brand-2); padding: 4px 20px; margin: 24px 0;
  background: var(--bg-soft); border-radius: 6px; font-style: italic; color: var(--brand-ink);
}
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius-md); margin: 24px 0; }

/* Breadcrumb */
.breadcrumb-wrap { padding: 20px 0; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.breadcrumb { font-size: 13px; color: var(--sub); margin: 0; }
.breadcrumb a { color: var(--sub); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; opacity: .5; }

/* Blog card */
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; height: 100%; transition: all .3s var(--ease); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(14,107,168,.2); }
.blog-thumb { aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-thumb img { transform: scale(1.05); }
.blog-body { padding: 22px; }
.blog-cat { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--brand-2); font-weight: 700; }
.blog-title { font-family: 'Fraunces', serif; font-weight: 500; font-size: 20px; margin: 8px 0 12px; line-height: 1.3; color: var(--brand-ink); }
.blog-title a { color: inherit; }
.blog-title a:hover { color: var(--brand); }
.blog-meta { font-size: 13px; color: var(--sub); display: flex; gap: 14px; align-items: center; }

/* Forms */
.form-control, .form-select {
  border-radius: 12px; border: 1.5px solid var(--line); padding: 12px 16px;
  font-family: 'Manrope', sans-serif; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(14,107,168,.1); }

/* Utility for gradient text */
.text-gradient {
  background: linear-gradient(135deg, var(--brand), var(--brand-2) 60%, var(--brand-3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Section heading */
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin: 12px 0 14px; }
.section-head p { color: var(--sub); font-size: 17px; line-height: 1.6; }

/* Insurance strip */
.ins-logo { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; display: grid; place-items: center; min-height: 80px; font-family: 'Fraunces', serif; color: var(--sub); font-size: 15px; text-align: center; }

/* Animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.animate-in { animation: fadeUp .8s var(--ease) both; }

/* Responsive tweaks */
@media (max-width: 992px) {
  .hero { padding: 60px 0 80px; }
  .feature-strip { padding: 36px 24px; }
  .hero-stat { display: none; }
}
@media (max-width: 576px) {
  .btn-pill { padding: 12px 22px; font-size: 14px; }
  .brand-name, .brand-tag { display: none; }
}

/* Print */
@media print {
  .site-header, .site-footer, .floating-actions, .pwa-banner { display: none !important; }
}
