/* Lumen — dental clinic. Plus Jakarta Sans + Lora italic. Mist white, deep petrol, aqua. */
:root {
  --bg: #f3f8f8;
  --card: #ffffff;
  --mint: #dbf0ed;
  --ink: #0e2b33;
  --muted: #5d737a;
  --line: rgba(14, 43, 51, 0.12);
  --accent: #34b3ab;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: clamp(20px, 5vw, 72px);
  --r: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.h2 { font-weight: 500; font-size: clamp(34px, 4.6vw, 66px); line-height: 1.06; letter-spacing: -0.035em; max-width: 16ch; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--accent); }

/* Motion primitives */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > img { clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease) var(--d, 0ms) !important; }
.js [data-reveal="clip"].is-in > img { clip-path: inset(0); }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.w-i { display: inline-block; transform: translateY(112%); transition: transform 1.15s var(--ease); }
.is-in .w-i { transform: none; }

.media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--mint); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.media img[data-parallax] { position: absolute; left: 0; top: -8%; height: 116%; transition: none; will-change: transform; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 999px; border: 0; font-size: 15px; font-weight: 600; cursor: pointer; transition: background 0.45s var(--ease), color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.btn svg, .link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 0.5s var(--ease); }
.btn:hover svg, .link:hover svg { transform: translateX(4px); }
.btn--dark { background: var(--ink); color: #fff; padding: 12px 22px; font-size: 14px; }
.btn--dark:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 16px 30px -16px rgba(52, 179, 171, 0.9); }
.btn--accent:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 18px 30px -18px rgba(14, 43, 51, 0.8); }
.link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; padding-bottom: 4px; border-bottom: 1.5px solid var(--ink); }

