
:root{
  --bg:#ffffff;
  --tint:#f3fbff;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#526072;
  --line:rgba(15, 23, 42, .12);
  --shadow:0 16px 40px rgba(2,6,23,.08);
  --radius:18px;
  --green:#38b27a;
  --blue:#2a78ff;
  --blue2:#1fb6ff;
  --focus: rgba(42,120,255,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1400px 700px at 0% 0%, rgba(56,178,122,.10), transparent 55%),
              radial-gradient(1200px 700px at 100% 0%, rgba(42,120,255,.10), transparent 55%),
              var(--bg);
}

a{color:inherit; text-decoration:none}
.container{max-width:1140px; margin:0 auto; padding:0 18px}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,.8);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:12px; min-width:240px}
.brand__logo{width:44px; height:44px; object-fit:contain}
.brand__name{font-weight:800; letter-spacing:-.02em}
.brand__tagline{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:flex; gap:16px; align-items:center}
.nav a{font-size:13px; color:var(--muted); padding:8px 8px; border-radius:10px}
.nav a:hover{background:rgba(31,182,255,.10); color:var(--text)}

.header__actions{display:flex; align-items:center; gap:10px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:600;
  font-size:13px;
  transition:transform .08s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  box-shadow:0 10px 24px rgba(2,6,23,.06);
}
.btn:active{transform:translateY(1px)}
.btn--primary{
  background:linear-gradient(135deg, var(--green), var(--blue));
  border-color:transparent;
  color:#fff;
}
.btn--primary:hover{box-shadow:0 14px 30px rgba(2,6,23,.10)}
.btn--ghost{background:rgba(255,255,255,.65)}
.btn--ghost:hover{background:#fff}

.lang{position:relative}
.lang__btn{
  display:flex; align-items:center; gap:8px;
  padding:10px 12px; border-radius:14px; border:1px solid var(--line);
  background:rgba(255,255,255,.85); font-weight:700; font-size:13px;
  cursor:pointer;
}
.lang__btn:focus{outline:3px solid var(--focus)}
.lang__menu{
  position:absolute; right:0; top:46px;
  min-width:170px;
  background:#fff; border:1px solid var(--line);
  border-radius:14px; box-shadow:var(--shadow);
  padding:6px; display:none;
}
.lang__menu button{
  width:100%;
  padding:10px 10px;
  border:0; background:transparent;
  text-align:left; border-radius:12px;
  cursor:pointer; font-weight:600;
}
.lang__menu button:hover{background:rgba(31,182,255,.10)}
.lang__menu.isOpen{display:block}

.burger{
  display:none;
  width:42px; height:42px; border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.85);
  cursor:pointer;
}
.burger span{display:block; height:2px; background:var(--text); margin:7px 10px; border-radius:2px}

.mobileNav{
  display:none;
  padding:10px 18px 16px;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.92);
}
.mobileNav a{display:block; padding:12px 8px; border-radius:12px; color:var(--muted); font-weight:600}
.mobileNav a:hover{background:rgba(31,182,255,.10); color:var(--text)}
.mobileNav .btn{width:100%; margin-top:10px}

.hero{padding:46px 0 24px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.25fr .85fr;
  gap:26px;
  align-items:start;
}
.badge{
  display:inline-flex; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(56,178,122,.25);
  background:rgba(56,178,122,.08);
  font-weight:700;
  color:#0f5132;
  font-size:12px;
}
.hero__title{margin:14px 0 10px; font-size:44px; line-height:1.08; letter-spacing:-.03em}
.hero__subtitle{margin:0 0 16px; color:var(--muted); font-size:16px; line-height:1.55; max-width:52ch}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap}

.trustGrid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px
}
.trustCard{
  background:rgba(255,255,255,.7);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px 14px;
}
.trustCard__title{font-weight:800; font-size:13px}
.trustCard__text{font-size:12px; color:var(--muted); margin-top:6px; line-height:1.45}

