/* =============================================================
   Dr. Sindhura Madugula - Urology & Kidney Care
   Healthcare-blue, white-dominated theme with glassmorphism.
   Editorial serif display + clean sans body.
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..600;1,9..144,300..500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Surfaces (white dominated) */
  --white: #ffffff;
  --paper: #ffffff;
  --cream: #f3f8fe;      /* very light blue tint */
  --cream-2: #e9f2fc;    /* alternating section tint */
  --sand: #dcebfb;
  --peach: #e6f1fd;      /* light accent wash */

  /* Glass */
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.75);
  --blur: blur(18px) saturate(1.5);

  /* Brand blue (accent) */
  --clay: #1668c9;       /* primary healthcare blue */
  --clay-deep: #0e4c9c;
  --clay-soft: #a9cef3;
  --clay-tint: #e8f2fd;

  /* Deep sections / trust */
  --sage: #0c2c56;       /* deep navy */
  --sage-2: #123c72;
  --sage-soft: #6a86ab;

  /* Text */
  --ink: #12233d;
  --ink-soft: #566a83;

  /* Lines */
  --line: #dde8f5;
  --line-2: #cbdcef;

  --display: 'Fraunces', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;

  --maxw: 1220px;
  --r-lg: 30px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 34px 74px -36px rgba(15, 46, 90, 0.4);
  --shadow-soft: 0 20px 46px -26px rgba(15, 46, 90, 0.3);
  --shadow-card: 0 2px 6px rgba(15, 46, 90, 0.05), 0 16px 32px -22px rgba(15, 46, 90, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background:
    radial-gradient(48% 42% at 100% 0%, rgba(150, 198, 245, 0.35) 0%, transparent 60%),
    radial-gradient(42% 38% at 0% 6%, rgba(180, 214, 247, 0.32) 0%, transparent 55%),
    radial-gradient(60% 50% at 50% 108%, rgba(150, 198, 245, 0.22) 0%, transparent 60%),
    #f4f8fd;
}
/* every section clips its own decorative overflow */
.hero, .section, .page-hero, .cta-band, .trust-strip, .band { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; color: var(--ink); }
.serif-italic { font-style: italic; font-weight: 300; color: var(--clay); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

.eyebrow {
  font-family: var(--body); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.7rem; font-weight: 700; color: var(--clay);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--clay); opacity: .5; display: inline-block; }

.section { padding: 130px 0; position: relative; }
.section-sm { padding: 80px 0; }

/* ---------- Media (real image with graceful gradient fallback) ---------- */
.media { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--sand), var(--cream-2)); }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.media::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,44,86,0) 58%, rgba(12,44,86,.2) 100%);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 16px 30px; border-radius: 100px; cursor: pointer; border: 1px solid transparent;
  transition: transform .4s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 16px 34px -14px rgba(22,104,201,.8); }
