/* Dentinium Dental Studio — site styles
   Palette: brand navy + gold from the clinic logo, on white with cool grey tints. */

:root {
  --navy: #14264f;
  --navy-deep: #0d1a3b;
  --navy-soft: #26397a;
  --gold: #c4a052;
  --gold-deep: #a8853a;
  --gold-pale: #f3ead2;
  --ink: #1a2238;
  --muted: #5d667a;
  --paper: #ffffff;
  --tint: #f1f3f7;
  --line: #dde2ea;
  --whatsapp: #25d366;

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --arch: 999px;
  --shadow: 0 18px 40px -22px rgba(13, 26, 59, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
ul { padding-left: 1.2rem; }
strong { font-weight: 700; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-tint { background: var(--tint); }
.section-navy { background: var(--navy); color: #e9edf6; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy .lead { color: #c8d0e4; }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { margin-bottom: 0.4em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head.center { margin-inline: auto; text-align: center; }

/* Gold hairline used as a heading ornament — one short rule, never a full-width divider */
.rule { width: 56px; height: 2px; background: var(--gold); margin: 0 0 1.25rem; border: 0; }
.center .rule { margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; line-height: 1;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-whatsapp { background: var(--whatsapp); color: #fff; border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1fb457; border-color: #1fb457; color: #fff; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Top bar */
.topbar { background: var(--navy-deep); color: #c8d0e4; font-size: 0.86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; }
.topbar-left, .topbar-right { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.topbar .hours { color: #c8d0e4; display: inline-flex; align-items: center; gap: 0.4rem; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand img { width: 46px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--navy); line-height: 1; letter-spacing: 0.06em; }
.brand-sub { display: block; font-family: var(--font-body); font-size: 0.68rem; letter-spacing: 0.32em; color: var(--gold-deep); font-weight: 600; margin-top: 0.25rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { font-weight: 600; font-size: 0.97rem; color: var(--ink); padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--gold); }
.nav .btn { margin-left: 0.5rem; padding: 0.7rem 1.2rem; border-bottom: 0; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-copy .lead { margin-bottom: 1.75rem; }
.hero-doctor { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); margin-bottom: 0.35rem; }
.hero-doctor span { color: var(--muted); font-family: var(--font-body); font-size: 0.95rem; display: block; margin-top: 0.1rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2rem; color: var(--muted); font-size: 0.95rem; }
.hero-meta strong { color: var(--navy); display: block; font-size: 1.05rem; }

/* The arch: the one memorable element. A photo cut into a tall arch with a thin offset gold outline. */
.arch { position: relative; aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--arch) var(--arch) 20px 20px; }
.arch::after {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 2px solid var(--gold); border-radius: var(--arch) var(--arch) 20px 20px; pointer-events: none;
}
.arch-badge {
  position: absolute; left: -12px; bottom: 36px; background: #fff; border-radius: 12px;
  padding: 0.85rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem; color: var(--muted);
}
.arch-badge strong { display: block; color: var(--navy); font-size: 1.1rem; }
.arch-badge .stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 0.05em; }

/* Trust strip under hero */
.trust { background: var(--navy); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 0.8rem; padding: 1.1rem 1rem; font-weight: 600; font-size: 0.95rem; border-left: 1px solid rgba(255,255,255,0.12); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); }
.stat { background: var(--navy); padding: 1.6rem 1.25rem; }
.stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 600; color: var(--gold); line-height: 1; }
.stat-label { color: #c8d0e4; margin-top: 0.45rem; font-size: 0.95rem; }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem;
  display: flex; flex-direction: column; gap: 0.6rem;
}
.service:hover { border-color: var(--gold); }
.service-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-pale); color: var(--navy); display: grid; place-items: center; }
.service-icon svg { width: 24px; height: 24px; }
.service h3 { font-size: 1.35rem; margin: 0.3rem 0 0; }
.service p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.service a { font-weight: 700; font-size: 0.93rem; margin-top: auto; }

/* Feature rows: alternating image / text */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 6vw, 5rem); }
.feature.flip .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature-media.portrait img { aspect-ratio: 3 / 4; }
.feature-copy h2 { margin-bottom: 0.4em; }
.feature-copy p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: 0.6rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314264f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section-navy .checklist li { color: #e9edf6; }

/* Credentials block on About */
.cred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.cred div { border-left: 2px solid var(--gold); padding: 0.2rem 0 0.2rem 1rem; }
.cred strong { display: block; color: var(--navy); font-family: var(--font-display); font-size: 1.3rem; }
.cred span { color: var(--muted); font-size: 0.92rem; }

/* Technology list */
.tech-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tech-list li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem; display: flex; gap: 0.8rem; align-items: center; font-weight: 600; }
.tech-list svg { width: 26px; height: 26px; color: var(--gold-deep); flex: none; }

/* Cases (before/after) */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.case h3 { font-size: 1.3rem; margin: 1rem 0 0.2rem; }
.case p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery-grid figure { margin: 0; }
.gallery-grid img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.gallery-grid figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }
.gallery-grid.wide img { aspect-ratio: 4 / 3; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { background: #fff; border-radius: var(--radius); padding: 1.8rem; border: 1px solid var(--line); }
.review .stars { color: var(--gold); letter-spacing: 0.08em; font-size: 1.05rem; }
.review blockquote { margin: 0.75rem 0 1rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.4; color: var(--ink); }
.review cite { font-style: normal; font-weight: 700; color: var(--navy); }
.review .source { color: var(--muted); font-size: 0.9rem; }
.review-summary { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem; }
.review-summary .big { font-family: var(--font-display); font-size: 3rem; color: var(--navy); line-height: 1; }
.review-summary p { margin: 0; color: var(--muted); }

/* Solar callout */
.solar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: #123c2f; color: #e8f3ee; }
.solar-copy { padding: clamp(2rem, 4vw, 3.5rem); }
.solar-copy h2 { color: #fff; }
.solar-copy .lead { color: #bcd8cc; }
.solar img { width: 100%; height: 100%; object-fit: cover; }

/* Blog cards */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.post:hover { border-color: var(--gold); }
.post .topic { font-size: 0.85rem; color: var(--gold-deep); font-weight: 700; }
.post h3 { font-size: 1.4rem; margin: 0.4rem 0 0.5rem; }
.post h3 a { color: var(--navy); }
.post p { color: var(--muted); font-size: 0.97rem; margin: 0 0 1rem; }
.post .more { margin-top: auto; font-weight: 700; font-size: 0.93rem; }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-deep);
  display: grid; place-items: center; font-family: var(--font-body); font-size: 1.2rem; font-weight: 500;
}
.faq-item[open] summary::after { content: "–"; }
.faq-body { padding: 0 0 1.4rem; }
.faq-body p { margin: 0 0 0.75rem; }
.faq-body .hi { color: var(--muted); border-left: 2px solid var(--gold); padding-left: 0.9rem; font-size: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list a { color: var(--ink); }
.contact-list a:hover { color: var(--gold-deep); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; font-size: 0.97rem; }
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours-table td:first-child { color: var(--muted); width: 32%; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; margin-top: 1.5rem; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Appointment form */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow); }
.form-card h3 { margin-bottom: 0.25rem; }
.form-card > p { color: var(--muted); font-size: 0.97rem; }
.field { display: grid; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; padding: 0.8rem 0.95rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: 2px solid rgba(20,38,79,0.15); }
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: 0.86rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-status { display: none; margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px; background: var(--gold-pale); color: var(--navy); font-size: 0.95rem; }
.form-status.show { display: block; }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-top: 2.5rem; padding-bottom: 2.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 0.25rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; color: #c8d0e4; }

/* Inner page head */
.page-head { background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); border-bottom: 1px solid var(--line); }
.page-head .container { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head h1 { font-size: clamp(2.3rem, 4.5vw, 3.5rem); margin-bottom: 0.3em; }
.page-head p { color: var(--muted); font-size: 1.15rem; max-width: 62ch; margin: 0; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--gold-deep); }

/* Article */
.article { display: grid; grid-template-columns: minmax(0, 720px) 300px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.45rem; margin-top: 1.8rem; }
.prose p { max-width: 70ch; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.5rem; }
.prose li ul { margin-top: 0.4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.98rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 0.75rem 0.9rem; text-align: left; vertical-align: top; }
.prose th { background: var(--tint); color: var(--navy); font-weight: 700; }
.prose .callout { background: var(--gold-pale); border-left: 3px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 10px 10px 0; margin: 1.5rem 0; }
.prose .callout p { margin: 0; }
.article-meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.article-meta strong { color: var(--navy); }
.aside-card { background: var(--tint); border-radius: var(--radius); padding: 1.5rem; position: sticky; top: 100px; }
.aside-card h3 { font-size: 1.4rem; }
.aside-card p { color: var(--muted); font-size: 0.97rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }
.aside-card ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.5rem; font-size: 0.95rem; }
.aside-card li a { font-weight: 600; }
.disclaimer { font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; max-width: 70ch; }

