/* LG Appliances Repair Service — lglasvegas.com
   Palette follows LG's red-and-white identity. No web fonts: system stack for speed. */
:root {
  --red: #A50034;
  --red-600: #8E002D;
  --red-700: #730025;
  --red-900: #4A0018;
  --red-50: #FCF1F4;
  --red-100: #F8DDE5;
  --ink: #1B1B1F;
  --ink-2: #3F3F46;
  --muted: #6B6B73;
  --line: #E7E2E4;
  --bg: #FFFFFF;
  --bg-alt: #F7F4F5;
  --ok: #1F7A4D;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(27, 27, 31, .06), 0 8px 24px rgba(27, 27, 31, .07);
  --shadow-lg: 0 2px 6px rgba(27, 27, 31, .08), 0 24px 48px rgba(115, 0, 37, .16);
  --wrap: 1200px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); font-size: 17px; line-height: 1.62; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--red); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2.05rem); font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { background: var(--red-50); color: var(--red-700); padding: .08em .38em; border-radius: 5px; font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .76rem; font-weight: 700; color: var(--red); margin: 0 0 .6em; }
.eyebrow.light { color: #FFD3DF; }
.badge { display: inline-block; background: var(--red-50); color: var(--red-700); border: 1px solid var(--red-100);
  font-size: .74rem; font-weight: 700; padding: .15em .6em; border-radius: 999px; margin-bottom: .6em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; background: var(--red); color: #fff;
  border: 2px solid var(--red); border-radius: 999px; padding: .68em 1.25em; font-weight: 700; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, box-shadow .15s;
  line-height: 1.2; white-space: nowrap; font-family: inherit; }
.btn:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(165, 0, 52, .25); }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; border-color: #000; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.btn-white { background: #fff; color: var(--red); border-color: #fff; }
.btn-white:hover { background: var(--red-50); color: var(--red-700); border-color: var(--red-50); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-outline-white:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-lg { padding: .85em 1.5em; font-size: 1.06rem; }
.btn-sm { padding: .45em .95em; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }

/* Top bar + header */
.topbar { background: var(--red-900); color: #F6D9E1; font-size: .86rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar svg { vertical-align: -3px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; white-space: nowrap; }
.tb-left { display: inline-flex; align-items: center; gap: .4em; flex-wrap: wrap; }
.open-now { background: rgba(255, 255, 255, .14); border-radius: 999px; padding: .05em .6em; font-weight: 700; color: #fff; font-size: .78rem; }
.open-now.is-open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; margin-right: .4em; vertical-align: 1px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; }
.logo-text small { font-size: .74rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.logo-light { color: #fff; }
.logo-light .logo-text small { color: #E7B9C6; }
#nav { display: flex; align-items: center; gap: 4px; }
#nav > a:not(.btn), .dd-top { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .7em;
  border-radius: 8px; display: inline-block; white-space: nowrap; }
#nav > a:not(.btn):hover, .dd-top:hover { background: var(--red-50); color: var(--red); }
#nav .btn { margin-left: 6px; }
.dd { position: relative; }
.dd-top::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-left: .45em; vertical-align: 3px; opacity: .6; }
.dd-menu { position: absolute; top: 100%; left: -12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px; display: none; grid-template-columns: 1fr 230px; gap: 18px; width: 720px; z-index: 60; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: grid; }
.dd-apps { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-apps a, .dd-extra a { display: flex; align-items: center; gap: 10px; padding: .5em .6em; border-radius: 8px; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: .95rem; }
.dd-apps a svg { color: var(--red); flex-shrink: 0; }
.dd-apps a:hover, .dd-extra a:hover { background: var(--red-50); color: var(--red); }
.dd-extra { border-left: 1px solid var(--line); padding-left: 16px; }
.dd-extra a { font-size: .9rem; padding: .4em .5em; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span:not(.sr) { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Home hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #D1235A 0%, transparent 60%),
  linear-gradient(135deg, var(--red) 0%, var(--red-700) 55%, var(--red-900) 100%); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px; border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, .05); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lede { font-size: 1.16rem; color: #FBE3EA; max-width: 40em; }
.hero-points { list-style: none; padding: 0; margin: 1.4em 0 .8em; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.hero-points li { display: flex; gap: .5em; align-items: flex-start; font-size: .95rem; color: #fff; }
.hero-points svg { flex-shrink: 0; margin-top: 4px; color: #FFC2D3; }
.hours-line { color: #F3C6D3; display: flex; align-items: center; gap: .4em; }
.hero-card { background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 24px; }

/* Inner page hero */
.page-hero { background: linear-gradient(180deg, var(--red-50) 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 34px 0 26px; }
.page-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.page-hero h1 { max-width: 22em; font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
.page-hero .answer { font-size: 1.12rem; color: var(--ink-2); max-width: 46em; border-left: 4px solid var(--red); padding-left: 16px; }
.page-hero .cta-actions { margin-bottom: .4em; }
.hero-icon { width: 150px; height: 150px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--red);
  box-shadow: var(--shadow); border: 1px solid var(--red-100); }
.meta { color: var(--muted); margin: .6em 0 0; }
.crumbs { font-size: .85rem; color: var(--muted); background: var(--red-50); }
.crumbs .wrap { padding-top: 10px; padding-bottom: 0; }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 .2em; }
.crumbs [aria-current] { color: var(--ink); margin: 0; }

/* Trust chips */
.chips-trust { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips-trust li { display: inline-flex; align-items: center; gap: .5em; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: .4em .9em .4em .6em; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.chips-trust svg { color: var(--red); width: 20px; height: 20px; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; padding-top: 18px; padding-bottom: 50px; align-items: start; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; }
.prose { min-width: 0; }
.prose.wide { padding-bottom: 40px; }
.prose h2 { margin-top: 1.7em; padding-top: .2em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--red); }
.callout { background: var(--red-50); border: 1px solid var(--red-100); border-left: 4px solid var(--red); padding: 14px 18px;
  border-radius: var(--radius-sm); margin: 1.2em 0; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 1.5em; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; font-size: .94rem; }
.toc li { break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
caption { text-align: left; padding: 12px 16px; font-weight: 700; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--red-50); color: var(--red-900); font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #FFFAFB; }
td.num { white-space: nowrap; font-weight: 700; color: var(--red-700); }
table.codes td:first-child { font-weight: 800; white-space: nowrap; color: var(--red-700); font-family: ui-monospace, Menlo, Consolas, monospace; }
details.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); margin: .6em 0; background: #fff; }
details.faq summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 700; list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.4rem; color: var(--red); font-weight: 400; }
details.faq[open] summary::after { content: "–"; }
details.faq > div { padding: 0 18px 8px; }

/* Sidebar */
.call-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px; }
.call-box .eyebrow { margin: 0; }
.checks { list-style: none; padding: 0; margin: 6px 0 0; font-size: .92rem; display: grid; gap: 6px; }
.checks li { display: flex; gap: .5em; align-items: flex-start; }
.checks svg { color: var(--ok); flex-shrink: 0; margin-top: 4px; }
.side-list { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.side-list h3 { font-size: .98rem; margin-bottom: .5em; }
.side-list ul { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.side-list li { padding: .32em 0; border-bottom: 1px dashed var(--line); }
.side-list li:last-child { border: 0; }
.side-list a { text-decoration: none; }
.side-list a:hover { text-decoration: underline; }

/* Bands & sections */
.band { padding: 64px 0; }
.band.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 28px; }
.section-head p:last-child { color: var(--ink-2); }
.hub { padding-top: 26px; padding-bottom: 20px; }
.hub-h { display: flex; align-items: center; gap: 12px; margin: 1.6em 0 .8em; }
.hub-h svg { color: var(--red); }
.hub-group { scroll-margin-top: 100px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.jump a:not(.btn) { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .3em .85em;
  font-size: .9rem; text-decoration: none; color: var(--ink); font-weight: 600; }
.jump a:not(.btn):hover { border-color: var(--red); color: var(--red); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cards-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .94rem; margin-bottom: .8em; }
.card .app-icon { color: var(--red); margin-bottom: 10px; }
.card .more, .app-card .more { margin-top: auto; color: var(--red); font-weight: 700; font-size: .9rem; }
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.app-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: .18s; }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--red); transform: scaleX(0);
  transform-origin: left; transition: transform .2s; }
.app-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); border-color: var(--red-100); }
.app-card:hover::before { transform: scaleX(1); }
.app-card .app-icon { color: var(--red); background: var(--red-50); border-radius: 14px; padding: 8px; width: 68px; height: 68px; margin-bottom: 14px; }
.app-card p { font-size: .92rem; color: var(--ink-2); margin-bottom: .7em; }
.app-card .from { font-size: .84rem; font-weight: 700; color: var(--ink); background: var(--bg-alt); border-radius: 999px;
  padding: .25em .7em; align-self: flex-start; margin-bottom: .8em; }

/* Why / tools / prices */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.why-list svg { color: #fff; background: var(--red); border-radius: 10px; padding: 8px; width: 40px; height: 40px; flex-shrink: 0; }
.why-list strong { display: block; }
.why-list span { color: var(--ink-2); font-size: .94rem; }
.tools { background: linear-gradient(180deg, #fff, var(--red-50)); }
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.tool { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.price-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.price-split .table-wrap { margin: 0; }
.price-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 1.6em; }
.price-card { border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 18px; background: #fff; }
.price-card .price { font-size: 2.1rem; font-weight: 800; color: var(--red); margin: 0 0 .2em; letter-spacing: -.02em; }
.price-card p:last-child { font-size: .92rem; color: var(--ink-2); margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps strong { display: block; margin-bottom: .3em; }
.steps span { color: var(--ink-2); font-size: .93rem; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin: 1.2em 0; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; }
.case h3 { font-size: 1.05rem; margin-bottom: .25em; }
.case-meta { color: var(--muted); font-size: .85rem; margin-bottom: .8em; }
.case dl { margin: 0 0 .8em; font-size: .92rem; }
.case dt { font-weight: 700; color: var(--red-700); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; margin-top: .6em; }
.case dd { margin: .1em 0 0; color: var(--ink-2); }
.case-total { margin: auto 0 0; padding-top: .8em; border-top: 1px dashed var(--line); font-size: .95rem; }
.case-total strong { color: var(--red); font-size: 1.1rem; }

/* Forms */
.lead-form { display: grid; gap: 12px; }
.form-title { font-size: 1.25rem; font-weight: 800; margin: 0 0 2px; }
.lead-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form label { display: grid; gap: 5px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.lead-form input, .lead-form select, .lead-form textarea { font: inherit; font-size: 1rem; padding: .66em .8em; border: 1.5px solid #D9D2D5;
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(165, 0, 52, .15); }
.lead-form .consent { display: flex; gap: .6em; align-items: flex-start; font-weight: 400; font-size: .86rem; }
.lead-form .consent input { width: auto; margin-top: 4px; accent-color: var(--red); }
.lead-form .small { margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-band { background: var(--bg-alt); border-top: 1px solid var(--line); }
.form-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.prose .lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 1.6em; }

/* Error-code search */
.code-search { margin: 14px 0; }
.search-row { display: flex; align-items: center; gap: 10px; border: 2px solid var(--red); border-radius: 999px; padding: 4px 18px; background: #fff; }
.search-row svg { color: var(--red); flex-shrink: 0; }
.search-row input { border: 0; outline: 0; font: inherit; font-size: 1.1rem; padding: .55em 0; width: 100%; background: transparent; }
.code-results { display: grid; gap: 10px; margin-top: 12px; }
.code-hit { display: block; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius-sm); padding: 12px 16px;
  text-decoration: none; color: var(--ink); background: #fff; }
.code-hit:hover { border-color: var(--red); color: var(--ink); box-shadow: var(--shadow); }
.code-hit b { font-family: ui-monospace, Menlo, monospace; color: var(--red); font-size: 1.1rem; margin-right: .5em; }
.code-hit .p { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.code-hit p { margin: .25em 0 0; font-size: .92rem; color: var(--ink-2); }
.search-panel { max-width: 760px; }
.filter-row { margin: 1em 0; }

/* Diagnosis tool */
.diag { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 24px; margin: 24px 0 8px; }
.diag-steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 20px; counter-reset: d; flex-wrap: wrap; }
.diag-steps li { counter-increment: d; display: flex; align-items: center; gap: .5em; font-weight: 700; font-size: .9rem; color: var(--muted);
  background: var(--bg-alt); border-radius: 999px; padding: .35em .9em .35em .4em; }
.diag-steps li::before { content: counter(d); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); font-size: .8rem; }
.diag-steps li.on { color: var(--red-700); background: var(--red-50); }
.diag-steps li.on::before { background: var(--red); color: #fff; border-color: var(--red); }
.diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.diag-btn { display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 10px; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); transition: .15s; text-align: center; }
.diag-btn:hover, .diag-btn:focus-visible { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); outline: 0; }
.diag-btn svg { color: var(--red); }
.diag-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.diag-list .diag-btn { flex-direction: row; justify-content: space-between; text-align: left; padding: 14px 18px; }
.diag-list .diag-btn::after { content: "→"; color: var(--red); }
.diag-back { background: none; border: 0; color: var(--red); font: inherit; font-weight: 700; cursor: pointer; padding: 0; margin-bottom: 14px; }
.diag-result h3 { font-size: 1.4rem; }
.diag-result ol { padding-left: 1.3em; }
.diag-result ol li::marker { color: var(--red); font-weight: 800; }
.diag-cost { display: inline-block; background: var(--red-50); color: var(--red-700); border-radius: 999px; padding: .3em .9em; font-weight: 700; margin: .4em 0 1em; }

/* CTA band + footer */
.cta-band { background: linear-gradient(120deg, var(--red) 0%, var(--red-700) 70%, var(--red-900) 100%); color: #fff; padding: 52px 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #FBE3EA; margin: 0; }
.site-footer { background: #160A0E; color: #CDBFC4; padding: 56px 0 90px; font-size: .93rem; }
.grid-footer { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: .95rem; margin: 1.2em 0 .6em; text-transform: uppercase; letter-spacing: .06em; }
.site-footer h3:first-child { margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .22em 0; }
.site-footer a { color: #E9DDE1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-brand p { margin: 1em 0; }
.f-hours td { border: 0; padding: .15em 1em .15em 0; color: #E9DDE1; }
.f-hours tr:hover td { background: none; }
.f-creds li { display: flex; gap: .5em; align-items: flex-start; }
.f-creds svg { color: #FF7FA3; margin-top: 4px; flex-shrink: 0; }
.legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 36px; padding-top: 22px; font-size: .8rem; color: #9E8D93; }
.mobile-bar { display: none; }

/* Responsive */
@media (max-width: 1360px) {
  .nav-call { display: none !important; }
  #nav > a:not(.btn), .dd-top { padding: .55em .55em; font-size: .93rem; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  #nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 20px 20px; box-shadow: var(--shadow-lg); max-height: calc(100vh - 110px); overflow-y: auto; }
  #nav.open { display: flex; }
  #nav .nav-call { display: inline-flex !important; }
  #nav .btn { margin: 6px 0 0; }
  .dd-menu { position: static; display: grid; width: auto; box-shadow: none; border: 0; padding: 0 0 8px 8px; grid-template-columns: 1fr; }
  .dd-extra { border: 0; padding: 0; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .hero-grid, .why-grid, .price-split, .tools-grid, .form-band-grid, .cta-band .wrap { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-footer { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .diag-grid { grid-template-columns: repeat(2, 1fr); }
  .diag-list { grid-template-columns: 1fr; }
  .hero-icon { display: none; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .hours, .topbar .sep { display: none; }
  .topbar { font-size: .8rem; }
  .tb-left { gap: .3em; }
  .site-header .wrap { min-height: 62px; }
  .logo-text b { font-size: 1rem; }
  .hero { padding: 34px 0 40px; }
  .hero-points { grid-template-columns: 1fr; }
  .hero-card { padding: 18px; }
  .lead-form .row { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .app-card { padding: 14px; }
  .app-card p, .app-card .from { display: none; }
  .app-card .app-icon { width: 56px; height: 56px; }
  .app-card h3 { font-size: 1rem; }
  .band { padding: 44px 0; }
  .toc ol { columns: 1; }
  .grid-footer { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .cta-actions .btn { flex: 1 1 100%; }
  th, td { padding: 9px 10px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: #fff; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .mobile-bar .btn { padding: .7em .5em; }
}
@media print {
  .topbar, .site-header, .mobile-bar, .cta-band, .sidebar, .form-band { display: none !important; }
}
