/* Desert Rose Dental — concept site by Wild Frontier Marketing
   Palette: Sonoran dusk. Cool sky wash, deep dusk violet, desert-rose pink, saguaro green. */

:root {
  --sky: #edf3f6;
  --paper: #ffffff;
  --dusk: #2a2948;
  --dusk-2: #454370;
  --dusk-3: #6f6c9c;
  --ink: #33324a;
  --muted: #5d5c75;
  --rose: #c2356b;
  --rose-deep: #a3285a;
  --rose-soft: #f9dde7;
  --saguaro: #2f6b55;
  --saguaro-soft: #dcebe4;
  --gold: #e2a33a;
  --line: #d3dde3;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --arch: 999px 999px 18px 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--rose-deep); text-underline-offset: 3px; }
a:hover { color: var(--dusk); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  color: var(--dusk);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 750; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { padding-left: 1.2em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.small { font-size: 0.92rem; color: var(--muted); }
.skip { position: absolute; left: -999px; top: 0; background: var(--dusk); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* Concept ribbon */
.concept {
  background: var(--gold);
  color: #2b2205;
  font-size: 0.86rem;
  text-align: center;
  padding: 6px var(--gutter);
}

/* Utility bar */
.util { background: var(--dusk); color: #e9e8f5; font-size: 0.92rem; }
.util .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding-block: 8px; }
.util a { color: #fff; }
.util-left { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--dusk-3); display: inline-block; }
.status.open i { background: #6fdc9f; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; overflow: hidden; }
.lang a { padding: 3px 12px; text-decoration: none; }
.lang a[aria-current="true"] { background: #fff; color: var(--dusk); font-weight: 700; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dusk); }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 750; font-size: 1.32rem; line-height: 1; letter-spacing: -0.02em; display: block; }
.brand-sub { display: block; font-size: 0.8rem; color: var(--saguaro); margin-top: 4px; letter-spacing: 0.01em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--dusk); text-decoration: none; padding: 8px 11px; border-radius: 999px; font-size: 0.98rem; }
.nav a:hover { background: var(--sky); }
.nav a[aria-current="page"] { background: var(--sky); font-weight: 700; }
.nav .btn { margin-left: 8px; color: #fff; padding: 10px 18px; }
.nav .btn:hover { background: var(--rose-deep); }
.menu-btn { display: none; background: none; border: 2px solid var(--dusk); color: var(--dusk); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 700; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--rose); color: #fff; text-decoration: none;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
}
.btn:hover { background: var(--rose-deep); color: #fff; }
.btn.ghost { background: transparent; color: var(--dusk); border-color: var(--dusk); }
.btn.ghost:hover { background: var(--dusk); color: #fff; }
.btn.light { background: #fff; color: var(--dusk); }
.btn.light:hover { background: var(--rose-soft); color: var(--dusk); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* Hero */
.hero { background: var(--sky); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 64px); align-items: end; padding-top: clamp(36px, 6vw, 76px); }
.hero-copy { padding-bottom: clamp(150px, 19vw, 250px); }
.hero-copy .lead { max-width: 34em; margin-top: 1em; }
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 1.6em; text-decoration: none; color: var(--dusk); background: rgba(255,255,255,.75); border-radius: 999px; padding: 8px 18px 8px 14px; }
.rating strong { font-family: var(--display); font-size: 1.25rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero-photo { position: relative; align-self: end; margin-bottom: clamp(40px, 6vw, 84px); }
.hero-photo .ph { aspect-ratio: 4 / 5; border-radius: var(--arch); border: 8px solid #fff; }
.landscape { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(170px, 22vw, 300px); z-index: 1; }

/* Page hero (inner pages) */
.page-hero { background: var(--sky); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: clamp(34px, 5vw, 64px); padding-bottom: clamp(96px, 11vw, 150px); }
.page-hero .lead { max-width: 40em; }
.page-hero .landscape { height: clamp(80px, 10vw, 130px); }

/* Facts strip, sits directly under the landscape */
.facts { background: var(--dusk); color: #ecebf7; }
.facts ul { list-style: none; margin: 0; padding: 26px 0 34px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 32px; }
.facts li { border-top: 2px solid var(--rose); padding-top: 12px; }
.facts strong { display: block; font-family: var(--display); font-size: 1.12rem; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.facts span { font-size: 0.95rem; color: #cfcde6; }

/* Sections */
.section { padding-block: clamp(52px, 8vw, 104px); }
.section.sky { background: var(--sky); }
.section.dusk { background: var(--dusk); color: #e6e5f3; }
.section.dusk h2, .section.dusk h3 { color: #fff; }
.section.dusk a:not(.btn) { color: #fff; }
.section-head { max-width: 46em; margin-bottom: clamp(26px, 4vw, 44px); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split.top { align-items: start; }

/* Photo placeholders: designed stand-ins until real photography arrives */
.ph {
  position: relative; overflow: hidden; background:
    radial-gradient(120% 80% at 80% 0%, #f6c9d8 0%, transparent 55%),
    linear-gradient(180deg, #cfd9ee 0%, #b9b6dc 55%, #8d89bb 100%);
  display: grid; place-items: end start;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.ph-note { position: relative; margin: 14px; background: rgba(42,41,72,.82); color: #fff; font-size: 0.8rem; line-height: 1.3; padding: 6px 10px; border-radius: 8px; max-width: calc(100% - 28px); }
.ph img + .ph-note { display: none; }
.ph.arch { aspect-ratio: 4 / 5; border-radius: var(--arch); }
.ph.wide { aspect-ratio: 3 / 2; border-radius: 18px; }
.ph.green { background: radial-gradient(120% 80% at 20% 0%, #f3e3b8 0%, transparent 55%), linear-gradient(180deg, #cfe3d8 0%, #9cc3b0 60%, #5f957f 100%); }

/* Service groups */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 6vw, 80px); }
.group { border-top: 2px solid var(--dusk); padding: 22px 0 30px; }
.group h3 { margin-bottom: 0.35em; }
.group p { color: var(--muted); margin-bottom: 0.7em; }
.group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.group li a { display: inline-block; text-decoration: none; background: var(--sky); color: var(--dusk); padding: 6px 14px; border-radius: 999px; font-size: 0.95rem; }
.group li a:hover { background: var(--rose-soft); }

/* Service list (services page) */
.svc-group { padding-block: clamp(34px, 5vw, 60px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 64px); }
.svc-group:first-of-type { border-top: 0; }
.svc-group h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); position: sticky; top: 96px; }
.svc dl { margin: 0; }
.svc dt { font-family: var(--display); font-weight: 650; font-size: 1.2rem; color: var(--dusk); margin-top: 1.3em; scroll-margin-top: 110px; }
.svc dt:first-child { margin-top: 0; }
.svc dd { margin: 0.25em 0 0; max-width: 62ch; }

/* Reviews */
.review-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(26px, 4vw, 44px); }
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 5rem); line-height: 0.9; color: var(--dusk); font-weight: 750; }
.score .stars { font-size: 1.4rem; display: block; }
.quotes { columns: 3 260px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.quotes li { break-inside: avoid; background: var(--sky); border-radius: 18px 18px 18px 4px; padding: 22px 24px; margin-bottom: 28px; }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 1.22rem; line-height: 1.3; color: var(--dusk); font-weight: 550; }
.quotes cite { display: block; font-style: normal; font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

/* Pay columns */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 4vw, 48px); }
.cols3 > div { border-top: 2px solid var(--rose); padding-top: 18px; }
.section.dusk .cols3 p { color: #d5d3ea; }
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 5vw, 64px); }
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--saguaro-soft); color: #1d4a3a; border-radius: 999px; padding: 5px 14px; font-size: 0.95rem; }
.checks { list-style: none; padding: 0; margin: 0 0 1em; }
.checks li { padding-left: 30px; position: relative; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 3px solid var(--saguaro); border-bottom: 3px solid var(--saguaro); transform: rotate(-45deg); }

/* Offer band */
.offer { background: var(--rose-soft); border-radius: 28px; padding: clamp(26px, 4vw, 48px); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(18px, 4vw, 48px); align-items: center; }
.offer .price { font-family: var(--display); font-weight: 750; font-size: clamp(3rem, 7vw, 4.6rem); color: var(--rose-deep); line-height: 0.9; }
.offer h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 0.3em; }
.offer p { margin: 0; }
.offers { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offers li { background: var(--rose-soft); border-radius: 22px; padding: 24px 26px; }
.offers .price { font-family: var(--display); font-weight: 750; font-size: 2.2rem; color: var(--rose-deep); line-height: 1; display: block; margin-bottom: 6px; }
.offers h3 { margin-bottom: 0.3em; }
.offers p { margin: 0; font-size: 0.98rem; }

/* Steps (a real sequence: the first visit) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.steps li { counter-increment: s; border-top: 2px solid var(--dusk); padding-top: 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-weight: 750; font-size: 2rem; color: var(--rose); line-height: 1; display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 0.3em; }
.steps p { font-size: 0.98rem; margin: 0; }

/* Team */
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
.team .ph { margin-bottom: 14px; }
.team h3 { margin-bottom: 0.1em; }
.team .role { color: var(--saguaro); font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5em; }
.team p { font-size: 0.97rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Tech list */
.tech { list-style: none; padding: 0; margin: 0; }
.tech li { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 10px clamp(20px, 5vw, 64px); padding-block: 26px; border-top: 1px solid var(--line); }
.tech li:first-child { border-top: 2px solid var(--dusk); }
.tech h2 { font-size: 1.5rem; margin: 0; }
.tech p { margin: 0 0 0.6em; }
.tech .why { color: var(--saguaro); font-weight: 700; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-family: var(--display); font-weight: 650; font-size: 1.15rem; color: var(--dusk); cursor: pointer; }
.faq details p { margin: 0.7em 0 0; }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: stretch; }
.hours { width: 100%; border-collapse: collapse; margin: 0.4em 0 1.2em; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--dusk); }
.map { min-height: 340px; border-radius: 22px; overflow: hidden; background: var(--sky); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
address { font-style: normal; }

/* Form */
.form { background: #fff; border-radius: 26px; padding: clamp(22px, 4vw, 40px); border: 1px solid var(--line); }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { margin-bottom: 16px; }
.field label, .field legend { display: block; font-weight: 700; color: var(--dusk); margin-bottom: 6px; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1.5px solid #9aa7b3; border-radius: 12px; background: #fff;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--dusk); }
fieldset.field { border: 0; padding: 0; margin-inline: 0; }
.picks { display: flex; flex-wrap: wrap; gap: 8px; }
.picks label { font-weight: 400; margin: 0; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #9aa7b3; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.picks input { accent-color: var(--rose); width: 1.05em; height: 1.05em; }
.picks label:has(input:checked) { background: var(--rose-soft); border-color: var(--rose); }
.form-note { background: var(--saguaro-soft); color: #1d4a3a; border-radius: 14px; padding: 14px 18px; margin-top: 16px; }
.form-note[hidden] { display: none; }

/* CTA band */
.cta-band { background: var(--rose); color: #fff; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: clamp(34px, 5vw, 56px); }
.cta-band h2 { color: #fff; margin: 0 0 0.2em; }
.cta-band p { margin: 0; color: #ffe9f1; }
.cta-band .btn-row { margin: 0; }
.cta-band .btn.ghost { color: #fff; border-color: #fff; }
.cta-band .btn.ghost:hover { background: #fff; color: var(--rose-deep); }

/* Footer */
.site-footer { background: var(--dusk); color: #cfcde6; font-size: 0.97rem; }
.site-footer .wrap { padding-block: clamp(40px, 6vw, 64px) 26px; }
.foot { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 3fr)); gap: 30px clamp(20px, 4vw, 48px); }
.site-footer h2 { font-size: 1.02rem; color: #fff; letter-spacing: 0; margin-bottom: 0.7em; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-sub { color: #f3b6cc; }
.legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 34px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; font-size: 0.88rem; }

/* Sticky mobile call bar */
.callbar { display: none; }

@media (max-width: 980px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 18px; gap: 2px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 1rem; padding-bottom: 62px; }
  .hero .wrap, .split, .split.flip, .visit, .cols3, .cols2, .groups, .svc-group, .tech li, .offers, .form .row { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-photo { max-width: 300px; margin-inline: auto; margin-bottom: 70px; width: 100%; }
  .svc-group h2 { position: static; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .util-left .addr { display: none; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 8px; gap: 8px; }
  .callbar .btn { padding: 11px 10px; font-size: 0.98rem; }
  .brand-sub { display: none; }
}
@media (max-width: 480px) {
  .facts ul, .steps, .foot { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.12rem; }
  .brand svg { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .concept, .util, .callbar, .cta-band, .menu-btn { display: none; } }
