:root{
    --cream:#F6F8F6;
    --cream-deep:#EDF2EE;
    --teal-deep:#013E3F;
    --teal-mid:#0B5251;
    --teal-soft:#E4F3E9;
    --sage:#1B8942;
    --brand-green:#29CD62;
    --gold:#29CD62;
    --silver:#C7C9CC;
    --silver-light:#EDEDEE;
    --ink:#122320;
    --ink-soft:#4B5C55;
    --white:#FFFFFF;
    --radius:18px;
    --max:1120px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}

  html{scroll-behavior:smooth;}

  body{
    font-family:'Vazirmatn', sans-serif;
    background:var(--cream);
    color:var(--ink);
    line-height:1.9;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

  a{color:inherit; text-decoration:none;}

  .wrap{max-width:var(--max); margin:0 auto; padding:0 28px;}

  /* ---------- Top bar ---------- */
  .topbar{
    position:sticky; top:0; z-index:50;
    background:var(--teal-deep);
    color:var(--cream);
    font-size:14px;
  }
  .topbar .wrap{
    display:flex; justify-content:space-between; align-items:center;
    padding:10px 28px;
    gap:12px;
  }
  .topbar .brand{
    font-weight:700; font-size:16px; letter-spacing:.3px;
    display:flex; align-items:center; gap:8px;
  }
  .topbar .brand svg{width:20px; height:20px; flex-shrink:0;}

  .ltr-num{
    unicode-bidi:isolate; direction:ltr; display:inline-block;
  }
  .topbar .call{
    background:var(--gold); color:var(--teal-deep);
    padding:8px 18px; border-radius:999px;
    font-weight:700; font-size:14px;
    display:flex; align-items:center; gap:6px;
    white-space:nowrap;
  }

  .topnav{
    display:flex; align-items:center; gap:22px;
  }
  .topnav a{
    font-size:13.5px; color:#CFE1DC; font-weight:600;
    position:relative; padding:4px 0; white-space:nowrap;
    transition:color .2s ease;
  }
  .topnav a::after{
    content:""; position:absolute; right:0; bottom:-3px;
    width:0; height:2px; background:var(--gold);
    transition:width .25s ease;
  }
  .topnav a:hover{color:var(--cream);}
  .topnav a.active{color:var(--cream);}
  .topnav a.active::after{width:100%;}

  /* ---------- Back to top ---------- */
  .to-top{
    position:fixed; left:22px; bottom:22px; z-index:60;
    width:44px; height:44px; border-radius:50%;
    background:var(--teal-deep); color:var(--cream);
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 10px 24px rgba(1,62,63,.28);
    opacity:0; pointer-events:none; transform:translateY(12px);
    transition:opacity .25s ease, transform .25s ease;
    border:none; cursor:pointer;
  }
  .to-top.show{opacity:1; pointer-events:auto; transform:none;}
  .to-top svg{width:20px; height:20px;}

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    background:linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-mid) 55%, #3C6E63 100%);
    background-size:220% 220%;
    animation:heroGradient 9s ease-in-out infinite alternate;
    color:var(--cream);
    padding:90px 0 130px;
    overflow:hidden;
    text-align:center;
  }
  @keyframes heroGradient{
    0%{background-position:0% 20%;}
    100%{background-position:100% 90%;}
  }
  .hero .petals{
    position:absolute; inset:0; opacity:.2; pointer-events:none;
  }
  .hero .petals path{
    animation:petalFloat 6s ease-in-out infinite;
    transform-origin:center;
  }
  .hero .petals path:nth-of-type(1){animation-delay:0s; animation-duration:6.5s;}
  .hero .petals path:nth-of-type(2){animation-delay:.9s; animation-duration:7.5s;}
  .hero .petals path:nth-of-type(3){animation-delay:1.8s; animation-duration:5.5s;}
  .hero .petals path:nth-of-type(4){animation-delay:.4s; animation-duration:7s;}
  .hero .petals path:nth-of-type(5){animation-delay:1.3s; animation-duration:8s;}
  @keyframes petalFloat{
    0%, 100%{transform:translateY(0) rotate(0deg) scale(1); opacity:.65;}
    50%{transform:translateY(-24px) rotate(6deg) scale(1.15); opacity:1;}
  }
  .hero-inner{position:relative; z-index:2;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:10px;
    font-size:14px; letter-spacing:.5px; color:var(--gold);
    font-weight:600; margin-bottom:22px;
  }
  .eyebrow::before, .eyebrow::after{content:""; width:26px; height:1px; background:var(--gold); opacity:.6;}
  h1{
    font-size:clamp(32px, 5vw, 54px);
    font-weight:800;
    line-height:1.35;
    max-width:820px;
    margin:0 auto 22px;
  }
  .hero p.lead{
    font-size:clamp(16px, 2vw, 19px);
    color:#DDEAE6;
    max-width:640px;
    margin:0 auto 40px;
    font-weight:400;
  }
  .hero-actions{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
  .btn-primary{
    background:var(--gold); color:var(--teal-deep);
    padding:16px 34px; border-radius:999px;
    font-weight:700; font-size:16px;
    box-shadow:0 10px 24px rgba(0,0,0,.18);
    transition:transform .2s ease;
    display:inline-flex; align-items:center; gap:8px;
    animation:ctaPulse 2.6s ease-in-out infinite;
  }
  .btn-primary:hover{transform:translateY(-2px);}
  @keyframes ctaPulse{
    0%, 100%{box-shadow:0 10px 24px rgba(0,0,0,.18), 0 0 0 0 rgba(41,205,98,.45);}
    50%{box-shadow:0 10px 24px rgba(0,0,0,.18), 0 0 0 10px rgba(41,205,98,0);}
  }
  .btn-outline{
    border:1px solid rgba(251,248,242,.4);
    color:var(--cream);
    padding:16px 34px; border-radius:999px;
    font-weight:600; font-size:16px;
    transition:background .2s ease;
  }
  .btn-outline:hover{background:rgba(251,248,242,.08);}

  .hero-logo{
    width:150px; height:auto; margin:46px auto 0;
    display:block;
    filter:drop-shadow(0 12px 22px rgba(0,0,0,.25));
    animation:logoBreathe 4.5s ease-in-out infinite;
  }
  @keyframes logoBreathe{
    0%, 100%{transform:scale(1);}
    50%{transform:scale(1.06);}
  }
  .topbar-logo{
    width:26px; height:auto; display:block;
  }
  .divider-logo{
    width:52px; height:auto; opacity:.9;
  }

  /* ---------- Section shell ---------- */
  section{padding:88px 0;}
  .section-cream{background:var(--cream);}
  .section-soft{background:var(--teal-soft);}
  .section-deep{background:var(--teal-deep); color:var(--cream);}

  .kicker{
    font-size:13px; font-weight:700; letter-spacing:.6px;
    color:var(--sage); margin-bottom:14px;
    display:flex; align-items:center; gap:8px;
  }
  .section-deep .kicker{color:var(--gold);}
  .kicker svg{width:16px; height:16px;}

  h2{
    font-size:clamp(26px, 3.4vw, 38px);
    font-weight:800;
    margin-bottom:20px;
    line-height:1.4;
  }

  .section-lead{
    font-size:17px; color:var(--ink-soft); max-width:680px;
    margin-bottom:14px;
  }
  .section-deep .section-lead{color:#CFE1DC;}

  /* ---------- Doctor ---------- */
  .doctor-grid{
    display:grid; grid-template-columns:220px 1fr; gap:48px; align-items:start;
  }
  .doctor-badge{
    width:200px; height:200px; border-radius:50%;
    overflow:hidden;
    box-shadow:0 20px 40px rgba(1,62,63,.22);
    border:5px solid var(--white);
    outline:2px solid var(--teal-soft);
  }
  .doctor-badge img{width:100%; height:100%; object-fit:cover; display:block;}
  .doctor-name{font-size:22px; font-weight:800; margin-bottom:6px;}
  .doctor-title{color:var(--sage); font-weight:600; margin-bottom:18px; font-size:15px;}
  .credentials{display:flex; flex-wrap:wrap; gap:12px; margin-top:22px;}
  .credential-pill{
    background:var(--white); border:1px solid #E4DFD1;
    padding:10px 18px; border-radius:12px; font-size:14px;
    display:flex; align-items:center; gap:8px; color:var(--teal-deep); font-weight:600;
  }
  .credential-pill svg{width:16px; height:16px; color:var(--gold); flex-shrink:0;}

  /* ---------- Services ---------- */
  .services-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(260px,1fr));
    gap:24px; margin-top:44px;
  }
  .service-card{
    background:var(--white);
    border-radius:var(--radius);
    padding:34px 28px;
    border:1px solid #ECE6D6;
    transition:transform .25s ease, box-shadow .25s ease;
    position:relative;
  }
  .service-card:hover{transform:translateY(-6px); box-shadow:0 22px 40px rgba(1,62,63,.1);}
  .service-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:20px;}
  .service-icon{
    width:52px; height:52px; border-radius:14px;
    background:var(--teal-soft);
    display:flex; align-items:center; justify-content:center;
  }
  .service-icon svg{width:26px; height:26px; color:var(--teal-deep);}
  .service-num{
    font-size:14px; font-weight:800; color:var(--silver);
    letter-spacing:.5px;
  }
  .service-card h3{font-size:18px; font-weight:700; margin-bottom:10px;}
  .service-card p{font-size:14.5px; color:var(--ink-soft);}

  /* ---------- Specialty approaches ---------- */
  .approach-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
    gap:24px; margin-top:44px;
  }
  .approach-card{
    background:var(--white); border-radius:var(--radius);
    border:1px solid #ECE6D6; padding:32px 28px;
  }
  .approach-icon{
    width:52px; height:52px; border-radius:14px;
    background:var(--teal-soft);
    display:flex; align-items:center; justify-content:center;
    margin-bottom:18px;
  }
  .approach-icon svg{width:26px; height:26px; color:var(--teal-deep);}
  .approach-card h3{font-size:17px; font-weight:700; margin-bottom:10px;}
  .approach-card p{font-size:14.5px; color:var(--ink-soft); margin-bottom:14px;}
  .tag-list{display:flex; flex-wrap:wrap; gap:8px;}
  .tag-list span{
    background:var(--teal-soft); color:var(--teal-deep);
    font-size:12.5px; font-weight:600;
    padding:6px 12px; border-radius:999px;
  }

  /* ---------- Why us ---------- */
  .why-grid{
    display:grid; grid-template-columns:repeat(auto-fit, minmax(230px,1fr));
    gap:32px; margin-top:48px;
  }
  .why-item{display:flex; flex-direction:column; gap:14px;}
  .why-icon{
    width:48px; height:48px; border-radius:50%;
    background:rgba(199,154,69,.18);
    display:flex; align-items:center; justify-content:center;
  }
  .why-icon svg{width:24px; height:24px; color:var(--gold);}
  .why-item h4{font-size:16.5px; font-weight:700; margin-bottom:4px;}
  .why-item p{font-size:14px; color:#CFE1DC;}

  /* ---------- Contact ---------- */
  .contact-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:40px;
  }
  .contact-card{
    background:var(--white); border-radius:var(--radius);
    border:1px solid #ECE6D6; padding:36px 32px;
  }
  .hours-card{
    background:var(--teal-deep); color:var(--cream);
    border-radius:var(--radius);
    padding:36px 32px;
  }
  .hours-card h4{font-size:16px; font-weight:700; margin-bottom:22px; display:flex; align-items:center; gap:10px;}
  .hours-card h4 svg{width:20px; height:20px; color:var(--gold);}
  .hours-row{
    display:flex; justify-content:space-between; align-items:center;
    padding:13px 0; border-bottom:1px solid rgba(255,255,255,.12);
    font-size:14.5px;
  }
  .hours-row:last-child{border-bottom:none;}
  .hours-row .days{color:#CFE1DC;}
  .hours-row .time{font-weight:700;}
  .hours-note{
    margin-top:16px; font-size:13px; color:#9FC0B8;
  }
  .contact-row{
    display:flex; align-items:flex-start; gap:16px;
    padding:16px 0; border-bottom:1px solid #F0EBDC;
  }
  .contact-row:last-child{border-bottom:none;}
  .contact-row svg{width:22px; height:22px; color:var(--teal-deep); flex-shrink:0; margin-top:2px;}
  .contact-row .label{font-size:13px; color:var(--ink-soft); margin-bottom:3px;}
  .contact-row .value{font-weight:700; font-size:15.5px;}
  .map-frame{
    grid-column:1 / -1;
    border-radius:var(--radius); overflow:hidden; border:1px solid #ECE6D6;
    min-height:340px;
  }
  .map-frame iframe{width:100%; height:100%; min-height:340px; border:0; display:block;}

  /* ---------- FAQ ---------- */
  .faq-list{max-width:780px; margin:44px auto 0;}
  .faq-item{
    background:var(--white); border:1px solid #ECE6D6; border-radius:14px;
    margin-bottom:14px; overflow:hidden;
  }
  .faq-q{
    width:100%; text-align:right; background:none; border:0; cursor:pointer;
    padding:20px 24px; font-family:inherit; font-size:15.5px; font-weight:700;
    color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:12px;
  }
  .faq-q svg{width:18px; height:18px; color:var(--sage); flex-shrink:0; transition:transform .25s ease;}
  .faq-item.open .faq-q svg{transform:rotate(45deg);}
  .faq-a{
    max-height:0; overflow:hidden; transition:max-height .3s ease;
    padding:0 24px; font-size:14.5px; color:var(--ink-soft);
  }
  .faq-item.open .faq-a{max-height:220px; padding-bottom:20px;}

  /* ---------- Footer ---------- */
  footer{
    background:var(--teal-deep); color:#BFD6D0;
    padding:36px 0; text-align:center; font-size:14px;
  }
  footer .brand{color:var(--cream); font-weight:700; margin-bottom:6px; display:block;}

  /* ---------- Divider flower ---------- */
  .flower-divider{
    display:flex; justify-content:center; margin:0 0 10px;
  }
  .flower-divider svg{width:38px; height:38px; opacity:.55;}

  /* ---------- Reveal ---------- */
  .reveal{opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:none;}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    .reveal{opacity:1; transform:none; transition:none;}
    .service-card:hover{transform:none;}
    .hero{animation:none;}
    .hero .petals path{animation:none;}
    .btn-primary{animation:none;}
    .hero-logo{animation:none;}
  }

  section[id]{scroll-margin-top:64px;}

  @media (max-width:1000px){
    .topbar .wrap{flex-wrap:wrap; padding-bottom:0;}
    .topnav{
      order:3; width:100%;
      justify-content:flex-start;
      gap:18px;
      overflow-x:auto;
      padding:10px 0 12px;
      margin-top:2px;
      border-top:1px solid rgba(251,248,242,.12);
      scrollbar-width:none;
    }
    .topnav::-webkit-scrollbar{display:none;}
    .topnav a{flex-shrink:0;}
  }

  @media (max-width:760px){
    .doctor-grid{grid-template-columns:1fr; text-align:center;}
    .doctor-badge{margin:0 auto;}
    .credentials{justify-content:center;}
    .contact-grid{grid-template-columns:1fr;}
    .topbar .brand span.full{display:none;}
    section{padding:64px 0;}
    .to-top{left:14px; bottom:14px; width:40px; height:40px;}
  }

  :focus-visible{outline:3px solid var(--gold); outline-offset:3px;}