.doctorCard{
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow);
}
.doctorCard__img{width:100%; height:340px; object-fit:cover}
.doctorCard__body{padding:14px 14px 16px}
.doctorCard__name{font-weight:900; letter-spacing:-.02em}
.doctorCard__cred{margin-top:4px; color:var(--muted); font-weight:700; font-size:13px}
.doctorCard__meta{margin-top:8px; color:var(--muted); font-size:13px; line-height:1.45}

.note{
  margin-top:12px;
  border-radius:24px;
  padding:14px 14px;
  border:1px solid rgba(42,120,255,.22);
  background:rgba(42,120,255,.06);
}
.note__title{font-weight:900}
.note__text{margin-top:6px; color:var(--muted); line-height:1.5}

.section{padding:56px 0}
.section--tint{background:linear-gradient(180deg, rgba(31,182,255,.06), rgba(56,178,122,.05))}
.sectionHead{margin-bottom:18px}
.sectionHead h2{margin:0; font-size:30px; letter-spacing:-.02em}
.sectionHead p{margin:8px 0 0; color:var(--muted); line-height:1.55}

.card{
  background:rgba(255,255,255,.86);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 12px 30px rgba(2,6,23,.06);
}
.card h3{margin:0 0 10px; letter-spacing:-.01em}
.card p{margin:0; color:var(--muted); line-height:1.6}

.twoCol{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}

.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(56,178,122,.22);
  background:rgba(56,178,122,.08);
  font-weight:700; font-size:12px;
}

.specTools{display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:14px 0}
.input{
  flex:1;
  min-width:220px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.92);
  font-weight:600;
}
.input:focus{outline:3px solid var(--focus); border-color:rgba(42,120,255,.35)}
.filters{display:flex; gap:8px; flex-wrap:wrap}
.filter{
  padding:9px 10px; border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.86);
  font-weight:700; font-size:12px;
  cursor:pointer;
}
.filter.isOn{border-color:rgba(42,120,255,.35); background:rgba(42,120,255,.08)}