.btn-primary:hover { background: var(--clay-deep); transform: translateY(-3px); box-shadow: 0 22px 44px -16px rgba(22,104,201,.9); }
.btn-ghost { background: rgba(255,255,255,.5); backdrop-filter: var(--blur); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); transform: translateY(-3px); }
.btn-light { background: var(--white); color: var(--clay); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; transition: padding .4s var(--ease); }
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border: 1px solid transparent; border-radius: 100px; padding: 8px 8px 8px 20px;
}
.site-header.scrolled .nav {
  background: rgba(255,255,255,.7); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 10px 40px -22px rgba(15,46,90,.45); border-color: var(--glass-border);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(150deg, #3f8fe0, var(--clay) 70%);
  display: grid; place-items: center; color: #fff; flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 8px 18px -8px rgba(22,104,201,.7);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-text { line-height: 1.05; }
.brand-text strong { font-family: var(--display); font-size: 1.16rem; font-weight: 500; display: block; letter-spacing: -0.02em; }
.brand-text span { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; border-radius: 2px; background: var(--clay); transition: width .35s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.nav-phone svg { width: 16px; color: var(--clay); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { padding: 190px 0 110px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: -20% -10% auto -10%; height: 90%; z-index: -1;
  background:
    radial-gradient(48% 55% at 82% 12%, rgba(103,169,236,.4), transparent 60%),
    radial-gradient(45% 50% at 6% 28%, rgba(150,197,244,.4), transparent 55%),
    radial-gradient(60% 60% at 60% 92%, rgba(60,120,200,.14), transparent 60%);
  filter: blur(8px);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 6vw, 5.2rem); font-weight: 400; margin: 26px 0 24px; letter-spacing: -0.035em; }
.hero p.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 31em; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero-stats .stat strong { font-family: var(--display); font-size: 2.4rem; color: var(--clay); display: block; line-height: 1; letter-spacing: -0.03em; }
.hero-stats .stat span { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.01em; }

.hero-visual { position: relative; }
.hero-portrait { aspect-ratio: 4/5; border-radius: 260px 260px 32px 32px; box-shadow: var(--shadow); }
.hero-portrait:hover img { transform: scale(1.05); }
.hero-badge {
  position: absolute; left: -28px; bottom: 66px; z-index: 3;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-sm);
  padding: 15px 20px; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 13px;
}
.hero-badge .hb-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--clay); color: #fff; display: grid; place-items: center; }
.hero-badge .hb-icon svg { width: 20px; }
.hero-badge strong { display: block; font-family: var(--display); font-size: 1rem; }
.hero-badge span { font-size: 0.74rem; color: var(--ink-soft); }
.hero-pill {
  position: absolute; right: -14px; top: 48px; z-index: 3;
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); color: var(--clay-deep);
  padding: 11px 20px 11px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600;
  box-shadow: var(--shadow-soft); border: 1px solid var(--glass-border);
  display: flex; align-items: center; gap: 9px;
}
.hero-pill::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: #24b47e; box-shadow: 0 0 0 4px rgba(36,180,126,.22); }

/* ---------- Trust marquee ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 28px 0; background: rgba(255,255,255,.5); backdrop-filter: var(--blur); overflow: hidden; }
.trust-track { display: flex; gap: 60px; align-items: center; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.trust-track span { font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--sage-soft); display: inline-flex; align-items: center; gap: 60px; }
.trust-track span::after { content: '\2217'; color: var(--clay); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heading ---------- */
.sec-head { max-width: 680px; margin-bottom: 62px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 20px 0 18px; letter-spacing: -0.03em; }
.sec-head p { color: var(--ink-soft); font-size: 1.06rem; }

/* ---------- About preview ---------- */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 70px; align-items: center; }
.about-visual { position: relative; }
.about-frame { aspect-ratio: 1/1.14; border-radius: 32px 32px 220px 220px; box-shadow: var(--shadow); }
.about-frame:hover img { transform: scale(1.05); }
.about-exp {
  position: absolute; right: -20px; bottom: 52px; z-index: 3; background: var(--clay); color: #fff;
  border-radius: var(--r-sm); padding: 20px 26px; text-align: center; box-shadow: var(--shadow-soft);
}
.about-exp strong { font-family: var(--display); font-size: 2.6rem; display: block; line-height: 1; letter-spacing: -0.03em; }
.about-exp span { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .82; }
.about-body h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin: 18px 0 24px; letter-spacing: -0.03em; }
.about-body p { color: var(--ink-soft); margin-bottom: 18px; }
.cred-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; margin: 30px 0 34px; }
.cred-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.95rem; }
.cred-list li svg { width: 20px; height: 20px; color: var(--clay); flex-shrink: 0; margin-top: 2px; }

