:root{--ink:#152238;--muted:#64748b;--line:#e2e8f0;--paper:#fff;--soft:#f8fafc;--brand:#0f766e;--brand2:#c084fc;--gold:#d4a373;--danger:#9f1239}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",Arial,sans-serif;color:var(--ink);background:linear-gradient(180deg,#fff 0,#f7fbff 45%,#fff 100%);line-height:1.72}.topline{height:4px;background:linear-gradient(90deg,#0f766e,#7c3aed,#d4a373)}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,92vw);margin:auto}.nav{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.85)}.navin{height:76px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:12px;align-items:center;font-weight:900;letter-spacing:.02em}.mark{width:42px;height:42px;border-radius:16px;background:conic-gradient(from 180deg,#0f766e,#7c3aed,#d4a373,#0f766e);box-shadow:0 14px 30px rgba(15,118,110,.25)}.menu{display:flex;gap:26px;color:#334155;font-weight:650}.cta{padding:11px 18px;border-radius:999px;background:#0f766e;color:#fff;box-shadow:0 12px 24px rgba(15,118,110,.2)}.hero{padding:82px 0 58px;position:relative;overflow:hidden}.hero:before{content:"";position:absolute;right:-8%;top:8%;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(124,58,237,.14),transparent 67%)}.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:52px;align-items:center}.eyebrow{display:inline-flex;gap:8px;align-items:center;padding:8px 13px;border-radius:999px;background:#ecfdf5;color:#047857;font-weight:800;font-size:14px}.hero h1{font-size:clamp(38px,5vw,70px);line-height:1.05;margin:22px 0 20px;letter-spacing:-.055em}.hero p{font-size:19px;color:#475569;max-width:720px}.hero-card{background:rgba(255,255,255,.88);border:1px solid var(--line);border-radius:34px;padding:30px;box-shadow:0 30px 80px rgba(15,23,42,.10);position:relative}.hero-card:after{content:"";position:absolute;inset:14px;border:1px solid rgba(15,118,110,.16);border-radius:25px;pointer-events:none}.metric{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-top:22px}.metric div{padding:18px;border-radius:22px;background:#f8fafc}.metric strong{display:block;font-size:28px;color:#0f766e}.section{padding:68px 0}.section h2{font-size:clamp(28px,3vw,44px);line-height:1.15;margin:0 0 18px;letter-spacing:-.035em}.lead{color:#64748b;font-size:18px;max-width:800px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}.card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:26px;box-shadow:0 18px 55px rgba(15,23,42,.06)}.card h3{margin:0 0 10px;font-size:21px}.card p,.article-card p{color:#64748b;margin:0}.pill{display:inline-block;padding:6px 11px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:13px;font-weight:750;margin-bottom:14px}.band{background:linear-gradient(135deg,#0f766e,#164e63);color:#fff;border-radius:38px;padding:48px;margin:30px 0}.band p{color:#d1fae5}.articles{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:32px}.article-card{padding:26px;border-radius:26px;border:1px solid var(--line);background:#fff}.article-card h3{font-size:22px;line-height:1.28;margin:0 0 12px}.meta{color:#94a3b8;font-size:14px;margin:10px 0}.content{display:grid;grid-template-columns:minmax(0,760px) 320px;gap:38px;align-items:start;padding:54px 0}.prose{background:#fff;border:1px solid var(--line);border-radius:30px;padding:38px}.prose h1{font-size:42px;line-height:1.12;margin:0 0 15px}.prose h2{font-size:28px;margin-top:34px}.prose p{font-size:17px;color:#334155}.toc{position:sticky;top:96px;background:#fff;border:1px solid var(--line);border-radius:26px;padding:24px}.faqitem{border-bottom:1px solid var(--line);padding:20px 0}.faqitem:last-child{border-bottom:0}.faqitem strong{display:block;font-size:18px}.form{display:grid;gap:13px}.form input,.form textarea,.form select{width:100%;padding:14px 15px;border:1px solid #cbd5e1;border-radius:16px;font:inherit}.form button{border:0;padding:15px 18px;border-radius:16px;background:#0f766e;color:#fff;font-weight:850;font-size:16px}.footer{background:#0f172a;color:#cbd5e1;padding:46px 0;margin-top:40px}.footer .wrap{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}.disclaimer{font-size:13px;color:#94a3b8;border-top:1px solid rgba(255,255,255,.1);padding-top:18px;margin-top:22px}@media(max-width:900px){.grid,.content,.footer .wrap{grid-template-columns:1fr}.cards,.articles{grid-template-columns:1fr}.menu{display:none}.hero{padding-top:50px}.hero-card{padding:22px}.prose{padding:25px}}

/* Enhanced CMS and SEO components */
.breadcrumb{font-size:14px;color:#6b7280;margin:0 0 24px}.breadcrumb a{color:#5d5fef;text-decoration:none}.articles.mini{grid-template-columns:1fr}.admin-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:#f4f6fb;color:#111827}.admin-shell aside{background:#101827;color:#fff;padding:28px;position:sticky;top:0;height:100vh}.admin-shell aside h2{font-size:20px;line-height:1.3;margin:0 0 28px}.admin-menu{display:flex;flex-direction:column;gap:8px}.admin-menu a{color:#dbe4ff;text-decoration:none;padding:12px 14px;border-radius:12px}.admin-menu a:hover{background:rgba(255,255,255,.1)}.admin-shell main{padding:36px;overflow:auto}.admin-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;margin:0 0 20px;box-shadow:0 12px 40px rgba(15,23,42,.06)}.admin-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.admin-login .admin-card{width:min(420px,92vw)}.admin-form{display:grid;gap:14px}.admin-form label{display:grid;gap:6px;font-weight:700;color:#374151}.admin-form input,.admin-form textarea,.admin-form select,.admin-card input,.admin-card textarea,.admin-card select{width:100%;box-sizing:border-box;border:1px solid #d1d5db;border-radius:12px;padding:11px 13px;font:inherit;background:#fff}.admin-form textarea{min-height:110px}.admin-form button,.admin-card button,.admin-btn{display:inline-block;width:max-content;border:0;border-radius:999px;background:#111827;color:#fff;padding:10px 16px;text-decoration:none;cursor:pointer}.admin-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;box-shadow:0 12px 40px rgba(15,23,42,.06)}.admin-table th,.admin-table td{text-align:left;padding:14px;border-bottom:1px solid #eef2f7;vertical-align:top}.admin-table th{background:#f8fafc;color:#374151}.admin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:24px 0}.admin-stats div{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;box-shadow:0 12px 40px rgba(15,23,42,.06)}.admin-stats strong{display:block;font-size:34px}.admin-stats span{color:#6b7280}.error{color:#b91c1c}@media(max-width:900px){.admin-shell{grid-template-columns:1fr}.admin-shell aside{position:static;height:auto}.admin-menu{flex-direction:row;flex-wrap:wrap}.admin-stats{grid-template-columns:repeat(2,1fr)}}


/* Brand logo and visual content enhancements */
.logo-img{width:44px;height:44px;border-radius:16px;object-fit:contain;background:#fff;box-shadow:0 10px 26px rgba(15,118,110,.16);border:1px solid rgba(15,118,110,.14);padding:4px;flex:0 0 auto;}
.brand span{display:inline-block;line-height:1.2;}
.hero-side{min-width:0;display:grid;gap:18px;}
.hero-visual{border-radius:34px;overflow:hidden;border:1px solid rgba(226,232,240,.9);box-shadow:0 30px 80px rgba(15,23,42,.12);background:#fff;}
.hero-visual img{width:100%;height:360px;object-fit:cover;display:block;}
.visual-section{padding-top:36px;}
.visual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;}
.visual-grid a.visual-card{display:block;margin:0;background:#fff;border:1px solid rgba(24,54,78,.1);border-radius:24px;overflow:hidden;box-shadow:0 18px 44px rgba(24,54,78,.08);transition:.2s ease;position:relative;}
.visual-grid a.visual-card:hover{transform:translateY(-4px);box-shadow:0 24px 62px rgba(24,54,78,.14);border-color:rgba(15,118,110,.28);}
.visual-grid a.visual-card img{width:100%;height:245px;object-fit:cover;display:block;}
.visual-grid a.visual-card figcaption{padding:16px 18px;color:#18364e;font-weight:800;display:grid;gap:5px;}
.visual-grid a.visual-card figcaption span{font-size:13px;color:#64748b;font-weight:650;}
.faq-list{display:grid;gap:18px;margin-top:30px;}
.faq-card{display:block;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 14px 38px rgba(15,23,42,.05);transition:.18s ease;}
.faq-card:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(15,23,42,.09);border-color:rgba(15,118,110,.25);}
.faq-card h3{margin:0 0 10px;font-size:21px;line-height:1.35;}
.faq-card p{margin:0;color:#64748b;}
.faq-card .readmore{display:inline-block;margin-top:14px;color:var(--brand);font-weight:850;}
.float-contact{position:fixed;right:22px;top:50%;transform:translateY(-50%);z-index:30;display:grid;gap:10px;box-sizing:border-box;}
.float-contact-title{background:#0f172a;color:#fff;border-radius:16px;padding:9px 12px;font-size:13px;font-weight:850;text-align:center;box-shadow:0 12px 30px rgba(15,23,42,.16);}
.float-contact a{display:flex;align-items:center;justify-content:center;min-width:106px;padding:10px 12px;border-radius:999px;background:#fff;border:1px solid rgba(15,118,110,.18);box-shadow:0 12px 30px rgba(15,23,42,.12);font-size:13px;font-weight:850;color:#18364e;box-sizing:border-box;}
.float-contact a:hover{background:#ecfdf5;color:var(--brand);transform:translateX(-2px);}
.admin-table .type-note{display:block;color:#6b7280;font-size:12px;margin-top:3px;}

@media(max-width:980px){
  .visual-grid{grid-template-columns:1fr;}
  .visual-grid a.visual-card img{height:260px;}
  .float-contact{left:auto!important;right:10px!important;top:50%!important;bottom:auto!important;transform:translateY(-50%)!important;width:92px!important;max-width:92px!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;backdrop-filter:none!important;}
  .float-contact-title{display:none!important;}
  .float-contact a{width:92px!important;min-width:0!important;max-width:92px!important;padding:9px 6px!important;border-radius:999px!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:0 10px 24px rgba(15,23,42,.14)!important;}
  .footer{padding-bottom:40px!important;}
}
@media(max-width:900px){
  .navin{gap:14px;}
  .brand{min-width:0;}
  .brand span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px;}
  .logo-img{width:42px;height:42px;border-radius:14px;}
  .hero-visual img{height:260px;}
  .metric{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:560px){
  html,body{max-width:100%;overflow-x:hidden;}
  .wrap{width:min(100% - 32px,1180px);}
  .nav .cta{display:none;}
  .navin{height:66px;}
  .hero{padding-top:42px;overflow:hidden;}
  .hero .grid{gap:34px;}
  .hero-copy,.hero-side,.hero-card,.hero-visual{max-width:100%;min-width:0;}
  .hero h1{font-size:30px;line-height:1.18;letter-spacing:-.03em;max-width:100%;}
  .hero p{font-size:16px;line-height:1.82;max-width:100%;}
  .hero-card{padding:22px;border-radius:24px;}
  .metric{gap:12px;}
}
@media(max-width:420px){
  .float-contact{right:8px!important;width:88px!important;max-width:88px!important;}
  .float-contact a{width:88px!important;max-width:88px!important;font-size:11px!important;padding:8px 4px!important;}
}

/* Chinese mobile text wrapping guardrail */
@media(max-width:560px){
  .hero h1,.hero p,.hero-card h2,.hero-card p{white-space:normal;word-break:break-all;overflow-wrap:anywhere;}
}


/* Final mobile containment: prevent hero text from being clipped by viewport or floating contact */
@media(max-width:560px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  .wrap{width:auto!important;max-width:none!important;margin-left:16px!important;margin-right:112px!important;}
  .nav .wrap,.footer .wrap{margin-right:16px!important;}
  .hero .grid,.grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:30px!important;}
  .hero-copy,.hero-side,.hero-card,.hero-visual,.section,.cards,.articles,.article-card,.card{width:100%!important;max-width:100%!important;min-width:0!important;}
  .hero h1,.hero p,.hero-card h2,.hero-card p,.section h2,.lead{width:100%!important;max-width:100%!important;min-width:0!important;}
  .hero h1{font-size:28px!important;line-height:1.22!important;letter-spacing:-.02em!important;}
  .hero p{font-size:15.5px!important;line-height:1.82!important;}
  .hero-visual img{height:240px!important;}
  .metric{grid-template-columns:1fr!important;}
}
@media(max-width:420px){
  .wrap{margin-left:16px!important;margin-right:108px!important;}
  .nav .wrap,.footer .wrap{margin-right:16px!important;}
}

/* Correct .wrap.grid conflict on mobile: this element is both the page wrapper and the grid */
@media(max-width:560px){
  .hero .wrap.grid{width:auto!important;max-width:none!important;margin-left:16px!important;margin-right:112px!important;grid-template-columns:minmax(0,1fr)!important;}
  .hero .wrap.grid .hero-copy,.hero .wrap.grid .hero-side,.hero .wrap.grid .hero-card,.hero .wrap.grid .hero-visual{width:100%!important;max-width:100%!important;min-width:0!important;}
  .hero .wrap.grid .hero h1{max-width:100%!important;}
}
@media(max-width:420px){
  .hero .wrap.grid{margin-right:108px!important;}
}

/* 2026-05-27 mobile UX repair: bottom contact bar, safe wrappers, and language switch */
.nav-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.lang-switch{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(15,118,110,.22);background:#fff;color:#0f766e;font-weight:900;text-decoration:none;box-shadow:0 8px 22px rgba(15,23,42,.06);white-space:nowrap;}
.lang-switch:hover{background:#ecfdf5;color:#0f766e;transform:translateY(-1px);}
@media(max-width:760px){
  *,*::before,*::after{box-sizing:border-box;}
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  body{padding-bottom:88px!important;}
  .nav{overflow:visible!important;}
  .navin{height:auto!important;min-height:72px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;flex-wrap:wrap!important;padding-top:10px!important;padding-bottom:10px!important;}
  .brand{max-width:calc(100% - 72px)!important;min-width:0!important;}
  .brand span{max-width:190px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  .logo-img{width:40px!important;height:40px!important;border-radius:14px!important;}
  .nav-actions{margin-left:auto!important;gap:8px!important;}
  .nav-actions .cta{display:none!important;}
  .lang-switch{min-height:36px!important;padding:0 12px!important;font-size:13px!important;}
  .menu{order:5!important;width:100%!important;display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:6px 0 2px!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;}
  .menu::-webkit-scrollbar{display:none!important;}
  .menu a{flex:0 0 auto!important;white-space:nowrap!important;padding:8px 11px!important;border-radius:999px!important;background:#f8fafc!important;border:1px solid rgba(226,232,240,.9)!important;color:#334155!important;font-size:13px!important;line-height:1!important;text-decoration:none!important;}
  .wrap,.section.wrap,.hero .wrap.grid,.nav .wrap,.footer .wrap{width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important;}
  .hero{padding-top:34px!important;overflow:hidden!important;}
  .hero .wrap.grid,.grid,.cards,.articles,.visual-grid,.faq-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important;}
  .hero-copy,.hero-side,.hero-card,.hero-visual,.section,.cards,.articles,.article-card,.card,.faq-card,.visual-card{min-width:0!important;max-width:100%!important;width:auto!important;}
  .hero h1{font-size:clamp(27px,8vw,34px)!important;line-height:1.18!important;letter-spacing:-.02em!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  .hero p,.lead,.faq-card p,.article-card p,.card p{font-size:16px!important;line-height:1.78!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  .hero-card,.faq-card,.article-card,.card{padding:20px!important;border-radius:22px!important;}
  .faq-card h3,.article-card h3,.card h3{font-size:22px!important;line-height:1.32!important;word-break:normal!important;overflow-wrap:anywhere!important;}
  .hero-visual img,.visual-grid a.visual-card img{height:auto!important;max-height:260px!important;object-fit:cover!important;}
  .metric{grid-template-columns:1fr!important;}
  .float-contact{position:fixed!important;left:12px!important;right:12px!important;bottom:12px!important;top:auto!important;transform:none!important;z-index:60!important;width:auto!important;max-width:none!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;padding:8px!important;border-radius:999px!important;background:rgba(255,255,255,.94)!important;border:1px solid rgba(226,232,240,.96)!important;box-shadow:0 16px 40px rgba(15,23,42,.18)!important;backdrop-filter:blur(12px)!important;}
  .float-contact-title{display:none!important;}
  .float-contact a{flex:1 1 0!important;width:auto!important;min-width:0!important;max-width:none!important;padding:10px 6px!important;border-radius:999px!important;font-size:12px!important;line-height:1.1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;box-shadow:none!important;background:#fff!important;}
}
@media(max-width:380px){
  .brand span{max-width:150px!important;}
  .menu a{font-size:12px!important;padding:7px 9px!important;}
  .hero h1{font-size:26px!important;}
  .float-contact{left:8px!important;right:8px!important;gap:6px!important;padding:7px!important;}
  .float-contact a{font-size:11px!important;padding:9px 4px!important;}
}

/* 2026-05-27 mobile overflow final guard: use margin-contained blocks instead of fixed calc widths */
@media(max-width:760px){
  html,body{width:100%!important;max-width:100%!important;overflow-x:hidden!important;}
  .wrap,.section.wrap,.hero .wrap.grid,.nav .wrap,.footer .wrap{width:auto!important;max-width:none!important;margin-left:16px!important;margin-right:16px!important;}
  .navin.wrap{width:auto!important;max-width:none!important;margin-left:16px!important;margin-right:16px!important;}
  .section.wrap,.hero .wrap.grid{padding-left:0!important;padding-right:0!important;}
  .menu{max-width:100%!important;min-width:0!important;contain:layout paint!important;}
  .hero-copy,.hero-side,.hero-card,.hero-visual,.section,.cards,.articles,.article-card,.card,.faq-card,.visual-card,.faq-list{box-sizing:border-box!important;width:auto!important;max-width:100%!important;min-width:0!important;}
  img,svg,video,canvas{max-width:100%!important;}
}

/* 2026-05-27 mobile UI refinement: make nav complete and reduce hero visual on small screens */
@media (max-width: 760px){
  html, body{
    max-width:100vw!important;
    overflow-x:hidden!important;
  }
  body{
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px))!important;
  }
  .topbar .wrap{
    width:100%!important;
    max-width:100%!important;
    padding:14px 16px 12px!important;
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:1fr auto!important;
    align-items:center!important;
    gap:12px!important;
  }
  .brand{
    min-width:0!important;
  }
  .menu{
    grid-column:1 / -1!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:flex-start!important;
    gap:8px!important;
    overflow:visible!important;
    padding:4px 0 0!important;
    scrollbar-width:none!important;
  }
  .menu::-webkit-scrollbar{display:none!important;}
  .menu a{
    flex:0 0 auto!important;
    max-width:100%!important;
    min-height:38px!important;
    padding:9px 13px!important;
    border-radius:999px!important;
    white-space:nowrap!important;
    font-size:14px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
  }
  .lang-switch{
    align-self:center!important;
    justify-self:end!important;
    min-width:58px!important;
    padding:10px 14px!important;
  }
  .hero{
    padding-top:32px!important;
  }
  .hero .wrap.grid{
    display:block!important;
    width:calc(100vw - 32px)!important;
    max-width:calc(100vw - 32px)!important;
    margin:0 auto!important;
    padding:0!important;
  }
  .hero-side,
  .hero-visual,
  .hero .visual,
  .hero-card.visual,
  .visual-card{
    display:none!important;
  }
  .hero h1{
    font-size:clamp(34px, 9.5vw, 46px)!important;
    line-height:1.18!important;
    letter-spacing:-0.04em!important;
  }
  .hero .lead{
    font-size:18px!important;
    line-height:1.85!important;
  }
  .float-contact{
    left:12px!important;
    right:12px!important;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px))!important;
    width:auto!important;
    max-width:calc(100vw - 24px)!important;
    display:grid!important;
    grid-template-columns:repeat(3, minmax(0, 1fr))!important;
    gap:8px!important;
    padding:8px!important;
    border-radius:24px!important;
  }
  .float-contact .float-title{display:none!important;}
  .float-contact a{
    min-width:0!important;
    width:100%!important;
    padding:11px 6px!important;
    font-size:14px!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
}
@media (max-width: 390px){
  .menu a{font-size:13px!important;padding:8px 11px!important;}
  .hero h1{font-size:32px!important;}
}



/* 2026-05-27 professional IVF carousel and case section */
.hero-carousel{position:relative;border-radius:34px;overflow:hidden;border:1px solid rgba(226,232,240,.9);box-shadow:0 30px 80px rgba(15,23,42,.12);background:#0f172a;min-height:360px;isolation:isolate;}
.hero-slide{position:absolute;inset:0;margin:0;opacity:0;animation:heroFade 15s infinite;}
.hero-slide-2{animation-delay:5s;}.hero-slide-3{animation-delay:10s;}
.hero-slide img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block;filter:saturate(1.04) contrast(1.03);}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,0) 42%,rgba(15,23,42,.68) 100%);}
.hero-slide figcaption{position:absolute;left:22px;right:22px;bottom:20px;z-index:2;color:#fff;display:grid;gap:4px;text-shadow:0 2px 10px rgba(0,0,0,.25);}
.hero-slide figcaption strong{font-size:20px;line-height:1.25;}.hero-slide figcaption span{font-size:14px;color:#dbeafe;}
.hero-dots{position:absolute;right:20px;bottom:20px;z-index:3;display:flex;gap:7px;}.hero-dots span{width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.75);box-shadow:0 0 0 1px rgba(255,255,255,.25);}
@keyframes heroFade{0%,30%{opacity:1;transform:scale(1)}33%,100%{opacity:0;transform:scale(1.02)}}
.visual-grid-four{grid-template-columns:repeat(4,minmax(0,1fr));}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:8px;}
.text-link{font-weight:900;color:#0f766e;white-space:nowrap;border-bottom:2px solid rgba(15,118,110,.22);padding-bottom:3px;}
.case-section .article-card{position:relative;overflow:hidden;}
.case-section .article-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,#0f766e,#7c3aed,#d4a373);}
@media(max-width:1100px){.visual-grid-four{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.hero-carousel{display:none!important;}.section-head{display:block;}.text-link{display:inline-block;margin-top:10px;}.visual-grid-four{grid-template-columns:1fr!important;}}

/* 2026-05-27 mobile image visibility fix: keep professional visuals visible on phones */
@media(max-width:760px){
  .hero-side{
    display:grid!important;
    gap:16px!important;
    margin-top:22px!important;
    width:100%!important;
    max-width:100%!important;
  }
  .hero-carousel{
    display:block!important;
    min-height:260px!important;
    border-radius:24px!important;
    margin:0!important;
  }
  .hero-slide img{
    height:260px!important;
    min-height:260px!important;
    max-height:none!important;
    object-fit:cover!important;
  }
  .hero-slide figcaption{
    left:16px!important;
    right:16px!important;
    bottom:16px!important;
  }
  .hero-slide figcaption strong{font-size:18px!important;}
  .hero-slide figcaption span{font-size:13px!important;}
  .hero-dots{right:16px!important;bottom:16px!important;}
  .visual-grid a.visual-card,
  .visual-card{
    display:block!important;
  }
  .visual-grid a.visual-card img{
    display:block!important;
    width:100%!important;
    height:220px!important;
    max-height:none!important;
    object-fit:cover!important;
  }
  .visual-section{padding-top:22px!important;}
}
@media(max-width:420px){
  .hero-carousel{min-height:230px!important;border-radius:22px!important;}
  .hero-slide img{height:230px!important;min-height:230px!important;}
  .visual-grid a.visual-card img{height:200px!important;}
}


/* ── Performance & UX improvements ─────────────────────────────── */
img { max-width: 100%; height: auto; }
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded { opacity: 1; }

/* Improve CLS by reserving space for images */
.carousel-img, .article-card img, .clinic-img { 
  aspect-ratio: 16/9; 
  object-fit: cover; 
  width: 100%; 
}

/* Smooth scroll */
html { scroll-behavior: smooth; }

/* Improve tap targets on mobile */
@media (max-width: 768px) {
  a, button { min-height: 44px; display: inline-flex; align-items: center; }
  .nav a { padding: 12px 8px; }
}

/* Print styles */
@media print {
  .float-contact, .nav, footer { display: none; }
  body { font-size: 12pt; }
}
