:root {
  --ink: #27364e;
  --accent: #56518c;
  --paper: #f7f8fb;
  --muted: #526078;
  --line: #d3d9e5;
  --tint: #edf0f7;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible { outline: 2px solid #6653b0; outline-offset: 6px; }
button { cursor: pointer; font-family: var(--sans); }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; }
h2 { font-size: clamp(44px, 4.2vw, 60px); }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
em { font-weight: 500; }
address { font-style: normal; }
section, footer, main { scroll-margin-top: 130px; }
.wrap { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px 20px; background: white; }
.skip:focus { top: 12px; }
.arrow { flex-shrink: 0; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.phone-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.header { position: sticky; top: 0; z-index: 10; background: rgba(247,248,251,.98); border-bottom: 1px solid var(--line); }
.header-row { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: block; width: fit-content; text-decoration: none; flex-shrink: 0; }
.brand-name { display: block; font: 600 28px/1.15 var(--serif); letter-spacing: -.01em; max-width: 290px; }
.brand-kicker { display: block; font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 5px; width: 0; height: 1px; background: var(--accent); transition: width .2s; }
.nav a:hover::after { width: 100%; }
.header-end { display: flex; align-items: center; gap: 30px; }
.header-contact { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.header-phone { display: block; font-size: 16px; font-weight: 600; white-space: nowrap; }
.header-phone > span { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; }
.languages { display: flex; gap: 2px; }
.languages a { display: grid; place-items: center; min-width: 40px; min-height: 44px; font-size: 14px; text-decoration: none; }
.languages a[aria-current] { font-weight: 700; text-decoration: underline; text-underline-offset: 8px; }
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 13px; line-height: 1.5; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-line { width: 30px; height: 1px; background: var(--accent); }
.hero { padding-top: 46px; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 64px; }
.hero-copy { padding-bottom: 34px; }
.hero h1 { font-size: clamp(44px, 4.4vw, 64px); margin: 30px 0 27px; }
.hero h1 span { color: var(--accent); font-weight: 600; }
.lead { color: var(--muted); font-size: 18px; max-width: 460px; }
.actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 54px; padding: 15px 24px; border: 1px solid var(--accent); border-radius: 2px; color: white; background: var(--accent); text-decoration: none; font: 600 15px/1.5 var(--sans); transition: background .2s, border-color .2s; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 16px; width: fit-content; font-size: 15px; text-decoration-line: underline; }
.hero-photo { position: relative; overflow: hidden; background: var(--tint); height: 570px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-media figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 14px; }
.hero-media figcaption > span:last-child { font-size: 12px; letter-spacing: .15em; white-space: nowrap; }
.section { padding-block: 110px; }
.section-description { color: var(--muted); font-size: 16px; max-width: 450px; }
.services { display: grid; grid-template-columns: repeat(3,1fr); column-gap: 40px; }
.service { display: grid; grid-template-columns: 44px minmax(0,1fr); grid-template-rows: min-content 1fr; align-content: start; align-items: start; gap: 24px 16px; padding: 28px 0 36px; border-top: 1px solid var(--line); }
.service-number { position: relative; display: grid; place-items: center; width: 44px; height: 50px; color: var(--accent); font-size: 16px; font-weight: 650; line-height: 1; letter-spacing: 0; }
.service-number > span { transform: translateY(-7px); }
.service-tooth { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 24px; margin: 0; padding-top: 3px; }
.service ul { grid-column: 1/-1; list-style: disc; margin: 0; padding: 0 0 0 20px; font-size: 16px; color: var(--muted); }
.service li { padding-left: 3px; text-wrap: pretty; }
.service li::marker { color: var(--accent); font-size: .8em; }
.service li + li { margin-top: 12px; }
@supports (grid-template-rows: subgrid) {
  .service { grid-row: span 2; grid-template-rows: subgrid; }
}
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 56px; margin-bottom: 40px; }
.section-head h2 { margin-top: 20px; }
.section-head > p { max-width: 280px; }
.gallery { display: block; columns: 3; column-gap: 24px; }
.gallery-item { break-inside: avoid; margin-bottom: 24px; }
.gallery-item > a { display: block; position: relative; overflow: hidden; background: var(--tint); }
.gallery-item img { width: 100%; height: auto; transition: transform .4s; }
.gallery-item.portrait img { object-fit: contain; background: #eceff5; }
.gallery-item a:hover img { transform: scale(1.025); }
.photo-open { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--paper); opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.gallery-item a:hover .photo-open, .gallery-item a:focus-visible .photo-open { opacity: 1; transform: none; }
.gallery-item figcaption { font-size: 14px; margin-top: 10px; color: var(--muted); }
.visit { padding: 75px 0; background: #edf0f7; border-top: 1px solid var(--line); }
.visit-layout { display: grid; grid-template-columns: .7fr 1.5fr; gap: 44px 64px; align-items: center; }
.entrance-visualization { height: 640px; min-width: 0; border: 1px solid #c6cedf; border-radius: 8px; overflow: hidden; background: #e9edf3; }
.entrance-visualization iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-area { grid-column: 1/-1; min-width: 0; }
.visit-copy h2 { margin: 20px 0 25px; }
.visit-copy address { font-size: 25px; line-height: 1.6; margin-bottom: 20px; }
.visit-copy .text-link { margin-top: 20px; }
.entrance-note { font-size: 16px; line-height: 1.7; padding-left: 16px; border-left: 2px solid var(--accent); margin-top: 22px; max-width: 390px; }
.map-external { margin-top: 10px; }
.implant-note { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 30px 34px; background: var(--tint); margin: 24px 0 40px; }
.implant-note p { font-size: 16px; max-width: 530px; text-wrap: balance; }
.implant-note strong { font-size: 18px; line-height: 1.6; font-weight: 700; max-width: 440px; }
.implant-note strong span { white-space: nowrap; }
.gallery-cta { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding-bottom: 48px; margin-bottom: 50px; border-bottom: 1px solid var(--line); }
.gallery-cta h2 { font-size: 36px; max-width: 750px; }
.gallery-cta p { margin-top: 16px; font-size: 16px; }
.gallery-cta .button { flex-shrink: 0; }
.lightbox { border: 0; margin: 0; padding: 0; inset: 0; width: 100%; height: 100%; height: 100dvh; max-width: none; max-height: none; color: var(--paper); background: #142138f5; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: #142138; }
html.gallery-open { overflow: hidden; }
.lightbox-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 26px; flex-shrink: 0; }
.lightbox-counter { font-size: 16px; letter-spacing: .1em; }
.lightbox button { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border: 1px solid #ffffff50; border-radius: 50%; background: #142138cc; color: white; }
.lightbox button:hover { background: var(--accent); }
.lightbox button:focus-visible { outline-color: white; }
.lightbox svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lightbox-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 90px 25px; }
.lightbox-figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox-image { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); object-fit: contain; }
.lightbox-caption { text-align: center; font-size: 16px; margin-top: 15px; }
.lightbox-prev, .lightbox-next { position: absolute; top: calc(50% - 24px); }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.map-frame { height: 380px; background: #e0e5ef; border: 1px solid #c6cedf; }
.map-frame iframe { border: 0; width: 100%; height: 100%; }
.footer { padding: 75px 0 26px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1.2fr .85fr; gap: 75px; }
.footer h3 { font-size: 13px; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; margin-bottom: 20px; }
.footer-brand > p { color: #d4dcea; margin-top: 23px; font-size: 15px; max-width: 290px; }
.footer address { font-size: 17px; }
.footer address + p { margin-top: 14px; color: #d4dcea; font-size: 14px; max-width: 230px; }
.footer .text-link { font-size: 14px; margin-top: 12px; }
.footer-phone { display: block; width: fit-content; font: 600 clamp(25px,2.3vw,34px)/1.4 var(--serif); text-decoration: none; margin-bottom: 22px; white-space: nowrap; }
.footer-link { display: block; width: fit-content; font-size: 17px; min-height: 44px; padding-top: 7px; }
.small { display: block; font-size: 13px; color: #d4dcea; }
.social { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; }
.social a { display: flex; align-items: center; min-height: 44px; gap: 7px; font-size: 13px; }
.social .arrow { width: 11px; height: 11px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 50px; padding-top: 16px; border-top: 1px solid #53627a; color: #cbd6e8; font-size: 12px; }
.footer-bottom nav { display: flex; align-items: center; gap: 22px; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width:1200px) {
  .wrap { width: calc(100% - 72px); }
  .header-row { gap: 22px; }
  .header-end { gap: 16px; }
  .header-contact { gap: 8px; }
  .nav { gap: 22px; }
  .hero-grid { gap: 48px; }
  .hero-photo { height: 520px; }
  .services { column-gap: 28px; }
  .visit-layout { gap: 60px; }
  .footer-grid { gap: 40px; }
}
@media (max-width:1000px) {
  .header-phone { display: none; }
  .header-contact { min-width: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .hero h1 { font-size: 48px; }
  .services { column-gap: 24px; }
  .services { grid-template-columns: repeat(2,1fr); }
  .service { row-gap: 20px; padding: 24px 0 28px; }
  .service h3 { font-size: 22px; }
  .visit-layout { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-brand { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; padding-bottom: 24px; border-bottom: 1px solid #53627a; }
  .footer-brand > p { margin-top: 0; max-width: 400px; }
  .social { margin-top: 12px; }
}
@media (max-width:800px) {
  .wrap { width: calc(100% - 48px); }
  .header-row { min-height: 118px; display: grid; grid-template-columns: 1fr auto; gap: 0 18px; padding: 15px 0 0; }
  .brand-name { font-size: 26px; }
  .header-end { grid-row: 1; grid-column: 2; }
  .nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; gap: 14px; padding-top: 7px; font-size: 14px; }
  .nav a { min-height: 44px; }
  .hero { padding-top: 30px; }
  .hero-grid { gap: 30px; }
  .hero h1 { font-size: clamp(36px,5vw,44px); margin-top: 22px; }
  .hero-copy { padding-bottom: 20px; }
  .lead { font-size: 17px; }
  .hero-photo { height: 440px; }
  .hero-media figcaption { display: block; }
  .hero-media figcaption > span:last-child { display: none; }
  .eyebrow { font-size: 12px; letter-spacing: .1em; gap: 12px; }
  .eyebrow-line { width: 18px; }
  .actions { gap: 12px 20px; margin-top: 24px; }
  .section { padding-block: 75px; }
  .service { grid-template-columns: 44px minmax(0,1fr); }
  .service h3 { font-size: 22px; }
  .service-number { margin: 0; }
  .section-head { display: block; margin-bottom: 28px; }
  .section-head > p { max-width: 450px; margin-top: 20px; }
  .gallery { columns: 2; column-gap: 16px; }
  .gallery-item { margin-bottom: 20px; }
  .implant-note { align-items: start; flex-direction: column; gap: 16px; }
  .gallery-cta { flex-direction: column; align-items: start; gap: 24px; }
  .visit { padding-block: 65px; }
  .visit-layout { grid-template-columns: 1fr; gap: 30px; }
  .entrance-visualization { height: 560px; }
  .footer { padding-top: 65px; }
  section, footer, main { scroll-margin-top: 140px; }
}
@media (max-width:700px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { min-height: 108px; padding-top: 12px; }
  .header-end { gap: 10px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { font-size: clamp(36px,8.8vw,48px); margin: 22px 0; }
  .lead { font-size: 17px; max-width: 410px; }
  .hero-photo { height: auto; aspect-ratio: 1.15; }
  .hero-media figcaption { display: flex; font-size: 12px; }
  .hero-media figcaption > span:last-child { display: inline; font-size: 11px; }
  .section { padding-block: 60px; }
  h2 { font-size: 44px; }
  .services { grid-template-columns: 1fr; column-gap: 24px; }
  .service { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 20px 16px; padding: 24px 0 28px; }
  .service-number { margin: 0; }
  .service h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.02em; }
  .service ul { grid-column: 1/-1; font-size: 16px; }
  .section-description { font-size: 16px; }
  .gallery { column-gap: 12px; }
  .gallery-item figcaption { font-size: 12px; line-height: 1.5; margin-top: 8px; }
  .photo-open { width: 26px; height: 26px; right: 8px; bottom: 8px; opacity: 1; transform: none; }
  .photo-open .arrow { width: 12px; height: 12px; }
  .visit { padding-block: 55px; }
  .entrance-visualization { height: 500px; }
  .map-frame { height: 280px; }
  .footer { padding-top: 55px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { display: block; grid-column: auto; padding-bottom: 30px; }
  .footer-brand > p { margin-top: 20px; max-width: 310px; }
  .social { margin-top: 16px; }
  .footer-phone { font-size: 34px; }
  .footer-bottom { display: block; margin-top: 32px; }
  .footer-bottom > span { display: block; max-width: 290px; line-height: 1.8; }
  .footer-bottom nav { margin-top: 12px; }
  .brand-name { font-size: 24px; max-width: 220px; }
  .brand-kicker { font-size: 12px; letter-spacing: .04em; }
  .brand { min-width: 0; }
  .implant-note { padding: 24px; margin-top: 16px; }
  .implant-note strong { font-size: 16px; }
  .gallery-cta h2 { font-size: 32px; }
  .lightbox-toolbar { padding: 12px 18px; }
  .lightbox-stage { padding: 0 18px 90px; }
  .lightbox-image { max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 22px; }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
}
@media (max-width:380px) {
  .wrap { width: calc(100% - 36px); }
  .brand-name { font-size: 22px; }
  .header-end { gap: 5px; }
  .header-contact { min-width: 38px; min-height: 38px; }
  .languages a { min-width: 32px; }
  .nav { gap: 10px; font-size: 14px; }
  .hero h1 { font-size: 34px; }
  .hero .eyebrow { font-size: 12px; gap: 10px; }
  .services { grid-template-columns: 1fr; }
  .service { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 20px 12px; }
  .service-number { margin: 0; }
  .service ul { grid-column: 1/-1; font-size: 16px; }
  .service h3 { font-size: 22px; }
  h2 { font-size: 39px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-width:1100px) and (min-width:801px) {
  .header-row { display: grid; grid-template-columns: 1fr auto; min-height: 125px; gap: 0 24px; padding: 15px 0 0; }
  .header-end { grid-column: 2; grid-row: 1; }
  .header-phone { display: none; }
  .header-contact { min-width: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 50%; }
  .nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; padding-top: 8px; }
  section, footer, main { scroll-margin-top: 150px; }
}
