/* =====================================================================
   V14 — Global visual overhaul for the physician website
   Fixes hero balance, image cropping, whitespace, section rhythm and mobile.
   Loaded AFTER V8/V9/V12/V13 so these rules intentionally win.
   ===================================================================== */
:root{
    --v14-deep:#0d3024;
    --v14-primary:#174635;
    --v14-primary-2:#2b6b50;
    --v14-mint:#eaf4ee;
    --v14-mint-2:#f4f8f5;
    --v14-gold:#c89438;
    --v14-ink:#10291f;
    --v14-text:#4d655a;
    --v14-muted:#7a8c83;
    --v14-line:#dfe9e3;
    --v14-white:#fff;
    --v14-shadow:0 28px 80px rgba(13,48,36,.11);
    --v14-shadow-strong:0 38px 110px rgba(13,48,36,.18);
    --v14-section:clamp(76px,7.5vw,116px);
    --v14-radius:30px;
}

html{scroll-padding-top:96px}
body.doctor-public-v14{background:#fbfdfb;color:var(--v14-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.doctor-public-v14 main{overflow:clip}
body.doctor-public-v14 .container{width:min(1380px,calc(100% - 56px))}
body.doctor-public-v14 .section-v9,body.doctor-public-v14 .v12-section{padding:var(--v14-section) 0}

/* Header — clearer, calmer and better proportioned. */
body.doctor-public-v14 .doctor-header-v9{height:84px;background:rgba(255,255,255,.91);border-bottom:1px solid rgba(16,51,38,.075);box-shadow:0 1px 0 rgba(255,255,255,.7) inset}
body.doctor-public-v14 .doctor-nav-v9{min-height:84px;gap:24px}
body.doctor-public-v14 .doctor-brand-v9{min-width:200px;gap:11px}
body.doctor-public-v14 .brand-logo-shell{width:52px;height:52px;border-radius:16px;padding:5px;background:#fff;border:1px solid #e3ebe6;box-shadow:0 8px 24px rgba(15,55,40,.08);overflow:hidden}
body.doctor-public-v14 .brand-logo-shell img{width:100%;height:100%;display:block;object-fit:contain}
body.doctor-public-v14 .doctor-brand-v9 .brand-copy b{font-size:14px;line-height:1.3;letter-spacing:0;color:#15382a}
body.doctor-public-v14 .doctor-brand-v9 .brand-copy small{font-size:9px;line-height:1.4;letter-spacing:.25px;color:#b17d2e}
body.doctor-public-v14 .doctor-desktop-nav-v9{gap:22px}
body.doctor-public-v14 .doctor-desktop-nav-v9 a{font-size:12.5px;font-weight:800;color:#314c40;white-space:nowrap}
body.doctor-public-v14 .nav-actions{gap:10px}
body.doctor-public-v14 .nav-login{font-size:12px;font-weight:800;padding:10px 8px}
body.doctor-public-v14 .nav-book{min-height:46px;padding-inline:20px;border-radius:14px}
body.doctor-public-v14 .language-switcher{border-radius:14px;padding:4px;background:#f7faf8}
body.doctor-public-v14 .language-switcher a{height:30px;min-width:31px;border-radius:10px;font-weight:900;font-size:10px}

/* Shared smart image system. */
body.doctor-public-v14 [data-smart-frame]{position:relative;overflow:hidden;background:linear-gradient(145deg,#e7f0ea,#f8fbf9);isolation:isolate}
body.doctor-public-v14 [data-smart-frame] img{width:100%;height:100%;display:block;object-position:var(--image-x,50%) var(--image-y,35%);transition:transform .8s cubic-bezier(.16,1,.3,1),filter .4s ease}
body.doctor-public-v14 [data-smart-frame][data-fit="cover"] img{object-fit:cover}
body.doctor-public-v14 [data-smart-frame][data-fit="contain"] img{object-fit:contain;padding:3%;background:#f6faf7}
body.doctor-public-v14 [data-smart-frame][data-fit="smart"] img{object-fit:cover}
body.doctor-public-v14 [data-smart-frame][data-fit="smart"].is-landscape img{object-fit:contain;padding:4%;background:linear-gradient(145deg,#f9fbfa,#e9f1ec)}
body.doctor-public-v14 [data-smart-frame].is-landscape .portrait-gradient-v9{background:linear-gradient(to bottom,transparent 62%,rgba(8,35,25,.58) 100%)}
body.doctor-public-v14 [data-smart-frame]:hover img{transform:scale(1.025);filter:saturate(1.03) contrast(1.01)}

/* Hero — no more giant empty canvas. */
body.doctor-public-v14 .doctor-hero-v14{min-height:0;padding:clamp(48px,5.5vw,78px) 0 clamp(72px,6vw,92px);background:
    radial-gradient(circle at 12% 18%,rgba(155,202,136,.16),transparent 25%),
    radial-gradient(circle at 86% 12%,rgba(201,148,56,.09),transparent 22%),
    linear-gradient(145deg,#fbfdfb 0%,#f2f8f4 52%,#edf5f0 100%)}
body.doctor-public-v14 .doctor-hero-v14:before{width:430px;height:430px;top:-220px;inset-inline-start:-130px;opacity:.75}
body.doctor-public-v14 .doctor-hero-v14:after{width:250px;height:250px;bottom:-125px;opacity:.8}
body.doctor-public-v14 .doctor-hero-v14 .doctor-hero-grid-v9,
body.doctor-public-v14 .v14-hero-grid{min-height:0;grid-template-columns:minmax(0,1.02fr) minmax(430px,.88fr);gap:clamp(44px,5vw,78px);align-items:center;padding:0}
body.doctor-public-v14 .v14-hero-copy{padding:8px 0;max-width:760px}
body.doctor-public-v14 .v14-kicker{font-size:11px;padding:8px 13px;background:rgba(255,255,255,.82);border-color:#dce8e0}
body.doctor-public-v14 .v14-doctor-intro h1,
body.doctor-public-v14 .doctor-hero-v14 .doctor-hero-copy-v9 h1{margin:17px 0 6px;font-size:clamp(48px,4.6vw,72px);line-height:1.08;letter-spacing:-1.5px;max-width:780px}
body.doctor-public-v14 .doctor-hero-v14 .doctor-title-v9{font-size:clamp(20px,1.8vw,29px);line-height:1.5;color:#245a43;font-weight:850}
body.doctor-public-v14 .doctor-hero-v14 .doctor-credentials-v9{margin-top:10px;font-size:14px;line-height:1.85;max-width:720px;color:#64786e}
body.doctor-public-v14 .v14-hero-message{margin-top:24px;padding:23px 25px;border-inline-start:3px solid var(--accent,var(--v14-gold));border-radius:0 20px 20px 0;background:rgba(255,255,255,.6);box-shadow:0 12px 34px rgba(18,63,46,.045)}
[dir="rtl"] body.doctor-public-v14 .v14-hero-message{border-radius:20px 0 0 20px}
body.doctor-public-v14 .v14-hero-message h2{margin:0;color:#12382a;font-size:clamp(25px,2.2vw,36px);line-height:1.35;font-weight:900;letter-spacing:-.4px}
body.doctor-public-v14 .v14-hero-message p{margin:8px 0 0;color:#61776d;font-size:15px;line-height:1.9;max-width:720px}
body.doctor-public-v14 .v14-hero-proof-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}
body.doctor-public-v14 .doctor-rating-v9,body.doctor-public-v14 .doctor-profile-chip-v9{margin-top:0;min-height:43px;border-radius:13px;padding:9px 12px}
body.doctor-public-v14 .v14-experience-chip{display:flex;align-items:center;gap:7px;min-height:43px;padding:8px 12px;border:1px solid #dce7e0;border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(18,55,40,.05)}
body.doctor-public-v14 .v14-experience-chip strong{font-size:17px;color:#15412f}
body.doctor-public-v14 .v14-experience-chip span{font-size:10px;font-weight:800;color:#74877d}
body.doctor-public-v14 .v14-hero-actions{margin:23px 0 26px;gap:10px}
body.doctor-public-v14 .v14-hero-actions .btn{min-height:52px;border-radius:15px;padding:12px 22px;font-size:13px}
body.doctor-public-v14 .v14-quick-facts{max-width:760px;grid-template-columns:repeat(3,minmax(0,1fr));border:0;gap:9px}
body.doctor-public-v14 .v14-quick-facts>div{padding:13px 12px!important;border:1px solid rgba(25,73,53,.09)!important;border-radius:15px;background:rgba(255,255,255,.56);gap:10px;min-height:76px}
body.doctor-public-v14 .v14-quick-facts>div>span{width:34px;height:34px;flex-basis:34px;border-radius:10px}
body.doctor-public-v14 .v14-quick-facts b{font-size:10.5px}
body.doctor-public-v14 .v14-quick-facts small{font-size:8.5px;line-height:1.5;-webkit-line-clamp:2}

body.doctor-public-v14 .v14-hero-visual{min-height:560px;display:grid;place-items:center;padding:16px 0}
body.doctor-public-v14 .v14-hero-visual-ring{position:absolute;width:510px;height:510px;border-radius:50%;border:1px solid rgba(24,77,55,.1);box-shadow:0 0 0 54px rgba(71,128,91,.035),0 0 0 104px rgba(71,128,91,.018);pointer-events:none}
body.doctor-public-v14 .v14-hero-image-frame{width:min(540px,100%);height:auto;aspect-ratio:4/5;border-radius:38px;border:1px solid rgba(255,255,255,.8);box-shadow:var(--v14-shadow-strong);animation:v14VisualFloat 7s ease-in-out infinite;will-change:transform}
body.doctor-public-v14 .v14-hero-image-frame.is-landscape{width:min(620px,100%);aspect-ratio:16/10;border-radius:32px}
body.doctor-public-v14 .v14-hero-image-frame.is-square{aspect-ratio:1/1}
body.doctor-public-v14 .v14-hero-image-frame:before{display:none}
body.doctor-public-v14 .v14-image-surface{position:absolute;inset:0}
body.doctor-public-v14 .v14-image-caption{inset-inline:26px;bottom:24px;padding-top:22px}
body.doctor-public-v14 .v14-image-caption span{font-size:9px}
body.doctor-public-v14 .v14-image-caption b{font-size:20px}
body.doctor-public-v14 .v14-image-caption small{font-size:10px}
body.doctor-public-v14 .v14-hero-image-frame.is-landscape .v14-image-caption{display:none}
body.doctor-public-v14 .v14-floating-card{min-width:190px;padding:12px 14px;border-radius:17px;background:rgba(255,255,255,.92);box-shadow:0 22px 58px rgba(11,48,34,.16)!important}
body.doctor-public-v14 .v14-floating-card small{font-size:8px}
body.doctor-public-v14 .v14-floating-card b{font-size:10px}
body.doctor-public-v14 .doctor-floating-card-top-v9{top:66px;inset-inline-end:-28px}
body.doctor-public-v14 .doctor-floating-card-bottom-v9{bottom:72px;inset-inline-start:-32px}

/* Trust — floating premium band instead of tall table cells. */
body.doctor-public-v14 .doctor-trust-v14{margin-top:-34px;position:relative;z-index:8;background:transparent;border:0;overflow:visible}
body.doctor-public-v14 .v14-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:10px;background:rgba(255,255,255,.96);border:1px solid rgba(28,75,56,.09);border-radius:28px;box-shadow:0 24px 70px rgba(15,55,40,.11);backdrop-filter:blur(16px)}
body.doctor-public-v14 .doctor-trust-strip-v9:before{border-radius:inherit}
body.doctor-public-v14 .v14-trust-item{min-height:92px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;padding:16px 18px!important;border:0!important;border-inline-end:1px solid #e7eee9!important;background:transparent}
body.doctor-public-v14 .v14-trust-item:last-child{border-inline-end:0!important}
body.doctor-public-v14 .v14-trust-icon{width:42px;height:42px;flex:0 0 42px;display:grid!important;place-items:center;border-radius:14px;background:#edf5f0;color:#235943;max-width:none!important}
body.doctor-public-v14 .v14-trust-item>div{min-width:0}
body.doctor-public-v14 .v14-trust-item strong{display:block;white-space:normal!important;font-size:clamp(15px,1.25vw,19px)!important;line-height:1.35!important;color:#143c2d;overflow-wrap:anywhere}
body.doctor-public-v14 .v14-trust-item>div>span{display:block;margin-top:4px;max-width:none!important;font-size:10px!important;line-height:1.55!important;color:#75877e;font-weight:700}

/* About — image + content, no huge empty white gap. */
body.doctor-public-v14 .doctor-about-v14{padding-top:clamp(86px,8vw,122px);background:linear-gradient(180deg,#fff 0%,#fbfdfc 100%)}
body.doctor-public-v14 .v14-about-grid{display:grid;grid-template-columns:minmax(400px,.9fr) minmax(0,1.1fr);gap:clamp(56px,6vw,96px);align-items:center}
body.doctor-public-v14 .v14-about-visual{position:relative;max-width:610px}
body.doctor-public-v14 .v14-about-image-card{aspect-ratio:4/5;border-radius:34px;border:1px solid #dce7e0;box-shadow:var(--v14-shadow);background:#eef5f1}
body.doctor-public-v14 .v14-about-image-card.is-landscape{aspect-ratio:4/3}
body.doctor-public-v14 .v14-about-image-card img{position:absolute;inset:0}
body.doctor-public-v14 .v14-about-image-overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(10,40,29,.38) 100%);pointer-events:none}
body.doctor-public-v14 .v14-about-badge{position:absolute;inset-inline-start:22px;bottom:22px;display:flex;align-items:center;gap:10px;max-width:78%;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.92);box-shadow:0 16px 40px rgba(10,42,30,.13);backdrop-filter:blur(12px);color:#174936}
body.doctor-public-v14 .v14-about-badge small,body.doctor-public-v14 .v14-about-badge b{display:block}
body.doctor-public-v14 .v14-about-badge small{font-size:8px;color:#819087}
body.doctor-public-v14 .v14-about-badge b{font-size:11px;margin-top:1px}
body.doctor-public-v14 .v14-about-mini-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
body.doctor-public-v14 .v14-about-mini-grid>div{min-height:78px;display:flex;align-items:center;justify-content:center;gap:7px;flex-direction:column;text-align:center;padding:11px;border:1px solid #e0e9e3;border-radius:16px;background:#fff}
body.doctor-public-v14 .v14-about-mini-grid strong{font-size:20px;color:#174936}
body.doctor-public-v14 .v14-about-mini-grid span{font-size:9px;line-height:1.45;color:#71847a;font-weight:750}
body.doctor-public-v14 .v14-about-copy,body.doctor-public-v14 .doctor-about-intro-v9{position:static!important;top:auto!important;padding:0}
body.doctor-public-v14 .v14-about-copy h2{margin:12px 0 16px;font-size:clamp(39px,3.8vw,58px);line-height:1.2;letter-spacing:-1px}
body.doctor-public-v14 .v14-about-copy .section-lead-v9{font-size:16px;line-height:1.9}
body.doctor-public-v14 .v14-about-copy .doctor-about-body-v9{margin-top:18px;padding-top:18px;font-size:13.5px;line-height:1.95}
body.doctor-public-v14 .v14-profile-panels{margin-top:22px;gap:10px}
body.doctor-public-v14 .v14-profile-panels .profile-panel-v9{grid-template-columns:52px 1fr;gap:15px;padding:18px 20px;border-radius:19px;background:#fff}
body.doctor-public-v14 .v14-profile-panels .profile-panel-icon-v9{width:48px;height:48px;border-radius:14px}
body.doctor-public-v14 .v14-profile-panels h3{font-size:17px;margin:2px 0 8px}
body.doctor-public-v14 .v14-profile-panels li{font-size:11px;line-height:1.7}
body.doctor-public-v14 .v14-text-link{margin-top:20px;font-size:13px}

/* Stronger section hierarchy. */
body.doctor-public-v14 .v12-section-head{max-width:820px;margin-bottom:42px}
body.doctor-public-v14 .section-heading-v9,body.doctor-public-v14 .v14-section-heading{margin-bottom:42px}
body.doctor-public-v14 .section-heading-v9 h2,body.doctor-public-v14 .review-heading-v9 h2,body.doctor-public-v14 .doctor-faq-intro-v9 h2,
body.doctor-public-v14 .v12-section-head h2,body.doctor-public-v14 .v12-split-head h2,body.doctor-public-v14 .v12-plan-copy h2,body.doctor-public-v14 .v12-portal-copy h2,body.doctor-public-v14 .v12-clinic-copy h2,body.doctor-public-v14 .v12-social-shell h2{font-size:clamp(36px,3.6vw,54px);line-height:1.2;letter-spacing:-.7px}
body.doctor-public-v14 .section-heading-v9>p,body.doctor-public-v14 .review-heading-v9 p,
body.doctor-public-v14 .v12-section-head p,body.doctor-public-v14 .v12-split-head>p,body.doctor-public-v14 .v12-plan-copy>p,body.doctor-public-v14 .v12-portal-copy>p,body.doctor-public-v14 .v12-clinic-copy>p{font-size:15px;line-height:1.9;color:#6a7e74}

/* Expertise */
body.doctor-public-v14 .v12-expertise{background:linear-gradient(180deg,#f3f8f5 0%,#f8fbf9 100%)}
body.doctor-public-v14 .v12-card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.doctor-public-v14 .v12-info-card{min-height:220px;padding:25px;border-radius:23px;border-color:#dde8e1;box-shadow:0 12px 34px rgba(15,57,41,.055)}
body.doctor-public-v14 .v12-info-card .v12-card-icon{margin-bottom:20px;width:45px;height:45px;border-radius:14px}
body.doctor-public-v14 .v12-info-card h3{font-size:19px;line-height:1.45}
body.doctor-public-v14 .v12-info-card p{font-size:13px;line-height:1.8}

/* Audience */
body.doctor-public-v14 .v12-split-head{gap:56px;margin-bottom:34px}
body.doctor-public-v14 .v12-audience-grid{gap:14px}
body.doctor-public-v14 .v12-audience-grid article{min-height:215px;padding:25px;border-radius:23px;background:linear-gradient(145deg,#113b2c,#245b44);box-shadow:0 18px 46px rgba(14,50,37,.12)}
body.doctor-public-v14 .v12-audience-grid h3{margin:22px 0 9px;font-size:19px}
body.doctor-public-v14 .v12-audience-grid p{font-size:12.5px}

/* Services with real image slots. */
body.doctor-public-v14 .services-doctor-v14{background:#fff}
body.doctor-public-v14 .v14-services-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.doctor-public-v14 .v14-service-card{padding:0!important;border-radius:26px;overflow:hidden;background:#fff;border:1px solid #dfe8e2;box-shadow:0 14px 40px rgba(15,57,41,.06);min-height:0}
body.doctor-public-v14 .v14-service-card:hover{transform:translateY(-7px);box-shadow:0 28px 70px rgba(15,57,41,.13)}
body.doctor-public-v14 .v14-service-card:after{z-index:0}
body.doctor-public-v14 .v14-service-media{aspect-ratio:16/8.5;overflow:hidden;background:#eef4f0;border-bottom:1px solid #e1e9e4}
body.doctor-public-v14 .v14-service-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
body.doctor-public-v14 .v14-service-body{position:relative;z-index:1;padding:24px 24px 22px}
body.doctor-public-v14 .v14-service-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
body.doctor-public-v14 .v14-service-card .doctor-service-number-v9{position:static;font-size:31px;line-height:1;color:#e2ebe5}
body.doctor-public-v14 .v14-service-card .doctor-service-icon-v9{margin:0;width:43px;height:43px;border-radius:13px}
body.doctor-public-v14 .v14-service-card h3{font-size:21px;line-height:1.4;margin:0 0 9px}
body.doctor-public-v14 .v14-service-card>div p,body.doctor-public-v14 .v14-service-body>p{font-size:13px;line-height:1.82;min-height:68px;color:#687b72}
body.doctor-public-v14 .v14-service-card .doctor-service-meta-v9{margin-top:18px;padding-top:15px}
body.doctor-public-v14 .v14-service-card .doctor-service-action-v9{margin-top:16px;font-size:12px}

/* Journey */
body.doctor-public-v14 .v12-journey{background:linear-gradient(135deg,#0e3427,#164835 56%,#245a42)!important}
body.doctor-public-v14 .v12-journey:before{content:"";position:absolute;width:420px;height:420px;inset-inline-end:-180px;top:-150px;border-radius:50%;border:1px solid rgba(255,255,255,.07);box-shadow:0 0 0 70px rgba(255,255,255,.018),0 0 0 140px rgba(255,255,255,.012)}
body.doctor-public-v14 .v12-journey-grid{gap:14px}
body.doctor-public-v14 .v12-journey-grid article{padding:23px;border-radius:20px;background:rgba(255,255,255,.065);backdrop-filter:blur(5px)}
body.doctor-public-v14 .v12-journey-grid h3{font-size:18px}
body.doctor-public-v14 .v12-journey-grid p{font-size:12.5px}

/* Plan / Portal */
body.doctor-public-v14 .v12-plan-preview{background:linear-gradient(180deg,#f2f7f4,#f8fbf9)}
body.doctor-public-v14 .v12-plan-grid,body.doctor-public-v14 .v12-portal-grid{gap:clamp(52px,6vw,88px)}
body.doctor-public-v14 .v12-plan-device{max-width:650px;border-radius:30px;padding:27px;box-shadow:0 32px 85px rgba(18,59,44,.12)}
body.doctor-public-v14 .v12-portal-ui{min-height:440px;border-radius:28px;box-shadow:0 32px 85px rgba(18,59,44,.11)}
body.doctor-public-v14 .v12-plan-copy li,body.doctor-public-v14 .v12-portal-copy li{font-size:13px;line-height:1.7}

/* Reviews */
body.doctor-public-v14 .doctor-reviews-v9{background:#fff}
body.doctor-public-v14 .doctor-reviews-grid-v9{gap:16px}
body.doctor-public-v14 .doctor-review-card-v9{border-radius:23px;padding:24px;border-color:#dfe9e3;box-shadow:0 12px 36px rgba(14,55,39,.055)}
body.doctor-public-v14 .doctor-review-card-v9 blockquote{font-size:14px;line-height:1.9}

/* Community */
body.doctor-public-v14 .v12-community{background:#f4f8f5}
body.doctor-public-v14 .v12-community-grid{gap:15px}
body.doctor-public-v14 .v12-topic-card{min-height:245px;border-radius:22px;padding:23px}

/* Social */
body.doctor-public-v14 .v12-social{padding:78px 0;background:#fff}
body.doctor-public-v14 .v12-social-shell{padding:48px;border-radius:30px;background:linear-gradient(135deg,#113a2b,#1e5640);box-shadow:0 28px 80px rgba(13,48,36,.14)}
body.doctor-public-v14 .v12-social-links a{border-radius:14px;padding:12px 14px}

/* FAQ */
body.doctor-public-v14 .doctor-faq-v9{background:linear-gradient(180deg,#fbfdfc,#f5f9f6)}
body.doctor-public-v14 .doctor-faq-grid-v9{gap:70px}
body.doctor-public-v14 .faq-list-v9 details{border-radius:17px;background:#fff;border-color:#dfe8e2;padding-inline:20px}
body.doctor-public-v14 .faq-list-v9 summary{min-height:64px;font-size:13px}
body.doctor-public-v14 .faq-list-v9 details p{font-size:12.5px;line-height:1.85}

/* Clinic with optional section image. */
body.doctor-public-v14 .v14-clinic{background:#eef5f1}
body.doctor-public-v14 .v14-clinic-grid{grid-template-columns:minmax(0,.92fr) minmax(430px,1.08fr);gap:70px}
body.doctor-public-v14 .v14-contact-list>div{padding:12px 0}
body.doctor-public-v14 .v14-clinic-visual-wrap{position:relative;display:grid;grid-template-columns:1fr;min-height:440px}
body.doctor-public-v14 .v14-clinic-image{grid-area:1/1;min-height:440px;border-radius:30px;box-shadow:var(--v14-shadow);border:1px solid #dce7e0}
body.doctor-public-v14 .v14-clinic-image img{width:100%;height:100%;object-fit:cover}
body.doctor-public-v14 .v14-clinic-card{grid-area:1/1;align-self:end;justify-self:end;width:min(390px,86%);min-height:260px;margin:0 20px 20px 0;padding:32px;border-radius:24px;background:rgba(17,58,43,.94);backdrop-filter:blur(10px);box-shadow:0 22px 60px rgba(8,38,27,.2)}
[dir="rtl"] body.doctor-public-v14 .v14-clinic-card{margin:0 0 20px 20px;justify-self:start}
body.doctor-public-v14 .v14-clinic-visual-wrap:not(:has(.v14-clinic-image)) .v14-clinic-card{grid-area:auto;width:100%;min-height:360px;margin:0;justify-self:stretch;align-self:stretch}
body.doctor-public-v14 .v14-clinic-card h3{font-size:31px}

/* Final CTA and footer. */
body.doctor-public-v14 .doctor-cta-v9{padding:72px 0;background:#fff}
body.doctor-public-v14 .doctor-cta-card-v9{border-radius:30px;padding:48px 52px;background:linear-gradient(135deg,#123d2e,#20533f);box-shadow:0 30px 90px rgba(11,47,34,.17)}
body.doctor-public-v14 .doctor-cta-card-v9 h2{font-size:clamp(34px,3.4vw,52px)}
body.doctor-public-v14 .doctor-footer-v9{padding-top:70px;background:#0b2a1e}
body.doctor-public-v14 .doctor-footer-main-v9{gap:46px}
body.doctor-public-v14 .footer-brand-column>p{font-size:11px!important;line-height:1.9!important}
body.doctor-public-v14 .footer-links-column a{font-size:11px!important}

/* CMS visual controls */
.cms-visual-editor-v14{display:grid;grid-template-columns:260px 1fr;gap:18px;padding:18px;border:1px solid #dce7e0;border-radius:18px;background:#f8faf9}
.cms-visual-preview-v14{min-height:170px;border-radius:15px;overflow:hidden;background:#eaf1ed;border:1px solid #dce6e0;display:flex;flex-direction:column}
.cms-visual-preview-v14>img{width:100%;height:135px;object-fit:cover;display:block}
.cms-visual-preview-v14>div:not(.cms-visual-empty-v14){padding:8px 10px;display:flex;justify-content:space-between;gap:8px}
.cms-visual-preview-v14 b{font-size:11px}.cms-visual-preview-v14 small{font-size:9px;color:#77877f}
.cms-visual-empty-v14{flex:1;display:grid;place-items:center;align-content:center;gap:7px;color:#789087;font-size:11px}
.cms-visual-controls-v14{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cms-visual-controls-v14 label{font-size:11px}.cms-visual-controls-v14 label small{display:block;color:#8b9992;font-size:8px;font-weight:500}
.cms-visual-controls-v14 input[type="range"]{padding:0;height:30px;background:transparent;border:0;box-shadow:none}
.cms-visual-note-v14{margin:0;padding:10px 12px;border-radius:11px;background:#edf5f0;color:#557065;font-size:10px;line-height:1.65}

@keyframes v14VisualFloat{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-7px) rotate(.15deg)}}

/* Tablet */
@media(max-width:1180px){
    body.doctor-public-v14 .container{width:min(1180px,calc(100% - 36px))}
    body.doctor-public-v14 .doctor-desktop-nav-v9{gap:14px}
    body.doctor-public-v14 .doctor-desktop-nav-v9 a{font-size:11px}
    body.doctor-public-v14 .doctor-hero-v14 .doctor-hero-grid-v9,body.doctor-public-v14 .v14-hero-grid{grid-template-columns:minmax(0,1fr) minmax(390px,.82fr);gap:38px}
    body.doctor-public-v14 .v14-hero-visual{min-height:510px}
    body.doctor-public-v14 .v14-trust-grid{grid-template-columns:repeat(2,1fr)}
    body.doctor-public-v14 .v14-trust-item:nth-child(2n){border-inline-end:0!important}
    body.doctor-public-v14 .v14-trust-item:nth-child(-n+2){border-bottom:1px solid #e7eee9!important}
    body.doctor-public-v14 .v14-about-grid{grid-template-columns:minmax(330px,.85fr) minmax(0,1.15fr);gap:48px}
    body.doctor-public-v14 .v12-card-grid{grid-template-columns:repeat(2,1fr)}
    body.doctor-public-v14 .v14-services-grid{grid-template-columns:repeat(2,1fr)}
    body.doctor-public-v14 .v14-clinic-grid{grid-template-columns:1fr 1fr;gap:40px}
}

/* Mobile/tablet navigation breakpoint already used by V8. */
@media(max-width:980px){
    body.doctor-public-v14 .doctor-header-v9{height:72px}
    body.doctor-public-v14 .doctor-nav-v9{min-height:72px}
    body.doctor-public-v14 .doctor-brand-v9{min-width:0;max-width:58%}
    body.doctor-public-v14 .brand-logo-shell{width:44px;height:44px;border-radius:13px}
    body.doctor-public-v14 .doctor-brand-v9 .brand-copy b{font-size:12px}
    body.doctor-public-v14 .doctor-brand-v9 .brand-copy small{font-size:8px}
    body.doctor-public-v14 .doctor-hero-v14{padding:44px 0 72px}
    body.doctor-public-v14 .doctor-hero-v14 .doctor-hero-grid-v9,body.doctor-public-v14 .v14-hero-grid{grid-template-columns:1fr;gap:44px;padding:0!important}
    body.doctor-public-v14 .v14-hero-copy{max-width:800px}
    body.doctor-public-v14 .v14-hero-visual{min-height:0;width:min(690px,100%);margin-inline:auto}
    body.doctor-public-v14 .v14-hero-image-frame{width:min(560px,88vw);aspect-ratio:4/5}
    body.doctor-public-v14 .v14-hero-image-frame.is-landscape{width:min(690px,100%);aspect-ratio:16/10}
    body.doctor-public-v14 .v14-hero-visual-ring{width:470px;height:470px}
    body.doctor-public-v14 .doctor-floating-card-top-v9{inset-inline-end:0;top:45px}
    body.doctor-public-v14 .doctor-floating-card-bottom-v9{inset-inline-start:0;bottom:48px}
    body.doctor-public-v14 .v14-about-grid{grid-template-columns:1fr;gap:42px}
    body.doctor-public-v14 .v14-about-visual{width:min(660px,100%);margin:auto}
    body.doctor-public-v14 .v14-about-image-card{aspect-ratio:4/3}
    body.doctor-public-v14 .v14-clinic-grid{grid-template-columns:1fr;gap:34px}
    body.doctor-public-v14 .v14-clinic-visual-wrap{min-height:390px}
    body.doctor-public-v14 .v14-clinic-image{min-height:390px}
    body.doctor-public-v14 .doctor-faq-grid-v9{gap:38px}
    .cms-visual-editor-v14{grid-template-columns:1fr}.cms-visual-preview-v14{min-height:140px}.cms-visual-preview-v14>img{height:180px}
}

@media(max-width:760px){
    html{scroll-padding-top:78px}
    body.doctor-public-v14{padding-bottom:76px}
    body.doctor-public-v14 .container{width:calc(100% - 26px)}
    body.doctor-public-v14 .section-v9,body.doctor-public-v14 .v12-section{padding:68px 0}
    body.doctor-public-v14 .doctor-hero-v14{padding:30px 0 58px}
    body.doctor-public-v14 .v14-doctor-intro h1,body.doctor-public-v14 .doctor-hero-v14 .doctor-hero-copy-v9 h1{font-size:clamp(39px,11.5vw,50px);line-height:1.13;margin-top:14px;letter-spacing:-.8px}
    body.doctor-public-v14 .doctor-hero-v14 .doctor-title-v9{font-size:20px;line-height:1.55}
    body.doctor-public-v14 .doctor-hero-v14 .doctor-credentials-v9{font-size:13px;line-height:1.8}
    body.doctor-public-v14 .v14-hero-message{margin-top:18px;padding:17px 18px;border-radius:16px!important}
    body.doctor-public-v14 .v14-hero-message h2{font-size:25px}
    body.doctor-public-v14 .v14-hero-message p{font-size:13.5px;line-height:1.8}
    body.doctor-public-v14 .v14-hero-proof-row{margin-top:16px}
    body.doctor-public-v14 .v14-hero-actions{display:grid;grid-template-columns:1fr;margin:18px 0 20px}
    body.doctor-public-v14 .v14-hero-actions .btn{width:100%;min-height:51px}
    body.doctor-public-v14 .v14-quick-facts{grid-template-columns:1fr;gap:7px}
    body.doctor-public-v14 .v14-quick-facts>div{min-height:64px;padding:10px 11px!important}
    body.doctor-public-v14 .v14-quick-facts small{font-size:9px}
    body.doctor-public-v14 .v14-hero-visual{padding:0;margin-top:0}
    body.doctor-public-v14 .v14-hero-image-frame{width:100%;max-width:520px;border-radius:27px;aspect-ratio:4/5;animation-duration:8s}
    body.doctor-public-v14 .v14-hero-image-frame.is-landscape{width:100%;aspect-ratio:16/10;border-radius:24px}
    body.doctor-public-v14 .v14-hero-visual-ring{display:none}
    body.doctor-public-v14 .v14-floating-card{min-width:155px;padding:9px 10px;border-radius:14px}
    body.doctor-public-v14 .v14-floating-card>span{width:32px;height:32px;border-radius:9px}
    body.doctor-public-v14 .doctor-floating-card-top-v9{top:18px;inset-inline-end:-3px}
    body.doctor-public-v14 .doctor-floating-card-bottom-v9{bottom:18px;inset-inline-start:-3px}
    body.doctor-public-v14 .v14-image-caption{inset-inline:18px;bottom:18px}
    body.doctor-public-v14 .doctor-trust-v14{margin-top:-24px}
    body.doctor-public-v14 .v14-trust-grid{grid-template-columns:1fr 1fr;padding:7px;border-radius:20px}
    body.doctor-public-v14 .v14-trust-item{min-height:86px!important;padding:12px 10px!important;gap:9px!important}
    body.doctor-public-v14 .v14-trust-icon{width:36px;height:36px;flex-basis:36px;border-radius:11px}
    body.doctor-public-v14 .v14-trust-item strong{font-size:13px!important}
    body.doctor-public-v14 .v14-trust-item>div>span{font-size:8.5px!important}
    body.doctor-public-v14 .doctor-about-v14{padding-top:72px}
    body.doctor-public-v14 .v14-about-grid{gap:30px}
    body.doctor-public-v14 .v14-about-image-card{aspect-ratio:4/3;border-radius:24px}
    body.doctor-public-v14 .v14-about-image-card.is-portrait{aspect-ratio:4/5}
    body.doctor-public-v14 .v14-about-mini-grid{grid-template-columns:repeat(3,1fr)}
    body.doctor-public-v14 .v14-about-mini-grid>div{min-height:68px;padding:8px 5px}
    body.doctor-public-v14 .v14-about-mini-grid strong{font-size:17px}
    body.doctor-public-v14 .v14-about-mini-grid span{font-size:8px}
    body.doctor-public-v14 .v14-about-copy h2{font-size:34px;line-height:1.25}
    body.doctor-public-v14 .v14-about-copy .section-lead-v9{font-size:14px}
    body.doctor-public-v14 .v14-profile-panels .profile-panel-v9{grid-template-columns:44px 1fr;padding:15px;gap:11px}
    body.doctor-public-v14 .v14-profile-panels .profile-panel-icon-v9{width:42px;height:42px}
    body.doctor-public-v14 .section-heading-v9 h2,body.doctor-public-v14 .review-heading-v9 h2,body.doctor-public-v14 .doctor-faq-intro-v9 h2,
    body.doctor-public-v14 .v12-section-head h2,body.doctor-public-v14 .v12-split-head h2,body.doctor-public-v14 .v12-plan-copy h2,body.doctor-public-v14 .v12-portal-copy h2,body.doctor-public-v14 .v12-clinic-copy h2,body.doctor-public-v14 .v12-social-shell h2{font-size:32px}
    body.doctor-public-v14 .v12-card-grid,body.doctor-public-v14 .v12-audience-grid,body.doctor-public-v14 .v12-journey-grid,body.doctor-public-v14 .v12-community-grid,body.doctor-public-v14 .v14-services-grid{grid-template-columns:1fr}
    body.doctor-public-v14 .v14-service-media{aspect-ratio:16/9}
    body.doctor-public-v14 .v14-service-body{padding:21px 20px}
    body.doctor-public-v14 .v14-service-card>div p,body.doctor-public-v14 .v14-service-body>p{min-height:0}
    body.doctor-public-v14 .v12-plan-grid,body.doctor-public-v14 .v12-portal-grid{gap:34px}
    body.doctor-public-v14 .v12-plan-device{padding:19px;border-radius:22px}
    body.doctor-public-v14 .v12-portal-ui{min-height:360px;border-radius:22px}
    body.doctor-public-v14 .v12-social{padding:58px 0}
    body.doctor-public-v14 .v12-social-shell{padding:27px 20px;border-radius:24px;gap:28px}
    body.doctor-public-v14 .v12-social-links{grid-template-columns:1fr}
    body.doctor-public-v14 .v14-clinic-visual-wrap{min-height:auto;display:block}
    body.doctor-public-v14 .v14-clinic-image{min-height:0;aspect-ratio:4/3;border-radius:23px}
    body.doctor-public-v14 .v14-clinic-card,body.doctor-public-v14 .v14-clinic-visual-wrap:not(:has(.v14-clinic-image)) .v14-clinic-card{position:relative;width:calc(100% - 24px);min-height:0;margin:-42px auto 0!important;padding:25px 22px;border-radius:20px;justify-self:auto}
    body.doctor-public-v14 .v14-clinic-visual-wrap:not(:has(.v14-clinic-image)) .v14-clinic-card{width:100%;margin:0!important}
    body.doctor-public-v14 .v14-clinic-card h3{font-size:28px}
    body.doctor-public-v14 .doctor-cta-v9{padding:54px 0}
    body.doctor-public-v14 .doctor-cta-card-v9{padding:31px 23px;border-radius:23px}
    body.doctor-public-v14 .doctor-cta-card-v9 h2{font-size:31px}
    .cms-visual-controls-v14{grid-template-columns:1fr}
}

@media(max-width:430px){
    body.doctor-public-v14 .container{width:calc(100% - 20px)}
    body.doctor-public-v14 .doctor-brand-v9{max-width:62%}
    body.doctor-public-v14 .doctor-brand-v9 .brand-copy small{display:none}
    body.doctor-public-v14 .v14-doctor-intro h1{font-size:39px}
    body.doctor-public-v14 .v14-hero-message h2{font-size:23px}
    body.doctor-public-v14 .v14-trust-grid{grid-template-columns:1fr}
    body.doctor-public-v14 .v14-trust-item{border-inline-end:0!important;border-bottom:1px solid #e7eee9!important;min-height:72px!important}
    body.doctor-public-v14 .v14-trust-item:last-child{border-bottom:0!important}
    body.doctor-public-v14 .v14-about-mini-grid{grid-template-columns:1fr 1fr}
    body.doctor-public-v14 .v14-about-mini-grid>div:last-child{grid-column:1/-1}
    body.doctor-public-v14 .v14-floating-card{display:none}
    body.doctor-public-v14 .section-heading-v9 h2,body.doctor-public-v14 .review-heading-v9 h2,body.doctor-public-v14 .doctor-faq-intro-v9 h2,
    body.doctor-public-v14 .v12-section-head h2,body.doctor-public-v14 .v12-split-head h2,body.doctor-public-v14 .v12-plan-copy h2,body.doctor-public-v14 .v12-portal-copy h2,body.doctor-public-v14 .v12-clinic-copy h2,body.doctor-public-v14 .v12-social-shell h2{font-size:29px}
}

@media(prefers-reduced-motion:reduce){
    body.doctor-public-v14 .v14-hero-image-frame{animation:none!important}
}

/* Booking journey — make the whole public site feel like one product. */
body.doctor-public-v14 .booking-section,body.doctor-public-v14[dir="rtl"] .booking-section{padding:72px 0 110px;background:
radial-gradient(circle at 8% 12%,rgba(124,181,126,.13),transparent 24%),linear-gradient(180deg,#f3f8f5 0%,#fbfdfc 100%)}
body.doctor-public-v14 .booking-grid{display:grid;grid-template-columns:minmax(310px,.68fr) minmax(0,1.32fr);gap:42px;align-items:start}
body.doctor-public-v14 .booking-aside{position:sticky;top:108px;padding:40px 34px;border-radius:28px;background:linear-gradient(145deg,#10392b,#1c513d);color:#fff;box-shadow:0 28px 80px rgba(12,48,35,.18);overflow:hidden}
body.doctor-public-v14 .booking-aside:before{content:"";position:absolute;width:280px;height:280px;inset-inline-end:-120px;top:-100px;border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 90px rgba(255,255,255,.014)}
body.doctor-public-v14 .booking-aside h1{position:relative;font-size:clamp(36px,3.2vw,52px);line-height:1.25;margin:13px 0 14px;color:#fff}
body.doctor-public-v14 .booking-aside>p{position:relative;color:#d6e6de;font-size:13px;line-height:1.9}
body.doctor-public-v14 .booking-aside ol{position:relative;margin:24px 0;padding:0;display:grid;gap:10px}
body.doctor-public-v14 .booking-aside li{margin:0;padding:10px 0;font-size:12px;border-bottom:1px solid rgba(255,255,255,.09)}
body.doctor-public-v14 .booking-aside li b{width:37px;height:37px;border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.07)}
body.doctor-public-v14 .booking-aside .privacy-note{position:relative;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.12);font-size:11px;line-height:1.7}
body.doctor-public-v14 .booking-grid>.form-card{padding:38px;border-radius:28px;background:rgba(255,255,255,.96);border:1px solid #dce7e0;box-shadow:0 24px 72px rgba(13,52,37,.09)}
body.doctor-public-v14 .booking-grid>.form-card .form-grid{gap:18px}
body.doctor-public-v14 .booking-grid>.form-card .form-grid h2{margin:14px 0 2px;padding-bottom:12px;font-size:19px;color:#183f30}
body.doctor-public-v14 .booking-grid>.form-card label,body.doctor-public-v14 .booking-grid>.form-card fieldset{font-size:12px}
body.doctor-public-v14 .booking-grid>.form-card input,body.doctor-public-v14 .booking-grid>.form-card select,body.doctor-public-v14 .booking-grid>.form-card textarea{min-height:49px;border-radius:13px;background:#fbfdfc;border-color:#d9e5de;font-size:13px}
body.doctor-public-v14 .booking-grid>.form-card input:focus,body.doctor-public-v14 .booking-grid>.form-card select:focus,body.doctor-public-v14 .booking-grid>.form-card textarea:focus{background:#fff;border-color:#78a88a;box-shadow:0 0 0 4px rgba(92,151,105,.11)}
body.doctor-public-v14 .booking-grid>.form-card .upload-box{background:#f2f8f4;border-color:#9cc2a9;border-radius:16px}
body.doctor-public-v14 .booking-grid>.form-card button[type="submit"]{min-height:54px;border-radius:15px;font-size:14px;margin-top:5px}

/* Community pages — same premium language as the homepage. */
body.doctor-public-v14 .community-hero-v12{padding:90px 0 72px;background:radial-gradient(circle at 85% 20%,rgba(174,212,161,.13),transparent 24%),linear-gradient(135deg,#0e3528,#1b513c);overflow:hidden}
body.doctor-public-v14 .community-hero-v12 h1{font-size:clamp(42px,4.7vw,64px)}
body.doctor-public-v14 .community-page-v12,body.doctor-public-v14 .community-topic-page-v12{background:#f4f8f5}
body.doctor-public-v14 .community-topic-row-v12,body.doctor-public-v14 .community-compose-v12,body.doctor-public-v14 .community-topic-main-v12,body.doctor-public-v14 .community-replies-v12{border-color:#dce7e0;box-shadow:0 12px 36px rgba(15,57,41,.05)}
body.doctor-public-v14 .community-topic-row-v12{transition:transform .28s cubic-bezier(.16,1,.3,1),box-shadow .28s ease,border-color .28s ease}
body.doctor-public-v14 .community-topic-row-v12:hover{transform:translateY(-4px);border-color:#cfe0d6;box-shadow:0 22px 54px rgba(15,57,41,.1)}

@media(max-width:980px){
    body.doctor-public-v14 .booking-grid{grid-template-columns:1fr;gap:24px}
    body.doctor-public-v14 .booking-aside{position:relative;top:auto;padding:32px 28px}
    body.doctor-public-v14 .booking-aside ol{grid-template-columns:1fr 1fr;gap:0 18px}
}
@media(max-width:760px){
    body.doctor-public-v14 .booking-section,body.doctor-public-v14[dir="rtl"] .booking-section{padding:34px 0 88px;background:#f4f8f5}
    body.doctor-public-v14 .booking-aside{padding:26px 21px;border-radius:22px}
    body.doctor-public-v14 .booking-aside h1{font-size:32px}
    body.doctor-public-v14 .booking-aside ol{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}
    body.doctor-public-v14 .booking-aside li{font-size:10px;gap:9px}
    body.doctor-public-v14 .booking-aside li b{width:31px;height:31px;flex:0 0 31px}
    body.doctor-public-v14 .booking-grid>.form-card{padding:22px 17px;border-radius:21px}
    body.doctor-public-v14 .booking-grid>.form-card .form-grid{grid-template-columns:1fr;gap:14px}
    body.doctor-public-v14 .booking-grid>.form-card .form-grid .full{grid-column:auto}
    body.doctor-public-v14 .community-hero-v12{padding:65px 0 50px}
}

/* Keep public forms legible on phones and avoid automatic iOS zoom. */
@media(max-width:760px){
    body.doctor-public-v14 input,
    body.doctor-public-v14 select,
    body.doctor-public-v14 textarea{
        font-size:16px !important;
    }
}