/* Header: a floating pill */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px var(--pad) 0; pointer-events: none; }
.header__bar { pointer-events: auto; max-width: 1216px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 10px 10px 24px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; transition: box-shadow 0.5s var(--ease); }
.header.is-scrolled .header__bar { box-shadow: 0 18px 40px -24px rgba(14, 43, 51, 0.45); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 21px; letter-spacing: -0.03em; }
.brand svg { width: 24px; height: 24px; fill: var(--accent); }
.nav { display: flex; gap: clamp(16px, 2.6vw, 38px); }
.nav a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.4s var(--ease); }
.nav a:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; background: var(--mint); border: 0; border-radius: 50%; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: 100svh; padding-top: 130px; padding-bottom: clamp(48px, 7vw, 90px); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; background: var(--card); border-radius: 999px; font-size: 13px; font-weight: 500; margin-bottom: 28px; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(52, 179, 171, 0.55); } to { box-shadow: 0 0 0 10px rgba(52, 179, 171, 0); } }
.hero__title { font-weight: 500; font-size: clamp(44px, 6.4vw, 100px); line-height: 1; letter-spacing: -0.045em; }
.hero__lede { margin-top: 28px; max-width: 46ch; color: var(--muted); font-size: 18px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 38px; }
.phone { display: inline-flex; align-items: center; gap: 14px; }
.phone svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: var(--card); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; transition: background 0.4s var(--ease), stroke 0.4s var(--ease); }
.phone:hover svg { background: var(--ink); stroke: #fff; }
.phone span { font-size: 13px; color: var(--muted); line-height: 1.4; }
.phone b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.hero__visual { position: relative; }
.hero__media { aspect-ratio: 4 / 4.7; border-radius: 200px 200px var(--r) var(--r); }
.float { position: absolute; background: var(--card); border-radius: 20px; padding: 16px 20px; box-shadow: 0 26px 50px -28px rgba(14, 43, 51, 0.5); font-size: 13px; color: var(--muted); line-height: 1.4; }
.float b { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.float--slot { left: -8%; top: 22%; display: flex; align-items: center; gap: 14px; animation: bob 7s ease-in-out infinite; }
.float--slot svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--mint); fill: none; stroke: var(--ink); stroke-width: 1.6; }
.float--rate { right: -5%; bottom: 9%; animation: bob 7s ease-in-out -3.5s infinite; }
.stars { display: flex; align-items: center; gap: 8px; }
.stars svg { width: 22px; height: 22px; fill: #f2b84b; }
.stars b { font-size: 24px; letter-spacing: -0.03em; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* Treatments */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__aside { max-width: 36ch; color: var(--muted); }
.care { padding-block: clamp(80px, 10vw, 150px); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.card { background: var(--card); border-radius: var(--r); padding: clamp(24px, 2.6vw, 36px); display: flex; flex-direction: column; min-height: 290px; transition: background 0.6s var(--ease), transform 0.6s var(--ease); }
.card:hover { background: var(--mint); transform: translateY(-6px); }
.card svg { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.8s var(--ease); }
.card:hover svg { transform: scale(1.08) rotate(-4deg); }
.card h3 { font-weight: 600; font-size: 22px; letter-spacing: -0.025em; margin: 28px 0 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card span { margin-top: auto; padding-top: 22px; font-size: 14px; font-weight: 600; }
.card--alert { background: var(--ink); color: #fff; }
.card--alert p { color: rgba(255, 255, 255, 0.7); }
.card--alert:hover { background: #143b45; }

/* Comfort */
.comfort { background: var(--card); border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 1.4vw, 20px); padding-block: clamp(72px, 9vw, 130px); }
.comfort__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.comfort__media { aspect-ratio: 4 / 5; }
.ticks { margin-top: 36px; }
.ticks li { position: relative; padding: 18px 0 18px 44px; border-top: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.500l3.500 3.500L17 9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.ticks b { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.ticks span { color: var(--muted); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats dt { font-weight: 500; font-size: clamp(34px, 3.8vw, 56px); line-height: 1; letter-spacing: -0.045em; }
.stats dt small { font-size: 0.38em; margin-left: 4px; color: var(--accent); letter-spacing: 0; }
.stats dd { font-size: 14px; color: var(--muted); margin-top: 8px; }

/* Tech */
.tech { display: grid; grid-template-columns: 1.1fr 1fr 0.8fr; gap: clamp(14px, 1.8vw, 24px); align-items: end; padding-block: clamp(80px, 10vw, 150px); }
.tech__text { padding-right: clamp(0px, 3vw, 48px); align-self: center; }
.tech__text > p:not(.eyebrow) { margin: 24px 0 30px; color: var(--muted); max-width: 42ch; }
.tech__a { aspect-ratio: 4 / 4.6; }
.tech__b { aspect-ratio: 3 / 4; }

/* Team */
.team { padding-bottom: clamp(80px, 10vw, 150px); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.person .media { aspect-ratio: 4 / 4.6; }
.person:hover .media img { transform: scale(1.04); }
.person h3 { font-weight: 600; font-size: 21px; letter-spacing: -0.025em; margin-top: 18px; }
.person p { color: var(--muted); font-size: 15px; }

/* Fees and FAQ */
.fees { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(80px, 10vw, 150px); }
.pricelist { margin-top: 32px; }
.pricelist li { display: flex; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid var(--line); transition: padding 0.5s var(--ease); }
.pricelist li:last-child { border-bottom: 1px solid var(--line); }
.pricelist li:hover { padding-left: 10px; }
.pricelist b { font-weight: 600; white-space: nowrap; }
.faq { display: grid; gap: 10px; margin-top: 8px; }
.faq details { background: var(--card); border-radius: 20px; padding: 0 24px; transition: background 0.5s var(--ease); }
.faq details[open] { background: var(--mint); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e2b33' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: #fff; }
.faq details p { padding-bottom: 22px; color: var(--muted); font-size: 15px; max-width: 52ch; animation: rise 0.6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Booking */
.book { background: var(--ink); color: #fff; border-radius: clamp(28px, 4vw, 56px); margin-inline: clamp(8px, 1.4vw, 20px); padding-block: clamp(72px, 9vw, 130px); }
.book__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.book__title { font-weight: 500; font-size: clamp(42px, 6vw, 92px); line-height: 1; letter-spacing: -0.045em; }
.book__inner > div > p { margin-top: 24px; max-width: 42ch; color: rgba(255, 255, 255, 0.7); }
.hours { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.16); font-size: 15px; }
.hours dt { color: rgba(255, 255, 255, 0.6); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); }
.form__wide { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 600; }
.form input, .form select { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; background: var(--bg); border: 1.5px solid transparent; border-radius: 14px; font-weight: 400; font-size: 15px; transition: border-color 0.4s var(--ease), background 0.4s var(--ease); }
.form input::placeholder { color: #9aacb1; }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); background: #fff; }
.form .btn { margin-top: 6px; }
.form__note { font-size: 15px; font-weight: 500; color: var(--accent); min-height: 1.6em; opacity: 0; transition: opacity 0.6s var(--ease); }
.form__note.is-shown { opacity: 1; }

/* Footer */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 36px; font-size: 14px; color: var(--muted); }
.footer .brand { color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer nav a { transition: color 0.4s var(--ease); }
.footer nav a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__visual { width: min(84%, 460px); margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .comfort__inner, .fees, .book__inner { grid-template-columns: 1fr; }
  .tech { grid-template-columns: 1fr 1fr; }
  .tech__text { grid-column: 1 / -1; padding-bottom: 20px; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .header__bar { padding-left: 20px; }
  .nav { position: absolute; left: var(--pad); right: var(--pad); top: 84px; flex-direction: column; gap: 0; padding: 12px 24px; background: #fff; border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(14, 43, 51, 0.5); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0.4s; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 600px) {
  .cards, .people, .form { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .float--slot { left: -6%; }
  .float--rate { right: -6%; }
  .stats { gap: 10px; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
