/* Jolla Dental — jolladental.com. Navy + Jolla gold; WhatsApp green only on WhatsApp buttons. */
:root {
  --ink: #14233a; --ink2: #1d3150; --text: #1f2933; --mut: #5c6773;
  --gold: #b08d4a; --gold-d: #8f6f33; --gold-l: #f4ecdc;
  --wa: #1f9d55; --wa-d: #17844a;
  --soft: #f7f5f1; --line: #e6e2da; --white: #fff;
  --r: 14px; --sh: 0 10px 30px rgba(20, 35, 58, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text); background: var(--white); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.2vw, 52px); }
h2 { font-size: clamp(27px, 3.8vw, 40px); }
h3 { font-size: 21px; }
h1 em, h2 em { font-style: italic; color: var(--gold-d); }
p { margin: 0 0 1em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: var(--gold-d); margin: 0 0 .7em; }
.lede { font-size: 18.5px; color: var(--mut); max-width: 640px; }
.note { font-size: 14.5px; color: var(--mut); }
svg { width: 1.15em; height: 1.15em; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 15px 24px; border-radius: 999px; font-weight: 700; font-size: 16.5px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; line-height: 1.2; text-align: center; }
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-d); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-d); }
.btn-line { border-color: rgba(255,255,255,.55); color: #fff; }
.btn.sm { padding: 9px 15px; font-size: 15px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.cta.center { justify-content: center; margin-top: 34px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand img { height: 36px; width: auto; }
.nav { display: none; gap: 22px; margin-left: 12px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--ink2); }
.nav a:hover { color: var(--gold-d); }
@media (min-width: 1020px) { .nav { display: flex; } }
.rating { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: 15px; color: var(--mut); }
.rating b { color: var(--ink); font-size: 16px; }
.stars { display: inline-flex; color: #f2b01e; }
.rating.sm { margin-left: auto; font-size: 14px; }
.rating.sm .g { display: none; }
@media (min-width: 480px) { .rating.sm .g { display: inline; } }
.top .btn-wa span { display: none; }
@media (min-width: 560px) { .top .btn-wa span { display: inline; } }

/* hero */
.hero { background: linear-gradient(180deg, var(--soft), #fff); padding: 34px 0 44px; }
.hero-in { display: grid; gap: 30px; align-items: center; }
@media (min-width: 960px) { .hero-in { grid-template-columns: 1.05fr .95fr; gap: 54px; } .hero { padding: 64px 0 72px; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { color: var(--wa); margin-top: .22em; }
.ticks.light li { color: #e6ebf2; }
.ticks.light svg { color: #6fd39b; }
.hero-pic { margin: 0; position: relative; }
.hero-pic > img { border-radius: var(--r); box-shadow: var(--sh); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.hero-pic figcaption { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 10px; align-items: center; background: #fff; padding: 8px 14px 8px 8px; border-radius: 999px; box-shadow: var(--sh); font-size: 13.5px; color: var(--mut); line-height: 1.3; }
.hero-pic figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.hero-pic figcaption b { display: block; color: var(--ink); font-size: 15px; }

/* trust strip */
.trust { background: var(--ink); color: #fff; }
.trust-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 22px; padding-bottom: 22px; }
@media (min-width: 860px) { .trust-in { grid-template-columns: repeat(4, 1fr); } }
.trust b { display: block; font-family: Georgia, serif; font-size: 25px; color: #e3c68a; }
.trust span { font-size: 14.5px; color: #c7d0dc; }

/* sections */
.sec { padding: 64px 0; }
@media (min-width: 960px) { .sec { padding: 92px 0; } }
.sec.soft { background: var(--soft); }
.sec.white { background: #fff; }
.sec.ink { background: var(--ink); color: #e6ebf2; }
.sec.ink h2 { color: #fff; }
.sec.ink h2 em { color: #e3c68a; }
.sec.ink .eyebrow { color: #e3c68a; }
.sec.ink .lede { color: #c7d0dc; }
.prose h3 { margin-top: 1.2em; }
.split { display: grid; gap: 32px; align-items: center; margin-top: 26px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.ill { margin: 0; }
.ill img { border-radius: var(--r); width: 100%; height: auto; }
.steps-mini { padding-left: 1.2em; display: grid; gap: 10px; margin: 0 0 1em; }

/* services */
.svcs { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 700px) { .svcs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .svcs { grid-template-columns: repeat(3, 1fr); } }
.svc { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; background: #fff; }
.svc b { display: block; font-family: Georgia, serif; font-size: 20px; color: var(--ink); margin-bottom: 6px; }
.svc p { color: var(--mut); font-size: 15.5px; margin: 0; }
.svc span { display: inline-block; margin-top: 12px; color: var(--gold-d); font-weight: 700; font-size: 15px; }
a.svc:hover { border-color: var(--gold); box-shadow: var(--sh); }

/* steps */
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: #fff; border-radius: var(--r); padding: 24px; border: 1px solid var(--line); }
.steps .n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; background: var(--gold-l); color: var(--gold-d); font-weight: 800; margin-bottom: 12px; }
.steps b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--mut); font-size: 15.5px; margin: 0; }

/* cards */
.cards4 { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 700px) { .cards4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--mut); font-size: 15.5px; margin: 0; }

/* form */
.form-in { display: grid; gap: 36px; }
@media (min-width: 960px) { .form-in { grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; } }
.form-in .btn-wa { margin-top: 26px; }
.inq { background: #fff; color: var(--text); border-radius: 18px; padding: 24px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); display: grid; gap: 16px; }
@media (min-width: 560px) { .inq { padding: 32px; } }
.fld { display: grid; gap: 6px; }
.fld > span { font-weight: 700; font-size: 15px; color: var(--ink); }
.opt { font-weight: 400; color: var(--mut); font-style: normal; }
.inq select, .inq input[type=text], .inq input:not([type]), .inq input[type=tel] { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1.5px solid #cfd5dc; border-radius: 10px; background: #fff; color: var(--text); }
.inq select:focus, .inq input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-l); }
.phone { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.drop { display: grid; gap: 2px; text-align: center; padding: 18px; border: 1.5px dashed #c7ccd3; border-radius: 10px; cursor: pointer; background: var(--soft); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop b { color: var(--ink); font-size: 15.5px; }
.drop small { color: var(--mut); font-size: 13px; }
.flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.flist li { display: flex; gap: 8px; align-items: center; background: var(--soft); border-radius: 8px; padding: 6px 10px; }
.flist .fn { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist .fs { color: var(--mut); }
.flist .st.ok { color: var(--wa); } .flist .st.bad { color: #c0392b; }
.flist button { border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--mut); }
.hp { position: absolute; left: -9999px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--mut); line-height: 1.45; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--gold); }
.privacy { font-size: 13.5px; color: var(--gold-d); margin-top: -8px; }
.err { color: #c0392b; font-weight: 600; font-size: 15px; margin: 0; min-height: 0; }
.err:empty { display: none; }
.inq button[type=submit] { width: 100%; font-size: 17.5px; padding: 17px; }
.inq button[disabled] { opacity: .7; cursor: wait; }
.done { text-align: center; padding: 20px 0; }
.done .btn { margin-top: 10px; }

/* doctor */
.doc { display: grid; gap: 28px; align-items: center; margin-top: 10px; }
@media (min-width: 820px) { .doc { grid-template-columns: 360px 1fr; gap: 50px; } }
.doc img { border-radius: var(--r); box-shadow: var(--sh); width: 100%; height: auto; }
.role { color: var(--gold-d); font-weight: 700; }
.chips { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--gold-l); color: var(--gold-d); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.chips.tech { margin: 0 0 26px; }
.chips.tech li { background: #fff; color: var(--ink2); border: 1px solid var(--line); }

/* clinic */
.vids { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 14px; }
.vid { margin: 0; }
.vid video { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 480 / 848; background: #0d1520; object-fit: cover; }
.vid figcaption { font-size: 13.5px; color: var(--mut); margin-top: 6px; text-align: center; }
@media (max-width: 560px) { .vids { grid-template-columns: repeat(3, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .vid { scroll-snap-align: start; } }
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 860px) { .gal { grid-template-columns: repeat(3, 1fr); } }
.gal figure { margin: 0; }
.gal img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }

/* guarantee */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; align-items: center; }
.brands img { height: 30px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; filter: grayscale(1); opacity: .75; }

/* reviews */
.revs { display: grid; gap: 16px; margin: 28px 0 18px; }
@media (min-width: 760px) { .revs { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .revs { grid-template-columns: repeat(3, 1fr); } }
.rev { margin: 0; background: var(--soft); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.rev blockquote { margin: 0; font-size: 15.5px; flex: 1; }
.rev figcaption { font-size: 14px; color: var(--mut); }
.rev figcaption b { display: block; color: var(--ink); font-size: 15px; }
.note a { color: var(--gold-d); font-weight: 700; }

/* faq */
.faq { margin-top: 26px; display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 17px 24px 17px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--gold-d); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--mut); margin: 0 0 18px; }

/* contact */
.contact-in { display: grid; gap: 36px; }
@media (min-width: 900px) { .contact-in { grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; } }
.info { margin: 0; display: grid; gap: 18px; background: var(--ink2); border-radius: var(--r); padding: 26px; }
.info dt { text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: #e3c68a; font-weight: 700; }
.info dd { margin: 4px 0 0; color: #fff; }
.info a { display: inline-flex; gap: 6px; align-items: center; color: #fff; }

/* footer */
.foot { background: #0e192a; color: #9aa7b8; font-size: 14px; padding: 34px 0 110px; }
@media (min-width: 900px) { .foot { padding-bottom: 34px; } }
.foot-in { display: grid; gap: 20px; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 1fr auto; align-items: center; } }
.foot img { height: 34px; width: auto; filter: brightness(1.15); margin-bottom: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { color: #c7d0dc; text-decoration: none; }

/* sticky mobile bar */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -6px 20px rgba(20,35,58,.12); transform: translateY(110%); transition: transform .25s; }
.sticky.on { transform: none; }
.sticky .btn { padding: 13px 10px; font-size: 15.5px; }
@media (min-width: 900px) { .sticky { display: none; } }
