:root{
    --white:      #ffffff;
    --blue-pale:  #eef5fb;
    --blue-soft:  #dcebf7;
    --blue-mid:   #8fb9dc;
    --blue-deep:  #2f6690;
    --blue-ink:   #1f3b52;
    --ink:        #1e2a35;
    --ink-soft:   #66788a;
    --line:       #dde9f2;
    --mint:       #bfe3d9;

    --font-display:"Fraunces", serif;
    --font-body:"Inter", sans-serif;
    --font-mono:"IBM Plex Mono", monospace;
  }

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

  body{
    background:var(--white);
    color:var(--ink);
    font-family:var(--font-body);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }

  a{ color:inherit; text-decoration:none; }
  img{ display:block; width:100%; height:100%; object-fit:cover; }
  ul{ list-style:none; }

  .wrap{ max-width:1180px; margin:0 auto; padding:0 32px; }

  /* ---------- signature: pulse line ---------- */
  .pulse-divider{
    width:100%; height:34px;
    display:block;
  }
  .pulse-divider svg{ width:100%; height:100%; display:block; }
  .pulse-divider path{
    fill:none;
    stroke:var(--blue-mid);
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  /* ---------- pill tag ---------- */
  .pill-tag{
    display:inline-flex; align-items:center; gap:7px;
    font-family:var(--font-mono);
    font-size:12px;
    letter-spacing:.02em;
    color:var(--blue-deep);
    background:var(--blue-pale);
    border:1px solid var(--blue-soft);
    padding:6px 14px;
    border-radius:100px;
  }
  .pill-tag .live-dot{
    width:7px; height:7px; border-radius:50%;
    background:#4caf82;
    box-shadow:0 0 0 3px rgba(76,175,130,0.18);
  }

  /* ---------- header ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,0.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px;
  }
  .logo{
    display:flex; align-items:center; gap:9px;
    font-family:var(--font-display);
    font-weight:600;
    font-size:21px;
    color:var(--blue-ink);
  }
  .logo-mark{
    width:30px; height:30px;
    border-radius:9px;
    background:var(--blue-deep);
    display:flex; align-items:center; justify-content:center;
  }
  .logo-mark svg{ width:16px; height:16px; }
  .nav-links{
    display:flex; gap:32px;
    font-family:var(--font-body);
    font-weight:500;
    font-size:14.5px;
    color:var(--ink);
  }
  .nav-links a{ position:relative; padding:4px 0; }
  .nav-links a::after{
    content:""; position:absolute; left:0; bottom:-2px;
    width:0; height:2px; background:var(--blue-deep);
    transition:width .2s ease;
  }
  .nav-links a:hover::after{ width:100%; }
  .nav-right{ display:flex; align-items:center; gap:16px; }
  .btn-ghost{
    font-family:var(--font-body); font-weight:600; font-size:14px;
    color:var(--blue-deep);
    padding:10px 6px;
  }
  .btn-primary{
    font-family:var(--font-body); font-weight:600; font-size:14px;
    background:var(--blue-deep); color:var(--white);
    padding:11px 22px;
    border-radius:100px;
    border:none;
    cursor:pointer;
    transition:background .2s ease, transform .2s ease;
  }
  .btn-primary:hover{ background:var(--blue-ink); transform:translateY(-1px); }

  /* ---------- hero ---------- */
  .hero{
    padding:64px 0 40px;
    background:linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 100%);
  }
  .hero-grid{
    display:grid;
    grid-template-columns: 1fr 0.92fr;
    gap:56px;
    align-items:center;
  }
  .hero h1{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(36px, 4.4vw, 54px);
    line-height:1.12;
    color:var(--blue-ink);
    margin:20px 0 20px;
    letter-spacing:-0.01em;
  }
  .hero h1 em{ font-style:italic; color:var(--blue-deep); }
  .hero p{
    font-size:16.5px;
    color:var(--ink-soft);
    max-width:460px;
    margin-bottom:30px;
  }
  .hero-actions{ display:flex; align-items:center; gap:20px; }
  .hero-trust{
    display:flex; align-items:center; gap:12px;
    margin-top:30px;
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--ink-soft);
  }
  .avatar-stack{ display:flex; }
  .avatar-stack span{
    width:30px; height:30px; border-radius:50%;
    background:var(--blue-mid);
    border:2px solid var(--white);
    margin-left:-8px;
  }
  .avatar-stack span:first-child{ margin-left:0; }

  /* hero card: booking widget */
  .book-card{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:22px;
    padding:26px;
    box-shadow:0 24px 60px -30px rgba(47,102,144,0.35);
  }
  .book-card-top{
    display:flex; align-items:center; gap:14px;
    padding-bottom:18px;
    border-bottom:1px solid var(--line);
    margin-bottom:18px;
  }
  .book-photo{
    width:52px; height:52px; border-radius:14px;
    overflow:hidden;
    flex-shrink:0;
  }
  .book-card-top h4{
    font-family:var(--font-display);
    font-weight:600;
    font-size:16.5px;
    color:var(--blue-ink);
  }
  .book-card-top span{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--ink-soft);
  }
  .book-field{ margin-bottom:16px; }
  .book-field label{
    display:block;
    font-family:var(--font-mono);
    font-size:11.5px;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:var(--ink-soft);
    margin-bottom:8px;
  }
  .slot-row{ display:flex; gap:8px; flex-wrap:wrap; }
  .slot{
    font-family:var(--font-mono);
    font-size:12.5px;
    padding:9px 13px;
    border-radius:10px;
    border:1px solid var(--line);
    background:var(--blue-pale);
    color:var(--blue-ink);
    cursor:pointer;
  }
  .slot.selected{
    background:var(--blue-deep);
    border-color:var(--blue-deep);
    color:var(--white);
  }
  .book-submit{
    width:100%;
    background:var(--blue-deep);
    color:var(--white);
    border:none;
    padding:14px;
    border-radius:12px;
    font-family:var(--font-body);
    font-weight:600;
    font-size:14.5px;
    cursor:pointer;
    margin-top:6px;
  }
  .book-submit:hover{ background:var(--blue-ink); }

  /* ---------- section head ---------- */
  .section{ padding:60px 0; }
  .section-head{
    text-align:center;
    max-width:560px;
    margin:0 auto 44px;
  }
  .section-head .pill-tag{ margin-bottom:16px; }
  .section-head h2{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(28px, 3.4vw, 38px);
    color:var(--blue-ink);
    letter-spacing:-0.01em;
    margin-bottom:12px;
  }
  .section-head p{ color:var(--ink-soft); font-size:15.5px; }

  /* ---------- services ---------- */
  .services-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
  }
  .service-card{
    background:var(--blue-pale);
    border:1px solid var(--blue-soft);
    border-radius:18px;
    padding:26px 22px;
  }
  .service-icon{
    width:44px; height:44px;
    border-radius:12px;
    background:var(--white);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
    color:var(--blue-deep);
  }
  .service-card h3{
    font-family:var(--font-display);
    font-weight:600;
    font-size:17px;
    color:var(--blue-ink);
    margin-bottom:8px;
  }
  .service-card p{ font-size:13.8px; color:var(--ink-soft); }

  /* ---------- how it works ---------- */
  .steps{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:0;
    border:1px solid var(--line);
    border-radius:20px;
    overflow:hidden;
  }
  .step{
    padding:32px 28px;
    border-right:1px solid var(--line);
    background:var(--white);
  }
  .step:last-child{ border-right:none; }
  .step-num{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--blue-deep);
    background:var(--blue-pale);
    display:inline-block;
    padding:4px 10px;
    border-radius:100px;
    margin-bottom:16px;
  }
  .step h3{
    font-family:var(--font-display);
    font-weight:600;
    font-size:18px;
    color:var(--blue-ink);
    margin-bottom:8px;
  }
  .step p{ font-size:14px; color:var(--ink-soft); }

  /* ---------- doctors ---------- */
  .doctors-grid{
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:24px;
  }
  .doctor-card{
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    background:var(--white);
  }
  .doctor-photo{ aspect-ratio:4/3.4; position:relative; }
  .doctor-photo .pill-tag{
    position:absolute; top:12px; left:12px;
    background:rgba(255,255,255,0.92);
  }
  .doctor-body{ padding:20px; }
  .doctor-body h4{
    font-family:var(--font-display);
    font-weight:600;
    font-size:17px;
    color:var(--blue-ink);
    margin-bottom:4px;
  }
  .doctor-body .role{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--ink-soft);
    margin-bottom:14px;
  }
  .doctor-foot{
    display:flex; justify-content:space-between; align-items:center;
    padding-top:14px;
    border-top:1px solid var(--line);
    font-size:13px;
  }
  .doctor-foot .rate{ font-family:var(--font-mono); color:var(--blue-deep); font-weight:500; }
  .doctor-foot a{
    font-family:var(--font-mono);
    font-size:12px;
    color:var(--blue-deep);
    border-bottom:1px solid var(--blue-mid);
  }

  /* ---------- testimonial band ---------- */
  .testimonial-band{
    background:var(--blue-pale);
    border-radius:24px;
    padding:56px;
    text-align:center;
  }
  .testimonial-band blockquote{
    font-family:var(--font-display);
    font-weight:500;
    font-style:italic;
    font-size:clamp(20px, 2.6vw, 28px);
    color:var(--blue-ink);
    max-width:700px;
    margin:0 auto 22px;
    line-height:1.4;
  }
  .testimonial-band cite{
    font-family:var(--font-mono);
    font-style:normal;
    font-size:12.5px;
    color:var(--ink-soft);
  }

  /* ---------- cta ---------- */
  .cta{
    background:var(--blue-deep);
    border-radius:24px;
    padding:56px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    flex-wrap:wrap;
    color:var(--white);
  }
  .cta h2{
    font-family:var(--font-display);
    font-weight:500;
    font-size:clamp(26px, 3.2vw, 34px);
    max-width:440px;
    line-height:1.2;
  }
  .cta .btn-primary{ background:var(--white); color:var(--blue-deep); white-space:nowrap; }
  .cta .btn-primary:hover{ background:var(--blue-pale); }

  /* ---------- footer ---------- */
  footer{
    border-top:1px solid var(--line);
    padding:48px 0 28px;
    margin-top:20px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:32px;
  }
  .footer-grid .logo{ margin-bottom:12px; }
  .footer-grid p{ font-size:13.5px; color:var(--ink-soft); max-width:260px; }
  .footer-col h5{
    font-family:var(--font-mono);
    font-size:11.5px;
    color:var(--blue-deep);
    text-transform:uppercase;
    letter-spacing:.04em;
    margin-bottom:14px;
  }
  .footer-col ul{ display:flex; flex-direction:column; gap:10px; }
  .footer-col a{ font-size:13.5px; color:var(--ink-soft); }
  .footer-col a:hover{ color:var(--blue-deep); }
  .footer-bottom{
    display:flex; justify-content:space-between;
    padding-top:24px;
    border-top:1px solid var(--line);
    font-family:var(--font-mono);
    font-size:11.5px;
    color:var(--ink-soft);
  }

  /* ---------- responsive ---------- */
  @media (max-width:960px){
    .nav-links{ display:none; }
    .hero-grid{ grid-template-columns:1fr; }
    .services-grid{ grid-template-columns:repeat(2, 1fr); }
    .steps{ grid-template-columns:1fr; }
    .step{ border-right:none; border-bottom:1px solid var(--line); }
    .doctors-grid{ grid-template-columns:1fr; }
    .footer-grid{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width:560px){
    .wrap{ padding:0 20px; }
    .nav{ padding:14px 20px; }
    .services-grid{ grid-template-columns:1fr; }
    .testimonial-band, .cta{ padding:34px 24px; }
    .cta{ flex-direction:column; align-items:flex-start; }
    .footer-grid{ grid-template-columns:1fr; }
  }
