:root{
  --canvas:#fbfbfd;--section:#f5f5f7;--ink:#1d1d1f;--ink-2:#6e6e73;--ink-3:#707074;
  --hairline:#d2d2d7;--ghost:#e8e8ed;--accent:#1d1d1f;--accent-hover:#3a3a3c;
  --on-dark:#f5f5f7;--on-dark-2:#a1a1a6;
  --radius-l:28px;--radius-m:18px;
  --ease:cubic-bezier(.32,.72,0,1);--ease-soft:cubic-bezier(.25,.1,.25,1);
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Satoshi",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Helvetica,Arial,sans-serif;
  background:var(--canvas);color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;line-height:1.47}
::selection{background:#1d1d1f22}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
section{scroll-margin-top:52px}
.wrap{max-width:1024px;margin:0 auto}
.eyebrow{font-size:14px;font-weight:600;color:var(--ink-2);text-transform:uppercase;letter-spacing:.08em;margin-bottom:18px}
h2{font-size:clamp(36px,5.4vw,56px);font-weight:700;letter-spacing:-.025em;line-height:1.08}
.lede{font-size:clamp(22px,2.7vw,30px);font-weight:600;letter-spacing:-.017em;line-height:1.32}
.lede em{font-style:normal;color:var(--ink-2)}
.btn-pill{display:inline-block;background:var(--accent);color:#fff!important;font-size:13px;font-weight:500;
  padding:7px 16px;border-radius:980px;transition:background .25s,color .25s,transform .35s var(--ease);opacity:1!important}
.btn-pill:hover{background:var(--accent-hover);color:#fff!important}
.btn-pill.large{font-size:17px;padding:13px 28px}
.btn-pill.large:hover{transform:scale(1.03)}
.btn-text{color:var(--accent);font-size:17px}
.btn-text:hover{text-decoration:underline}
.btn-text::after{content:" ›"}

/* ---- nav ---- */
.nav{position:fixed;top:0;left:0;right:0;z-index:200}
.nav-bg{position:absolute;inset:0;height:52px;background:rgba(251,251,253,.92);
  border-bottom:1px solid rgba(0,0,0,0);transition:height .5s var(--ease),border-color .4s;z-index:-1}
.nav.scrolled .nav-bg{border-bottom-color:rgba(0,0,0,.08)}
.nav.open .nav-bg{height:var(--fly-h,52px);background:rgba(251,251,253,.9)}
.nav-inner{max-width:1024px;margin:0 auto;padding:0 22px;height:52px;display:flex;align-items:center;justify-content:space-between}
.logo-link{display:flex;align-items:center}
.logo-link img{height:26px;width:auto}
.nav-links{display:flex;gap:8px;align-items:center;height:52px}
/* language toggle — globe with a small dropdown (absolute: nothing shifts, nothing overlaps) */
.lang{position:relative;display:inline-flex;align-items:center;flex:none}
.lang-globe{width:32px;height:32px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink-3);cursor:pointer;
  transition:background .2s,color .2s,transform .3s cubic-bezier(.22,1,.36,1)}
.lang-globe:hover{background:rgba(0,0,0,.05);color:var(--ink)}
.lang-globe:active{transform:scale(.9)}
.lang.open .lang-globe{background:rgba(0,0,0,.07);color:var(--ink);transform:rotate(180deg)}
/* dropdown card, anchored under the globe and right-aligned to it */
.lang-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:60;
  display:flex;flex-direction:column;min-width:76px;padding:5px;
  background:rgba(251,251,253,.99);
  border:1px solid rgba(0,0,0,.06);border-radius:14px;
  box-shadow:0 14px 34px rgba(0,0,0,.14),0 2px 6px rgba(0,0,0,.05);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-6px) scale(.94);transform-origin:top right;
  transition:opacity .24s ease,transform .34s cubic-bezier(.22,1,.36,1),visibility .24s}
.lang.open .lang-menu{opacity:1;visibility:visible;pointer-events:auto;
  transform:translateY(0) scale(1)}
.lang-menu a{display:flex;align-items:center;justify-content:space-between;
  font-size:13px;font-weight:500;color:var(--ink-2);
  padding:8px 11px;border-radius:9px;white-space:nowrap;line-height:1;
  transition:background .18s,color .18s}
.lang-menu a:hover{background:rgba(0,0,0,.05);color:var(--ink)}
.lang-menu a:active{background:rgba(0,0,0,.09);transform:scale(.96)}
.lang-menu a.on{color:var(--ink)}
.lang-menu a.on::after{content:"";width:5px;height:5px;border-radius:50%;background:var(--accent);margin-left:12px}
/* nav: globe at the far right */
.nav-inner .lang{margin-left:12px}
/* footer: globe far right, centered on the row; dropdown opens UPWARD */
.foot-lang{margin-left:auto}
.foot-lang .lang-globe{width:28px;height:28px}
.foot-lang .lang-menu{top:auto;bottom:calc(100% + 10px);
  transform:translateY(6px) scale(.94);transform-origin:bottom right}
.foot-lang.open .lang-menu{transform:translateY(0) scale(1)}
/* mobile sheet */
.sheet-lang{display:inline-flex;align-items:center;gap:2px;margin-top:20px;align-self:flex-start;
  background:var(--ghost);border-radius:980px;padding:3px}
.sheet-lang a{font-size:12px!important;font-weight:600;letter-spacing:.03em;color:var(--ink-3);
  padding:6px 14px;border-radius:980px;line-height:1;
  transform:none!important;opacity:1!important;
  transition:background .22s ease,color .22s ease,transform .18s ease}
.sheet-lang a.on{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.09)}
.sheet-lang a:active{transform:scale(.94)!important}
.nav-item{position:relative;height:52px;display:flex;align-items:center}
.nav-item>a,.nav-item>button{font-size:13px;color:var(--ink);opacity:.82;padding:6px 13px;border-radius:980px;transition:opacity .25s;letter-spacing:.005em}
.nav-item>a:hover,.nav-item>button:hover,.nav-item.active>button{opacity:1}
.flyout{position:absolute;top:52px;left:0;right:0;overflow:hidden;pointer-events:none}
.nav.open .flyout{pointer-events:auto}
.fly-panel{max-width:1024px;margin:0 auto;padding:32px 35px 42px;display:none;opacity:0;transform:translateY(-6px);
  transition:opacity .45s var(--ease-soft),transform .45s var(--ease);gap:64px;grid-auto-flow:column;justify-content:start}
.fly-panel.show{display:grid}
.fly-panel.in{opacity:1;transform:none}
.fly-panel .col h5{font-size:12px;font-weight:400;color:var(--ink-3);margin-bottom:14px;letter-spacing:.01em}
.fly-panel .col a{display:block;font-size:17px;font-weight:600;letter-spacing:-.015em;padding:5px 0;color:var(--ink);transition:color .2s}
.fly-panel .col a:hover{color:var(--accent)}
.fly-panel .col a.small{font-size:13px;font-weight:400;color:var(--ink-2)}
.fly-panel .col a.small:hover{color:var(--ink)}
.page-dim{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,.32);
  opacity:0;pointer-events:none;transition:opacity .5s var(--ease-soft)}
.page-dim.on{opacity:1}
.burger{display:none;width:40px;height:40px;position:relative}
.burger span{position:absolute;left:11px;right:11px;height:1.5px;background:var(--ink);transition:transform .4s var(--ease),top .4s var(--ease)}
.burger span:nth-child(1){top:16px}
.burger span:nth-child(2){top:23px}
.burger.x span:nth-child(1){top:19.5px;transform:rotate(45deg)}
.burger.x span:nth-child(2){top:19.5px;transform:rotate(-45deg)}
.sheet{position:fixed;inset:0;z-index:190;background:#fbfbfd;
  padding:110px 34px;display:flex;flex-direction:column;gap:20px;opacity:0;pointer-events:none;transition:opacity .4s var(--ease-soft)}
.sheet.on{opacity:1;pointer-events:auto}
.sheet a{font-size:28px;font-weight:600;letter-spacing:-.02em;opacity:0;transform:translateY(14px);
  transition:opacity .5s var(--ease-soft),transform .5s var(--ease)}
.sheet.on a{opacity:1;transform:none}
.sheet a:nth-child(2){transition-delay:.05s}.sheet a:nth-child(3){transition-delay:.1s}
.sheet a:nth-child(4){transition-delay:.15s}.sheet a:nth-child(5){transition-delay:.2s}.sheet a:nth-child(6){transition-delay:.25s}
.sheet-small{font-size:16px!important;font-weight:500!important;color:var(--ink-2)!important}
.sheet .btn-pill{align-self:flex-start;font-size:19px;padding:14px 30px;margin-top:12px}

/* ---- hero (home) ---- */
.hero{position:relative;height:100svh;min-height:680px;display:flex;align-items:flex-end;justify-content:center;
  text-align:center;overflow:hidden;background:#000}
.hero-img{position:absolute;inset:-6% 0;z-index:0;will-change:transform}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;
  transition:opacity 1.2s ease-in-out;will-change:opacity}
.hero-slide.on{opacity:.92}
.hero-scrim{position:absolute;inset:0;z-index:1;
  background:linear-gradient(rgba(0,0,0,.15) 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,.05) 55%,rgba(0,0,0,.7) 100%)}
