/* Medulla Hambaravi — medulla.ee */

/* ---------- Fondid (isehostitud, alamhulgad: ladina + õäöüšž) ---------- */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 500;font-display:swap;src:url(../fonts/fraunces-normal.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+2010-2027,U+2030-203A,U+20AC,U+2122,U+2190-2193,U+2212;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:300 500;font-display:swap;src:url(../fonts/fraunces-normal-ext.woff2) format('woff2');unicode-range:U+0160-0161,U+017D-017E;}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:350 400;font-display:swap;src:url(../fonts/fraunces-italic.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+2010-2027,U+2030-203A,U+20AC,U+2122,U+2190-2193,U+2212;}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:350 400;font-display:swap;src:url(../fonts/fraunces-italic-ext.woff2) format('woff2');unicode-range:U+0160-0161,U+017D-017E;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/manrope.woff2) format('woff2');unicode-range:U+0020-007E,U+00A0-00FF,U+2010-2027,U+2030-203A,U+20AC,U+2122,U+2190-2193,U+2212;}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(../fonts/manrope-ext.woff2) format('woff2');unicode-range:U+0160-0161,U+017D-017E;}

  :root{
    --logo: url('../img/medulla-logo.webp');
    --logo-white: url('../img/medulla-logo-valge.webp');
    --hero-bg: url('../img/hero-hambaravikabinet.webp');
    --cream:        #FAF6F1;
    --cream-deep:   #F2EAE0;
    --paper:        #FFFFFF;
    --ink:          #1D1E29;
    --ink-soft:     #4A4A55;
    --ink-mute:     #807A70;
    --line:         #E8DFD3;
    --line-soft:    #EFE7DC;
    --red:          #AA312E;
    --red-deep:     #8A2522;
    --red-darkest:  #6E1B19;
    --red-bright:   #C8413C;
    --red-soft:     #F4E4DD;
    --red-glow:     rgba(170,49,46,0.08);
    --blush:        #F8EBE4;
    --gold:         #E8B17A;
    --rose-light:   #FFD9CF;

    --display: 'Fraunces', 'Times New Roman', serif;
    --body:    'Manrope', system-ui, sans-serif;

    --maxw: 1280px;
    --gutter: clamp(26px, 6vw, 56px);
    --radius: 18px;
    --radius-sm: 10px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--cream);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

  /* ----------- Background grain texture for warmth ----------- */
  body::before{
    content:"";
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: .35;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.6  0 0 0 0 0.55  0 0 0 0 0.5  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    mix-blend-mode: multiply;
  }
  main, header, section, footer { position: relative; z-index: 1; }

  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  /* ============ NAV ============ */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: border-color .3s, background .3s, backdrop-filter .3s;
  }
  /* At top of page nav floats over the red hero — use light text + white logo */
  .nav:not(.scrolled) { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav:not(.scrolled) .logo-mark { filter: brightness(0) invert(1); }
  .nav:not(.scrolled) .nav-links a { color: #fff; }
  .nav:not(.scrolled) .nav-links a::after { background: var(--rose-light); }
  .nav:not(.scrolled) .nav-links a:hover { color: var(--rose-light); }
  .nav:not(.scrolled) .hamburger { color:#fff; border-color: rgba(255,255,255,.4); }
  .nav:not(.scrolled) .nav-cta-btn {
    background: #fff; color: var(--red-deep);
    box-shadow: 0 6px 20px -6px rgba(0,0,0,.35);
  }
  .nav:not(.scrolled) .nav-cta-btn:hover { background: var(--rose-light); color: var(--red-darkest); }
  .nav.scrolled {
    border-bottom-color: var(--line);
    background: rgba(250,246,241,0.92);
  }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .logo-mark {
    display: block;
    width: 156px;
    height: 56px;
    background-image: var(--logo);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    transition: filter .3s ease;
  }
  .foot-brand .logo-mark--foot {
    width: 156px;
    height: 60px;
    margin-bottom: 18px;
    background-image: var(--logo-white);
    background-position: left center;
    background-size: contain;
  }
  .nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
  }
  .nav-links a {
    position: relative;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: .05em;
    transition: color .2s;
  }
  .nav-links a::after{
    content:"";
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 1px;
    background: var(--red);
    transition: width .25s ease;
  }
  .nav-links a:hover { color: var(--red); }
  .nav-links a:hover::after { width: 100%; }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .02em;
    transition: transform .2s, box-shadow .25s, background .2s, color .2s;
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 14px -4px rgba(170,49,46,0.5);
  }
  .btn-primary:hover {
    background: var(--red-deep);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px -6px rgba(170,49,46,0.55);
  }
  .btn-ghost {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    background: transparent;
  }
  .btn-ghost:hover { background: var(--ink); color: var(--cream); }
  .btn-arrow svg { transition: transform .25s; }
  .btn-arrow:hover svg { transform: translateX(3px); }

  .hamburger { display: none; }

  /* ============ HERO ============ */
  /* Shared eyebrow used in section heads too */
  .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 28px;
  }
  .eyebrow::before {
    content:"";
    width: 28px; height: 1px;
    background: var(--red);
  }

  .hero {
    min-height: calc(100svh - 0px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: -92px;        /* pull hero under the transparent nav */
    padding-top: 92px;
    color: #fff;
    background:
      radial-gradient(120% 90% at 85% 12%, rgba(200,65,60,.32) 0%, transparent 55%),
      radial-gradient(95% 85% at 6% 92%, rgba(110,27,25,.78) 0%, transparent 62%),
      radial-gradient(60% 60% at 95% 90%, rgba(232,177,122,.14) 0%, transparent 60%),
      linear-gradient(100deg, rgba(110,27,25,.94) 0%, rgba(138,37,34,.74) 44%, rgba(122,31,29,.5) 100%),
      var(--hero-bg);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
  }
  /* Soft decorative arcs in the hero */
  .hero::before{
    content:"";
    position:absolute;
    top:-22vw; right:-14vw;
    width:54vw; height:54vw;
    border:1px solid rgba(255,255,255,.10);
    border-radius:50%;
    box-shadow: inset 0 0 0 18vw rgba(255,255,255,.025);
    pointer-events:none;
  }
  .hero::after{
    content:"";
    position:absolute;
    bottom:-30vw; left:-10vw;
    width:46vw; height:46vw;
    background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
    border-radius:50%;
    pointer-events:none;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    padding-top: clamp(36px, 6vh, 80px);
    padding-bottom: clamp(36px, 6vh, 80px);
    width: 100%;
  }
  .hero-text{ max-width: 640px; }
  /* ---- Hero text colours over the red background ---- */
  .hero .eyebrow { color: var(--rose-light); }
  .hero .eyebrow::before { background: var(--rose-light); }
  .hero h1.display { color: #fff; }
  .hero h1.display em { color: var(--rose-light); }
  .hero .hero-lede { color: rgba(255,255,255,.86); }
  .hero .hero-meta-num { color: #fff; }
  .hero .hero-meta-label { color: rgba(255,255,255,.7); }
  .hero .hero-meta-item { position: relative; }
  .hero .hero-meta-item + .hero-meta-item::before{
    content:""; position:absolute; left:-20px; top:4px; bottom:4px;
    width:1px; background:rgba(255,255,255,.18);
  }
  /* Primary button on red: white pill */
  .hero .btn-primary {
    background:#fff; color:var(--red-deep);
    box-shadow:0 10px 26px -10px rgba(0,0,0,.45);
  }
  .hero .btn-primary:hover { background:var(--rose-light); color:var(--red-darkest); }
  .hero .btn-ghost { border-color: rgba(255,255,255,.55); color:#fff; }
  .hero .btn-ghost:hover { background:#fff; color:var(--red-deep); border-color:#fff; }
  h1.display {
    font-family: var(--display);
    font-weight: 350;
    font-size: clamp(40px, 5.8vw, 82px);
    line-height: .98;
    letter-spacing: -0.025em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  h1.display em {
    font-style: italic;
    font-weight: 350;
    color: var(--red);
    font-variation-settings: "opsz" 144, "SOFT" 100;
  }
  .hero-lede {
    margin-top: 24px;
    font-size: clamp(16px, 1.3vw, 18px);
    color: var(--ink-soft);
    max-width: 52ch;
    line-height: 1.6;
  }
  .hero-cta {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .hero-meta {
    margin-top: 44px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .hero-meta-num {
    font-family: var(--display);
    font-weight: 350;
    font-size: 34px;
    line-height: 1;
    color: var(--ink);
    font-variation-settings: "opsz" 144;
  }
  .hero-meta-label {
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: .02em;
  }

  /* Hero photo block */
  .hero-visual {
    position: relative;
    height: clamp(360px, calc(100svh - 180px), 700px);
    border-radius: 24px 24px 140px 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px -30px rgba(170,49,46,.3);
  }
  .hero-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
  }
  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(170,49,46,.07) 0%, rgba(29,30,41,.18) 100%);
    pointer-events: none;
  }
  .hero-badge {
    position: absolute;
    bottom: 24px; left: 20px; right: 20px;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
  }
  .hero-badge-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .hero-badge-text {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.4;
  }
  .hero-badge-text strong {
    display: block;
    font-weight: 700;
    margin-bottom: 1px;
  }

  /* ---- Hero decorative icon cluster (replaces the old photo/badge box) ---- */
  .hero-emblem{
    position: relative;
    display: grid;
    place-items: center;
    min-height: clamp(300px, 46vh, 540px);
  }
  .hero-emblem .ring{
    position:absolute;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.16);
  }
  .hero-emblem .ring.r1{ width: min(78%, 440px); aspect-ratio:1; }
  .hero-emblem .ring.r2{ width: min(56%, 320px); aspect-ratio:1; border-color:rgba(255,255,255,.10); }
  .hero-emblem .ring.dashed{
    width:min(94%,520px); aspect-ratio:1;
    border:1px dashed rgba(255,255,255,.12);
    animation: spin 60s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .hero-emblem .tooth{
    position:relative; z-index:2;
    width: clamp(120px, 16vw, 190px);
    color: rgba(255,255,255,.92);
    filter: drop-shadow(0 14px 30px rgba(0,0,0,.28));
    animation: floaty 7s ease-in-out infinite;
  }
  @keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-10px);} }
  /* small orbiting glyphs — understated so they don't steal focus */
  .hero-emblem .glyph{
    position:absolute; z-index:3;
    width:46px; height:46px;
    display:grid; place-items:center;
    border-radius:14px;
    background: rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.18);
    color:#fff;
    backdrop-filter: blur(4px);
  }
  .hero-emblem .glyph svg{ width:22px; height:22px; opacity:.85; }
  .hero-emblem .g1{ top:12%; right:16%; }
  .hero-emblem .g2{ bottom:18%; right:10%; }
  .hero-emblem .g3{ bottom:12%; left:14%; }
  .hero-emblem .g4{ top:20%; left:10%; }

  /* ============ INFO BAR ============ */
  .infobar {
    background: linear-gradient(100deg, var(--red-darkest) 0%, var(--red-deep) 60%, var(--red) 100%);
    color: #fff;
    padding: 0;
    position: relative;
    z-index: 2;
  }
  .infobar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .infobar-loc {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px 20px;
    padding: 20px clamp(18px, 2.4vw, 36px);
    white-space: nowrap;
  }
  .infobar-loc + .infobar-loc { border-left: 1px solid rgba(255,255,255,.16); }
  .infobar-city {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--display);
    font-weight: 400;
    font-size: 18px;
    font-variation-settings: "opsz" 32;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  .infobar-city svg { color: var(--rose-light); flex-shrink: 0; }
  .infobar-item { display: flex; align-items: center; gap: 9px; font-size: 14px; }
  .infobar-item svg { color: var(--rose-light); flex-shrink: 0; }
  .infobar a { transition: opacity .2s; }
  .infobar a:hover { opacity: .75; }

  /* ============ SECTION BASE ============ */
  section.block {
    padding: clamp(80px, 11vw, 140px) 0;
  }
  .sec-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
  }
  .sec-wave svg {
    width: 100%;
    height: 52px;
    display: block;
  }
  @media (max-width: 640px){
    .sec-wave svg { height: 32px; }
  }
  .section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
  }
  .section-head .eyebrow { margin-bottom: 18px; }
  h2.display {
    font-family: var(--display);
    font-weight: 350;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--ink);
    font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  h2.display em {
    font-style: italic;
    color: var(--red);
    font-weight: 350;
    font-variation-settings: "opsz" 144, "SOFT" 100;
  }
  .section-intro {
    color: var(--ink-soft);
    max-width: 50ch;
    font-size: 17px;
  }

  /* ============ TEENUSED ============ */
  .services {
    background:
      radial-gradient(85% 65% at 100% 0%, rgba(170,49,46,.10) 0%, transparent 55%),
      radial-gradient(70% 55% at 0% 100%, rgba(232,177,122,.08) 0%, transparent 55%),
      var(--paper);
    position: relative;
    overflow: hidden;
  }
  .services::before{
    content:"";
    position:absolute;
    top:-14vw; right:-10vw;
    width:40vw; height:40vw; max-width:560px; max-height:560px;
    border:1px solid var(--red-soft);
    border-radius:50%;
    opacity:.6;
    pointer-events:none;
  }
  .services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .service-card {
    flex: 0 1 calc(25% - 14px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: var(--radius);
    padding: 20px 20px;
    border: 1px solid transparent;
    color: #fff;
    background:
      radial-gradient(140% 130% at 88% 6%, rgba(200,65,60,.26) 0%, transparent 62%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 68%, var(--red-deep) 100%);
    box-shadow: 0 16px 36px -24px rgba(138,37,34,.6);
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: default;
  }
  .service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 50px -22px rgba(138,37,34,.7);
  }
  .service-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .3s, color .3s;
  }
  .service-card:hover .service-icon {
    background: #fff;
    color: var(--red-deep);
  }
  .service-card h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 1.12;
    color: #fff;
    font-variation-settings: "opsz" 32;
  }
  .services .section-head,
  .doctors .section-head { grid-template-columns: 1fr; }
  .svc-title { font-size: clamp(30px, 4.4vw, 54px); }
  @media (min-width: 768px){
    .svc-title, .team-title { white-space: nowrap; }
  }

  /* ============ DOCTORS ============ */
  .doctors {
    background:
      radial-gradient(90% 70% at 100% 0%, rgba(200,65,60,.12) 0%, transparent 55%),
      radial-gradient(80% 70% at 0% 100%, rgba(170,49,46,.10) 0%, transparent 55%),
      linear-gradient(160deg, var(--blush) 0%, var(--red-soft) 100%);
    position: relative;
    overflow: hidden;
  }
  .doctors::before{
    content:"";
    position:absolute;
    bottom:-16vw; left:-12vw;
    width:42vw; height:42vw; max-width:560px; max-height:560px;
    border:1px dashed var(--red-soft);
    border-radius:50%;
    opacity:.5;
    pointer-events:none;
  }
  .doctors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
  .doctor-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: 30px 24px 28px;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .doctor-card::before{
    content:"";
    position:absolute; inset:0 0 auto 0;
    height:4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-bright) 60%, var(--gold) 100%);
    transform: scaleX(0); transform-origin:left;
    transition: transform .35s ease;
  }
  .doctor-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 26px 54px -28px rgba(138,37,34,.4);
    border-color: var(--red-soft);
  }
  .doctor-card:hover::before{ transform: scaleX(1); }
  .doctor-namebox{
    position: relative;
    overflow: hidden;
    margin: -30px -24px 20px;
    border-radius: 0 0 16px 16px;
    padding: 26px 24px 20px;
    background:
      radial-gradient(120% 100% at 90% 0%, rgba(200,65,60,.55) 0%, transparent 60%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 58%, #7a1f1d 100%);
    box-shadow: 0 14px 30px -16px rgba(138,37,34,.7);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .doctor-namebox::after{
    content:""; position:absolute; top:-42%; right:-16%;
    width:56%; aspect-ratio:1;
    border:1px solid rgba(255,255,255,.18);
    border-radius:50%; pointer-events:none;
  }
  .doctor-name {
    position: relative;
    font-family: var(--display);
    font-weight: 400;
    font-size: 21px;
    line-height: 1.12;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 6px;
    font-variation-settings: "opsz" 32;
  }
  .doctor-surname { display: block; }
  .doctor-role {
    position: relative;
    font-size: 11.5px;
    color: var(--rose-light);
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 0;
  }
  .doctor-bio {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.55;
  }

  /* ============ HINNAKIRI ============ */
  .pricing {
    background:
      radial-gradient(70% 60% at 0% 0%, rgba(170,49,46,.08) 0%, transparent 55%),
      var(--paper);
  }
  .pricing-wrap {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
  }
  .pricing-side {
    position: sticky;
    top: 110px;
    background:
      radial-gradient(120% 80% at 90% 8%, rgba(200,65,60,.5) 0%, transparent 55%),
      radial-gradient(80% 80% at 0% 100%, rgba(110,27,25,.75) 0%, transparent 60%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 52%, #7a1f1d 100%);
    color:#fff;
    border-radius: 24px 24px 24px 90px;
    padding: 40px 36px 44px;
    overflow: hidden;
    box-shadow: 0 30px 60px -32px rgba(138,37,34,.55);
  }
  .pricing-side::before{
    content:"";
    position:absolute; top:-26%; right:-18%;
    width:64%; aspect-ratio:1;
    border:1px solid rgba(255,255,255,.14);
    border-radius:50%;
    pointer-events:none;
  }
  .pricing-side .eyebrow { margin-bottom: 18px; }
  .pricing-side h2 {
    margin-bottom: 24px;
  }
  .pricing-side p {
    color: var(--ink-soft);
    margin-bottom: 28px;
    line-height: 1.6;
  }
  .pricing-side ul {
    list-style: none;
    margin-bottom: 28px;
  }
  .pricing-side ul li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-soft);
  }
  .pricing-side ul li:last-child { border-bottom: 1px solid var(--line); }
  .pricing-side ul svg { color: var(--red); flex-shrink: 0; }

  .price-table {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .price-cat {
    border-bottom: 1px solid var(--line-soft);
  }
  .price-cat:last-child { border-bottom: none; }
  .price-cat-head {
    width: 100%;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    transition: background .2s;
    user-select: none;
  }
  .price-cat-head h4 { flex: 1; padding-right: 24px; }
  .price-cat-head:hover { background: var(--cream); }
  .price-cat-head h4 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 22px;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 32;
  }
  .price-cat-toggle {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: background .2s, color .2s, transform .3s;
  }
  .price-cat.open .price-cat-toggle {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: rotate(45deg);
  }
  .price-cat-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
  }
  .price-cat.open .price-cat-body { max-height: 1000px; }
  .price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 28px;
    border-top: 1px dashed var(--line-soft);
    gap: 24px;
  }
  .price-row-name { color: var(--ink-soft); font-size: 15px; }
  .price-row-amount {
    font-family: var(--display);
    font-weight: 500;
    font-size: 17px;
    color: var(--ink);
    white-space: nowrap;
    font-variation-settings: "opsz" 32;
  }
  .price-row-amount span { color: var(--ink-mute); font-weight: 400; font-size: 14px; font-style: italic; }
  .price-cat-body { padding-bottom: 16px; }

  /* ============ LOCATIONS ============ */
  .locations {
    background:
      radial-gradient(90% 70% at 100% 0%, rgba(170,49,46,.5) 0%, transparent 55%),
      radial-gradient(85% 80% at 0% 100%, rgba(110,27,25,.7) 0%, transparent 60%),
      radial-gradient(60% 60% at 50% 120%, rgba(232,177,122,.10) 0%, transparent 60%),
      linear-gradient(160deg, #3a1a1c 0%, #2a1418 55%, #241016 100%);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }
  .locations h2 { color: var(--cream); }
  .locations h2 em { color: #E89B97; }
  .locations .section-intro { color: rgba(250,246,241,0.7); }
  .locations .eyebrow { color: #E89B97; }
  .locations .eyebrow::before { background: #E89B97; }

  .locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 60px;
  }
  .location-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    overflow: hidden;
    transition: background .3s, border-color .3s;
  }
  .location-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(232,155,151,0.3);
  }
  .location-map {
    aspect-ratio: 16 / 8;
    min-height: 200px;
    background:
      radial-gradient(circle at 30% 40%, rgba(170,49,46,0.4), transparent 50%),
      radial-gradient(circle at 70% 60%, rgba(170,49,46,0.2), transparent 50%),
      linear-gradient(135deg, #3a1a1c 0%, #241016 100%);
    position: relative;
    overflow: hidden;
    z-index: 0;
  }
  .location-map::before{
    content:"";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 40px 40px;
  }
  /* Google Maps embed — slight warm recolor, keep it legible */
  .location-map iframe.gmap{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(0.82) contrast(1.02) sepia(0.24) hue-rotate(-6deg) brightness(1.03);
  }
  .location-call{
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 999px;
    background: #fff;
    color: var(--red-deep);
    font-weight: 600;
    font-size: 14.5px;
    box-shadow: 0 12px 26px -14px rgba(0,0,0,.6);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  }
  .location-call svg{ color: var(--red); }
  .location-call:hover{
    background: var(--rose-light);
    color: var(--red-darkest);
    transform: translateY(-2px);
  }
  .location-call:hover svg{ color: var(--red-deep); }
  .location-body {
    padding: 32px 32px 36px;
  }
  .location-tag {
    font-size: 12px;
    color: #E89B97;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 12px;
  }
  .location-body h3 {
    font-family: var(--display);
    font-weight: 350;
    font-size: 32px;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
    color: var(--cream);
    font-variation-settings: "opsz" 64;
  }
  .location-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 15px;
    color: rgba(250,246,241,0.82);
  }
  .location-detail svg { color: #E89B97; flex-shrink: 0; margin-top: 3px; }
  .location-detail strong { color: var(--cream); font-weight: 600; }

  /* ============ FAQ ============ */
  .faq {
    background: var(--cream);
  }
  .faq-list {
    max-width: 880px;
    margin: 60px auto 0;
  }
  .faq-item {
    border-bottom: 1px solid var(--line);
  }
  .faq-q {
    width: 100%;
    text-align: left;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(20px, 2.2vw, 26px);
    letter-spacing: -0.01em;
    color: var(--ink);
    font-variation-settings: "opsz" 32;
    transition: color .2s;
  }
  .faq-q > span:first-child { flex: 1; }
  .faq-q:hover { color: var(--red); }
  .faq-toggle {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .2s, color .2s, transform .3s, border-color .2s;
  }
  .faq-item.open .faq-toggle {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: rotate(45deg);
  }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.65;
    max-width: 80ch;
  }
  .faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 0 28px;
  }

  /* ============ CTA / KONTAKT ============ */
  .cta {
    background:
      radial-gradient(120% 90% at 85% 12%, rgba(200,65,60,.5) 0%, transparent 55%),
      radial-gradient(90% 80% at 8% 100%, rgba(110,27,25,.8) 0%, transparent 60%),
      radial-gradient(60% 60% at 95% 90%, rgba(232,177,122,.16) 0%, transparent 60%),
      linear-gradient(150deg, #8A2522 0%, #AA312E 45%, #7a1f1d 100%);
    color:#fff;
    position: relative;
    overflow: hidden;
  }
  .cta::before{
    content: "Medulla";
    position: absolute;
    bottom: -3vw;
    right: -2vw;
    font-family: var(--display);
    font-style: italic;
    font-weight: 300;
    font-size: 28vw;
    line-height: 1;
    color: rgba(255,255,255,.07);
    pointer-events: none;
    user-select: none;
    font-variation-settings: "opsz" 144, "SOFT" 100;
  }
  .cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
  }
  .cta h2 em { color: var(--red); }
  .cta-lede {
    margin-top: 28px;
    color: var(--ink-soft);
    font-size: 18px;
    max-width: 50ch;
  }
  .cta-buttons {
    margin-top: 38px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }

  .contact-card {
    background: var(--paper);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 30px 60px -30px rgba(170,49,46,.25);
  }
  .contact-card h4 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 24px;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
  }
  .contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--ink-soft);
  }
  .contact-row:first-of-type { border-top: none; padding-top: 0; }
  .contact-row strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
  .contact-row svg { color: var(--red); flex-shrink: 0; margin-top: 3px; }
  .contact-row a:hover { color: var(--red); }

  /* ============ FOOTER ============ */
  footer {
    background: var(--ink);
    color: var(--cream);
    padding: 70px 0 32px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }
  .foot-brand { /* logo styled via .logo-mark--foot */ }
  .foot-brand p {
    font-size: 14px;
    color: rgba(250,246,241,0.65);
    max-width: 32ch;
    line-height: 1.6;
  }
  .foot-col .foot-title {
    font-family: var(--display);
    font-weight: 400;
    font-size: 17px;
    margin-bottom: 18px;
    color: var(--cream);
    font-variation-settings: "opsz" 24;
  }
  .foot-col ul { list-style: none; }
  .foot-col li { margin-bottom: 10px; font-size: 14px; color: rgba(250,246,241,0.65); }
  .foot-col a:hover { color: #E89B97; }
  .foot-badge {
    width: 94px;
    height: auto;
    margin-top: 16px;
    display: block;
    border-radius: 50%;
    box-shadow: 0 10px 24px -10px rgba(0,0,0,.55);
  }
  .foot-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: rgba(250,246,241,0.5);
  }
  .foot-bottom a:hover { color: #E89B97; }

  /* ============ BEFORE / AFTER ============ */
  .ba-section {
    background:
      radial-gradient(75% 60% at 100% 100%, rgba(170,49,46,.09) 0%, transparent 55%),
      radial-gradient(60% 50% at 0% 0%, rgba(232,177,122,.07) 0%, transparent 55%),
      var(--paper);
    position: relative;
    overflow: hidden;
  }
  .ba-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
  }
  .ba-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    transition: transform .3s, box-shadow .3s;
  }
  .ba-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px -24px rgba(29,30,41,.2);
  }
  .ba-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    aspect-ratio: 4 / 3;
  }
  .ba-images::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%; width: 2px;
    background: #fff;
    transform: translateX(-50%);
    z-index: 2;
  }
  .ba-side {
    position: relative;
    overflow: hidden;
  }
  .ba-side img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .ba-label {
    position: absolute;
    bottom: 8px;
    left: 10px;
    background: rgba(29,30,41,.75);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    z-index: 3;
  }
  .ba-label.after { background: var(--red); left: auto; right: 10px; }
  .ba-body {
    padding: 18px 20px 20px;
  }
  .ba-body h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    font-variation-settings: "opsz" 32;
  }
  .ba-body p {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
  }
  .ba-fb-note {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    color: var(--ink-mute);
  }
  .ba-fb-note a { color: var(--red); font-weight: 600; }
  .ba-fb-note a:hover { text-decoration: underline; }

  /* ============ ANIMATIONS ============ */
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }

  @keyframes float {
    0%, 100% { transform: translate(-50%, -50%); }
    50% { transform: translate(-50%, calc(-50% - 8px)); }
  }
  .hero-tooth { animation: float 6s ease-in-out infinite; }

  /* ============ RESPONSIVE ============ */
  @media (max-width: 1100px){
    .doctors-grid { grid-template-columns: repeat(3, 1fr); }
    .service-card { flex-basis: calc(33.333% - 14px); }
    .pricing-wrap { grid-template-columns: 1fr; }
    .pricing-side { position: static; }
    .infobar-loc { flex-wrap: wrap; white-space: normal; }
  }
  @media (max-width: 880px){
    .nav-links { display: none; }
    .hamburger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); }
    .hero {
      min-height: auto;
      background:
        linear-gradient(160deg, rgba(110,27,25,.9) 0%, rgba(138,37,34,.8) 55%, rgba(122,31,29,.74) 100%),
        url('../img/hero-hambaravikabinet-900.webp');
      background-size: cover;
      background-position: right center;
      background-repeat: no-repeat;
    }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-text { max-width: 100%; }
    .service-card { flex-basis: calc(50% - 12px); }
    .doctors-grid { grid-template-columns: repeat(2, 1fr); }
    .locations-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { grid-template-columns: 1fr; }
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .hero-meta { gap: 32px; }
    .ba-grid { grid-template-columns: repeat(2, 1fr); }
    .infobar-inner { grid-template-columns: 1fr; }
    .infobar-loc + .infobar-loc { border-left: none; border-top: 1px solid rgba(255,255,255,.16); }
  }
  @media (max-width: 540px){
    .service-card { flex-basis: 100%; }
    .doctors-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .nav-cta-btn { display: none; }
    .hero-meta { gap: 24px; }
    h1.display { font-size: 40px; }
  }

  /* Hero placeholder */
  .hero-visual--placeholder { background: var(--cream-deep); }
  .hero-placeholder-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 18px; color: var(--ink-mute); z-index: 1;
  }
  .hero-placeholder-content svg { opacity: 0.22; }
  .hero-placeholder-content p {
    font-size: 15px; font-weight: 500;
    letter-spacing: 0.04em; opacity: 0.45;
  }

  /* BA single-image card */
  .ba-img-wrap {
    position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  }
  .ba-img-wrap img {
    width: 100%; height: 100%; object-fit: cover; display: block;
  }
  .ba-chip {
    position: absolute; bottom: 10px; left: 10px;
    background: var(--red); color: #fff;
    font-size: 10px; font-weight: 700;
    letter-spacing: .10em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 999px; z-index: 3;
  }
  /* ============ PHASE 2 — BOLD SECTION ACCENTS ============ */

  /* --- Arstid: glowing ring around avatar on hover --- */
  .doctor-card:hover .doctor-namebox{
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -18px rgba(138,37,34,.85);
  }

  /* --- Hinnakiri: white/gold text on the red side panel --- */
  .pricing-side .eyebrow{ color:var(--rose-light); }
  .pricing-side .eyebrow::before{ background:var(--rose-light); }
  .pricing-side h2.display{ color:#fff; }
  .pricing-side h2.display em{ color:var(--rose-light); }
  .pricing-side p{ color:rgba(255,255,255,.85); }
  .pricing-side ul li{
    color:rgba(255,255,255,.84);
    border-top-color:rgba(255,255,255,.16);
  }
  .pricing-side ul li:last-child{ border-bottom-color:rgba(255,255,255,.16); }
  .pricing-side ul svg{ color:var(--gold); }

  /* --- CTA: light text + white buttons on the red bookend --- */
  .cta .eyebrow{ color:var(--rose-light); }
  .cta .eyebrow::before{ background:var(--rose-light); }
  .cta h2.display{ color:#fff; }
  .cta h2.display em{ color:var(--rose-light); }
  .cta-lede{ color:rgba(255,255,255,.85); }
  .cta .btn-primary{
    background:#fff; color:var(--red-deep);
    box-shadow:0 12px 28px -10px rgba(0,0,0,.45);
  }
  .cta .btn-primary:hover{ background:var(--rose-light); color:var(--red-darkest); }
  .cta .btn-ghost{ border-color:rgba(255,255,255,.55); color:#fff; }
  .cta .btn-ghost:hover{ background:#fff; color:var(--red-deep); border-color:#fff; }

  /* ============ HINNAKIRI (lihtsustatud) ============ */
  @media (min-width: 1101px){ .pricing-wrap { grid-template-columns: 1fr 1.35fr; align-items: stretch; } }
  @media (max-width: 1100px){ .pricing-wrap { gap: 24px; } }
  .pricing-side { position: relative; top: auto; }
  .pricing-side p { margin-bottom: 30px; }
  .price-link{
    display:inline-flex; align-items:center; gap:10px;
    padding:13px 24px; border-radius:999px;
    background:#fff; color:var(--red-deep); font-weight:600; font-size:14px;
    box-shadow:0 12px 28px -10px rgba(0,0,0,.45);
    transition: transform .2s, background .2s, color .2s;
    position: relative;
  }
  .price-link:hover{ background:var(--rose-light); color:var(--red-darkest); transform:translateY(-1px); }
  .price-notes{ display:flex; flex-direction:column; gap:16px; justify-content:center; }
  .price-note{
    display:flex; gap:20px; align-items:flex-start;
    background:var(--paper); border:1px solid var(--line-soft);
    border-radius:var(--radius); padding:26px 28px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .price-note:hover{ transform:translateY(-3px); box-shadow:0 22px 44px -26px rgba(138,37,34,.4); border-color:var(--red-soft); }
  .price-note-icon{
    width:48px; height:48px; flex-shrink:0; border-radius:14px;
    display:grid; place-items:center;
    background:var(--red-soft); color:var(--red);
  }
  .price-note h3{
    font-family:var(--display); font-weight:400; font-size:21px;
    letter-spacing:-0.01em; line-height:1.2; margin-bottom:6px;
    font-variation-settings:"opsz" 32;
  }
  .price-note p{ color:var(--ink-soft); font-size:15px; line-height:1.6; }
  .price-note p a{ color:var(--red); font-weight:600; border-bottom:1px solid currentColor; }
  .price-note--accent{
    color:#fff; border-color:transparent;
    background:
      radial-gradient(140% 130% at 88% 6%, rgba(200,65,60,.3) 0%, transparent 62%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 68%, var(--red-deep) 100%);
  }
  .price-note--accent .price-note-icon{ background:rgba(255,255,255,.16); color:#fff; }
  .price-note--accent p{ color:rgba(255,255,255,.85); }

  /* ============ INFOBAR (üks asukoht) ============ */
  .infobar-inner{ grid-template-columns: 1fr; }
  .infobar-loc{ justify-content: center; gap: 10px 34px; flex-wrap: wrap; white-space: normal; }

  /* ============ KONTAKT ============ */
  .contact-grid{
    display:grid; grid-template-columns: 1.45fr 1fr; gap:28px;
    margin-top: 60px; align-items: stretch;
  }
  .map-card{
    position:relative; display:block; min-height: 420px;
    border-radius: var(--radius); overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    background:#f3e6df;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
    cursor:pointer;
  }
  .osm-map, .map-card .osm-map.maplibregl-map{ position:absolute; inset:0; background:#f3e6df; }
  .osm-map, .osm-map *{ cursor:pointer !important; }
  .osm-map .maplibregl-ctrl-bottom-left,
  .osm-map .maplibregl-ctrl-bottom-right,
  .osm-map .maplibregl-ctrl-attrib{ display:none !important; }
  .osm-map.map-fallback{
    background:
      radial-gradient(circle at 50% 50%, rgba(170,49,46,.16), transparent 45%),
      repeating-linear-gradient(0deg, transparent 0 38px, rgba(170,49,46,.08) 38px 39px),
      repeating-linear-gradient(90deg, transparent 0 38px, rgba(170,49,46,.08) 38px 39px),
      #F7ECE7;
  }
  .map-card::after{
    content:""; position:absolute; inset:0; pointer-events:none; z-index:400;
    background:
      radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(110,27,25,.28) 100%),
      linear-gradient(180deg, rgba(170,49,46,.06), rgba(110,27,25,.14));
    mix-blend-mode: multiply;
  }
  .map-pin{ position:relative; width:56px; height:56px; }
  .map-pin .pulse{
    position:absolute; left:50%; top:50%; width:56px; height:56px; margin:-28px 0 0 -28px;
    border-radius:50%; background:rgba(170,49,46,.35);
    animation: pinpulse 2.4s ease-out infinite;
  }
  .map-pin .dot{
    position:absolute; left:50%; top:50%; width:40px; height:40px; margin:-20px 0 0 -20px;
    border-radius:50%; display:grid; place-items:center; color:#fff;
    background: linear-gradient(150deg, var(--red-bright), var(--red-deep));
    border:3px solid #fff; box-shadow:0 10px 22px -6px rgba(110,27,25,.7);
  }
  @keyframes pinpulse{ 0%{ transform:scale(.5); opacity:.9;} 100%{ transform:scale(2.1); opacity:0;} }
  .map-open{
    position:absolute; left:18px; bottom:18px; z-index:500;
    display:inline-flex; align-items:center; gap:8px;
    padding:10px 18px; border-radius:999px;
    background:#fff; color:var(--red-deep); font-weight:600; font-size:13.5px;
    box-shadow:0 12px 26px -12px rgba(0,0,0,.55);
    transition: transform .2s, background .2s;
  }
  .map-card:hover .map-open{ background:var(--rose-light); transform:translateY(-2px); }
  .contact-info .location-detail a{ color:var(--cream); }
  .contact-info .location-detail a:hover{ color:#E89B97; }

  .contact-story{
    margin-top: 28px; padding: clamp(22px, 3vw, 32px) clamp(24px, 3.4vw, 40px) !important;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: clamp(28px, 4vw, 48px);
  }
  .contact-lede{
    font-size: 16.5px; line-height: 1.7;
    color: rgba(250,246,241,.8); max-width: 78ch;
  }
  .contact-lede strong{ color:#fff; font-weight:600; }
  .contact-feats{
    display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
    margin-top: 36px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .contact-feat{ display:flex; flex-direction:column; gap:14px; }
  .contact-feat-icon{
    width:48px; height:48px; border-radius:14px; display:grid; place-items:center;
    color:#fff;
    background: linear-gradient(150deg, var(--red-bright), var(--red-deep));
    box-shadow:0 12px 24px -12px rgba(0,0,0,.6);
  }
  .contact-feat h4{
    font-family: var(--display); font-weight: 400; font-size: 19px;
    color: var(--cream); margin-bottom: 4px; font-variation-settings:"opsz" 32;
  }
  .contact-feat p{ font-size: 14.5px; color: rgba(250,246,241,.7); line-height:1.55; }

  @media (max-width: 1100px){
    .contact-feats{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 880px){
    .contact-grid{ grid-template-columns: 1fr; }
    .map-card{ min-height: 320px; }
    .infobar-loc{ justify-content:flex-start; }
  }
  @media (max-width: 540px){
    .contact-feats{ grid-template-columns: 1fr; }
    .price-note{ padding:22px 20px; gap:16px; }
  }

  /* ============ HÜVITISED ============ */
  .benefits{
    margin-top: 56px; padding-top: 56px;
    border-top: 1px solid var(--line-soft);
  }
  .benefits-head{ max-width: 760px; margin-bottom: 32px; }
  .benefits-head .eyebrow{ margin-bottom: 16px; }
  .benefits-title{
    font-family: var(--display); font-weight: 350;
    font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.015em;
    margin-bottom: 14px; font-variation-settings: "opsz" 144, "SOFT" 30;
  }
  .benefits-title em{ font-style: italic; color: var(--red); font-variation-settings: "opsz" 144, "SOFT" 100; }
  .benefits-head p{ color: var(--ink-soft); font-size: 16px; }
  .benefits-head p a{ color: var(--red); font-weight: 600; border-bottom: 1px solid currentColor; }
  .benefits-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .benefit{
    display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line-soft);
    border-radius: var(--radius); padding: 26px 24px 24px;
    position: relative; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
  }
  .benefit::before{
    content:""; position:absolute; inset:0 0 auto 0; height:4px;
    background: linear-gradient(90deg, var(--red) 0%, var(--red-bright) 60%, var(--gold) 100%);
  }
  .benefit:hover{ transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(138,37,34,.4); border-color: var(--red-soft); }
  .benefit-num{
    font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1;
    color: var(--red); font-variation-settings: "opsz" 144;
  }
  .benefit-per{ font-size: 12px; color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; margin: 6px 0 16px; }
  .benefit h4{ font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.2; margin-bottom: 8px; font-variation-settings: "opsz" 32; }
  .benefit p{ font-size: 14px; color: var(--ink-soft); line-height: 1.55; flex: 1; }
  .benefit a{ margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--red); }
  .benefit a:hover{ color: var(--red-deep); }
  @media (max-width: 1100px){ .benefits-grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 540px){ .benefits-grid{ grid-template-columns: 1fr; } }

  /* ============ MEIST (intro) ============ */
  .intro{
    background:
      radial-gradient(70% 60% at 100% 0%, rgba(170,49,46,.08) 0%, transparent 55%),
      linear-gradient(180deg, var(--paper) 0%, var(--blush) 100%);
    overflow: hidden;
  }
  .intro-grid{ display:grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items:center; }
  .intro-text .eyebrow{ margin-bottom: 18px; }
  .intro-text h2{ margin-bottom: 28px; }
  .intro-text p{ color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; max-width: 58ch; }
  .intro-text p + p{ margin-top: 16px; }
  .intro-text .intro-lead{ font-size: 18.5px; color: var(--ink); }
  .intro-text .intro-sign{
    margin-top: 24px !important; padding-left: 18px;
    border-left: 2px solid var(--red); color: var(--ink);
    font-family: var(--display); font-style: italic; font-size: 19px; line-height: 1.5;
    font-variation-settings: "opsz" 32, "SOFT" 100;
  }
  .intro-visual{ position:relative; margin:0; }
  .intro-visual img{
    width:100%; height:auto; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 24px 24px 140px 24px;
    box-shadow: 0 40px 80px -40px rgba(110,27,25,.55);
  }
  .intro-visual::before{
    content:""; position:absolute; inset: 18px -18px -18px 18px;
    border: 1px solid rgba(170,49,46,.25);
    border-radius: 24px 24px 140px 24px; z-index:-1;
  }
  .intro-badge{
    position:absolute; left: -22px; bottom: 34px;
    display:flex; align-items:center; gap:14px;
    padding: 16px 22px 16px 18px; border-radius: 18px; color:#fff;
    background:
      radial-gradient(120% 100% at 90% 0%, rgba(200,65,60,.55) 0%, transparent 60%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 58%, #7a1f1d 100%);
    box-shadow: 0 20px 40px -18px rgba(110,27,25,.7);
  }
  .intro-badge-num{ font-family: var(--display); font-size: 34px; line-height:1; font-variation-settings:"opsz" 144; }
  .intro-badge-text{ font-size: 12.5px; line-height: 1.35; color: var(--rose-light); letter-spacing:.02em; }
  @media (max-width: 880px){
    .intro-grid{ grid-template-columns: 1fr; }
    .intro-visual{ max-width: 640px; }
    .intro-badge{ position: relative; left: auto; bottom: auto; margin: -28px 0 0 16px; display: inline-flex; padding: 10px 16px 10px 14px; gap: 10px; border-radius: 14px; }
    .intro-badge-num{ font-size: 26px; }
    .intro-visual img{ border-radius: 20px 20px 80px 20px; }
    .intro-visual::before{ display:none; }
  }

  /* ============ ARSTID (2) ============ */
  .doctors-grid{ grid-template-columns: repeat(2, minmax(0, 340px)) !important; justify-content: start; gap: 24px; }
  @media (max-width: 540px){ .doctors-grid{ grid-template-columns: 1fr !important; } }

  /* ============ KONTAKT galerii ============ */
  .contact-gallery{
    display:grid; grid-template-columns: repeat(7, 1fr); gap: 12px;
    margin-top: 24px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .contact-gallery img{
    width:100%; height:auto; aspect-ratio:1; object-fit:cover;
    border-radius: 14px; opacity: .96;
    box-shadow: 0 14px 28px -16px rgba(0,0,0,.7);
  }
  @media (max-width: 640px){
    .contact-gallery{ grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .contact-gallery img{ border-radius: 9px; }
  }

  /* ============ TEENUSED v2 ============ */
  .svc-head{ display:grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items:end; margin-bottom: 52px; }
  .svc-head .eyebrow{ margin-bottom: 18px; }
  .svc-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position:relative; }
  .svc{
    position:relative; overflow:hidden; display:flex; flex-direction:column;
    background: rgba(255,255,255,.88); border:1px solid var(--line-soft);
    border-radius: 22px; padding: 26px 24px 28px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, color .35s ease;
    isolation:isolate;
  }
  .svc::before{
    content:""; position:absolute; inset:0; z-index:-1; opacity:0;
    background:
      radial-gradient(140% 120% at 90% 0%, rgba(200,65,60,.45) 0%, transparent 60%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 62%, #7a1f1d 100%);
    transition: opacity .35s ease;
  }
  .svc::after{
    content:""; position:absolute; right:-40px; bottom:-40px; width:140px; height:140px; z-index:-1;
    border-radius:50%; border:1px solid var(--red-soft); transition: border-color .35s;
  }
  .svc:hover{ transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(138,37,34,.55); border-color: transparent; color:#fff; }
  .svc:hover::before{ opacity:1; }
  .svc:hover::after{ border-color: rgba(255,255,255,.2); }
  .svc-top{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom: 26px; }
  .svc-icon{
    width:52px; height:52px; border-radius:16px; display:grid; place-items:center; color:#fff;
    background: linear-gradient(150deg, var(--red-bright), var(--red-deep));
    box-shadow: 0 12px 24px -12px rgba(138,37,34,.7);
    transition: background .35s, color .35s;
  }
  .svc-icon svg{ width:24px; height:24px; }
  .svc:hover .svc-icon{ background:#fff; color: var(--red-deep); }
  .svc-num{
    font-family: var(--display); font-weight: 300; font-size: 34px; line-height: 1;
    color: var(--red-soft); font-variation-settings:"opsz" 144; transition: color .35s;
  }
  .svc:hover .svc-num{ color: rgba(255,255,255,.35); }
  .svc h3{
    font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.18;
    letter-spacing: -0.01em; margin-bottom: 10px; font-variation-settings:"opsz" 32;
  }
  .svc p{ font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); transition: color .35s; }
  .svc:hover p{ color: rgba(255,255,255,.85); }
  .svc--cta{ color:#fff; border-color: transparent; }
  .svc--cta::before{ opacity:1; }
  .svc--cta::after{ border-color: rgba(255,255,255,.2); }
  .svc--cta .svc-icon{ background:#fff; color: var(--red-deep); }
  .svc--cta p{ color: rgba(255,255,255,.85); }
  .svc-cta-tel{ margin-top:auto; padding-top: 18px; display:inline-flex; align-items:center; gap:8px; font-weight:700; font-size:15px; color:#fff; }
  .svc--cta:hover .svc-cta-tel svg{ transform: translateX(3px); }
  .svc-cta-tel svg{ transition: transform .25s; }
  @media (max-width: 1100px){ .svc-grid{ grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 880px){ .svc-head{ grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; } }
  @media (max-width: 540px){ .svc-grid{ grid-template-columns: 1fr; gap: 12px; } .svc{ padding: 22px 20px 24px; } .svc-top{ margin-bottom: 18px; } }

  /* ============ MEESKOND v2 ============ */
  .team-grid{ display:grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items:center; }
  .team-visual{ position:relative; margin:0; }
  .team-visual img{
    width:100%; height:auto; aspect-ratio: 4 / 3; object-fit:cover;
    border-radius: 24px 90px 24px 24px;
    box-shadow: 0 40px 80px -40px rgba(110,27,25,.55);
  }
  .team-visual::before{
    content:""; position:absolute; inset: -18px 18px 18px -18px; z-index:-1;
    border:1px dashed rgba(170,49,46,.3); border-radius: 24px 90px 24px 24px;
  }
  .team-hours{
    position:absolute; right: -20px; bottom: 36px;
    display:flex; align-items:center; gap:12px;
    background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
    padding: 14px 20px 14px 16px; border-radius: 16px;
    box-shadow: 0 20px 44px -20px rgba(110,27,25,.5);
    color: var(--red); font-size: 13px;
  }
  .team-hours span{ color: var(--ink-soft); line-height:1.35; }
  .team-hours strong{ display:block; color: var(--ink); font-size: 15px; }
  .team-text .eyebrow{ margin-bottom: 18px; }
  .team-title{ margin-bottom: 36px; }
  .team-list{ display:flex; flex-direction:column; gap: 16px; }
  .doc{
    position:relative; overflow:hidden;
    display:flex; align-items:center; gap: 24px;
    background: var(--paper); border: 1px solid var(--line-soft);
    border-radius: 22px; padding: 22px 28px 22px 22px;
    box-shadow: 0 24px 50px -36px rgba(138,37,34,.45);
    transition: transform .3s ease, box-shadow .3s ease;
  }
  .doc:hover{ transform: translateX(6px); box-shadow: 0 30px 60px -34px rgba(138,37,34,.55); }
  .doc::after{
    content:""; position:absolute; right:-60px; top:-60px; width:180px; height:180px;
    border-radius:50%; border:1px solid var(--red-soft); pointer-events:none;
  }
  .doc-mark{
    flex-shrink:0; width: 84px; height: 84px; border-radius: 20px;
    display:grid; place-items:center; color:#fff;
    background:
      radial-gradient(120% 100% at 90% 0%, rgba(200,65,60,.6) 0%, transparent 60%),
      linear-gradient(150deg, var(--red-deep) 0%, var(--red) 58%, #7a1f1d 100%);
    box-shadow: 0 16px 30px -14px rgba(138,37,34,.7);
  }
  .doc-mark svg{ width: 38px; height: 38px; }
  .doc-role{ display:block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
  .doc-name{
    font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1;
    letter-spacing: -0.015em; color: var(--ink); margin-bottom: 8px; font-variation-settings: "opsz" 64;
  }
  .doc-name span{ font-style: inherit; color: inherit; font-variation-settings: inherit; }
  .doc-bio{ font-size: 15px; color: var(--ink-soft); }
  .team-cta{ margin-top: 32px; }
  @media (max-width: 880px){
    .team-grid{ grid-template-columns: 1fr; }
    .team-visual{ max-width: 520px; }
    .team-visual img{ aspect-ratio: 4 / 3; border-radius: 20px 70px 20px 20px; }
    .team-visual::before{ display:none; }
    .team-hours{ right: 14px; bottom: 14px; }
  }
  @media (max-width: 540px){
    .doc{ gap: 16px; padding: 18px; }
    .doc-mark{ width: 64px; height: 64px; border-radius: 16px; }
    .doc-mark svg{ width: 30px; height: 30px; }
    .team-cta{ white-space: normal; }
  }

  .foot-badges{ display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin-top:16px; }
  .foot-badges .foot-badge{ margin-top:0; }

  /* --- Quality floor: respect reduced motion --- */
  @media (prefers-reduced-motion: reduce){
    *, *::before, *::after{
      animation-duration:.001ms !important;
      animation-iteration-count:1 !important;
      transition-duration:.001ms !important;
      scroll-behavior:auto !important;
    }
  }


/* ---------- SEO/a11y lisad ---------- */
.foot-address{ font-style: normal; }
@media (max-width: 880px){
  .nav.open{ background: #FAF6F1; border-bottom-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav.open .nav-links{
    display:flex; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background: #FAF6F1; padding: 6px var(--gutter) 18px;
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(29,30,41,.35);
  }
  .nav.open .nav-links a{ color: var(--ink); padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 15px; }
  .nav.open .nav-links a:last-child{ border-bottom: 0; }
  .nav.open .nav-links a::after{ display:none; }
  .nav.open .logo-mark{ filter: none; }
  .nav.open .hamburger{ color: var(--ink); border-color: var(--line); }
}
