/* dentcenterphoenix.com — public website */
:root {
  --ink: #12161C; --ink-2: #1C232D; --ink-3: #0B0E12;
  --sand: #F5F1EA; --sand-2: #EDE7DC; --line: #E3DCD0; --field: #C9C0B1;
  --text-2: #3C4350; --muted: #5A6170; --muted-dark: #A9B1BD;
  --accent: #C2410C; --accent-hover: #9A3412; --accent-on-dark: #F08A4B;
  --radius: 14px;
  --display: Archivo, 'Arial Narrow', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--ink); font: 16px/1.5 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 10px 14px; z-index: 10; }
:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 2px; }

/* Bars */
.util { background: var(--ink); color: #E9E4DA; font-size: 14px; }
.util .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.util .dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--accent-on-dark); margin-right: 8px; vertical-align: 1px; }
.util a { color: #fff; font-weight: 600; text-decoration: none; }
.util .r { display: flex; gap: 20px; flex-wrap: wrap; }

.top { background: var(--sand); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .logo { height: 48px; width: auto; }
.brand .loc { border-left: 1px solid var(--field); padding-left: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.foot-logo { height: 40px; width: auto; }
.foot .wrap { align-items: center; }
.brand .mark { width: 44px; height: 44px; border-radius: 10px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.brand .name { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--display); font-weight: 900; font-size: 20px; letter-spacing: -0.01em; }
.brand small { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; color: var(--muted); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 24px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"] { font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-ghost-dark { color: #fff; border-color: #4A5361; background: transparent; }
.btn-ghost-dark:hover { border-color: #fff; color: #fff; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

/* Type */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.dark .eyebrow { color: var(--accent-on-dark); }
.h1 { font-family: var(--display); font-weight: 900; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; letter-spacing: -0.025em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; }
.h3 { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 34em; }
.muted { color: var(--muted); }
.dark { background: var(--ink); color: var(--sand); }
.dark .lead, .dark .muted { color: var(--muted-dark); }
.tint { background: var(--sand-2); }
.sec { padding: 88px 0; }
.sec-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.sec-head p { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 30em; }

/* Hero */
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 64px; }
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-art { flex: 1 1 440px; min-width: 0; margin: 0; }
.board { background: var(--ink); border-radius: 16px; padding: 20px; }
.board svg { width: 100%; height: auto; display: block; border-radius: 8px; background: #2A313C; }
.board .labels { display: flex; justify-content: space-between; margin-top: 14px; color: #E9E4DA; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; }
.board .labels span + span { color: var(--accent-on-dark); }
.hero-art figcaption { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 12px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.chip.new { background: var(--accent); color: #fff; border-color: var(--accent); }

/* Band */
.band .wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.band-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band-copy h2 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.015em; }
.band-copy a { color: var(--accent-on-dark); font-weight: 600; }
.facts { flex: 1.4 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact { background: var(--ink-2); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; }
.fact span { font-size: 15px; color: var(--muted-dark); line-height: 1.5; }

/* Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.card .num { font-family: var(--display); font-weight: 900; font-size: 44px; color: var(--accent); line-height: 1; }

/* Split + table */
.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { min-width: 0; }
.split .l { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.split .r { flex: 1.3 1 520px; }
.table-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.table-box table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.table-box th, .table-box td { padding: 18px 24px; text-align: left; border-bottom: 1px solid #EFEAE1; }
.table-box tr:last-child th, .table-box tr:last-child td { border-bottom: 0; }
.table-box thead th { font-family: var(--display); font-size: 17px; font-weight: 800; border-bottom-color: var(--line); }
.table-box thead th.us { color: var(--accent); }
.table-box thead th.them, .table-box td.them { color: var(--muted); }
.table-box tbody th { font-weight: 600; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-size: 18px; font-weight: 600; cursor: pointer; }
.faq details p { font-size: 16px; line-height: 1.65; color: var(--muted); margin-top: 12px; }

/* Contact */
.contact-list { border-top: 1px solid #2E3642; padding-top: 24px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.contact-list div { display: flex; gap: 14px; align-items: flex-start; }
.contact-list a { color: #fff; font-weight: 600; text-decoration: none; }
.cta-box { background: var(--sand); color: var(--ink); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.cta-box .muted { color: var(--muted); }
.cta-box ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--text-2); }
.map { border: 0; width: 100%; height: 240px; border-radius: 12px; background: var(--ink-2); }

/* Fleet sales */
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { min-height: 40px; border: 0; background: transparent; padding: 8px 14px; border-radius: 7px; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.select { min-height: 44px; border: 1px solid var(--field); border-radius: 8px; padding: 0 12px; font: inherit; background: #fff; }
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.car { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.car:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(18,22,28,.12); transform: translateY(-2px); }
.car-img { position: relative; aspect-ratio: 4 / 3; background: var(--sand-2); display: flex; align-items: center; justify-content: center; color: var(--muted); }
.car-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--ink); color: #fff; }
.tag.pending { background: #FDE68A; color: #3F2A00; }
.car-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.car-title { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.2; }
.car-meta { font-size: 14px; color: var(--muted); }
.car-price { font-family: var(--display); font-weight: 900; font-size: 28px; color: var(--accent); margin-top: 6px; }
.empty { background: #fff; border: 1px dashed var(--field); border-radius: var(--radius); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.detail { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.gallery { flex: 1.4 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.gallery .main { aspect-ratio: 4 / 3; background: var(--sand-2); border-radius: 16px; overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; cursor: pointer; background: var(--sand-2); }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; }
.specs div { background: #fff; padding: 14px 16px; }
.specs dt { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.feat { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feat li { font-size: 14px; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.desc { white-space: pre-line; line-height: 1.65; color: var(--text-2); }
.back { font-weight: 600; text-decoration: none; display: inline-block; margin-bottom: 24px; padding: 10px 0; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.post-card:hover { color: var(--ink); box-shadow: 0 10px 28px rgba(18,22,28,.10); transform: translateY(-2px); }
.post-card h2 { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 15px; line-height: 1.6; flex: 1; }
.post-card.big { grid-column: 1 / -1; background: var(--ink); color: var(--sand); border-color: var(--ink); padding: 40px; }
.post-card.big:hover { color: var(--sand); }
.post-card.big h2 { font-size: clamp(26px, 3.2vw, 38px); max-width: 20em; }
.post-card.big p { color: var(--muted-dark); font-size: 17px; max-width: 40em; }
.post-card.big .post-meta { color: var(--muted-dark); }
.post-card.big .post-tag { color: var(--accent-on-dark); }
.post-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.post-meta { font-size: 14px; color: var(--muted); }
.article { max-width: 760px; }
.article-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.prose { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.2; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.45em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 20px 24px; background: #fff; border-radius: 12px; border: 1px solid var(--line); font-weight: 500; color: var(--ink); }
.prose blockquote p { margin: 0; }
.article-cta { margin-top: 56px; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }

/* Search pages */
.landing { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.landing .prose { flex: 1 1 560px; min-width: 0; max-width: 760px; }
.landing-side { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.landing-side p { color: var(--text-2); font-size: 15px; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-links a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.side-links li:last-child a { border-bottom: 0; }
.card.svc { text-decoration: none; color: var(--ink); transition: box-shadow .15s, transform .15s; }
.card.svc:hover { box-shadow: 0 10px 28px rgba(18,22,28,.10); transform: translateY(-2px); color: var(--ink); }
.card.svc span { margin-top: auto; color: var(--accent); font-weight: 600; font-size: 15px; }

/* Staff */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.role .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--sand-2); display: flex; align-items: center; justify-content: center; }
.role h3 { font-size: 18px; font-weight: 700; }
.role p { font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; }
.role a { font-weight: 600; font-size: 15px; padding: 8px 0; }

/* Footer */
.foot { background: var(--ink-3); color: var(--muted-dark); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; padding-top: 36px; padding-bottom: 36px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { color: #E9E4DA; }

@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .hero .wrap { padding-top: 48px; }
  .top { position: static; }
  .landing-side { position: static; }
  .brand .logo { height: 40px; }
  .specs, .facts { grid-template-columns: minmax(0, 1fr); }
}