/* ---------- Services (glass cards) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card {
  background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  padding: 36px 32px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  position: relative; overflow: hidden; box-shadow: var(--shadow-card);
}
.service-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-md); background: linear-gradient(160deg, rgba(22,104,201,.08), transparent 45%); opacity: 0; transition: opacity .5s; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: rgba(22,104,201,.35); }
.service-card:hover::after { opacity: 1; }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--clay-tint); color: var(--clay); margin-bottom: 24px;
  transition: background .5s, color .5s, transform .5s var(--ease);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card:hover .service-icon { background: var(--clay); color: #fff; transform: rotate(-6deg); }
.service-card h3 { font-size: 1.36rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.service-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 20px; }
.service-link { font-size: 0.84rem; font-weight: 700; color: var(--clay); display: inline-flex; align-items: center; gap: 7px; text-transform: uppercase; letter-spacing: 0.06em; }
.service-link svg { width: 15px; transition: transform .4s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

/* ---------- Band (deep navy) ---------- */
.band { background: linear-gradient(160deg, var(--sage), var(--sage-2)); color: #eaf2fc; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; top: -30%; right: -10%; width: 55%; height: 130%; background: radial-gradient(circle, rgba(80,150,230,.3), transparent 62%); }
.band::after { content: ''; position: absolute; bottom: -40%; left: -8%; width: 45%; height: 120%; background: radial-gradient(circle, rgba(22,104,201,.22), transparent 62%); }
.band .wrap { position: relative; z-index: 1; }
.band .sec-head h2 { color: #fff; }
.band .sec-head p { color: rgba(234,242,252,.78); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  padding: 32px 28px; border-radius: var(--r-md); background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); transition: background .4s, transform .4s var(--ease), border-color .4s;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.feature:hover { background: rgba(255,255,255,.14); transform: translateY(-6px); border-color: rgba(150,197,244,.5); }
.feature .f-num { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--clay-soft); }
.feature h3 { color: #fff; font-size: 1.32rem; margin: 14px 0 10px; letter-spacing: -0.02em; }
.feature p { font-size: 0.9rem; color: rgba(234,242,252,.76); }

/* ---------- Stats ribbon ---------- */
.ribbon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.ribbon .r-item { padding: 10px; }
.ribbon .r-item strong { font-family: var(--display); font-size: clamp(2.6rem, 4.4vw, 3.8rem); color: var(--clay); display: block; line-height: 1; letter-spacing: -0.04em; }
.ribbon .r-item span { font-size: 0.86rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* ---------- Testimonials (glass) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-radius: var(--r-md); padding: 36px 32px; border: 1px solid var(--glass-border); position: relative; box-shadow: var(--shadow-card); transition: transform .5s var(--ease); }
.testi-card:hover { transform: translateY(-6px); }
.testi-stars { color: var(--clay); letter-spacing: 3px; margin-bottom: 18px; font-size: 0.92rem; }
.testi-card p { font-size: 1.06rem; color: var(--ink); font-style: italic; font-family: var(--display); font-weight: 300; line-height: 1.5; margin-bottom: 24px; letter-spacing: -0.01em; }
.testi-meta { display: flex; align-items: center; gap: 13px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: linear-gradient(150deg, var(--clay-soft), var(--sage-soft)); display: grid; place-items: center; color: #fff; font-weight: 700; flex-shrink: 0; position: relative; }
.testi-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testi-meta strong { display: block; font-size: 0.95rem; }
.testi-meta span { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- CTA (blue gradient glass) ---------- */
.cta-band { position: relative; }
.cta-card {
  background:
    radial-gradient(120% 130% at 85% 15%, rgba(103,169,236,.5), transparent 55%),
    linear-gradient(150deg, var(--clay), var(--clay-deep));
  border-radius: 40px; padding: 76px 68px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.cta-card::before { content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border: 1.5px solid rgba(255,255,255,.22); border-radius: 50%; }
.cta-card::after { content: ''; position: absolute; right: 30px; bottom: -100px; width: 240px; height: 240px; border: 1.5px solid rgba(255,255,255,.16); border-radius: 50%; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: center; position: relative; z-index: 1; }
.cta-card h2 { color: #fff; font-size: clamp(2.1rem, 3.8vw, 3.1rem); margin-bottom: 16px; letter-spacing: -0.03em; }
.cta-card p { color: rgba(255,255,255,.9); max-width: 30em; }
.cta-actions { display: flex; flex-direction: column; gap: 16px; }
.cta-phone { display: flex; align-items: center; gap: 14px; }
.cta-phone .cp-icon { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; backdrop-filter: blur(4px); }
.cta-phone strong { font-family: var(--display); font-size: 1.55rem; display: block; line-height: 1.1; }
.cta-phone span { font-size: 0.8rem; opacity: .85; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, #0c2c56, #081f3d); color: rgba(234,242,252,.72); padding: 84px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 52px; border-bottom: 1px solid rgba(234,242,252,.14); }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: rgba(234,242,252,.55); }
.footer-brand p { margin: 22px 0; font-size: 0.92rem; max-width: 30em; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(234,242,252,.22); display: grid; place-items: center; transition: .3s; }
.footer-social a:hover { background: var(--clay); border-color: var(--clay); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 17px; }
.footer-col h4 { color: #fff; font-family: var(--body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; font-weight: 700; margin-bottom: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; transition: color .3s; }
.footer-col a:hover { color: var(--clay-soft); }
.footer-contact li { display: flex; gap: 11px; font-size: 0.92rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; color: var(--clay-soft); flex-shrink: 0; margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 0.84rem; color: rgba(234,242,252,.5); flex-wrap: wrap; gap: 12px; }

/* ---------- Inner page hero ---------- */
.page-hero { padding: 200px 0 90px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(233,242,252,.7), rgba(255,255,255,0)); }
.page-hero::before { content: ''; position: absolute; inset: -30% -10% auto auto; width: 55%; height: 150%;
  background: radial-gradient(50% 50% at 70% 20%, rgba(103,169,236,.4), transparent 60%), radial-gradient(40% 40% at 90% 60%, rgba(60,120,200,.16), transparent 60%); filter: blur(8px); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 5.4vw, 4.4rem); margin: 22px 0 20px; max-width: 15em; letter-spacing: -0.035em; }
.page-hero p { color: var(--ink-soft); font-size: 1.12rem; max-width: 40em; }
.crumbs { font-size: 0.82rem; color: var(--ink-soft); margin-top: 30px; letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--clay); }

/* ---------- About page ---------- */
.bio-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 60px; align-items: start; }
.bio-card { position: sticky; top: 120px; }
.bio-portrait { aspect-ratio: 3/4; border-radius: 26px; box-shadow: var(--shadow); margin-bottom: 22px; }
.bio-portrait:hover img { transform: scale(1.05); }
.bio-meta { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: var(--r-sm); padding: 26px; box-shadow: var(--shadow-card); }
.bio-meta .bm-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line-2); font-size: 0.9rem; }
.bio-meta .bm-row:last-child { border-bottom: none; }
.bio-meta .bm-row span { color: var(--ink-soft); }
.bio-meta .bm-row strong { font-weight: 700; }
.bio-body h2 { font-size: 2.2rem; margin: 40px 0 18px; letter-spacing: -0.03em; }
.bio-body h2:first-child { margin-top: 0; }
.bio-body p { color: var(--ink-soft); margin-bottom: 16px; }
.timeline { list-style: none; position: relative; padding-left: 32px; margin-top: 12px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--clay), var(--line)); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before { content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--clay); }
.timeline .t-year { font-family: var(--display); font-style: italic; color: var(--clay); font-size: 1.08rem; }
.timeline h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin: 3px 0; }
.timeline p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.pill-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pill-tags span { background: var(--glass); backdrop-filter: var(--blur); border: 1px solid var(--line); border-radius: 100px; padding: 9px 18px; font-size: 0.85rem; color: var(--ink); transition: .3s; }
.pill-tags span:hover { border-color: var(--clay); color: var(--clay); }