.hero-copy{position:relative;z-index:2;color:#fff;padding:0 22px 15vh;will-change:transform,opacity}
.hero-copy h1{font-size:clamp(72px,13vw,148px);font-weight:700;letter-spacing:-.045em;line-height:.95}
.hero-copy .sub{margin-top:14px;font-size:clamp(21px,3vw,32px);font-weight:500;color:rgba(255,255,255,.92);letter-spacing:-.015em}
.hero-copy .cta-row{margin-top:34px;display:flex;gap:28px;justify-content:center;align-items:center;flex-wrap:wrap}
.hero-copy .btn-text{color:#fff}
/* sequential hero reveal */
@keyframes heroIn{from{opacity:0;transform:translateY(26px);filter:blur(6px)}to{opacity:1;transform:translateY(0);filter:blur(0)}}
.hero-in{opacity:0;animation:heroIn 1s cubic-bezier(.22,1,.36,1) forwards;animation-delay:var(--d,0s)}
.hero-hint{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:2;color:rgba(255,255,255,.75);
  animation:hint 2.6s var(--ease-soft) infinite}
.hero-hint:hover{color:#fff}
@keyframes hint{0%,100%{transform:translate(-50%,0);opacity:.75}50%{transform:translate(-50%,7px);opacity:.4}}

/* ---- generic sections ---- */
section{padding:150px 22px}
section.band-dark{background:#000;color:var(--on-dark)}
.band-dark .sec-label{color:var(--on-dark-2)}
.band-dark .sec-head h2{color:#fff}
.band-dark .sec-head .dim{color:#6e6e73}
.band-dark .sec-sub{color:var(--on-dark-2)}
.despre:not(.band-dark){background:var(--canvas)}
.despre .lede{max-width:840px}
.despre .actions{margin-top:36px;display:flex;gap:36px;flex-wrap:wrap}

/* ---- bento ---- */
.tratamente{background:var(--section)}

.tratamente .intro{text-align:center;color:var(--ink-2);font-size:19px;max-width:560px;margin:0 auto 58px}
.bento{display:grid;gap:14px;grid-template-columns:repeat(6,1fr)}
.tile{background:#fff;border-radius:var(--radius-m);padding:30px 30px 28px;grid-column:span 2;text-align:left;
  display:flex;flex-direction:column;gap:16px;min-height:224px;transition:transform .5s var(--ease),box-shadow .5s var(--ease);position:relative}
.tile:hover{transform:translateY(-5px);box-shadow:0 24px 48px rgba(0,0,0,.08)}
.tile.wide{grid-column:span 3}
.art{position:relative}
.art svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.art .ghost{stroke:var(--ghost)}
.art .ink{stroke:var(--ink);stroke-dasharray:1;stroke-dashoffset:1}
.tile .art{width:56px;height:56px;flex:none}
.tile .art .ink{transition:stroke-dashoffset 1.1s var(--ease-soft)}
.tile:hover .art .ink{stroke-dashoffset:0}
.tile .txt{margin-top:auto}
.tile h3{font-size:22px;font-weight:600;letter-spacing:-.015em;margin-bottom:5px}
.tile p{font-size:15px;color:var(--ink-2);line-height:1.45}
.tile .go{position:absolute;top:24px;right:24px;width:28px;height:28px;border-radius:50%;background:var(--section);color:var(--ink-2);
  display:flex;align-items:center;justify-content:center;font-size:15px;transition:background .25s,color .25s,transform .4s var(--ease)}
.tile:hover .go{background:var(--accent);color:#fff;transform:rotate(90deg)}
@media(max-width:900px){.tile,.tile.wide{grid-column:span 3}}
@media(max-width:620px){.tile,.tile.wide{grid-column:span 6;min-height:0}}

/* ---- modal ---- */
.modal-veil{position:fixed;inset:0;z-index:300;background:rgba(15,15,17,.75);
  display:flex;align-items:center;justify-content:center;padding:22px;opacity:0;pointer-events:none;transition:opacity .45s var(--ease-soft)}
.modal-veil.on{opacity:1;pointer-events:auto}
.modal{background:var(--canvas);border-radius:var(--radius-l);max-width:660px;width:100%;max-height:86svh;overflow:auto;
  padding:56px 54px 48px;position:relative;transform:scale(.94) translateY(14px);transition:transform .5s var(--ease)}
.modal-veil.on .modal{transform:none}
.modal .art{width:88px;height:88px;margin-bottom:26px}
.modal .art .ink{stroke-dashoffset:1}
.modal-veil.on .modal .art .ink{transition:stroke-dashoffset 1.4s .15s var(--ease-soft);stroke-dashoffset:0}
.modal h3{font-size:34px;font-weight:700;letter-spacing:-.022em;margin-bottom:6px}
.modal .tag{font-size:19px;color:var(--ink-2);margin-bottom:22px}
.modal .desc{font-size:17px;line-height:1.6;color:var(--ink);margin-bottom:34px}
.modal .cta-row{display:flex;gap:26px;align-items:center;flex-wrap:wrap}
.modal .close{position:absolute;top:20px;right:20px;width:34px;height:34px;border-radius:50%;background:var(--section);color:var(--ink-2);
  font-size:15px;display:flex;align-items:center;justify-content:center;transition:background .2s,color .2s}
.modal .close:hover{background:var(--ghost);color:var(--ink)}
@media(max-width:560px){.modal{padding:44px 30px 38px}}

/* ---- before/after ---- */
.rezultate{background:var(--canvas)}
.rezultate .seg-wrap{text-align:center}

.rezultate .intro{color:var(--ink-2);font-size:19px;margin-bottom:54px}
.ba{position:relative;max-width:880px;margin:0 auto;border-radius:var(--radius-l);overflow:hidden;aspect-ratio:16/9;background:#e9e9ee;
  user-select:none;-webkit-user-select:none;touch-action:none;cursor:ew-resize}
.ba img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.ba .after-wrap{position:absolute;inset:0;overflow:hidden;clip-path:inset(0 0 0 50%)}
.ba .divider{position:absolute;top:0;bottom:0;left:50%;width:2px;background:#fff;box-shadow:0 0 12px rgba(0,0,0,.25);transform:translateX(-1px)}
.ba .handle{position:absolute;top:50%;left:50%;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.92);
  transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;
  font-size:14px;color:var(--ink);box-shadow:0 4px 16px rgba(0,0,0,.2);letter-spacing:-2px}
.ba-legend{display:flex;justify-content:space-between;margin:22px auto 0;max-width:880px}
.ba-btn{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:500;color:var(--ink);
  background:var(--section);padding:10px 20px;border-radius:980px}
.ba-dot{width:10px;height:10px;border-radius:50%;background:var(--ink-3)}
.ba-dot.after{background:var(--accent)}
.ba-caption{margin-top:22px;font-size:15px;color:var(--ink-2)}

/* ---- testimonials ---- */
.testimoniale{background:var(--section)}

.t-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.t-card{background:#fff;border-radius:var(--radius-m);padding:38px 36px;display:flex;flex-direction:column;gap:22px}
.t-card blockquote{font-size:19px;font-weight:500;letter-spacing:-.01em;line-height:1.45}
.t-card cite{font-style:normal;font-size:15px;color:var(--ink-2)}
.stars{color:var(--ink);font-size:13px;letter-spacing:2px}
@media(max-width:720px){.t-grid{grid-template-columns:1fr}}

/* ---- jurnal teaser (home) ---- */
.jurnal-teaser{background:var(--canvas)}

.jurnal-teaser p{font-size:19px;color:var(--ink-2);margin:18px 0 26px;line-height:1.5}
.jurnal-teaser .mark{aspect-ratio:1;border-radius:var(--radius-l);background:var(--section);display:flex;align-items:center;justify-content:center;
  font-size:clamp(80px,10vw,140px);font-weight:700;letter-spacing:-.04em;color:var(--hairline)}
@media(max-width:820px){.jt-grid .mark{display:none}}

/* ---- contact ---- */
.contact{background:#000;color:#f5f5f7}
.contact h2{color:#fff}

.contact .tel{display:block;font-size:clamp(28px,5vw,44px);font-weight:700;letter-spacing:-.02em;color:#fff;margin-bottom:8px;transition:color .25s}
.contact .tel:hover{color:var(--accent)}
.contact .mail{color:#a1a1a6;font-size:17px}
.contact .mail:hover{color:#fff}
.contact .addr{margin-top:44px;font-size:15px;color:#a1a1a6;line-height:1.6}
.contact .addr a{color:#f5f5f7;border-bottom:1px solid #48484a}
.contact .addr a:hover{border-bottom-color:#fff}
footer{background:var(--section);border-top:1px solid var(--hairline);padding:64px 22px 28px}
.foot-wrap{max-width:1024px;margin:0 auto}
.foot-cols{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:40px;padding-bottom:44px}
.foot-col h5{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
.foot-col a{display:block;font-size:13px;color:var(--ink-2);padding:4px 0;transition:color .2s}
.foot-col a:hover{color:var(--ink)}
.foot-note{display:block;font-size:13px;color:var(--ink-3);padding:4px 0}
.foot-logo{height:24px;width:auto;margin-bottom:16px}
.foot-tag{font-size:13px;color:var(--ink-3);line-height:1.6}
.foot-bar{border-top:1px solid var(--hairline);padding-top:22px;display:flex;justify-content:space-between;
  align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--ink-3)}
.foot-legal{display:flex;gap:22px;align-items:center;flex:1;justify-content:flex-end}
.foot-legal a:hover{color:var(--ink)}
.foot-bl{font-weight:300;font-size:12px;letter-spacing:.02em;
  color:var(--ink-3)}
@media(max-width:860px){.foot-cols{grid-template-columns:repeat(2,1fr)}.foot-col.brand{grid-column:span 2}}
@media(max-width:640px){
  footer{padding:56px 22px 30px}
  .foot-cols{grid-template-columns:1fr 1fr;gap:34px 20px}
  .foot-col.brand{grid-column:span 2;margin-bottom:4px}
  .foot-bar{flex-direction:column;align-items:stretch;gap:18px;padding-top:26px}
  .foot-bar>span{order:2;font-size:11.5px;color:var(--ink-3)}
  .foot-legal{order:1;width:100%;flex:none;justify-content:flex-start;
    align-items:center;gap:18px;flex-wrap:nowrap}
  .foot-legal a{font-size:12.5px}
  .foot-bl{font-size:11.5px}
  .foot-lang{margin-left:auto}
}

/* ---- clinic carousel ---- */
.caro-wrap{position:relative}
.caro{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
  border-radius:var(--radius-l);padding-bottom:4px}
.caro::-webkit-scrollbar{display:none}
.caro .slide{flex:0 0 min(860px,86%);aspect-ratio:16/10;border-radius:var(--radius-l);overflow:hidden;
  scroll-snap-align:start;background:var(--section)}
.caro .slide img{width:100%;height:100%;object-fit:cover}
.caro .slide.ph{display:flex;align-items:center;justify-content:center;color:var(--ink-3);
  font-size:13px;letter-spacing:.06em;text-transform:uppercase;border:1px dashed var(--hairline)}
.caro-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:16px}
.rail-btn{width:38px;height:38px;border-radius:50%;background:#fff;color:var(--ink-2);font-size:19px;
  display:flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(0,0,0,.1);
  transition:background .2s,color .2s}
.rail-btn:hover{background:var(--accent);color:#fff}

/* ---- subpage header ---- *//* ---- subpage header ---- */
.page-head{padding:170px 22px 90px;text-align:center;background:linear-gradient(#fff,var(--canvas))}
.page-head .art{width:96px;height:96px;margin:0 auto 30px}
.page-head .art .ink{transition:stroke-dashoffset 1.6s .3s var(--ease-soft)}
body.loaded .page-head .art .ink{stroke-dashoffset:0}
.page-head h1{font-size:clamp(52px,8vw,92px);font-weight:700;letter-spacing:-.035em;line-height:1.0}
.page-head .sub{margin-top:14px;font-size:clamp(19px,2.4vw,24px);color:var(--ink-2);letter-spacing:-.01em;max-width:640px;margin-left:auto;margin-right:auto}
.page-head .cta-row{margin-top:32px;display:flex;gap:26px;justify-content:center;align-items:center;flex-wrap:wrap}

/* ---- treatment page ---- */
.t-lede{background:var(--canvas);padding-top:20px}
.t-lede .lede{max-width:840px;margin:0 auto;text-align:center}
.steps{background:var(--section)}

.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.step{background:#fff;border-radius:var(--radius-m);padding:36px 32px}
.step .n{font-size:14px;font-weight:600;color:var(--ink-3);letter-spacing:.06em;margin-bottom:16px;display:block}
.step h3{font-size:21px;font-weight:600;letter-spacing:-.015em;margin-bottom:10px}
.step p{font-size:15px;color:var(--ink-2);line-height:1.5}
@media(max-width:760px){.steps-grid{grid-template-columns:1fr}}
.related{background:var(--canvas)}


/* ---- team ---- */
.team{background:var(--section)}
.team+.team{padding-top:0}
.group-title{font-size:clamp(28px,3.6vw,38px);margin-bottom:44px}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.person{background:#fff;border-radius:var(--radius-m);overflow:hidden;text-align:center;padding-bottom:32px}
.person .photo{aspect-ratio:1;background:var(--ghost);margin-bottom:26px;overflow:hidden}
.person .photo img{width:100%;height:100%;object-fit:cover;transition:transform .8s var(--ease)}
.person:hover .photo img{transform:scale(1.04)}
.person .photo.initials{display:flex;align-items:center;justify-content:center;
  font-size:44px;font-weight:700;color:var(--hairline);letter-spacing:-.03em}
.person h3{font-size:21px;font-weight:600;letter-spacing:-.015em;padding:0 20px}
.person p{font-size:14px;color:var(--ink-2);margin-top:4px;padding:0 24px;line-height:1.45}
@media(max-width:760px){.team-grid{grid-template-columns:1fr}}
.note-band{background:var(--canvas);text-align:center}
.note-band p{font-size:17px;color:var(--ink-2);max-width:560px;margin:0 auto}

/* ---- clinic ---- */
.values{background:var(--section)}

.v-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.v-card{background:#fff;border-radius:var(--radius-m);padding:36px 32px}
.v-card h3{font-size:21px;font-weight:600;letter-spacing:-.015em;margin-bottom:10px}
.v-card p{font-size:15px;color:var(--ink-2);line-height:1.5}
@media(max-width:760px){.v-grid{grid-template-columns:1fr}}
.gallery{background:var(--canvas)}
.g-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.g-frame{aspect-ratio:4/3;border-radius:var(--radius-m);background:var(--section);display:flex;align-items:center;justify-content:center;
  color:var(--ink-3);font-size:14px;letter-spacing:.04em;overflow:hidden}
.g-frame img{width:100%;height:100%;object-fit:cover}
.g-frame.wide{grid-column:span 2;aspect-ratio:21/9}
.g-caption{text-align:center;margin-top:22px;font-size:15px;color:var(--ink-2)}
@media(max-width:620px){.g-grid{grid-template-columns:1fr}.g-frame.wide{grid-column:span 1;aspect-ratio:4/3}}
.schedule{background:var(--section)}
.schedule .rows{max-width:480px}
.schedule .row{display:flex;justify-content:space-between;padding:16px 4px;border-bottom:1px solid var(--hairline);font-size:17px}
.schedule .row span:last-child{color:var(--ink-2)}

/* ---- article (editorial, left) ---- */
.art-page{max-width:720px;margin:0 auto;padding:150px 22px 40px}
.art-head{margin-bottom:52px;padding-bottom:40px;border-bottom:1px solid var(--hairline)}
.art-back{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;
  color:var(--accent);margin-bottom:26px}
.art-back::before{content:"‹ "}
.art-head h1{font-size:clamp(34px,4.6vw,52px);font-weight:700;letter-spacing:-.028em;line-height:1.08;text-align:left}
.art-deck{margin-top:20px;font-size:clamp(19px,2.2vw,23px);line-height:1.5;color:var(--ink-2);font-weight:400;text-align:left}
.art-page .prose{max-width:none}
.art-page .prose p{font-size:19px;line-height:1.7;color:var(--ink);margin-bottom:26px}
.art-page .prose p:first-child{font-size:21px;color:var(--ink);font-weight:450}
@media(max-width:820px){.art-page{padding:120px 22px 30px}.art-head{margin-bottom:38px;padding-bottom:30px}}

/* ---- jurnal ---- */
.posts{background:var(--section)}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.post-card{background:#fff;border-radius:var(--radius-m);padding:36px 32px;display:flex;flex-direction:column;gap:14px;
  transition:transform .5s var(--ease),box-shadow .5s var(--ease)}
.post-card:hover{transform:translateY(-5px);box-shadow:0 24px 48px rgba(0,0,0,.08)}
.post-card h3{font-size:22px;font-weight:600;letter-spacing:-.018em;line-height:1.2}
.post-card p{font-size:15px;color:var(--ink-2);line-height:1.5}
.post-card .more{margin-top:auto;color:var(--accent);font-size:15px}
.post-card .more::after{content:" ›"}
@media(max-width:760px){.post-grid{grid-template-columns:1fr}}
.article{background:var(--canvas);padding-top:40px}
.article .prose{max-width:680px;margin:0 auto}
.article .prose p{font-size:19px;line-height:1.65;color:var(--ink);margin-bottom:28px}
.article .prose p:first-child{font-size:22px;font-weight:500;letter-spacing:-.01em}
.article .back{display:inline-block;margin-bottom:40px;font-size:15px;color:var(--accent)}
.article .back::before{content:"‹ "}

/* ---- plus button ---- */
.plus{position:absolute;top:22px;right:22px;width:30px;height:30px;border-radius:50%;
  background:var(--section);display:flex;align-items:center;justify-content:center;flex:none;z-index:2}
.plus::before,.plus::after{content:"";position:absolute;background:var(--ink-2);border-radius:2px;
  transition:transform .45s var(--ease),background .25s}
.plus::before{width:12px;height:1.6px}
.plus::after{width:1.6px;height:12px}
.card:hover .plus,.tile:hover .plus,.person.has-bio:hover .plus{background:var(--ghost)}
.plus.x::before{transform:rotate(45deg)}
.plus.x::after{transform:rotate(45deg)}
.card.active .plus::before,.card.active .plus::after{transform:rotate(45deg);background:var(--ink)}

/* ---- tratamente filter ---- */
.t-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:36px}
.t-fpill{font-size:14px;font-weight:500;color:var(--ink-2);padding:9px 18px;border-radius:980px;
  background:var(--section);transition:background .28s,color .28s,transform .3s var(--ease)}
.t-fpill:hover{color:var(--ink);background:var(--ghost)}
.t-fpill.on{background:var(--ink);color:#fff}
.tc.hide{display:none}

/* ---- tratamente carousel (iMac grammar) ---- */
.t-caro-wrap{margin-top:8px;position:relative;
  width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.t-caro{display:flex;gap:22px;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;scrollbar-width:none;
  padding:64px max(22px,calc(50vw - 520px)) 72px}
.t-caro::-webkit-scrollbar{display:none}
.tc{position:relative;flex:0 0 min(500px,84vw);height:580px;border-radius:32px;
  padding:44px 40px;text-align:left;scroll-snap-align:center;overflow:hidden;
  display:flex;flex-direction:column;
  box-shadow:0 2px 1px rgba(0,0,0,.03),0 18px 40px rgba(0,0,0,.08);
  transition:transform .6s var(--ease),box-shadow .6s var(--ease)}
.tc:hover{transform:translateY(-6px);box-shadow:0 26px 50px rgba(0,0,0,.13)}
.tc-txt h3{font-size:32px;font-weight:700;letter-spacing:-.024em;margin-bottom:10px;padding-right:64px}
.tc-txt p{font-size:16px;color:var(--ink-2);line-height:1.45;max-width:340px}
.tc-draw{margin-top:auto;display:flex;justify-content:center;align-items:flex-end}
.tc-draw img{max-width:88%;max-height:300px;object-fit:contain;transition:transform .8s var(--ease)}
.tc:hover .tc-draw img{transform:scale(1.04) translateY(-4px)}
.tc-art{margin:auto auto 20px;width:150px;height:150px;position:relative}
.tc .art .ink{transition:stroke-dashoffset 1.1s var(--ease-soft)}
.tc:hover .art .ink{stroke-dashoffset:0}
.caro-nav{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}
.wrap-pad{max-width:1040px;margin-left:auto;margin-right:auto;padding:0 22px}
@media(max-width:620px){.tc{height:500px;padding:32px 28px}.tc-txt h3{font-size:26px}}

/* ---- why us: the hovered card comes forward ---- */
#de-ce-noi .w-card,#de-ce-noi .t-card{
  box-shadow:0 30px 60px rgba(0,0,0,.5);
  transition:transform .55s var(--ease)}
#de-ce-noi .bento.focusing>.focus{transform:translateY(-3px)}
@media(hover:none){#de-ce-noi .bento.focusing>*{filter:none!important;opacity:1!important}}

/* ---- modal media + steps ---- *//* ---- modal media + steps ---- *//* ---- modal media + steps ---- */
.m-media{margin-bottom:22px}
.m-media img{max-height:200px;max-width:100%;object-fit:contain;border-radius:var(--radius-m);display:block}
.m-media .art{width:88px;height:88px}
.m-about p{font-size:16px;line-height:1.6;color:var(--ink);margin-bottom:16px}
.m-benefits-label{font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--ink-3);margin-top:34px}
.m-rows{margin:16px 0 38px;display:grid;gap:12px}
.m-benefit{background:var(--section);border-radius:16px;padding:24px 26px}
.m-benefit b{display:block;font-size:17px;letter-spacing:-.01em;margin-bottom:6px;color:var(--ink)}
.m-benefit p{color:var(--ink-2);font-size:15px;line-height:1.5}
.modal .close{font-size:0}

/* ---- page overlay (team / clinic) ---- */
.page-overlay{position:fixed;inset:0;z-index:9999;background:rgba(15,15,17,.82);
  opacity:0;pointer-events:none;transition:opacity .4s var(--ease-soft);
  display:flex;align-items:flex-start;justify-content:center;overflow-y:auto;padding:5vh 20px}
.page-overlay.on{opacity:1;pointer-events:auto}
.po-inner{position:relative;background:var(--canvas);border-radius:28px;max-width:1000px;width:100%;
  margin:0 auto;padding:64px 56px 72px;box-shadow:0 40px 100px rgba(0,0,0,.4);
  transform:translateY(24px) scale(.985);transition:transform .55s var(--ease)}
.page-overlay.on .po-inner{transform:none}
.po-inner .close{position:absolute;top:24px;right:24px;background:var(--section)}
.po-inner .close:hover{background:var(--ghost)}
.po-head{margin-bottom:48px}
.po-label{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-bottom:14px}
.po-head h2{font-size:clamp(32px,4.4vw,48px);font-weight:700;letter-spacing:-.028em;line-height:1.05}
.po-head p{margin-top:16px;font-size:19px;line-height:1.5;color:var(--ink-2);max-width:600px}
.po-group{margin-bottom:44px}
.po-group h3{font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-3);
  margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid var(--hairline)}
.po-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.po-person{background:var(--section);border-radius:18px;overflow:hidden;text-align:center;padding-bottom:22px;
  transition:transform .4s var(--ease)}
.po-person:hover{transform:translateY(-3px)}
.po-photo{aspect-ratio:1;background:var(--ghost);overflow:hidden;display:flex;align-items:center;justify-content:center}
.po-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.po-initials{font-size:34px;font-weight:600;color:var(--ink-3);letter-spacing:.02em}
.po-person h4{font-size:16px;font-weight:600;letter-spacing:-.01em;margin:18px 14px 4px}
.po-person p{font-size:12.5px;color:var(--ink-2);line-height:1.4;padding:0 14px}
.po-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.po-slide{aspect-ratio:16/9;border-radius:18px;overflow:hidden;background:var(--section)}
.po-slide img{width:100%;height:100%;object-fit:cover}
.po-slide.ph{display:flex;align-items:center;justify-content:center;color:var(--ink-3);font-size:12px;
  letter-spacing:.06em;text-transform:uppercase;border:1px dashed var(--hairline)}
.po-cta{margin-top:40px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}
@media(max-width:820px){
  .po-inner{padding:52px 24px 56px;border-radius:22px}
  .po-grid{grid-template-columns:repeat(2,1fr)}
  .po-gallery{grid-template-columns:1fr}
}

#pVeil{z-index:10000}
.po-clickable{cursor:pointer}
.po-plus{position:absolute;top:14px;right:14px;width:28px;height:28px;border-radius:50%;
  background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);z-index:2}
.po-plus::before,.po-plus::after{content:"";position:absolute;top:50%;left:50%;background:var(--ink-2);
  border-radius:2px;transform:translate(-50%,-50%)}
.po-plus::before{width:11px;height:1.6px}
.po-plus::after{width:1.6px;height:11px}
.po-person{position:relative}
.po-clickable:hover .po-plus{background:var(--accent)}
.po-clickable:hover .po-plus::before,.po-clickable:hover .po-plus::after{background:#fff}
/* ---- person modal ---- */
.p-modal{max-width:720px}
.p-photo{width:132px;height:132px;border-radius:50%;overflow:hidden;margin-bottom:24px;background:var(--ghost)}
.p-photo img{width:100%;height:100%;object-fit:cover}
.p-bio p{font-size:16px;line-height:1.6;color:var(--ink);margin-bottom:18px}
.person.has-bio{position:relative;cursor:pointer;font:inherit;color:inherit;width:100%}
.person.has-bio .plus{top:18px;right:18px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.06)}

/* ---- case selector ---- */
.seg{display:inline-flex;gap:4px;background:var(--section);border-radius:980px;padding:4px;margin-bottom:34px}
.seg button{font-size:14px;padding:7px 18px;border-radius:980px;color:var(--ink-2);transition:background .3s,color .3s}
.seg button.on{background:#fff;color:var(--ink);box-shadow:0 1px 4px rgba(0,0,0,.08)}

/* ---- drawings on pages ---- */
.draw-head{height:200px;display:flex;align-items:center;justify-content:center;margin-bottom:26px}
.draw-head img{max-height:100%;max-width:320px;object-fit:contain}
/* ---- treatment hero: drawing + color wash fading to white ---- */
.t-hero{position:relative;padding:200px 22px 110px;text-align:center;overflow:hidden;
  background:var(--tint-top);
  display:flex;flex-direction:column;align-items:center}
.t-hero-wash{position:absolute;inset:0;z-index:0;
  background:linear-gradient(180deg,var(--tint-top) 0%,var(--tint-bot) 42%,var(--canvas) 90%)}
/* the drawing as an elegant rounded graphic logo with breathing room */
/* the drawing as a rounded graphic logo — no frame, just the drawing */
.t-hero-draw{position:relative;z-index:2;
  width:220px;margin:0 auto 72px;
  display:flex;align-items:center;justify-content:center;pointer-events:none}
.t-hero-draw img{width:100%;height:auto;object-fit:contain;
  border-radius:24px;
  filter:drop-shadow(0 22px 44px rgba(0,0,0,.10))}
.t-hero-content{position:relative;z-index:2}
.t-hero-content .eyebrow{margin-bottom:16px}
.t-hero-content h1{margin-top:4px}
@media(max-width:820px){
  .t-hero{padding:150px 22px 80px}
  .t-hero-draw{width:180px;margin-bottom:56px}
}
.tile .draw.sm{width:132px;height:132px;flex:none;display:flex;align-items:center;justify-content:center;
  padding:16px;border-radius:26px;
  box-shadow:0 14px 30px rgba(0,0,0,.07),0 3px 8px rgba(0,0,0,.04)}
.tile .draw.sm img{max-width:100%;max-height:100%;object-fit:contain;border-radius:14px}
.tile{flex-direction:row;align-items:center;gap:24px}
.tile .txt{margin:0}
.page-head .art.book{width:110px;height:110px;margin:0 auto 26px}
.page-head .art.book img{width:100%;height:100%;object-fit:contain}
.jurnal-teaser .mark img{width:46%;height:46%;object-fit:contain;opacity:.9}

/* ---- hero arrow ---- */
.hero-hint{display:flex;color:rgba(255,255,255,.85)}
.hero-hint:hover{color:#fff}

/* ---- dynamic island (bottom, light) ---- */
/* ═══════════ DYNAMIC ISLAND — rebuilt, Apple-grade ═══════════ */
.island{position:fixed;left:50%;bottom:22px;z-index:220;
  transform:translate(-50%,120px);opacity:0;pointer-events:none;
  background:rgba(251,251,253,.98);
  border:1px solid rgba(0,0,0,.05);border-radius:100px;
  box-shadow:0 12px 40px rgba(0,0,0,.14),0 2px 8px rgba(0,0,0,.06);
  height:60px;max-width:calc(100vw - 24px);
  transition:transform .55s cubic-bezier(.22,1,.36,1),
             opacity .4s ease,
             width .55s cubic-bezier(.32,1.4,.4,1),
             box-shadow .4s ease}
.island.show{transform:translate(-50%,0);opacity:1;pointer-events:auto}
/* collapsed = a 60px circle (height is fixed, so radius already rounds it fully) */
.island.collapsed{width:60px;box-shadow:0 8px 24px rgba(0,0,0,.12),0 2px 6px rgba(0,0,0,.05)}
.island.collapsed:hover{box-shadow:0 12px 32px rgba(0,0,0,.16),0 2px 8px rgba(0,0,0,.06)}
/* the + trigger */
.isl-trigger{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  cursor:pointer;z-index:3;
  opacity:0;pointer-events:none;transform:scale(.7);
  transition:opacity .26s ease,transform .45s cubic-bezier(.22,1,.36,1)}
.island.collapsed .isl-trigger{opacity:1;pointer-events:auto;transform:scale(1);transition-delay:.12s}
.isl-plus{position:relative;width:17px;height:17px;display:block}
.isl-plus::before,.isl-plus::after{content:"";position:absolute;top:50%;left:50%;background:var(--ink);border-radius:2px;
  transition:transform .5s cubic-bezier(.22,1,.36,1)}
.isl-plus::before{width:16px;height:1.9px;transform:translate(-50%,-50%)}
.isl-plus::after{width:1.9px;height:16px;transform:translate(-50%,-50%)}
/* the plus spins into place as the island closes / opens */
.island:not(.collapsed) .isl-plus::before{transform:translate(-50%,-50%) rotate(90deg)}
.island:not(.collapsed) .isl-plus::after{transform:translate(-50%,-50%) rotate(90deg)}
.island.collapsed:active{transform:translate(-50%,0) scale(.94)}
/* the track holds states; only the active one occupies space so width fits it exactly */
.isl-track{position:relative;display:flex;border-radius:100px;overflow:hidden;
  opacity:1;transition:opacity .3s ease .1s}
.island.collapsed .isl-track{opacity:0;pointer-events:none;transition:opacity .18s ease}
.isl-state{display:flex;align-items:center;gap:6px;padding:6px;
  opacity:0;visibility:hidden;pointer-events:none;
  position:absolute;top:0;left:0;
  transition:opacity .26s ease,visibility .26s ease}
.isl-state.is-on{opacity:1;visibility:visible;pointer-events:auto;position:relative}
/* round icon buttons */
.isl-ico{width:48px;height:48px;border-radius:50%;flex:none;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink);background:rgba(0,0,0,.045);cursor:pointer;
  transition:background .2s}
.isl-ico:hover{background:rgba(0,0,0,.09)}
/* primary pill */
.isl-pill{height:48px;padding:0 24px;border-radius:100px;flex:none;
  display:flex;align-items:center;justify-content:center;white-space:nowrap;
  background:var(--accent);color:#fff;font-size:15px;font-weight:500;letter-spacing:-.01em;
  cursor:pointer;transition:background .2s,color .2s,transform .2s,box-shadow .2s}
.isl-pill:hover{background:var(--accent-hover);
  box-shadow:inset 0 2px 6px rgba(0,0,0,.22)}
.isl-pill:active{transform:scale(.97)}
/* text link */
.isl-link{height:48px;padding:0 22px;border-radius:100px;flex:none;
  display:flex;align-items:center;justify-content:center;white-space:nowrap;
  color:var(--ink);font-size:15px;font-weight:500;letter-spacing:-.01em;
  transition:background .2s}
.isl-link:hover{background:rgba(0,0,0,.05)}
/* search field — inset well */
.st-search{width:min(360px,calc(100vw - 24px))}
.st-search input{flex:1;min-width:0;height:48px;border:0;outline:0;
  font:inherit;font-size:16px;color:var(--ink);padding:0 18px;border-radius:100px;
  -webkit-appearance:none;appearance:none;
  background:rgba(0,0,0,.045);
  box-shadow:inset 0 2px 5px rgba(0,0,0,.09);
  transition:box-shadow .2s,background .2s}
.st-search input:focus{background:rgba(0,0,0,.06);
  box-shadow:inset 0 2px 7px rgba(0,0,0,.13)}
.st-search input::placeholder{color:var(--ink-3)}
/* results dropdown */
.isl-results{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translate(-50%,10px);z-index:5;
  width:min(400px,calc(100vw - 24px));
  background:rgba(251,251,253,.99);
  border:1px solid rgba(0,0,0,.06);border-radius:22px;box-shadow:0 20px 60px rgba(0,0,0,.18);
  overflow:hidden;opacity:0;pointer-events:none;
  transition:opacity .28s ease,transform .32s cubic-bezier(.22,1,.36,1)}
.isl-results.has{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.isl-results a{display:block;padding:14px 20px;font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--ink);
  border-bottom:1px solid rgba(0,0,0,.05);transition:background .2s}
.isl-results a:last-child{border-bottom:0}
.isl-results a:hover{background:rgba(0,0,0,.04)}
.isl-results a:active{background:rgba(0,0,0,.07)}
.isl-results a span{display:block;font-weight:400;font-size:12px;color:var(--ink-3);margin-top:2px}
@media(max-width:640px){
  .island{bottom:16px;border-radius:96px}
  .isl-ico{width:46px;height:46px}
  .isl-pill,.isl-link{height:46px}
  .isl-pill{padding:0 20px;font-size:14px}
  .isl-link{padding:0 18px;font-size:14px}
  .st-search input{height:46px;font-size:16px}   /* 16px = no iOS zoom on focus */
}

/* ═══════════ MICRO-INTERACTIONS — press feedback, no tap flash ═══════════ */
a,button,input,.tc,.tile,.person,.dv-pill,.t-fpill,.rail-btn,.post-card{
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
/* pills & buttons: subtle squeeze on press */
.btn-pill{transition:background .25s ease,color .25s ease,transform .18s cubic-bezier(.22,1,.36,1),box-shadow .25s ease}
.btn-pill:active{transform:scale(.96)}
.btn-pill.large:active{transform:scale(.97)}
.btn-text{transition:color .22s ease,transform .18s ease,opacity .22s ease}
.btn-text:active{transform:scale(.97);opacity:.75}
/* island controls */
.isl-ico{transition:background .22s ease,color .22s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.isl-ico:active{transform:scale(.9)}
.isl-pill{transition:background .25s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.isl-pill:active{transform:scale(.95)}
.isl-link{transition:color .22s ease,background .22s ease,transform .18s ease}
.isl-link:active{transform:scale(.95)}
/* filter pills & tabs */
.t-fpill{transition:background .26s ease,color .26s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.t-fpill:active{transform:scale(.94)}
.dv-pill{transition:background .26s ease,color .26s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.dv-pill:active{transform:scale(.94)}
.rail-btn{transition:background .22s ease,color .22s ease,transform .18s ease,opacity .22s ease}
.rail-btn:active{transform:scale(.9)}
/* cards: lift on hover, settle on press */
.tc{transition:transform .5s cubic-bezier(.22,1,.36,1),box-shadow .5s ease}
.tc:hover{transform:translateY(-6px)}
.tc:active{transform:translateY(-2px) scale(.985)}
.tile{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease,background .3s ease}
.tile:hover{transform:translateY(-4px)}
.tile:active{transform:translateY(-1px) scale(.99)}
.post-card{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s ease}
.post-card:hover{transform:translateY(-4px)}
.post-card:active{transform:translateY(-1px) scale(.99)}
.person.has-bio{transition:transform .4s cubic-bezier(.22,1,.36,1),box-shadow .4s ease}
.person.has-bio:active{transform:scale(.98)}
/* nav & footer links: quick, quiet */
.nav-item>a,.nav-item>button{transition:opacity .22s ease,transform .16s ease}
.nav-item>a:active,.nav-item>button:active{transform:scale(.96)}
.foot-col a{transition:color .2s ease,transform .16s ease}
.foot-col a:active{transform:scale(.97)}
/* close buttons */
.close,.burger{transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .2s ease}
.close:active,.burger:active{transform:scale(.9)}
/* respect users who prefer less motion */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* ---- section heads: label / title / subtitle ---- */
.sec-head{margin-bottom:70px}
.sec-label{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-3);margin-bottom:16px}
.sec-head h2{font-size:clamp(40px,6vw,68px);font-weight:700;letter-spacing:-.03em;line-height:1.05;max-width:900px;color:var(--ink)}
.sec-head .dim{color:var(--ink-3);font-weight:700}
.sec-sub{margin-top:22px;font-size:21px;line-height:1.5;color:var(--ink-2);max-width:640px;font-weight:400}
.sec-head.dark h2{color:#fff}
.sec-head.dark .dim{color:#6e6e73}
.sec-head.dark .sec-label{color:#86868b}
.sec-head.dark .sec-sub{color:#a1a1a6}
.reveal.d1{transition-delay:.12s}
.reveal.d2{transition-delay:.24s}
.about-t{background:var(--canvas)}
.prose-2col{max-width:780px}
.prose-2col p{font-size:18px;line-height:1.65;color:var(--ink);margin-bottom:20px}

/* ---- despre: doctor vitrine (on dark) ---- */
.dvitrine{max-width:960px;margin:0 auto}
.dv-stage{position:relative;background:linear-gradient(160deg,#161618,#0c0c0d);border-radius:32px;
  border:1px solid rgba(255,255,255,.07);overflow:hidden;min-height:540px;display:grid}
.dv-photo{position:absolute;top:0;right:0;width:54%;height:100%;object-fit:cover;object-position:center top;
  opacity:0;transform:scale(1.05);transition:opacity .9s var(--ease-soft),transform 1.2s var(--ease)}
.dv-photo.on{opacity:1;transform:none}
.dv-stage.view-despre .dv-photo{opacity:.14;filter:grayscale(.4)}
.dv-scrim{position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,#0c0c0d 34%,rgba(12,12,13,.4) 52%,rgba(12,12,13,0) 68%)}
.dv-stage.view-despre .dv-scrim{background:linear-gradient(90deg,#0c0c0d 60%,rgba(12,12,13,.6) 100%)}
.dv-arrow{position:absolute;bottom:26px;right:26px;z-index:4;width:52px;height:52px;border-radius:50%;
  background:#1d1d1f;color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.3);
  transition:background .25s,transform .6s var(--ease),opacity .4s}
.dv-arrow:hover{background:#000}
.dv-arrow svg{transition:transform .6s var(--ease)}
.dv-arrow.flip svg{transform:rotate(180deg)}
.dv-arrow:active{transform:scale(.92)}
.dv-stage.view-despre .dv-arrow{opacity:0;pointer-events:none}
.dv-caption{position:relative;z-index:3;align-self:center;padding:60px 40px 60px 60px;max-width:520px;min-height:300px}
.dv-info{position:absolute;left:60px;right:40px;top:0;
  opacity:0;pointer-events:none;filter:blur(3px);
  transition:opacity .35s var(--ease-soft),filter .35s var(--ease-soft)}
.dv-info.on{opacity:1;pointer-events:auto;filter:blur(0);
  transition:opacity .6s var(--ease-soft) .28s,filter .6s var(--ease-soft) .28s}
.dv-kicker{display:inline-block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  color:var(--on-dark-2);margin-bottom:16px}
.dv-info h3{font-size:clamp(30px,3.6vw,42px);font-weight:700;letter-spacing:-.028em;color:#fff;line-height:1.03}
.dv-info>p{font-size:18px;color:#f5f5f7;margin-top:12px;font-weight:500;letter-spacing:-.01em}
.dv-note{display:block;font-size:15px;color:var(--on-dark-2);margin-top:16px;line-height:1.5;max-width:360px}
.dv-lede{font-size:clamp(19px,2.1vw,23px);line-height:1.55;color:#f5f5f7;font-weight:500;letter-spacing:-.012em;max-width:600px;margin-top:0!important}
.dv-more{margin-top:20px;display:inline-flex;align-items:center;gap:5px;
  font-size:14px;font-weight:500;color:#f5f5f7;background:none;padding:4px 0;transition:gap .3s var(--ease)}
.dv-more::after{content:"›";font-size:16px;line-height:1}
.dv-more:hover{gap:9px}
.dv-pills{display:flex;justify-content:center;gap:8px;margin-top:26px;flex-wrap:wrap}
.dv-pill{font-size:15px;font-weight:500;color:var(--on-dark-2);padding:11px 22px;border-radius:980px;
  background:rgba(255,255,255,.06);transition:background .3s,color .3s;cursor:pointer}
.dv-pill:hover{color:#fff;background:rgba(255,255,255,.12)}
.dv-pill.on{background:#f5f5f7;color:#1d1d1f}
@media(max-width:760px){
  .dv-stage{min-height:0;display:block}
  .dv-photo{position:relative;width:100%;height:400px;opacity:1;transform:none;
    object-position:center 25%;border-radius:24px 24px 0 0}
  .dv-photo:not(.on){display:none}
  .dv-scrim{display:none}
  .dv-arrow{bottom:auto;top:352px;right:18px;width:40px;height:40px}
  .dv-arrow svg{width:16px;height:16px}
  .dv-caption{position:relative;padding:28px 26px 34px;max-width:none;min-height:0}
  .dv-info{position:relative;left:0;right:0;top:0;transform:none!important;filter:none;display:none;opacity:1}
  .dv-info.on{display:block}
  .dv-info h3{font-size:28px}
  .dv-info>p{font-size:16px}
  .dv-stage.view-despre .dv-photo{display:none}
  .dv-stage.view-despre .dv-caption{padding-top:36px}
  .dv-pills{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:6px;margin-top:20px;
    padding:0 4px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .dv-pills::-webkit-scrollbar{display:none}
  .dv-pill{font-size:13.5px;padding:9px 16px;flex:none}
}

/* ---- why us (dark, floating glass) ---- */
.why{background:#000}
.why .bento{display:grid;gap:16px;grid-template-columns:repeat(6,1fr)}
.w-card{background:#1d1d1f;border-radius:22px;padding:40px 34px;grid-column:span 2;
  display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.06)}
.w-card.wide{grid-column:span 3}
.w-card h3{font-size:25px;font-weight:600;letter-spacing:-.02em;margin-bottom:12px;color:#fff}
.w-card p{font-size:15px;color:var(--on-dark-2);line-height:1.55}
.why .t-card{grid-column:span 2;margin:0;background:linear-gradient(160deg,#242426,#1a1a1c);
  border:1px solid rgba(255,255,255,.08);color:#fff;border-radius:22px;padding:40px 34px}
.why .t-card.wide{grid-column:span 3}
.why .t-card blockquote{color:#f5f5f7}
.why .t-card cite{color:var(--on-dark-2)}
.why .stars{color:#fff}
@media(max-width:900px){.w-card,.w-card.wide,.why .t-card,.why .t-card.wide{grid-column:span 6}}

/* ---- jurnal teaser grid ---- */
.jt-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
@media(max-width:820px){.jt-grid{grid-template-columns:1fr}}

/* ---- page transition ---- */
@keyframes pageIn{from{opacity:0}to{opacity:1}}
@keyframes pageOut{from{opacity:1}to{opacity:0}}
body{animation:pageIn .45s var(--ease) both}
body.leaving{animation:pageOut .3s var(--ease) both}
@media(prefers-reduced-motion:reduce){body,body.leaving{animation:none}}

/* ---- reveal / motion ---- *//* ---- reveal / motion ---- */
.js .stagger{opacity:0;transform:translateY(22px);
  transition:opacity .7s var(--ease-soft),transform .8s var(--ease);
  transition-delay:calc(var(--si) * 70ms)}
.js .lift>.stagger{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.js .stagger{opacity:1;transform:none;transition:none}}
.js .reveal{opacity:0;transform:translateY(26px);transition:opacity .9s var(--ease-soft),transform .9s var(--ease)}
.js .reveal.in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal,.sheet a{opacity:1;transform:none;transition:none}
  .tile,.tile:hover,.post-card,.post-card:hover,.card,.card:hover{transform:none}
  .hero-img{inset:0}
  .hero-hint{animation:none}
  .art .ink{stroke-dashoffset:0!important;transition:none!important}
}
@media(max-width:820px){.nav-links{display:none}.burger{display:block}section{padding:92px 22px}.page-head{padding:150px 22px 70px}}

/* ---- nav logo: hover shows the second state (black smile, the DD as a fine grey line) ---- */
.logo-link .dd-mark{height:26px;width:auto;display:block;overflow:visible}
.dd-mark .dd-line,.dd-mark .dd-smile,.dd-mark .dd-fill{transition:opacity .5s cubic-bezier(.4,0,.2,1)}
.dd-mark .dd-line,.dd-mark .dd-smile{opacity:0}
.logo-link:hover .dd-smile,.logo-link:focus-visible .dd-smile,
.logo-link:hover .dd-line,.logo-link:focus-visible .dd-line{opacity:1}
.logo-link:hover .dd-fill,.logo-link:focus-visible .dd-fill{opacity:0}
@media (prefers-reduced-motion:reduce){.dd-mark *{transition:none!important}}

/* ---- footer: at the end of the page the last row always sits above the bottom island
   (island: 60px tall, 22px from the bottom; 16px on phones) and above the iPhone home bar ---- */
footer{padding-bottom:calc(28px + 96px + env(safe-area-inset-bottom,0px))}
@media(max-width:640px){
  footer{padding-bottom:calc(30px + 90px + env(safe-area-inset-bottom,0px))}
  .foot-legal{flex-wrap:wrap;row-gap:12px}
}

input,textarea,select{font:inherit}

/* ---- treatment hero: the drawing large, drawn straight onto the page ---- */
.t-hero{padding:140px 22px 96px}
.t-hero-draw{width:auto;margin:0 auto 40px}
.t-hero-draw img{width:auto;max-width:min(620px,88vw);max-height:min(50vh,500px);
  border-radius:0;filter:none;   /* drawn as-is (no blending: A. wants the drawings untouched) */
  -webkit-mask-image:linear-gradient(to right,transparent,#000 18%,#000 82%,transparent),linear-gradient(to bottom,transparent,#000 16%,#000 84%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 18%,#000 82%,transparent),linear-gradient(to bottom,transparent,#000 16%,#000 84%,transparent);
  mask-composite:intersect}
.related-all{margin-top:34px;text-align:center}
@media(max-width:640px){
  .t-hero{padding:118px 22px 72px}
  .t-hero-draw{width:auto;margin-bottom:30px}
  .t-hero-draw img{max-height:40vh}
}

/* ---- journal covers: the clinic's drawings, drawn onto their tint ---- */
.art-cover,.post-cover,.jurnal-teaser .mark.cover{display:flex;align-items:center;justify-content:center;overflow:hidden}
.art-cover img,.post-cover img,.jurnal-teaser .mark.cover img{width:auto;height:auto;opacity:1;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 7%,#000 93%,transparent);
  mask-composite:intersect}
.art-cover{margin:6px 0 48px;border-radius:var(--radius-l);aspect-ratio:16/9}
.art-cover img{max-width:76%;max-height:86%}
.post-cover{aspect-ratio:4/3;border-radius:14px;margin:-12px -10px 8px}
.post-cover img{max-width:80%;max-height:86%}
.jurnal-teaser .mark.cover img{max-width:78%;max-height:82%}
.jurnal-teaser .mark.cover{transition:transform .5s var(--ease)}
.jurnal-teaser .mark.cover:hover{transform:translateY(-4px)}
@media(max-width:640px){.art-cover{margin-bottom:36px;border-radius:var(--radius-m)}}

/* ---- accessibility: keyboard focus you can see, and a skip link ---- */
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
.skip-link{position:fixed;left:14px;top:-64px;z-index:10000;background:var(--ink);color:#fff!important;
  padding:11px 18px;border-radius:12px;font-size:15px;font-weight:500;transition:top .25s var(--ease)}
.skip-link:focus{top:14px}

/* ---- 404 ---- */
.nf-head{min-height:64vh;display:flex;flex-direction:column;justify-content:center}
.nf-head .sub{line-height:1.5}
.nf-head .sub span{color:var(--ink-3)}
/* ---- before/after: shown at the photos' own size and proportions, so they stay sharp
   (raise max-width when higher-resolution cases arrive) ---- */
.ba{max-width:700px;aspect-ratio:691/365}
.ba-legend{max-width:700px}

/* ---- clinic page: the brand mark as hero, and one "visit us" section ---- */
.clinic-mark{width:min(620px,88vw);margin:0 auto 44px}
.clinic-mark img{display:block;width:100%;height:auto;mix-blend-mode:darken}   /* the paper white drops out */
.visit{background:var(--section)}
.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.visit-card{background:#fff;border-radius:var(--radius-l);padding:40px 38px;display:flex;flex-direction:column}
.visit-card h3{font-size:13px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:var(--ink-3);margin-bottom:18px}
.visit-addr{font-size:clamp(26px,3vw,34px);font-weight:600;letter-spacing:-.022em;line-height:1.15;margin-bottom:26px}
.visit-card .btn-text{margin-top:auto}
.visit-card .row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--hairline);font-size:17px}
.visit-card .row:last-child{border-bottom:0}
.visit-card .row span:last-child{color:var(--ink-2)}
@media(max-width:760px){.visit-grid{grid-template-columns:1fr}.visit-card{padding:32px 26px}}

/* ---- arrows (A.'s design): a hairline capsule holding two round buttons; the hovered one
   stretches into a pill and the capsule grows with it; pressed, the arrow greys out.
   Nothing changes size in layout (that made it tremble): the pill and the capsule are
   backgrounds that stretch 12px each side, the other button slides 12px away. ---- */
.arrows{--ease:cubic-bezier(.32,.72,0,1);position:relative;isolation:isolate;
  display:inline-flex;align-items:center;gap:8px;padding:6px}
.arrows::before{content:"";position:absolute;inset:0;left:0;right:0;z-index:-1;border-radius:999px;
  background:#fbfbfd;border:1px solid #e5e5ea;box-shadow:0 1px 2px rgba(0,0,0,.03);
  transition:left .5s var(--ease),right .5s var(--ease)}
.arrows .rail-btn{position:relative;width:44px;height:44px;border-radius:999px;
  background:none;border:0;box-shadow:none;color:#1d1d1f;
  display:flex;align-items:center;justify-content:center;
  transition:transform .5s var(--ease),color .18s ease}
.arrows .rail-btn::before{content:"";position:absolute;inset:0;left:0;right:0;z-index:-1;border-radius:999px;
  background:#fff;border:1px solid #e3e3e8;box-shadow:0 2px 6px rgba(0,0,0,.06);
  transition:left .5s var(--ease),right .5s var(--ease),box-shadow .3s ease}
.arrows .rail-btn:hover{background:none;color:#1d1d1f}
@media(hover:hover){
  .arrows:has(.rail-btn:hover)::before{left:-12px;right:-12px}
  .arrows .rail-btn:hover::before{left:-12px;right:-12px;box-shadow:0 3px 10px rgba(0,0,0,.07)}
  .arrows .rail-btn:first-child:hover + .rail-btn{transform:translateX(12px)}
  .arrows:has(.rail-btn:last-child:hover) .rail-btn:first-child{transform:translateX(-12px)}
}
.arrows .rail-btn:active,.arrows .rail-btn:hover:active{transform:none;color:#c7c7cc}
.arrows .rail-btn svg{display:block}

/* ---- legal page: numbered sections, calm reading ---- */
.legal .prose{max-width:720px}
.legal-updated{font-size:14px!important;color:var(--ink-3)!important;font-weight:400!important;margin-bottom:8px!important}
.legal-sec{padding:34px 0 6px;border-top:1px solid var(--hairline)}
.legal-sec:first-of-type{border-top:0}
.legal-sec h2{display:flex;align-items:baseline;gap:14px;font-size:clamp(22px,2.4vw,26px);font-weight:600;letter-spacing:-.018em;line-height:1.2;margin-bottom:16px}
.legal-sec h2 .n{font-size:14px;font-weight:500;color:var(--ink-3);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.legal .prose .legal-sec p{font-size:17px!important;line-height:1.65!important;font-weight:400!important;color:var(--ink-2);margin-bottom:16px}
.legal .prose .legal-sec p b{color:var(--ink);font-weight:600}

/* arrows sit centred under their carousel at every width (A.) */
.caro-nav{justify-content:center}
/* "Designed by BL" closes the footer row on the right, after the language globe (A.) */
.foot-lang{order:8}
.foot-bl{order:9;white-space:nowrap}
@media(max-width:640px){.foot-legal{gap:16px}}
/* Google rating as a small Dynamic Island under the "De ce Dobreci" heading: black capsule,
   monochrome G, five white stars. It scrolls in compact (just the G) and opens out, then the stars
   light up one by one. Left-aligned, so growing it never re-centres anything. */
.g-island{display:inline-flex;align-items:center;margin-top:28px;height:44px;padding:0 18px 0 14px;
  border-radius:999px;background:#000;color:#fff;border:1px solid #2a2a2c;
  box-shadow:0 0 0 1px rgba(255,255,255,.02),0 8px 24px rgba(0,0,0,.5);
  transition:background .25s ease,border-color .25s ease,transform .18s cubic-bezier(.22,1,.36,1)}
.g-island:hover{border-color:#3a3a3c}
.g-island:active{transform:scale(.97)}
.g-logo{flex:none;display:block}
.g-body{display:inline-flex;align-items:center;gap:10px;overflow:hidden;white-space:nowrap;
  max-width:320px;padding-left:12px;
  transition:max-width .9s cubic-bezier(.32,.72,0,1) .35s,padding-left .9s cubic-bezier(.32,.72,0,1) .35s}
.g-stars{display:inline-flex;gap:3px}
.g-stars svg{display:block;transition:opacity .4s ease,transform .5s cubic-bezier(.34,1.56,.64,1)}
.g-score{font-size:16px;font-weight:700;letter-spacing:-.01em}
.g-count{font-size:14px;color:var(--on-dark-2)}
.js .g-island.reveal:not(.in) .g-body{max-width:0;padding-left:0}
.js .g-island.reveal:not(.in) .g-stars svg{opacity:0;transform:scale(.4)}
.g-stars svg:nth-child(1){transition-delay:.75s}
.g-stars svg:nth-child(2){transition-delay:.83s}
.g-stars svg:nth-child(3){transition-delay:.91s}
.g-stars svg:nth-child(4){transition-delay:.99s}
.g-stars svg:nth-child(5){transition-delay:1.07s}
@media(max-width:640px){.g-island{height:42px;padding:0 16px 0 13px}.g-body{gap:8px;padding-left:10px}
  .g-count{font-size:13px}}
@media(prefers-reduced-motion:reduce){.g-body,.g-stars svg{transition:none}
  .js .g-island.reveal:not(.in) .g-body{max-width:320px;padding-left:12px}
  .js .g-island.reveal:not(.in) .g-stars svg{opacity:1;transform:none}}

/* ---- treatment cards: soft layered shadow; on hover the drawing comes forward and drifts a little
   toward the mouse (--mx/--my set by site.js, -1..1); the plus turns accent green ---- */
.tc{box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 24px -8px rgba(0,0,0,.08),0 34px 64px -28px rgba(0,0,0,.12)}
.tc:hover{box-shadow:0 2px 4px rgba(0,0,0,.04),0 22px 44px -14px rgba(0,0,0,.14),0 56px 96px -36px rgba(0,0,0,.2)}
.tc{--mx:0;--my:0}
.tc-draw img{will-change:transform;
  transition:transform .7s cubic-bezier(.22,1,.36,1)}
.tc:hover .tc-draw img{transform:translate3d(calc(var(--mx) * 14px),calc(var(--my) * 10px - 10px),0) scale(1.09)}
.tc .plus{transition:background .3s ease,transform .45s cubic-bezier(.22,1,.36,1)}
.tc:hover .plus{background:var(--accent);transform:rotate(90deg)}
.tc:hover .plus::before,.tc:hover .plus::after{background:#fff}
@media(prefers-reduced-motion:reduce){.tc:hover .tc-draw img{transform:scale(1.04)}}

/* monochrome accent: on black sections the accent flips to white */
.contact .tel:hover{color:#a1a1a6}
.band-dark :focus-visible,.contact :focus-visible,.why :focus-visible{outline-color:#fff}


/* ---- journal cards: the drawing fills the whole top of the card, edge to edge (no inner padding),
   text below; soft layered shadow like the treatment cards; on hover the card lifts and the drawing
   comes forward a little. Drawings are shown as-is (no blending). ---- */
.post-grid{gap:22px}
.post-card{padding:0;gap:0;overflow:hidden;border-radius:28px;background:#fff;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 10px 24px -8px rgba(0,0,0,.08),0 34px 64px -28px rgba(0,0,0,.12);
  transition:transform .55s cubic-bezier(.22,1,.36,1),box-shadow .55s ease}
.post-card:hover{transform:translateY(-6px);
  box-shadow:0 2px 4px rgba(0,0,0,.04),0 22px 44px -14px rgba(0,0,0,.14),0 56px 96px -36px rgba(0,0,0,.2)}
.post-card .post-cover{display:flex;width:100%;margin:0;border-radius:0;aspect-ratio:4/3;
  border-bottom:1px solid rgba(0,0,0,.05)}
.post-card .post-cover img{height:100%;width:auto;max-width:100%;max-height:100%;object-fit:contain;
  transition:transform .7s cubic-bezier(.22,1,.36,1)}
.post-card:hover .post-cover img{transform:scale(1.05)}
.post-card>h3{margin:26px 28px 0}
.post-card>p{margin:10px 28px 0}
.post-card>.more{margin:auto 28px 0;padding:22px 0 28px;font-weight:500;color:var(--ink)}
.post-card>.more::after{content:"›";display:inline-block;margin-left:5px;transition:transform .3s ease}
.post-card:hover>.more::after{transform:translateX(3px)}
@media(max-width:760px){.post-grid{gap:18px}.post-card{border-radius:24px}}
@media(prefers-reduced-motion:reduce){.post-card:hover .post-cover img{transform:none}}

/* ---- liquid-glass accent (A.'s idea, from the arrows capsule): buttons are frosted white glass
   over whatever is behind them — blur + saturation, a bright top edge, a hairline ring, soft shadow;
   black text. The plus icons on cards turn into the same glass on hover. ---- */
:root{--glass:rgba(255,255,255,.62);--glass-hover:rgba(255,255,255,.8);
  --glass-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 -1px 0 rgba(0,0,0,.035),0 0 0 1px rgba(0,0,0,.07),0 4px 14px rgba(0,0,0,.08);
  --glass-shadow-hover:inset 0 1px 0 rgba(255,255,255,1),inset 0 -1px 0 rgba(0,0,0,.035),0 0 0 1px rgba(0,0,0,.09),0 8px 22px rgba(0,0,0,.11)}
.btn-pill,.isl-pill{background:var(--glass);color:#1d1d1f!important;
  -webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%);
  box-shadow:var(--glass-shadow);transition:background .25s,box-shadow .3s,transform .35s var(--ease)}
.btn-pill:hover,.isl-pill:hover{background:var(--glass-hover);color:#1d1d1f!important;box-shadow:var(--glass-shadow-hover)}
.tc:hover .plus,.tile:hover .go,.po-clickable:hover .po-plus{background:var(--glass-hover);color:#1d1d1f;
  -webkit-backdrop-filter:blur(14px) saturate(180%);backdrop-filter:blur(14px) saturate(180%);box-shadow:var(--glass-shadow)}
.tc:hover .plus::before,.tc:hover .plus::after,.po-clickable:hover .po-plus::before,.po-clickable:hover .po-plus::after{background:#1d1d1f}
/* on the dark hero photo the glass is clear, with white text */
.hero .btn-pill{background:rgba(255,255,255,.16);color:#fff!important;
  -webkit-backdrop-filter:blur(20px) saturate(170%);backdrop-filter:blur(20px) saturate(170%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 -1px 0 rgba(255,255,255,.08),0 0 0 1px rgba(255,255,255,.22),0 8px 24px rgba(0,0,0,.18)}
.hero .btn-pill:hover{background:rgba(255,255,255,.26);color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -1px 0 rgba(255,255,255,.1),0 0 0 1px rgba(255,255,255,.3),0 10px 28px rgba(0,0,0,.22)}
.ba-nav{margin-top:26px}

/* ---- article: the drawing (the article's graphic identity) opens the page as a wide cover,
   the title sits right under it as one unit ---- */
.art-page>.art-back{margin-bottom:22px}
.art-head{margin-bottom:48px}

/* ---- Professional "Procesul": the three steps stack like a pack of cards while you scroll.
   Each card sticks under the nav, 18px lower than the one before; the next slides over it and the
   covered ones shrink a touch (scale set by site.js), so at the end they sit squared up as a pack. ---- */
.steps .steps-grid{display:block;max-width:760px;margin:0 auto}
.steps .step{position:sticky;top:calc(var(--stack-top,200px) + var(--i,0) * 16px);min-height:280px;margin:0;
  padding:52px 48px;border-radius:32px;background:#fff;transform-origin:50% 0;
  box-shadow:0 1px 2px rgba(0,0,0,.04),0 12px 28px -10px rgba(0,0,0,.10),0 40px 70px -34px rgba(0,0,0,.16)}
.steps .step:nth-child(1){--i:0}.steps .step:nth-child(2){--i:1;margin-top:26vh}.steps .step:nth-child(3){--i:2;margin-top:26vh}
.steps .steps-grid::after{content:"";display:block;height:45vh}   /* the finished pack rests before the section moves on */
.steps .wrap>.sec-head{position:sticky;top:var(--nav-h,64px);z-index:1;padding-top:12px}   /* title stays in view while the cards stack */
.steps .step .n{font-size:15px;margin-bottom:26px}
.steps .step h3{font-size:clamp(26px,3vw,34px);letter-spacing:-.022em;margin-bottom:14px}
.steps .step p{font-size:17px;line-height:1.6;max-width:520px}
@media(max-width:760px){.steps .step{top:calc(var(--stack-top,180px) + var(--i,0) * 12px);min-height:240px;padding:38px 30px;border-radius:26px}
  .steps .step:nth-child(n+2){margin-top:22vh}}

/* ---- article cover: the drawing is a full-width band, edge to edge, starting right under the nav,
   in the drawing's own background (set inline) — no card. The title follows directly below. ---- */
.art-page>.art-cover{width:100vw;max-width:none;margin:-150px 0 0 50%;translate:-50% 0;border-radius:0;
  aspect-ratio:auto;height:min(72vh,680px);padding:60px 0 0;box-sizing:border-box}
.art-page>.art-cover img{height:100%;width:auto;max-width:100%;max-height:100%;object-fit:contain}
.art-page>.art-cover+.art-head{padding-top:56px}
.art-head .art-back{margin-bottom:22px}
@media(max-width:820px){.art-page>.art-cover{margin-top:-120px;height:min(60vh,520px);padding-top:56px}
  .art-page>.art-cover+.art-head{padding-top:40px}}

/* ---- reading typography: an elegant column with generous margins (articles, treatment text, terms) ---- */
.art-page{max-width:736px;padding-left:48px;padding-right:48px}
.art-head h1{text-wrap:balance}
.art-deck{max-width:600px;text-wrap:pretty}
.art-page .prose p,.article .prose p,.about-t .prose-2col p{font-size:19px;line-height:1.75;letter-spacing:-.003em;
  margin-bottom:1.35em;text-wrap:pretty;hyphens:auto;-webkit-hyphens:auto}
.art-page .prose p:first-child{font-size:22px;line-height:1.6;font-weight:450;letter-spacing:-.01em}
.about-t .prose-2col{max-width:640px}
.t-lede .lede{max-width:760px;text-wrap:balance}
.legal .prose{max-width:660px}
.legal .prose .legal-sec p{line-height:1.75!important;text-wrap:pretty}
@media(max-width:640px){
  .art-page{padding-left:28px;padding-right:28px}
  .art-page .prose p,.article .prose p,.about-t .prose-2col p{font-size:18px;line-height:1.72}
  .art-page .prose p:first-child{font-size:20px}
  .about-t .wrap,.t-lede .wrap,.article .wrap{padding-left:6px;padding-right:6px}   /* + the section's 22px = 28px */
  .article.legal .prose{padding-left:6px;padding-right:6px}
}

/* the one primary action — "Programare" in the nav and in the island — is solid blue, not glass */
:root{--cta:#0071e3;--cta-hover:#0077ed}
.isl-pill{background:var(--cta);color:#fff!important;-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 1px 2px rgba(0,113,227,.25),0 4px 12px rgba(0,113,227,.18)}
.isl-pill:hover{background:var(--cta-hover);color:#fff!important;
  box-shadow:0 1px 2px rgba(0,113,227,.3),0 6px 16px rgba(0,113,227,.24)}
