:root {
  --ink: #194368;
  --ink-soft: #4c6a82;
  --deep: #194368;
  --deep-2: #153a5a;
  --ice: #e1ecf5;
  --ice-2: #f4f7f9;
  --paper: #ffffff;
  --accent: #c24e97;
  --accent-dark: #a6387d;
  --line: #cbdbe7;
  --shadow: 0 24px 70px rgba(25, 67, 104, .14);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Manrope", sans-serif; margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 5.8vw, 6.1rem); max-width: 940px; }
h2 { font-size: clamp(2.1rem, 4vw, 4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.2rem; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1.15; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--deep); font-family: "Manrope"; font-weight: 800; font-size: .9rem; }
.brand strong, .brand small { display: block; }
.brand small { color: var(--ink-soft); font-size: .73rem; margin-top: .25rem; letter-spacing: .02em; }
.clinic-brand { display: flex; align-items: center; gap: .8rem; padding-left: 1.5rem; border-left: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; }
.clinic-brand > span { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.clinic-brand img { width: 150px; height: auto; }
nav { display: flex; gap: 2rem; margin-left: auto; }
nav a { text-decoration: none; font-weight: 600; font-size: .94rem; }
nav a:hover { color: var(--accent-dark); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: .9rem 1.35rem; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 12px 28px rgba(169, 79, 41, .18); transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); background: var(--accent-dark); }
.button:disabled { cursor: wait; opacity: .7; transform: none; }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #f0a880; outline-offset: 4px; }
.button-small { min-height: 46px; padding: .65rem 1.1rem; font-size: .93rem; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.eyebrow { margin: 0 0 1rem; color: var(--accent-dark); font-family: "Manrope"; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
  min-height: 760px;
  padding: clamp(4rem, 8vw, 8rem) max(24px, calc((100vw - 1400px) / 2));
  background: linear-gradient(120deg, var(--ice-2) 0%, #eef7f8 48%, var(--ice) 100%);
}
.hero::after { content: ""; position: absolute; width: 440px; height: 440px; right: -150px; top: -170px; border: 1px solid rgba(18, 59, 74, .15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(18, 59, 74, .035), 0 0 0 140px rgba(18, 59, 74, .025); }
.hero-copy { position: relative; z-index: 1; }
.hero .lead { max-width: 730px; margin: 1.6rem 0 2rem; color: var(--ink-soft); font-size: clamp(1.12rem, 1.7vw, 1.4rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: .7rem 1.5rem; padding: 0; margin: 2rem 0 0; list-style: none; color: var(--ink-soft); font-size: .92rem; }
.trust-list li::before { content: "✓"; margin-right: .45rem; color: var(--accent-dark); font-weight: 800; }
.clinic-note { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1rem; max-width: 760px; margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(25,67,104,.14); color: var(--ink-soft); font-size: .9rem; }
.clinic-note a { color: var(--ink); font-weight: 800; text-decoration: none; border-bottom: 1px solid currentColor; }
.portrait-wrap { position: relative; z-index: 1; margin: 0; }
.portrait-wrap { width: min(100%, 410px); justify-self: center; }
.portrait-wrap img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; border-radius: var(--radius); box-shadow: var(--shadow); background: #d6e7ea; }
.portrait-wrap figcaption { position: absolute; left: -28px; bottom: 30px; display: grid; padding: 1rem 1.3rem; border-radius: 16px; color: #fff; background: var(--deep); box-shadow: var(--shadow); }
.portrait-wrap figcaption span { font-size: .82rem; opacity: .78; }

.services, .process-section, .ceramic, .about, .faq, footer { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.services { padding: 8rem 0; }
.services-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 7vw, 8rem); align-items: end; max-width: none; }
.services-heading > p { color: var(--ink-soft); font-size: 1.06rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.service-card { min-height: 350px; display: flex; flex-direction: column; padding: 2rem; background: #fff; }
.service-card h3 { margin-bottom: .9rem; font-size: 1.35rem; }
.service-card p { color: var(--ink-soft); font-size: .94rem; }
.card-link { display: inline-flex; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1.3rem; border-top: 1px solid var(--line); font-weight: 700; text-decoration: none; }

.implant-feature { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(4rem, 7vw, 7rem) max(24px, calc((100vw - 1240px) / 2)); color: #fff; background: var(--deep); }
  .implant-feature .eyebrow { color: #f2a8d5; }
.implant-copy > p:not(.eyebrow) { max-width: 720px; margin-top: 1.4rem; color: rgba(255,255,255,.75); font-size: 1.06rem; }
.check-list { padding: 0; margin: 1.8rem 0 2.2rem; list-style: none; }
.check-list li { margin: .65rem 0; }
.check-list li::before { content: "✓"; margin-right: .7rem; color: #f2a8d5; font-weight: 800; }
.implant-price { padding: clamp(2rem, 4vw, 3.5rem); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.07); }
.implant-price > strong { display: block; margin: .2rem 0 1.3rem; font-family: "Manrope"; font-size: clamp(2.4rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -.04em; }
.implant-price > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.finance-pill { margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; }
.finance-title { display: block; margin-bottom: .65rem; color: #fff; font-family: "Manrope", sans-serif; font-size: 1.15rem; }
.finance-pill p { margin-bottom: .8rem; color: rgba(255,255,255,.78); }
.finance-pill p strong { color: #fff; }
.finance-link { display: inline-flex; align-items: center; gap: .5rem; margin: .15rem 0 .75rem; color: #fff; font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.55); }
.finance-link:hover { border-color: #fff; }
.finance-pill small { display: block; color: rgba(255,255,255,.58); font-size: .78rem; }

.process-section { padding: 8rem 0; }
.section-heading { max-width: 750px; margin-bottom: 3.3rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.process-grid li { min-height: 280px; padding: 2rem; background: #fff; }
.process-grid span { display: inline-block; margin-bottom: 3.5rem; color: var(--accent-dark); font-family: "Manrope"; font-weight: 800; }
.process-grid h3 { margin-bottom: .75rem; }
.process-grid p { color: var(--ink-soft); font-size: .95rem; }

.ceramic { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; padding: 7rem 0; border-top: 1px solid var(--line); }
.ceramic-intro > p:not(.eyebrow) { margin-top: 1.4rem; color: var(--ink-soft); font-size: 1.06rem; }
.ceramic-image { margin: 2.2rem 0 0; }
.ceramic-image img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow); }
.ceramic-options { border-top: 1px solid var(--line); }
.ceramic-options article { padding: 1.7rem 0; border-bottom: 1px solid var(--line); }
.ceramic-options h3 { margin-bottom: .55rem; }
.ceramic-options p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; padding: 7rem 0 9rem; }
.about-quote { min-height: 460px; display: flex; align-items: flex-end; padding: 3rem; border-radius: var(--radius); color: #fff; background: radial-gradient(circle at 80% 15%, rgba(255,255,255,.14), transparent 30%), var(--accent); }
.about-quote p { max-width: 420px; font-family: "Manrope"; font-weight: 700; font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.12; letter-spacing: -.04em; }
.about-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.about-copy h2 { margin-bottom: 1.6rem; }

.faq { padding: 2rem 0 8rem; }
.faq-heading { max-width: 640px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; cursor: pointer; list-style: none; padding: 1.5rem 3.5rem 1.5rem 0; font-family: "Manrope"; font-size: 1.13rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .5rem; top: 1.15rem; font-size: 1.7rem; font-weight: 400; color: var(--accent-dark); }
details[open] summary::after { content: "−"; }
details p { max-width: 850px; padding-bottom: 1.6rem; color: var(--ink-soft); }

.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 3rem; padding: clamp(3rem, 6vw, 5.5rem) max(24px, calc((100vw - 1240px) / 2)); color: #fff; background: var(--deep-2); }
.final-cta h2 { max-width: 720px; }
.final-cta p:not(.eyebrow) { margin-top: 1rem; color: rgba(255,255,255,.72); }
  .final-cta .eyebrow { color: #f2a8d5; }
.button-light { color: var(--deep); background: #fff; box-shadow: none; }
.button-light:hover { color: #fff; }
.light-link { color: #fff; }

footer { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3rem; padding: 4rem 0 6rem; font-size: .9rem; }
footer > div { display: grid; align-content: start; gap: .35rem; }
footer a { color: var(--ink-soft); text-decoration: none; }
footer span { color: var(--ink-soft); }
.legal { grid-column: 1 / -1; max-width: 780px; margin-top: 1rem; color: var(--ink-soft); font-size: .78rem; }
.cookie-settings-link { display: inline; padding: 0; border: 0; color: var(--accent-dark); background: none; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.cookie-settings-link:focus-visible { outline: 3px solid #f0a880; outline-offset: 4px; }
.mobile-bar { display: none; }

.cookie-banner { position: fixed; z-index: 50; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: min(1040px, calc(100% - 48px)); margin: 0 auto; padding: 1.35rem 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: #fff; background: var(--deep-2); box-shadow: 0 24px 80px rgba(7,32,40,.3); }
.cookie-banner[hidden] { display: none; }
.cookie-banner-copy { max-width: 650px; }
.cookie-banner h2 { margin-bottom: .45rem; color: #fff; font-size: 1.25rem; letter-spacing: -.02em; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.5; }
.cookie-banner a { color: #fff; font-weight: 700; }
.cookie-banner-actions { display: flex; flex: 0 0 auto; gap: .7rem; }
.cookie-banner .button { min-height: 46px; padding: .65rem 1rem; font-size: .86rem; box-shadow: none; }
.cookie-banner .cookie-reject { border: 1px solid rgba(255,255,255,.55); color: #fff; background: transparent; }
.cookie-banner .cookie-reject:hover { background: rgba(255,255,255,.1); }

.contact-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(4, 31, 40, .32); }
.contact-dialog::backdrop { background: rgba(7, 32, 40, .7); backdrop-filter: blur(4px); }
.dialog-inner { position: relative; padding: clamp(1.6rem, 5vw, 3.2rem); }
.dialog-close { position: absolute; z-index: 1; top: 1rem; right: 1rem; width: 42px; height: 42px; border: 0; border-radius: 50%; color: var(--ink); background: var(--ice); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.contact-dialog h2 { margin-bottom: 1rem; font-size: clamp(2rem, 5vw, 3rem); }
.contact-dialog p { color: var(--ink-soft); }
.form-warning { padding: .9rem 1rem; border-left: 3px solid var(--accent); background: var(--ice-2); font-size: .9rem; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form > label:not(.consent-row) { display: grid; gap: .4rem; font-weight: 700; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form select { width: 100%; min-height: 52px; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font: inherit; }
.contact-form input:focus, .contact-form select:focus { outline: 3px solid rgba(200,112,70,.25); border-color: var(--accent); }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; align-items: start; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.consent-row input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--accent-dark); }
.consent-row a { color: var(--accent-dark); font-weight: 700; }
.contact-form .button { width: 100%; margin-top: .4rem; }
.form-status { min-height: 1.5rem; margin: 0; color: #9b3425 !important; font-size: .9rem; font-weight: 700; }
.form-success { padding: 2rem 0; text-align: center; }
.form-success .button { margin-top: 1rem; min-width: 160px; }
.success-mark { width: 72px; height: 72px; display: grid; place-items: center; margin: 0 auto 1.5rem; border-radius: 50%; color: #fff; background: var(--deep); font-size: 2rem; font-weight: 800; }

.privacy-page { width: min(840px, calc(100% - 48px)); margin: 0 auto; padding: 6rem 0 8rem; }
.privacy-page > h1 { max-width: 820px; font-size: clamp(2.6rem, 6vw, 5.2rem); }
.privacy-lead { max-width: 720px; margin: 1.5rem 0 4rem; color: var(--ink-soft); font-size: 1.18rem; }
.privacy-page section { padding: 2rem 0; border-top: 1px solid var(--line); }
.privacy-page section h2 { margin-bottom: 1rem; font-size: 1.45rem; }
.privacy-page section p { max-width: 760px; margin: 0; color: var(--ink-soft); }
.privacy-page section a { color: var(--accent-dark); font-weight: 700; }
.privacy-footer { padding-top: 3rem; border-top: 1px solid var(--line); }

@media (max-width: 1250px) {
  .site-header { flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
  nav { order: 3; display: flex; flex-wrap: wrap; justify-content: center; width: 100%; margin: 0; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { max-width: 800px; }
  .portrait-wrap { max-width: 560px; margin: 0 auto; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .implant-feature { grid-template-columns: 1fr; }
  .implant-price { max-width: 680px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .ceramic { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-quote { max-width: 680px; }
  .final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  body { font-size: 16px; line-height: 1.58; padding-bottom: calc(76px + env(safe-area-inset-bottom)); overflow-x: hidden; }
  h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .site-header { width: calc(100% - 32px); min-height: auto; gap: .75rem 1rem; padding: .8rem 0 .65rem; flex-wrap: wrap; }
  .site-header > .button { display: none; }
  .brand { gap: .65rem; }
  .brand-mark { width: 40px; height: 40px; font-size: .8rem; }
  .brand strong { font-size: .95rem; }
  .brand small { display: none; }
  .clinic-brand { margin-left: auto; padding-left: 0; border-left: 0; }
  .clinic-brand { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .clinic-brand > span { display: block; font-size: .7rem; }
  .clinic-brand img { width: 118px; }
  nav { order: 3; display: flex; width: 100%; margin: 0; justify-content: space-between; gap: .25rem; overflow-x: auto; border-top: 1px solid var(--line); scrollbar-width: none; }
  nav::-webkit-scrollbar { display: none; }
  nav a { flex: 0 0 auto; padding: .65rem .2rem .1rem; font-size: .78rem; }
  .hero { min-height: auto; gap: 2.5rem; padding: 3.25rem 18px 3.5rem; }
  .hero::after { display: none; }
  .hero h1 { max-width: 12ch; font-size: clamp(2.45rem, 12vw, 3.35rem); line-height: 1.02; }
  .hero .lead { margin: 1.25rem 0 1.6rem; font-size: 1.05rem; }
  .actions { align-items: stretch; flex-direction: column; gap: 1rem; }
  .actions .button { width: 100%; }
  .actions .text-link { align-self: flex-start; min-height: 44px; }
  .trust-list { display: grid; gap: .45rem; margin-top: 1.5rem; }
  .clinic-note { display: grid; gap: .45rem; }
  .portrait-wrap { order: -1; width: min(100%, 280px); }
  .portrait-wrap figcaption { left: 10px; right: 10px; bottom: 10px; padding: .8rem 1rem; }
  .services, .process-section, .ceramic, .about, .faq, footer { width: calc(100% - 32px); }
  .services, .about { padding: 4rem 0; }
  .section-heading { margin-bottom: 2rem; }
  .services-heading { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 1.5rem; }
  .service-card p { margin-bottom: 1.4rem; }
  .implant-feature { gap: 2.5rem; padding: 4rem 18px; }
  .implant-price { padding: 1.6rem; }
  .implant-price > strong { font-size: clamp(2.25rem, 11vw, 3rem); }
  .process-section { padding-top: 4rem; }
  .process-section, .ceramic, .faq { padding-bottom: 4rem; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { min-height: auto; padding: 1.5rem; }
  .process-grid span { margin-bottom: .8rem; }
  .process-grid p { margin-bottom: 0; }
  .ceramic { gap: 2rem; padding-top: 4rem; }
  .ceramic-image { margin-top: 1.6rem; }
  .finance-pill { margin-top: 1.6rem; padding-top: 1.4rem; }
  .about { gap: 2.5rem; }
  .about-quote { min-height: 290px; padding: 1.75rem; }
  .about-quote p { font-size: clamp(1.9rem, 9vw, 2.7rem); }
  .faq { padding-top: 1rem; }
  summary { padding-block: 1.25rem; font-size: 1.05rem; }
  .final-cta { gap: 2rem; padding: 3.5rem 18px; }
  .final-cta > div { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .legal { grid-column: auto; }
  .mobile-bar { position: fixed; z-index: 20; inset: auto 0 0; display: block; padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .mobile-bar a { display: flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 999px; color: #fff; background: var(--accent); font-weight: 700; text-decoration: none; }
  .cookie-banner { right: 12px; bottom: calc(72px + env(safe-area-inset-bottom)); left: 12px; align-items: stretch; flex-direction: column; gap: 1rem; width: auto; padding: 1.2rem; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner .button { width: 100%; }
  .contact-dialog { max-height: calc(100dvh - 16px); overflow-y: auto; }
  .dialog-inner { padding: 3.2rem 1.25rem 1.4rem; }
  .privacy-page { width: calc(100% - 40px); padding: 4rem 0 5rem; }
}

@media (max-width: 380px) {
  .clinic-brand img { width: 104px; }
  .hero h1 { font-size: 2.35rem; }
  .implant-price > strong { font-size: 2.15rem; }
  .finance-pill { font-size: .88rem; }
  nav a { font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