/* ---------- Services page ---------- */
.svc-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-detail { background: var(--glass); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: var(--r-md); padding: 40px 36px; display: flex; gap: 24px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); box-shadow: var(--shadow-card); }
.svc-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-detail:hover .service-icon { background: var(--clay); color: #fff; transform: rotate(-6deg); }
.svc-detail .service-icon { flex-shrink: 0; margin-bottom: 0; }
.svc-detail h3 { font-size: 1.44rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.svc-detail p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 14px; }
.svc-detail ul { list-style: none; display: grid; gap: 8px; }
.svc-detail ul li { font-size: 0.88rem; display: flex; gap: 9px; color: var(--ink); }
.svc-detail ul li svg { width: 16px; color: var(--clay); flex-shrink: 0; margin-top: 3px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; padding: 0 10px; position: relative; }
.process-num { width: 68px; height: 68px; border-radius: 50%; background: var(--glass); backdrop-filter: var(--blur); border: 1px solid var(--glass-border); color: var(--clay); font-family: var(--display); font-size: 1.6rem; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--shadow-card); transition: .4s var(--ease); }
.process-step:hover .process-num { background: var(--clay); color: #fff; transform: translateY(-4px); }
.process-step h4 { font-family: var(--body); font-weight: 700; font-size: 1.06rem; margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 54px; align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-info .ci-item:first-of-type { padding-top: 0; }
.ci-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--clay-tint); color: var(--clay); display: grid; place-items: center; flex-shrink: 0; }
.ci-icon svg { width: 22px; }
.ci-item h4 { font-family: var(--body); font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; }
.ci-item p, .ci-item a { font-size: 0.94rem; color: var(--ink-soft); }
.ci-item a:hover { color: var(--clay); }
.form-card { background: var(--glass-strong); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border: 1px solid var(--glass-border); border-radius: var(--r-md); padding: 44px; box-shadow: var(--shadow-soft); }
.form-card h3 { font-size: 1.8rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.form-card > p { color: var(--ink-soft); font-size: 0.94rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 7px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; font-family: var(--body); font-size: 0.92rem; background: rgba(255,255,255,.7); color: var(--ink); transition: border .3s, box-shadow .3s, background .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(22,104,201,.15); background: var(--white); }
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }
.map-frame { margin-top: 30px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/7; position: relative; }
.map-frame .map-tag { position: absolute; z-index: 3; left: 20px; bottom: 20px; background: var(--glass-strong); backdrop-filter: blur(10px); border-radius: 100px; padding: 10px 18px; font-size: 0.82rem; color: var(--ink); display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow-soft); }
.map-frame .map-tag svg { width: 16px; color: var(--clay); }
.hours-card { background: linear-gradient(160deg, var(--sage), var(--sage-2)); color: #eaf2fc; border-radius: var(--r-md); padding: 32px; margin-top: 30px; }
.hours-card h4 { font-family: var(--body); font-weight: 700; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.02em; color: #fff; }
.hours-card .h-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed rgba(234,242,252,.2); font-size: 0.9rem; }
.hours-card .h-row:last-child { border-bottom: none; }
.hours-card .h-row span:last-child { color: var(--clay-soft); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--display); font-size: 1.24rem; color: var(--ink); letter-spacing: -0.02em; }
.faq-q .faq-ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; transition: .35s var(--ease); color: var(--clay); background: rgba(255,255,255,.6); }
.faq-item.open .faq-ico { background: var(--clay); color: #fff; border-color: var(--clay); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 0 26px; color: var(--ink-soft); font-size: 0.98rem; max-width: 62em; }

/* ---------- Photo gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.photo-grid .media { border-radius: var(--r-md); box-shadow: var(--shadow-soft); aspect-ratio: 4/5; }
.photo-grid .media:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .photo-grid { grid-template-columns: 1fr; gap: 14px; } .photo-grid .media { aspect-ratio: 4/3; } }

/* ---------- Reveal (progressive enhancement: hidden only when JS is active) ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(30px); }
html.js .reveal.in, .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html.js .reveal { opacity: 1; transform: none; } }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .about-grid, .bio-grid, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .services-grid, .feature-grid, .svc-row, .process-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .ribbon { grid-template-columns: 1fr 1fr; gap: 34px; }
  .bio-card { position: static; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .about-visual { max-width: 440px; margin: 0 auto; }
  .section { padding: 96px 0; }
}
@media (max-width: 700px) {
  .nav-links { position: fixed; inset: 0 0 0 auto; width: 82%; max-width: 320px; background: rgba(255,255,255,.92); backdrop-filter: var(--blur); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 104px 32px 40px; gap: 22px; transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow); z-index: 90; }
  .nav-links.open { transform: none; }
  .menu-toggle { display: flex; }
  .nav-phone span { display: none; }
  .site-header { padding: 14px 0; }
  .site-header .nav { padding: 6px 6px 6px 14px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: 0.58rem; }
  .section { padding: 68px 0; }
  .services-grid, .feature-grid, .svc-row, .process-grid, .testi-grid, .ribbon, .footer-grid, .form-row, .cred-list { grid-template-columns: 1fr; }

  /* Hero: image-first and compact on mobile */
  .hero { padding: 88px 0 44px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-visual { order: -1; width: 100%; max-width: 100%; margin: 0; }
  .hero-portrait { aspect-ratio: 4 / 3.6; border-radius: 22px; box-shadow: var(--shadow-soft); }
  .hero-copy { text-align: left; }
  .hero .eyebrow { font-size: 0.62rem; letter-spacing: 0.18em; }
  .hero h1 { font-size: 2rem; margin: 12px 0 12px; }
  .hero p.lead { font-size: 0.98rem; margin-bottom: 18px; max-width: 100%; }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px 26px; margin-top: 26px; }
  .hero-stats .stat { flex: 1 1 28%; }
  .hero-stats .stat strong { font-size: 1.7rem; }
  .hero-badge { left: 10px; bottom: 10px; padding: 9px 13px; }
  .hero-badge span { display: none; }
  .hero-pill { right: 10px; top: 10px; font-size: 0.72rem; padding: 9px 15px 9px 14px; }

  .page-hero { padding: 112px 0 44px; }
  .page-hero h1 { font-size: 2.1rem; }
  .page-hero p { font-size: 0.98rem; }
  .sec-head { margin-bottom: 38px; }
  .sec-head h2 { font-size: 1.85rem; }

  .about-exp { right: 8px; bottom: 16px; padding: 14px 18px; }
  .about-exp strong { font-size: 2rem; }
  .cta-grid { text-align: left; }
  .cta-card { padding: 40px 24px; }
  .cta-card::before, .cta-card::after { display: none; }
  .wrap { padding: 0 18px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 470px) {
  .nav-cta .btn-primary { display: none; }
  .hero h1 { font-size: 1.85rem; }
  .hero-stats .stat span { font-size: 0.74rem; }
}

/* =============================================================
   REFINEMENTS v7 - Breathing space & mobile polish
   (loaded last, intentionally overrides earlier values)
   ============================================================= */

/* Airier typography */
body { line-height: 1.72; letter-spacing: 0.002em; }
p { max-width: 66ch; }
.hero p.lead, .sec-head p, .page-hero p, .about-body p, .bio-body p { line-height: 1.78; }
h1, h2, h3, h4 { line-height: 1.1; }
.sec-head h2, .about-body h2, .cta-card h2 { line-height: 1.12; }

/* More generous desktop rhythm */
.section { padding: 148px 0; }
.section-sm { padding: 100px 0; }
.sec-head { margin-bottom: 76px; }
.about-grid { gap: 88px; }
.bio-grid { gap: 76px; }
.services-grid, .testi-grid { gap: 30px; }
.svc-row { gap: 30px; }
.service-card { padding: 42px 36px; }
.testi-card { padding: 42px 36px; }
.svc-detail { padding: 46px 40px; }
.feature { padding: 38px 30px; }
.cta-card { padding: 84px 72px; }
.btn { padding: 17px 32px; }
.section, .page-hero { scroll-margin-top: 90px; }

/* Tablet */
@media (max-width: 1000px) {
  .section { padding: 108px 0; }
  .section-sm { padding: 76px 0; }
  .sec-head { margin-bottom: 56px; }
  .about-grid, .bio-grid, .contact-grid { gap: 56px; }
  .cta-card { padding: 64px 48px; }
}

/* Phone: clean, spacious, comfortable */
@media (max-width: 700px) {
  .wrap { padding: 0 22px; }
  .section { padding: 78px 0; }
  .section-sm { padding: 60px 0; }
  .sec-head { margin-bottom: 42px; }
  .sec-head h2 { font-size: 1.9rem; }
  .sec-head p { font-size: 1rem; }

  /* Hero */
  .hero { padding: 86px 0 44px; }
  .hero-grid { gap: 28px; }
  .hero-portrait { aspect-ratio: 4 / 4.2; border-radius: 24px; }
  .hero h1 { font-size: 2.05rem; line-height: 1.12; margin: 14px 0 14px; }
  .hero p.lead { font-size: 1rem; line-height: 1.72; }
  .hero-actions { gap: 12px; margin-top: 4px; }
  .hero-stats { margin-top: 34px; gap: 22px 26px; padding-top: 26px; border-top: 1px solid var(--line); }

  /* Cards get comfortable inner space, not cramped */
  .service-card { padding: 30px 26px; }
  .testi-card { padding: 30px 26px; }
  .testi-card p { font-size: 1.02rem; }
  .svc-detail { padding: 30px 26px; flex-direction: column; gap: 20px; }
  .svc-detail .service-icon { width: 54px; height: 54px; }
  .feature { padding: 28px 24px; }
  .form-card { padding: 30px 22px; }
  .hours-card { padding: 28px 24px; }
  .cta-card { padding: 48px 26px; }
  .cta-grid { gap: 30px; }

  /* Keep portraits from dominating the screen */
  .about-visual { max-width: 380px; margin: 0 auto; }
  .bio-portrait { max-width: 300px; margin-left: auto; margin-right: auto; }
  .bio-card { max-width: 420px; margin: 0 auto; }

  /* Page hero */
  .page-hero { padding: 108px 0 42px; }
  .page-hero h1 { font-size: 2.1rem; line-height: 1.14; }
  .page-hero p { font-size: 1rem; }

  /* Photo gallery: single clean column */
  .photo-grid { gap: 14px; }

  /* Timeline & pills breathe */
  .timeline li { padding-bottom: 24px; }
  .pill-tags { gap: 8px; }
}

/* Small phones */
@media (max-width: 400px) {
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: 1.9rem; }
  .sec-head h2 { font-size: 1.72rem; }
  .hero-stats .stat strong { font-size: 1.55rem; }
}

/* v8 - remove floating decorative badges on mobile to avoid overlaps */
@media (max-width: 700px) {
  .about-exp { display: none; }
}

/* v9 - hero location line */
.hero-loc { display: inline-flex; align-items: center; gap: 9px; margin: -4px 0 26px; font-weight: 600; font-size: 0.92rem; color: var(--clay-deep); letter-spacing: 0.01em; }
.hero-loc svg { color: var(--clay); flex-shrink: 0; }
@media (max-width: 700px) { .hero-loc { font-size: 0.85rem; margin: 0 0 18px; } }