.specGrid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.specCard{padding:14px; border-radius:16px; border:1px solid var(--line); background:rgba(255,255,255,.88)}
.specCard__top{display:flex; align-items:center; justify-content:space-between; gap:10px}
.specCard__name{font-weight:900}
.specCard__tag{font-size:11px; font-weight:800; color:#0b3d91; background:rgba(42,120,255,.10); padding:6px 10px; border-radius:999px; border:1px solid rgba(42,120,255,.18)}
.specCard__list{margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.55}
.specCard__list li{margin:4px 0}

.confidential{
  margin-top:14px;
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(56,178,122,.24);
  background:rgba(56,178,122,.08);
}
.confidential__title{font-weight:900}
.confidential__text{color:var(--muted); margin-top:6px; line-height:1.5; max-width:68ch}

.casesGrid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.caseCard{border:1px solid var(--line); border-radius:18px; padding:14px; background:rgba(255,255,255,.88)}
.caseCard__title{font-weight:900}
.caseCard__sub{margin-top:6px; color:var(--muted); font-weight:700; font-size:12px}

.ba{margin-top:12px; border-radius:16px; overflow:hidden; border:1px solid rgba(15,23,42,.14); background:#fff}
.ba__wrap{position:relative; height:240px}
.ba img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover}
.ba__after{clip-path:inset(0 50% 0 0)}
.ba__slider{position:absolute; inset:auto 12px 12px 12px; display:flex; gap:10px; align-items:center; background:rgba(255,255,255,.86); border:1px solid var(--line); border-radius:999px; padding:10px 12px}
.ba__slider input{width:100%}
.ba__labels{display:flex; justify-content:space-between; padding:10px 12px; font-size:12px; color:var(--muted); font-weight:800}

.legalBox{margin-top:16px; padding:16px; border-radius:18px; border:1px solid rgba(15,23,42,.14); background:rgba(255,255,255,.75)}
.legalBox__title{font-weight:900}
.legalBox__text{margin-top:6px; color:var(--muted); line-height:1.55}

.mapBox{border-radius:16px; overflow:hidden; border:1px solid rgba(15,23,42,.14)}
.rowBtns{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}

.testGrid{display:grid; gap:12px; margin-top:10px}
.test{border:1px solid var(--line); border-radius:16px; padding:14px; background:rgba(255,255,255,.9)}
.stars{font-weight:900; letter-spacing:.08em}
.test__text{margin-top:6px; color:var(--muted); line-height:1.55}
.test__who{margin-top:10px; font-weight:900; color:#0b3d91}
.muted{color:var(--muted)}

.translate{margin-top:16px; padding:16px; border-radius:18px; border:1px solid var(--line); background:rgba(255,255,255,.86)}
.translate__title{font-weight:900}
.translate__box{margin-top:10px}

.gallery{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.gallery img{width:100%; height:240px; object-fit:cover; border-radius:18px; border:1px solid var(--line); box-shadow:0 12px 30px rgba(2,6,23,.06)}

.kv{display:grid; grid-template-columns:120px 1fr; gap:10px; padding:10px 0; border-bottom:1px dashed rgba(15,23,42,.14)}
.kv:last-child{border-bottom:0}
.kv__k{color:var(--muted); font-weight:800}
.kv__v a{color:#0b3d91; font-weight:800}
.footer{display:flex; justify-content:space-between; gap:10px; margin-top:18px; padding-top:18px; border-top:1px solid var(--line); color:var(--muted); font-weight:700; flex-wrap:wrap}

.floatBar{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:16px; z-index:60;
  display:flex; gap:10px;
  background:rgba(255,255,255,.9);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px;
  box-shadow:var(--shadow);
}
.floatBar__btn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:900; font-size:13px;
}
.floatBar__btn--primary{
  background:linear-gradient(135deg, var(--green), var(--blue));
  color:#fff; border-color:transparent;
}

@media (max-width: 980px){
  .nav{display:none}
  .burger{display:block}
  .hero__grid{grid-template-columns:1fr; }
  .trustGrid{grid-template-columns:1fr; }
  .twoCol{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .specGrid{grid-template-columns:1fr}
  .casesGrid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .doctorCard__img{height:320px}
}

@media (max-width: 520px){
  .hero__title{font-size:34px}
  .floatBar{left:12px; right:12px; transform:none; justify-content:space-between}
  .floatBar__btn{flex:1; text-align:center}
}


/* ===== Enhancements: sticky compact header ===== */
.header{transition:.18s ease}
.header__inner{transition:.18s ease}
.header.isCompact{background:rgba(255,255,255,.92)}
.header.isCompact .header__inner{padding:8px 0}
.header.isCompact .brand__logo{width:40px;height:40px}
.header.isCompact .brand__tagline{display:none}

/* ===== Enhancements: WhatsApp fallback form ===== */
.waForm{display:grid; gap:10px; margin-top:10px}
.waForm label{display:grid; gap:6px}
.waForm span{font-weight:800; font-size:13px; color:var(--muted)}
.waForm input, .waForm textarea{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  font:inherit;
  background:#fff;
}
.formNote{margin-top:4px; font-size:12px; color:var(--muted)}

/* ===== Enhancements: gallery lightbox ===== */
.gallery img{cursor:pointer}
.lightbox{
  position:fixed; inset:0;
  background:rgba(10,18,34,.82);
  display:none;
  align-items:center; justify-content:center;
  z-index:200;
  padding:18px;
}
.lightbox.isOpen{display:flex}
.lightbox__img{
  max-width:min(980px, 96vw);
  max-height:80vh;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 16px 44px rgba(0,0,0,.35);
}
.lightbox__close{
  position:absolute; top:18px; right:18px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}
.lightbox__nav{
  position:absolute; top:50%;
  transform: translateY(-50%);
  width:46px; height:46px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:28px;
  cursor:pointer;
}
.lightbox__nav--prev{left:18px}
.lightbox__nav--next{right:18px}
.lightbox__caption{
  position:absolute; bottom:18px;
  left:18px; right:18px;
  text-align:center;
  color:rgba(255,255,255,.88);
  font-weight:700;
}
