/* ==========================================================================
   Bright Canyon Dental - demo site stylesheet
   Standalone demo by Inland Web Services for dental practices.
   Design language: light, airy, rounded/organic — split hero, bento grid,
   coupon tickets, pill cloud, FAQ accordion. Intentionally NOT the dark-hero
   layout used by the other demos.
   ========================================================================= */

:root {
  --sky: #0369a1;
  --sky-d: #075985;
  --sky-100: #e0f2fe;
  --sky-050: #f0f9ff;
  --amber: #f59e0b;
  --amber-d: #b45309;
  --coral: #f97362;
  --ink: #0e2233;
  --text: #22384a;
  --muted: #5b6e7e;
  --border: #d9e7f0;
  --bg: #ffffff;
  --radius: 22px;
  --pill: 999px;
  --shadow: 0 12px 30px rgba(14, 34, 51, .09);
  --shadow-lg: 0 24px 56px rgba(14, 34, 51, .18);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Nunito", var(--font-body);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sky-d); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: 2.6rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.14rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section { padding: 68px 0; }
.section--soft { background: var(--sky-050); }
.section--sky { position: relative; background: linear-gradient(160deg, var(--sky-100), #d3ecfb); padding-bottom: 110px; }
.head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.head--left { margin: 0 0 30px; text-align: left; }
.head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); margin-bottom: .6rem; }
.eyebrow::before { content:""; width: 22px; height: 3px; background: var(--amber); border-radius: 2px; }
.samplenote { display: block; font-family: var(--font-body); font-weight: 500; font-size: .82rem; color: var(--muted); margin-top: 4px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-weight: 900; font-size: 1rem; padding: 14px 26px; border-radius: var(--pill); border: 2px solid transparent; cursor: pointer; transition: transform .06s ease, background .2s ease, box-shadow .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px); }
.btn--cta { background: linear-gradient(135deg, #0284c7, var(--sky)); color: #fff; box-shadow: 0 12px 28px rgba(2,132,199,.30); }
.btn--cta:hover { background: linear-gradient(135deg, var(--sky-d), #064e77); }
.btn--soft { background: var(--sky-100); color: var(--sky-d); }
.btn--soft:hover { background: #cbe8fb; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.topstack { position: sticky; top: 0; z-index: 50; }
.demobar { background: var(--ink); color: #b6c9d6; font-size: .85rem; }
.demobar .container { display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; min-height: 42px; }
.demobar b { color: #fff; }
.demo-back { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; }
.demo-back svg { width: 16px; height: 16px; }
.demo-cta { color: #7dd3fc; font-weight: 800; white-space: nowrap; }
.site-header { position: relative; z-index: 5; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 900; color: var(--ink); }
.logo { display: grid; place-items: center; width: 44px; height: 44px; flex: none; }
.logo svg { width: 44px; height: 44px; }
.wm { display: flex; flex-direction: column; line-height: 1; }
.wm-name { font-size: 1.16rem; }
.wm-sub { font-family: var(--font-body); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sky); font-weight: 800; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 9px 12px; border-radius: var(--pill); color: var(--ink); font-weight: 700; font-size: .93rem; white-space: nowrap; }
.nav a:hover { background: var(--sky-050); }
.header-cta { display: flex; align-items: center; gap: 12px; flex: none; }
.header-cta .btn { white-space: nowrap; }
.header-phone { font-family: var(--font-head); font-weight: 900; color: var(--sky-d); white-space: nowrap; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; justify-content: center; width: 46px; height: 46px; background: #fff; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); margin: 0 auto; }

/* ---------- Split hero, light ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--sky-050) 0%, var(--sky-100) 100%); overflow: hidden; }
.hero-grid { display: grid; gap: 40px; padding-top: 64px; padding-bottom: 92px; align-items: center; }
.hello { display: inline-block; background: #fff; border: 1px solid var(--border); border-radius: var(--pill); padding: 8px 16px; font-weight: 700; font-size: .9rem; color: var(--sky-d); box-shadow: var(--shadow); margin-bottom: 18px; }
.hero h1 { font-size: 2.9rem; max-width: 560px; }
.hero h1 em { font-style: normal; color: var(--sky); position: relative; }
.hero h1 em::after { content:""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(245,158,11,.35); border-radius: 6px; z-index: -1; }
.hero .lead { font-size: 1.14rem; color: var(--text); max-width: 540px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.rating-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; color: var(--muted); font-size: .95rem; }
.rating-row .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; }
.rating-row b { color: var(--ink); }

.hero-media { position: relative; max-width: 520px; justify-self: center; width: 100%; }
.hero-media .blob { position: absolute; inset: -26px -20px auto auto; width: 78%; height: 108%; background: radial-gradient(closest-side, rgba(2,132,199,.20), transparent); border-radius: 46% 54% 62% 38% / 55% 44% 56% 45%; }
.hero-media img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; border-radius: 34px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.float-chip { position: absolute; z-index: 2; background: #fff; border-radius: var(--pill); padding: 10px 16px; font-weight: 800; font-size: .86rem; font-family: var(--font-head); color: var(--ink); box-shadow: var(--shadow-lg); white-space: nowrap; }
.fc-1 { left: -10px; bottom: 26px; }
.fc-2 { right: -6px; top: 14px; }

.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 46px; }
.wave--flip { transform: scaleX(-1); }

/* ---------- Insurance strip ---------- */
.ins { background: #fff; border-bottom: 1px solid var(--border); }
.ins .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 26px; padding-top: 18px; padding-bottom: 18px; text-align: center; }
.ins-label { font-family: var(--font-head); font-weight: 900; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sky); }
.ins-names { color: var(--muted); font-weight: 600; font-size: .95rem; }
.ins-note { color: var(--amber-d); font-weight: 700; font-size: .9rem; }

/* ---------- Bento grid ---------- */
.bento { display: grid; gap: 20px; }
.b-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; }
.b-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.b-card img { width: 100%; height: 190px; object-fit: cover; }
.b-body { padding: 20px 22px 24px; }
.b-body p { color: var(--muted); margin: 0; }
.b-feature img { height: 260px; }
.b-feature .b-body { padding: 26px 28px 30px; }
.b-feature h3 { font-size: 1.4rem; }
.b-link { display: inline-block; margin-top: 12px; font-family: var(--font-head); font-weight: 900; color: var(--sky); }
.b-mini { padding: 24px 24px 26px; justify-content: flex-start; }
.b-emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.b-icon { display: inline-grid; width: 1.9rem; height: 1.9rem; color: var(--coral); }
.b-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.b-kids { background: linear-gradient(160deg, #fff7e6, #fff); border-color: #f3ddb0; }
.b-er { background: linear-gradient(160deg, #fdeeec, #fff); border-color: #f6cfc9; }
.b-er a { font-weight: 800; color: var(--coral); }
.b-mini p { color: var(--muted); margin: 0; }

/* ---------- Comfort menu pill cloud ---------- */
.menu-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 860px; margin: 0 auto; }
.menu-cloud span { background: #fff; border: 1px solid rgba(3,105,161,.18); border-radius: var(--pill); padding: 13px 22px; font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s ease; }
.menu-cloud span:hover { transform: translateY(-3px) rotate(-1deg); }
.menu-cloud span:nth-child(even):hover { transform: translateY(-3px) rotate(1deg); }

.coverage-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.coverage-section .container { display: grid; gap: 40px; }
.coverage-intro { max-width: 520px; }
.coverage-intro p { color: var(--muted); font-size: 1.05rem; }
.coverage-call { display: inline-block; padding-bottom: 3px; border-bottom: 2px solid var(--amber); font-family: var(--font-head); font-weight: 900; }
.coverage-details { border-top: 2px solid var(--ink); }
.coverage-details article { padding: 20px 0; border-bottom: 1px solid var(--border); }
.coverage-details h3 { margin-bottom: 4px; }
.coverage-details p { margin: 0; color: var(--muted); }

/* ---------- Coupon tickets ---------- */
.tickets { display: grid; gap: 20px; }
.ticket { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; background: #fff; border: 2px dashed rgba(3,105,161,.35); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); }
.t-body { flex: 1 1 180px; min-width: 0; }
.ticket::before, .ticket::after { content:""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--bg); border: 2px dashed rgba(3,105,161,.35); top: 50%; transform: translateY(-50%); }
.ticket::before { left: -13px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.ticket::after { right: -13px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.t-price { font-family: var(--font-head); font-weight: 900; font-size: 2rem; color: var(--sky-d); flex: none; min-width: 96px; text-align: center; }
.t-price span { font-size: 1rem; color: var(--amber-d); }
.t-body h3 { margin-bottom: 4px; }
.t-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.t-stub { flex: none; margin-left: auto; font-family: var(--font-head); font-weight: 900; font-size: .68rem; letter-spacing: .12em; color: #fff; background: var(--amber); border-radius: 10px; padding: 10px 12px; text-align: center; line-height: 1.35; }

/* ---------- Journey timeline ---------- */
.journey { list-style: none; margin: 0; padding: 0; display: grid; gap: 30px; position: relative; counter-reset: none; }
.journey li { position: relative; padding-left: 62px; }
.journey li::before { content:""; position: absolute; left: 21px; top: 46px; bottom: -30px; border-left: 3px dotted rgba(3,105,161,.35); }
.journey li:last-child::before { display: none; }
.j-dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 3px solid var(--sky); color: var(--sky-d); font-family: var(--font-head); font-weight: 900; font-size: 1.1rem; border-radius: 50%; box-shadow: var(--shadow); }
.journey h3 { margin-bottom: 4px; }
.journey p { margin: 0; color: var(--muted); }

/* ---------- Big quote + rating ---------- */
.quote-grid { display: grid; gap: 26px; align-items: center; }
.bigquote { position: relative; margin: 0; background: var(--sky-050); border-radius: var(--radius); padding: 40px 38px 30px; border: 1px solid var(--border); }
.q-mark { position: absolute; top: -24px; left: 24px; font-family: var(--font-head); font-weight: 900; font-size: 5rem; line-height: 1; color: var(--amber); }
.bigquote p { font-family: var(--font-head); font-weight: 700; font-size: 1.28rem; line-height: 1.55; color: var(--ink); }
.bigquote footer { color: var(--muted); font-weight: 600; }
.rating-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; padding: 30px 24px; }
.rating-card .big-num { font-family: var(--font-head); font-weight: 900; font-size: 3.2rem; color: var(--sky-d); line-height: 1; }
.rating-card .big-num span { font-size: 1.3rem; color: var(--muted); }
.rating-card .stars { color: var(--amber); font-size: 1.3rem; letter-spacing: 3px; margin: 8px 0 4px; }
.rating-card p { margin: 0; font-weight: 700; color: var(--ink); }
.rating-card small { color: var(--muted); }

.office-section { background: #fff; }
.office-layout { display: grid; gap: 38px; }
.office-intro { max-width: 460px; }
.office-intro p { color: var(--muted); font-size: 1.05rem; }
.office-facts { display: grid; border-top: 2px solid var(--ink); }
.office-facts article { padding: 21px 0; border-bottom: 1px solid var(--border); }
.office-facts article > span { display: block; margin-bottom: 6px; color: var(--sky); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.office-facts h3 { margin-bottom: 4px; }
.office-facts p { margin: 0; color: var(--muted); }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 780px; }
details { background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; font-family: var(--font-head); font-weight: 900; font-size: 1.02rem; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content:"+"; font-size: 1.5rem; color: var(--sky); font-weight: 700; transition: transform .18s ease; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Booking card ---------- */
.book-card { display: grid; gap: 0; background: #fff; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow-lg); overflow: hidden; }
.book-intro { background: linear-gradient(160deg, var(--sky-d), var(--sky)); color: #dceffb; padding: 36px 32px; }
.book-intro h2, .book-intro h3 { color: #fff; }
.book-intro .eyebrow { color: #fcd34d; }
.book-intro .eyebrow::before { background: #fcd34d; }
.book-intro p { color: #cfe8f8; }
.hours { margin-top: 22px; }
.hours h3 { font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin: 18px 0 4px; color: #9edcfd; }
.hours p { margin: 0 0 4px; }
.strong-link { color: #fff; font-family: var(--font-head); font-weight: 900; font-size: 1.15rem; }
.mail a { color: #9edcfd; overflow-wrap: anywhere; }
.book-form { padding: 32px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input, .field select, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(3,105,161,.16); }
.field textarea { min-height: 100px; resize: vertical; }
.form-success { display: none; background: #eaf6fd; border: 1px solid #7dd3fc; color: #075985; padding: 16px; border-radius: 12px; font-weight: 700; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a4b8c6; padding: 44px 0 24px; margin-top: 24px; }
.site-footer h4 { color: #fff; }
.site-footer a { color: #7dd3fc; }
.foot-grid { display: grid; gap: 26px; }
.footer-brand { margin-bottom: 12px; }
.footer-brand .wm-name { color: #fff; }
.foot-grid p { margin: 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 16px; font-size: .82rem; color: #8aa0b0; }
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: none; align-items: center; gap: 8px; background: linear-gradient(135deg, #0284c7, var(--sky)); color: #fff; font-family: var(--font-head); font-weight: 900; padding: 14px 20px; border-radius: var(--pill); box-shadow: var(--shadow-lg); }
.call-fab svg { width: 20px; height: 20px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--sky); color: #fff; padding: 10px 16px; border-bottom-right-radius: 8px; font-family: var(--font-head); font-weight: 900; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid #7dd3fc; outline-offset: 2px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .tickets { grid-template-columns: repeat(3, 1fr); }
  .ticket { flex-direction: column; text-align: center; gap: 10px; padding: 28px 22px; }
  .t-stub { margin-left: 0; }
  .journey { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .journey li { padding-left: 0; padding-top: 60px; }
  .journey li::before { left: 46px; right: -14px; top: 21px; bottom: auto; border-left: none; border-top: 3px dotted rgba(3,105,161,.35); }
  .j-dot { top: 0; }
}
@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .bento { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; }
  .b-feature { grid-row: 1 / 3; }
  .quote-grid { grid-template-columns: 1.5fr .8fr; }
  .coverage-section .container { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .office-layout { grid-template-columns: .72fr 1.28fr; align-items: start; }
  .office-facts { grid-template-columns: 1fr 1fr; column-gap: 26px; }
  .book-card { grid-template-columns: .85fr 1.15fr; }
  .foot-grid { grid-template-columns: 2fr 1fr 1.4fr; }
}
/* Tighten the nav before it has room to wrap (wrapping used to make the
   header CTA taller than the bar and clip it top and bottom). */
@media (max-width: 1140px) {
  .nav { gap: 0; }
  .nav a { padding: 9px 8px; font-size: .88rem; }
  .header-cta { gap: 9px; }
  .header-cta .btn { padding: 12px 20px; font-size: .95rem; }
  .header-phone { font-size: .93rem; }
}
@media (max-width: 1040px) {
  .nav, .header-phone, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 10px 14px 16px; z-index: 40; }
  .call-fab { display: inline-flex; }
}
@media (max-width: 600px) {
  .demo-note { display: none; }
  h1 { font-size: 2.05rem; }
  .hero h1 { font-size: 2.2rem; }
  .btn { width: 100%; }
  .float-chip { font-size: .78rem; padding: 8px 12px; }
  .fc-1 { left: 4px; bottom: 10px; }
  .fc-2 { right: 2px; top: 6px; }
  .t-price { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; transition: none !important; } .menu-cloud span:hover { transform: none; } }
