/* Miami Dental 305 · showcase landing (Booked 305) */
:root { --black: #000; --white: #fff; --stone: #fafaf9; --zinc: #e4e4e7; --r: 12px; --ease: cubic-bezier(.16, 1, .3, 1); --menu: cubic-bezier(.76, 0, .24, 1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body { font-family: 'Open Sauce One', -apple-system, BlinkMacSystemFont, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background: #fff; color: #000; line-height: 1.5; }
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: 'Open Sauce One Bold', 'Open Sauce One', sans-serif; font-weight: 700; }
.b { font-family: 'Open Sauce One Bold', 'Open Sauce One', sans-serif; font-weight: 700; }

/* Splash */
.splash { position: fixed; inset: 0; z-index: 100; background: #fff; display: flex; align-items: flex-end; justify-content: flex-start; transition: opacity .7s; }
.splash.is-exiting { opacity: 0; }
.splash__num { font-family: 'Open Sauce One Bold', sans-serif; font-weight: 700; font-size: 72px; font-variant-numeric: tabular-nums; padding: 24px; line-height: 1; color: #000; }

/* Navbar */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 8px 16px; background: rgba(255,255,255,.8); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.logo { display: flex; flex-direction: column; }
.logo__word { font-family: 'Open Sauce One Bold', sans-serif; font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: -.025em; line-height: 1; }
.logo__word--2 { margin-top: -3px; }
.logo__tag { font-size: 8px; font-weight: 500; line-height: 1; margin-top: 6px; }
.nav__desk { display: none; align-items: center; gap: 24px; }
.pill { display: inline-flex; align-items: center; justify-content: center; padding: 12px 24px; background: #fff; border-radius: 999px; border: 1px solid #000; font-size: 14px; font-weight: 600; transition: background .2s, color .2s; }
.pill:hover { background: #000; color: #fff; }
.nav__em { font-size: 14px; font-weight: 600; color: #000; }
.burger { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.burger span { position: absolute; height: 2px; width: 24px; background: #000; border-radius: 999px; transition: all .3s var(--menu); }
.burger span:nth-child(1) { transform: translateY(-8px); }
.burger span:nth-child(3) { transform: translateY(8px); }
.burger.is-open span:nth-child(1) { transform: rotate(45deg) translateY(0); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: rotate(-45deg) translateY(0); }
.mmenu { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.mmenu.is-open { pointer-events: auto; }
.mmenu__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s; }
.mmenu.is-open .mmenu__backdrop { opacity: 1; }
.mmenu__panel { position: absolute; top: 0; right: 0; height: 100%; width: 85%; max-width: 384px; background: #fff; box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); transform: translateX(100%); transition: transform .5s var(--menu); display: flex; flex-direction: column; justify-content: center; padding: 0 32px; }
.mmenu.is-open .mmenu__panel { transform: translateX(0); }
.mmenu__links { display: flex; flex-direction: column; gap: 4px; }
.mmenu__links a { font-family: 'Open Sauce One Bold', sans-serif; font-size: 36px; font-weight: 700; color: #000; opacity: 0; transform: translateX(32px); transition: all .5s var(--menu); transition-delay: 0ms; }
.mmenu__links a:hover { color: #737373; }
.mmenu.is-open .mmenu__links a { opacity: 1; transform: translateX(0); transition-delay: calc(100ms + var(--i) * 60ms); }
.mmenu__foot { margin-top: 32px; padding-top: 32px; border-top: 1px solid #e5e5e5; opacity: 0; transform: translateX(32px); transition: all .5s var(--menu); }
.mmenu.is-open .mmenu__foot { opacity: 1; transform: none; transition-delay: 450ms; }
.mmenu__foot .nav__em { margin-bottom: 16px; }
.btn-black { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 16px 24px; background: #000; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.btn-black:hover { background: #262626; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; background: #fff; border-radius: 999px; color: #000; font-family: 'Open Sauce One Bold', sans-serif; font-size: 16px; font-weight: 700; transition: transform .2s; }
.btn-white:hover { transform: scale(1.05); }

/* Sections */
section { width: 100%; overflow: hidden; display: flex; flex-direction: column; padding: 6px 12px 6px; gap: 6px; }
.s1 { height: 100vh; height: 100svh; padding-top: 96px; }
.s2, .s3 { min-height: 100vh; }
.mcard { border-radius: var(--r); overflow: hidden; position: relative; background-repeat: no-repeat; background-color: #e5e5e5; }
[data-reveal-item] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
.is-visible [data-reveal-item] { opacity: 1; transform: translateY(0); }

/* S1 */
.bar { width: 100%; height: 56px; flex-shrink: 0; }
.bar span { position: relative; z-index: 10; display: flex; align-items: center; justify-content: center; height: 100%; color: #000; font-family: 'Open Sauce One Bold', sans-serif; font-size: 18px; font-weight: 700; text-align: center; }
.hero { width: 100%; flex: 1; min-height: 0; }
.hero__intro { position: absolute; top: 16px; left: 16px; color: #000; font-size: 12px; font-weight: 600; line-height: 16px; max-width: 200px; z-index: 10; }
.hero__bottom { position: absolute; bottom: 20px; left: 12px; z-index: 10; }
.hero__label { display: block; color: #000; font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.hero__h1 { color: #000; font-size: clamp(3rem, 11vw, 11rem); line-height: .79; letter-spacing: -.025em; }
.hero__free { position: absolute; bottom: 24px; right: 16px; color: #fff; font-size: 12px; font-weight: 600; z-index: 10; }

/* S2 */
.s2__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 6px; }
.s2__c0, .s2__c2 { min-height: 160px; }
.s2__c1, .s2__c3 { min-height: 200px; }
.s2__title { position: absolute; top: 16px; left: 20px; color: #fff; font-size: 24px; z-index: 10; }
.s2__sub { position: absolute; bottom: 16px; left: 20px; color: #fff; font-size: 12px; font-weight: 600; z-index: 10; }
.s2__copy { position: absolute; bottom: 64px; left: 20px; color: #fff; font-size: 12px; font-weight: 600; line-height: 16px; z-index: 10; }
.s2__c1 .btn-white { position: absolute; bottom: 16px; right: 16px; z-index: 10; }
.s2__big { position: absolute; top: 16px; left: 20px; color: #fff; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; z-index: 10; }
.services { position: absolute; inset: 0; z-index: 10; display: flex; flex-wrap: wrap; gap: 6px; padding: 8px; }
.svc { flex: 1; min-width: calc(50% - 4px); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; background: rgba(20,20,20,.28); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.svc--active { background: rgba(255,255,255,.9); box-shadow: none; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.svc h3 { font-size: 20px; line-height: 1.05; color: #fff; }
.svc--active h3 { color: #000; }
.svc__num { align-self: flex-end; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #fff; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.svc--active .svc__num { border-color: #000; color: #000; }

/* S3 */
.s3__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
.s3__left { display: flex; flex-direction: column; gap: 6px; }
.s3__head { border-radius: var(--r); background: var(--stone); padding: 20px; display: flex; flex-direction: column; justify-content: space-between; flex: 1.2; min-height: 180px; }
.s3__head h2 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .95; color: #000; }
.s3__head p { font-size: 12px; font-weight: 600; color: #000; }
.s3__imgs { display: flex; gap: 6px; flex: 1; min-height: 140px; }
.s3__img { flex: 1; border-radius: var(--r); overflow: hidden; }
.s3__img img { width: 100%; height: 100%; object-fit: cover; }
.s3__consult { border-radius: var(--r); background: var(--zinc); padding: 20px; display: flex; align-items: flex-end; justify-content: space-between; flex: .8; min-height: 160px; }
.s3__label { font-size: 12px; font-weight: 600; color: #000; margin-bottom: 8px; }
.s3__consult h3 { font-size: 20px; color: #000; line-height: 24px; }
.s3__right { border-radius: var(--r); overflow: hidden; position: relative; min-height: 350px; }
.s3__right > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.s3__overlay { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 6px; }
.ocard { flex: 1; border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; justify-content: space-between; height: 144px; }
.ocard--white { background: #fff; }
.ocard--glass { background: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.ocard h4 { font-size: 18px; line-height: 20px; color: #000; }
.ocard--glass h4 { color: #fff; }
.ocard__arrow { align-self: flex-end; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #000; display: flex; align-items: center; justify-content: center; color: #000; }
.ocard__arrow svg { transform: rotate(-45deg); }
.ocard--glass .ocard__arrow { border-color: #fff; color: #fff; }

/* Booking modal */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .3s; }
.modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 28px 24px 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: up .45s var(--ease); }
@keyframes fade { from { opacity: 0; } } @keyframes up { from { opacity: 0; transform: translateY(20px); } }
.modal__close { position: absolute; top: 10px; right: 14px; font-size: 28px; line-height: 1; width: 36px; height: 36px; border-radius: 50%; }
.modal__close:hover { background: #f4f4f5; }
.modal__foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid #eee; font-size: 11px; color: #737373; text-align: center; }
.modal__foot a { font-weight: 600; color: #000; }
.bk__steps { display: flex; gap: 6px; margin-bottom: 16px; }
.bk__steps span { flex: 1; height: 4px; border-radius: 3px; background: #eee; }
.bk__steps span.is-done { background: #000; }
.bk__step { display: none; animation: up .4s var(--ease); }
.bk__step.is-active { display: block; }
.bk__title { font-size: 22px; margin-bottom: 4px; letter-spacing: -.01em; }
.bk__sub { font-size: 13px; color: #737373; margin-bottom: 14px; }
.bk__list { display: grid; gap: 8px; }
.bk__list button { display: flex; justify-content: space-between; align-items: center; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid #e5e5e5; background: #fff; transition: border-color .2s, transform .2s; }
.bk__list button:hover { border-color: #000; transform: translateX(3px); }
.bk__list b { display: block; font-weight: 600; font-size: 14px; } .bk__list small { color: #737373; font-size: 12px; }
.bk__list em { font-style: normal; font-weight: 700; }
.bk__cal { display: grid; grid-template-columns: 1fr; gap: 14px; }
.bk__calhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.bk__calhead button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid #e5e5e5; }
.bk__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; font-size: 13px; }
.bk__grid span { padding: 6px 0; color: #737373; font-weight: 600; font-size: 10px; }
.bk__grid button { aspect-ratio: 1; border-radius: 8px; font-weight: 500; position: relative; }
.bk__grid button:hover:not(:disabled) { background: #f4f4f5; }
.bk__grid button:disabled { color: #d4d4d8; cursor: not-allowed; }
.bk__grid button.is-on { background: #000; color: #fff; font-weight: 700; }
.bk__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.bk__times button { padding: 10px 6px; border-radius: 10px; border: 1px solid #e5e5e5; font-weight: 600; font-size: 13px; }
.bk__times button:hover:not(:disabled) { border-color: #000; }
.bk__times button:disabled { color: #d4d4d8; text-decoration: line-through; cursor: not-allowed; }
.bk__times button.is-on { background: #000; border-color: #000; color: #fff; }
.bk__empty { grid-column: 1 / -1; color: #737373; font-size: 13px; padding: 10px; text-align: center; }
.bk__form { display: grid; gap: 10px; }
.bk__form label { display: grid; gap: 6px; font-size: 12.5px; font-weight: 600; color: #404040; }
.bk__form input { padding: 12px 14px; border-radius: 10px; border: 1px solid #d4d4d8; font: inherit; }
.bk__form input:focus { outline: none; border-color: #000; }
.bk__summary { border-radius: 12px; background: var(--stone); border: 1px solid #eee; padding: 12px 14px; font-size: 13px; display: grid; gap: 3px; margin-bottom: 12px; }
.bk__summary b { font-weight: 700; }
.bk__actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.bk__actions--center { justify-content: center; }
.bk__actions .btn-black { width: auto; padding: 12px 20px; }
.bk__note { color: #737373; font-size: 12px; margin-top: 12px; }
.bk__done { text-align: center; }
.bk__check { width: 72px; height: 72px; border-radius: 50%; background: #000; color: #fff; display: grid; place-items: center; margin: 0 auto 14px; }
.bk__check svg { width: 36px; height: 36px; }
.bk__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bk__ticket { text-align: left; border-radius: 12px; border: 1px dashed #d4d4d8; padding: 12px 14px; font-size: 13px; display: grid; gap: 3px; margin: 14px 0; }
.bk__ticket b { font-size: 15px; }
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal-item] { opacity: 1; transform: none; transition: none; }
  .splash { display: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ===== md (768px) ===== */
@media (min-width: 768px) {
  :root { --r: 16px; }
  .splash__num { font-size: 128px; padding: 40px; }
  .nav { padding: 12px 24px; }
  .logo__word { font-size: 24px; } .logo__word--2 { margin-top: -4px; } .logo__tag { font-size: 9px; margin-top: 8px; }
  .nav__desk { display: flex; }
  .burger, .mmenu { display: none; }
  section { padding: 8px 20px 8px; gap: 8px; }
  .s1 { padding-top: 96px; }
  .s2, .s3 { height: 100vh; height: 100svh; min-height: 0; }
  .bar { height: 80px; }
  .bar span { font-size: 30px; }
  .hero__intro { top: 28px; left: 28px; font-size: 14px; line-height: 20px; max-width: 300px; }
  .hero__bottom { bottom: 32px; left: 16px; }
  .hero__label { font-size: 14px; margin-bottom: 8px; }
  .hero__free { bottom: 40px; right: 32px; font-size: 14px; }
  .s2__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr .8fr; gap: 8px; }
  .s2__c0, .s2__c1, .s2__c2, .s2__c3 { min-height: 0; }
  .s2__c1 { grid-row: span 2; }
  .s2__c3 { grid-column: span 2; }
  .s2__title { top: 24px; left: 28px; color: #000; font-size: 30px; }
  .s2__sub { bottom: 24px; left: 28px; color: #000; font-size: 14px; }
  .s2__copy { bottom: 80px; left: 28px; font-size: 14px; line-height: 20px; }
  .s2__c1 .btn-white { bottom: 24px; right: 24px; }
  .btn-white { padding: 20px 32px; font-size: 20px; }
  .s2__big { top: 24px; left: 28px; color: #000; }
  .services { flex-wrap: nowrap; gap: 8px; padding: 12px; }
  .svc { min-width: 0; padding: 20px; }
  .svc h3 { font-size: 36px; }
  .svc__num { width: 48px; height: 48px; font-size: 14px; }
  .s3__grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .s3__left { gap: 8px; }
  .s3__head { padding: 28px; min-height: 0; }
  .s3__head p { font-size: 14px; }
  .s3__imgs { gap: 8px; min-height: 0; }
  .s3__consult { padding: 28px; min-height: 0; }
  .s3__label { font-size: 14px; margin-bottom: 12px; }
  .s3__consult h3 { font-size: 30px; line-height: 32px; }
  .s3__right { min-height: 0; }
  .s3__overlay { bottom: 20px; left: 20px; right: 20px; gap: 8px; }
  .ocard { padding: 20px; height: 208px; }
  .ocard h4 { font-size: 24px; line-height: 28px; }
  .ocard__arrow { width: 48px; height: 48px; }
  .bk__cal { grid-template-columns: 1.1fr 1fr; }
  .bk__times { grid-template-columns: repeat(2, 1fr); }
  .modal__panel { padding: 32px 30px 20px; }
}
