/* =========================================================================
   Max Appliance Guard — global stylesheet
   Professional blue theme. Mobile-first, no external dependencies.
   ========================================================================= */

:root {
  --blue-900: #062b54;
  --blue-800: #073566;
  --blue-700: #0a4f96;
  --blue-600: #0c63bd;
  --blue-500: #1a7ad4;
  --blue-300: #7db8e8;
  --blue-100: #e7f1fb;
  --blue-50:  #f3f8fd;

  --accent: #ff8a3d;        /* warm CTA pop */
  --accent-dark: #ef741f;
  --green: #16a36a;         /* ticks / savings */
  --green-light: #e6f7ef;

  --ink: #14202e;
  --body: #43525f;
  --muted: #6b7a88;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f9fd;

  --shadow-sm: 0 1px 3px rgba(8, 35, 66, .08), 0 1px 2px rgba(8, 35, 66, .06);
  --shadow-md: 0 8px 24px rgba(8, 35, 66, .10);
  --shadow-lg: 0 20px 48px rgba(8, 35, 66, .16);

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-blue { background: linear-gradient(160deg, var(--blue-800), var(--blue-600)); color: #eaf3fc; }
.bg-blue h1, .bg-blue h2, .bg-blue h3 { color: #fff; }
.center { text-align: center; }
.lead { font-size: 1.16rem; color: var(--body); }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 800; color: var(--blue-600);
  background: var(--blue-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.bg-blue .eyebrow { color: #fff; background: rgba(255,255,255,.16); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #3a1c00; box-shadow: 0 8px 18px rgba(255,138,61,.34); }
.btn-primary:hover { background: var(--accent-dark); color: #2c1500; }
.btn-blue { background: var(--blue-600); color: #fff; box-shadow: 0 8px 18px rgba(12,99,189,.30); }
.btn-blue:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue-700); border-color: var(--blue-300); }
.btn-ghost:hover { background: var(--blue-100); color: var(--blue-700); }
.btn-white { background: #fff; color: var(--blue-700); }
.btn-white:hover { background: var(--blue-50); color: var(--blue-800); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.topbar { background: var(--blue-900); color: #cfe2f5; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .ico { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 60; background: #fff; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ink); font-size: 1.18rem; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand .logo-mark { width: 42px; height: 42px; flex: none; }
.brand small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .18em; color: var(--blue-600); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.nav-links > li > a:hover, .nav-links > li > button:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.nav-links a.active { color: var(--blue-700); }
.caret { width: 14px; height: 14px; transition: transform .2s ease; }
.has-drop[aria-expanded="true"] .caret { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
  padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .16s ease;
}
.has-drop[aria-expanded="true"] + .dropdown,
.dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; color: var(--body); }
.dropdown li a:hover { background: var(--blue-50); color: var(--blue-700); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue-700); }
.nav-phone:hover { color: var(--blue-800); text-decoration: none; }
.nav-phone svg { width: 18px; height: 18px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--ink); }
.menu-toggle svg { width: 30px; height: 30px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(155deg, var(--blue-900) 0%, var(--blue-700) 55%, var(--blue-600) 100%); color: #eaf3fc; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero p { color: #d6e6f6; font-size: 1.18rem; max-width: 560px; }
.hero .btn-row { margin-top: 28px; }
.hero-media { position: relative; }
.hero-media .photo {
  border-radius: 20px; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; width: 100%;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  background-size: cover; background-position: center; object-fit: cover;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -18px; background: #fff; color: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow-md); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
}
.hero-badge .b-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--green-light); color: var(--green); display: grid; place-items: center; }
.hero-badge .b-ico svg { width: 24px; height: 24px; }
.hero-badge strong { display: block; font-size: 1.05rem; color: var(--ink); }
.hero-badge span { font-size: .82rem; color: var(--muted); }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; }
.trust-row .ti { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #dceaf8; font-size: .95rem; }
.trust-row svg { width: 20px; height: 20px; color: #7fe3b4; flex: none; }

/* ---------- Feature cards (What's included) ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .f-ico { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: var(--blue-100); color: var(--blue-700); }
.feature .f-ico svg { width: 32px; height: 32px; }
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Pills / chips strip ---------- */
.pill-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.pill svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- Appliance grid ---------- */
.appliance-controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.chip {
  border: 1.5px solid var(--line); background: #fff; color: var(--body); font-weight: 700; font-size: .92rem;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .15s ease;
}
.chip:hover { border-color: var(--blue-300); color: var(--blue-700); }
.chip.active { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }

.appliance-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.appliance-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 12px;
  text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.appliance-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-300); }
.appliance-card .appliance-icon { width: 42px; height: 42px; color: var(--blue-700); margin: 0 auto 10px; }
.appliance-card span { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- Pricing tiers ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; position: relative;
}
.price-card.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-md); }
.price-card .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #3a1c00; font-weight: 800; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; }
.price-card h3 { font-size: 1.2rem; }
.price-card .price { font-size: 2.6rem; font-weight: 800; color: var(--blue-700); line-height: 1; margin: 6px 0 2px; }
.price-card .price span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card .per { color: var(--green); font-weight: 700; margin-bottom: 16px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; color: var(--body); font-size: .97rem; }
.price-card li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .photo { border-radius: 18px; box-shadow: var(--shadow-md); aspect-ratio: 4/3; width: 100%; background-size: cover; background-position: center; background-color: var(--blue-500); }
.checklist { list-style: none; padding: 0; margin: 18px 0 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; font-weight: 600; color: var(--ink); }
.checklist li svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 2px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step .num { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-700); color: #fff; font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 2.6rem; font-weight: 800; color: #fff; line-height: 1; }
.stat .l { color: #cbe0f4; font-weight: 600; margin-top: 6px; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.review .stars { color: #ffb02e; letter-spacing: 2px; margin-bottom: 10px; font-size: 1.1rem; }
.review p { font-style: italic; color: var(--body); }
.review .who { font-weight: 800; color: var(--ink); font-style: normal; margin-top: 12px; }
.review .who span { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(160deg, var(--blue-800), var(--blue-600)); color: #fff; border-radius: 22px; padding: 50px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d6e6f6; max-width: 600px; margin: 0 auto 26px; font-size: 1.12rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: var(--ink); font-size: 1.06rem; padding: 20px 56px 20px 22px; position: relative; }
.faq-q:hover { color: var(--blue-700); }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.7rem; font-weight: 400; color: var(--blue-600); line-height: 1; }
.faq-item.open .faq-q::after { content: "\2212"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--body); }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ---------- Article cards ---------- */
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card .thumb { aspect-ratio: 16/10; background-size: cover; background-position: center; background-color: var(--blue-500); }
.article-card .body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.article-card .cat { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600); }
.article-card h3 { font-size: 1.16rem; margin: 8px 0 8px; }
.article-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.article-card .read { font-weight: 700; color: var(--blue-700); }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.card-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: .95rem; }
.field .req { color: #d33; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit;
  color: var(--ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26,122,212,.16); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }
.field.error input, .field.error select, .field.error textarea { border-color: #e0564f; }
.field .err-msg { color: #c0392b; font-size: .84rem; margin-top: 5px; display: none; }
.field.error .err-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-section { border-top: 1px dashed var(--line); margin-top: 22px; padding-top: 22px; }
.form-section h3 { font-size: 1.1rem; margin-bottom: 14px; }
.form-note { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 10px; padding: 14px 16px; font-size: .9rem; color: var(--blue-800); }
.form-success { display: none; background: var(--green-light); border: 1px solid #bfe9d4; color: #0c6e47; border-radius: 12px; padding: 18px 20px; font-weight: 600; margin-bottom: 18px; }
.form-success.show { display: block; }
.contact-aside .info-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-aside .info-item:last-child { border-bottom: 0; }
.contact-aside .ii-ico { width: 44px; height: 44px; flex: none; border-radius: 11px; background: var(--blue-100); color: var(--blue-700); display: grid; place-items: center; }
.contact-aside .ii-ico svg { width: 22px; height: 22px; }
.contact-aside h4 { margin: 0 0 3px; font-size: 1rem; color: var(--ink); }
.contact-aside p, .contact-aside a { margin: 0; color: var(--body); font-size: .96rem; }

/* ---------- Plan builder ---------- */
.builder { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.builder-main h2 { font-size: 1.5rem; }
.pb-search { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pb-search input { flex: 1; min-width: 200px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; }
.pb-search input:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(26,122,212,.16); }
.pb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pb-card {
  position: relative; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px 10px 16px;
  text-align: center; cursor: pointer; transition: all .14s ease; user-select: none;
}
.pb-card:hover { border-color: var(--blue-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.pb-card.selected { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 2px rgba(12,99,189,.18); }
.pb-card .appliance-icon { width: 38px; height: 38px; color: var(--blue-700); margin: 0 auto 9px; }
.pb-card span { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pb-card .tick { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-600); color: #fff; display: none; place-items: center; }
.pb-card .tick svg { width: 14px; height: 14px; }
.pb-card.selected .tick { display: grid; }

.summary { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 26px; }
.summary h3 { font-size: 1.2rem; }
.summary .empty { color: var(--muted); font-size: .95rem; }
.summary-list { list-style: none; padding: 0; margin: 0 0 16px; max-height: 260px; overflow-y: auto; }
.summary-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; color: var(--ink); font-weight: 600; }
.summary-list li .si { width: 26px; height: 26px; color: var(--blue-700); flex: none; }
.summary-list li .rm { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--muted); font-size: 1.2rem; line-height: 1; padding: 0 4px; }
.summary-list li .rm:hover { color: #c0392b; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--body); }
.summary .row.total { border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.summary .row.total span:last-child { color: var(--blue-700); }
.summary .save-note { background: var(--green-light); color: #0c6e47; border-radius: 10px; padding: 10px 14px; font-size: .88rem; font-weight: 700; margin: 14px 0; text-align: center; }
.summary .vat-note { font-size: .8rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 880px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin-top: 38px; }
.legal h3 { font-size: 1.18rem; margin-top: 26px; }
.legal p, .legal li { color: var(--body); }
.legal ul, .legal ol { margin-bottom: 1rem; }
.legal .updated { color: var(--muted); font-size: .92rem; }
.toc { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 22px 26px; margin-bottom: 30px; }
.toc h3 { margin-top: 0; }
.toc ol { margin: 0; padding-left: 1.3rem; columns: 2; }
.toc a { font-weight: 600; }
.page-hero { background: linear-gradient(155deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 56px 0; }
.page-hero h1 { color: #fff; margin: 0 0 8px; }
.page-hero p { color: #d6e6f6; margin: 0; font-size: 1.12rem; }
.breadcrumb { font-size: .88rem; color: #b9d3ee; margin-bottom: 12px; }
.breadcrumb a { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #b9cce0; padding: 60px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: #cfe0f1; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand .brand small { color: var(--blue-300); }
.footer-brand p { color: #9fb6cd; font-size: .92rem; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue-300); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #88a1ba; }
.footer-bottom a { color: #b9cce0; }
.legal-line { font-size: .82rem; color: #7e98b2; margin-top: 10px; line-height: 1.6; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 200; max-width: 980px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg);
  padding: 22px 26px; display: none; gap: 22px; align-items: center; flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; flex: 1; min-width: 240px; font-size: .95rem; color: var(--body); }
.cookie-banner .cb-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 11px 20px; font-size: .92rem; }

/* ---------- Logo mark ---------- */
.logo-mark .shield { fill: var(--blue-700); }
.logo-mark .check { stroke: #fff; }
.footer-brand .logo-mark .shield { fill: var(--blue-500); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.hide-mobile { display: initial; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .appliance-grid { grid-template-columns: repeat(4, 1fr); }
  .pb-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links, .nav-cta .nav-phone span { display: none; }
  .nav-cta .btn { padding: 12px 18px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4, .price-grid, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; gap: 30px; }
  .toc ol { columns: 1; }
  .cta-band { padding: 36px 24px; }

  /* mobile nav drawer */
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    box-shadow: var(--shadow-md); padding: 10px 16px 18px; border-top: 1px solid var(--line);
  }
  .nav-links.open > li { width: 100%; }
  .nav-links.open > li > a, .nav-links.open > li > button { width: 100%; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; }
  .nav-links.open .dropdown[hidden] { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .appliance-grid { grid-template-columns: repeat(2, 1fr); }
  .pb-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .price-grid, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .builder { grid-template-columns: 1fr; }
  .cta-band { padding: 30px 20px; }
  .card-panel { padding: 22px; }
  .hero-badge { left: 0; }
}