/* Footer */
.footer { background: var(--navy-deep); color: #c8d0e4; padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.9rem; }
.footer a { color: #c8d0e4; }
.footer a:hover { color: var(--gold); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer .brand { margin-bottom: 1rem; }
.footer .brand-name { color: #fff; }
.footer .brand img { width: 40px; }
.footer p { margin: 0 0 0.5rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.86rem; color: #9aa6c4; }
.social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; }
.social a:hover { border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--whatsapp); color: #fff; padding: 0.75rem 1.1rem 0.75rem 0.85rem; border-radius: 999px;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6); font-weight: 700; font-size: 0.95rem;
}
.wa-float:hover { background: #1fb457; color: #fff; }
.wa-float svg { width: 26px; height: 26px; }

/* Hero entrance — the single orchestrated motion on the site */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; transform: translateY(14px); animation: rise 0.7s ease forwards; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.24s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.32s; }
  .arch { opacity: 0; animation: rise 0.9s ease 0.2s forwards; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid, .posts-grid, .gallery-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}
@media (max-width: 860px) {
  .topbar .hours { display: none; }
  .topbar a { white-space: nowrap; }
  .topbar-right a:first-child { display: none; }
  .topbar-left, .topbar-right { gap: 1rem; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 0.75rem 0 0; justify-content: center; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .arch { max-width: 320px; }
  .arch-badge { left: 0; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .trust-item { border-left: 0; padding-left: 0; padding-top: 0.7rem; padding-bottom: 0.7rem; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .cred { grid-template-columns: 1fr; }
  .tech-list { grid-template-columns: 1fr; }
  .solar, .contact-grid { grid-template-columns: 1fr; }
  .solar img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services-grid, .stats-grid, .cases-grid, .posts-grid, .gallery-grid, .reviews, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .trust .container { grid-template-columns: 1fr; }
  .wa-float span { display: none; }
  .topbar-right a span, .topbar-right a { font-size: 0; }
  .topbar-right svg { width: 16px; height: 16px; }
  .wa-float { padding: 0.8rem; }
  .arch-badge { padding: 0.65rem 0.85rem; }
}
@media print {
  .topbar, .header, .wa-float, .cta-band, .footer .social { display: none; }
}
