/* ATX Heating & Air Conditioning — brand stylesheet
   Colors sampled from the logo: crimson → magenta → royal blue gradient, ice-blue snowflake, deep navy text. */
:root {
  --red: #d61f45;
  --red-dark: #b0173a;
  --magenta: #9b2a8f;
  --blue: #2f63e6;
  --blue-dark: #1f47b8;
  --ice: #63c4f5;
  --navy: #13203f;
  --navy-2: #1b2b52;
  --ink: #1d2433;
  --muted: #5b6477;
  --line: #e3e7ef;
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --brand-gradient: linear-gradient(110deg, var(--red) 0%, var(--magenta) 50%, var(--blue) 100%);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 32, 63, .10);
  --shadow-lg: 0 18px 50px rgba(19, 32, 63, .18);
  --max: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center; line-height: 1.2; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(214, 31, 69, .35); }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(47, 99, 230, .3); }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: currentColor; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfd8ee; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; margin-right: 6px; box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.topbar-right { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 720px) { .topbar-right .hide-sm { display: none; } .topbar .container { justify-content: center; text-align: center; } }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.site-header.scrolled { box-shadow: 0 6px 20px rgba(19, 32, 63, .08); }
.site-header::after { content: ""; display: block; height: 3px; background: var(--brand-gradient); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.logo img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); font-weight: 600; padding: 8px 14px; border-radius: 8px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--red); background: #fdf0f3; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.nav-phone small { color: var(--muted); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.nav-phone a { color: var(--navy); font-weight: 800; font-size: 1.1rem; }
.menu-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; color: var(--navy); }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 980px) {
  .nav-phone { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; gap: 2px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
}
@media (max-width: 480px) { .logo img { height: 48px; } .nav-cta .btn { padding: .7em 1em; font-size: .9rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(19, 32, 63, .97) 0%, rgba(19, 32, 63, .88) 45%, rgba(155, 42, 143, .55) 75%, rgba(47, 99, 230, .55) 100%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { color: #fff; }
.hero h1 .accent { background: linear-gradient(90deg, #ff6b88, var(--ice)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: #dbe3f5; max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.eyebrow.dark { color: var(--red); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: #e8edf9; font-weight: 600; font-size: .95rem; }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 20px; height: 20px; color: var(--ice); flex: none; }
.hero-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero-card h2 { font-size: 1.4rem; margin-bottom: .3em; }
.hero-card p { color: var(--muted); font-size: .95rem; }
.hero-photo { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .15); }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 900px) { .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; gap: 32px; } }

/* Page hero (inner pages) */
.page-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(19, 32, 63, .96), rgba(19, 32, 63, .82) 55%, rgba(155, 42, 143, .6) 85%, rgba(47, 99, 230, .6)); z-index: 1; }
.page-hero .hero-bg { opacity: .4; }
.page-hero .container { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: #fff; max-width: 820px; }
.page-hero p { color: #dbe3f5; max-width: 700px; font-size: 1.1rem; }
.breadcrumbs { font-size: .88rem; color: #b9c4de; margin-bottom: 14px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs span { margin: 0 6px; }

/* ---------- Trust strip ---------- */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 22px 18px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--red); flex: none; }
.trust-item .icon svg { width: 26px; height: 26px; }
.trust-item strong { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.trust-item span { color: var(--muted); font-size: .88rem; }
@media (max-width: 900px) { .trust-strip .container { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(2) { border-right: 0; } .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 480px) { .trust-item { padding: 16px 8px; gap: 10px; } .trust-item .icon { width: 40px; height: 40px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--navy); color: #d6deef; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p { color: #b9c4de; }
@media (max-width: 720px) { .section { padding: 60px 0; } }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Service cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-body ul { color: var(--muted); font-size: .94rem; margin: 0 0 1em; padding-left: 1.1em; }
.card-link { margin-top: auto; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }
.icon-card { padding: 28px; }
.icon-badge { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--brand-gradient); margin-bottom: 18px; }
.icon-badge svg { width: 28px; height: 28px; }

/* Feature list */
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-gradient) ;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.check-list li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }

.media-frame { position: relative; border-radius: 18px; overflow: visible; }
.media-frame img { border-radius: 18px; width: 100%; object-fit: cover; box-shadow: var(--shadow-lg); }
.media-frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 18px; background: var(--brand-gradient); z-index: -1; opacity: .9; }
.media-frame .float-badge { position: absolute; left: -14px; bottom: 26px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; }
.float-badge strong { font-size: 1.8rem; color: var(--red); line-height: 1; }
.float-badge span { font-size: .85rem; color: var(--navy); font-weight: 700; line-height: 1.25; }
@media (max-width: 860px) { .media-frame::before { inset: 12px -10px -12px 10px; } .media-frame .float-badge { left: 10px; } }
.img-tall { aspect-ratio: 4/5; }
.img-wide { aspect-ratio: 4/3; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat strong { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { color: #b9c4de; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* Process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 800; background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 1080px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }

/* Reviews */
.review { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; }
.review .stars { color: #f5b301; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 10px; }
.review blockquote { margin: 0 0 16px; font-size: 1.08rem; color: var(--ink); }
.review cite { font-style: normal; font-weight: 700; color: var(--navy); }
.review cite small { display: block; color: var(--muted); font-weight: 500; }
.review::after { content: "\201D"; position: absolute; right: 22px; top: 2px; font-size: 5rem; line-height: 1; color: #f1e3ec; font-family: Georgia, serif; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; color: var(--muted); }
.rating-summary strong { color: var(--navy); }

/* Brands */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.brand-pill { padding: 12px 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .98rem; }
.brand-pill.featured { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand-gradient) border-box; border: 2px solid transparent; }

/* Areas */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.area-list li { padding: 8px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-weight: 600; font-size: .93rem; color: var(--navy); }
.area-list li.primary { background: var(--red); color: #fff; border-color: var(--red); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--navy); list-style: none; position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--red); font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--brand-gradient); color: #fff; border-radius: 22px; padding: 52px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #f3eaf7; margin: 0; font-size: 1.08rem; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
.cta-band .btn-white { background: #fff; color: var(--navy); }
.cta-band .btn-white:hover { color: var(--red); }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } .cta-band .actions { justify-content: flex-start; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure { margin: 0; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 1; background: var(--bg-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(transparent, rgba(19, 32, 63, .85)); color: #fff; font-size: .82rem; font-weight: 600; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* Service detail blocks */
.service-block { padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-block:nth-of-type(even) { background: var(--bg-soft); }
.service-block .grid-2.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .service-block .grid-2.reverse > :first-child { order: 0; } }
.tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #fdf0f3; color: var(--red); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 12px; }
.service-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.service-nav a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; color: var(--navy); font-size: .93rem; }
.service-nav a:hover { border-color: var(--red); color: var(--red); }
.sub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 0 0 1.4em; }
@media (max-width: 520px) { .sub-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--navy); color: #d6deef; border-radius: 18px; padding: 34px; }
.info-card h2, .info-card h3 { color: #fff; }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.info-row:last-of-type { border-bottom: 0; }
.info-row .icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--ice); flex: none; }
.info-row .icon svg { width: 22px; height: 22px; }
.info-row strong { display: block; color: #fff; }
.info-row a { color: #fff; font-weight: 700; }
.info-row a:hover { color: var(--ice); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .form-card, .info-card { padding: 24px 20px; } }
label { display: block; font-weight: 700; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 99, 230, .15); }
textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; padding: 14px 16px; border-radius: 10px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f8ef; color: #17633a; }
.form-status.info { background: #eef3ff; color: var(--blue-dark); }
.form-status.err { background: #fdecef; color: var(--red-dark); }

/* Legal pages */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin-top: 2em; padding-top: .4em; }
.legal h3 { font-size: 1.12rem; margin-top: 1.4em; }
.legal p, .legal li { color: #3a4356; }
.legal .updated { display: inline-block; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-soft); color: var(--navy); }
.legal .table-wrap { overflow-x: auto; }
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 30px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 620px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: #0d1730; color: #aab6d3; padding-top: 72px; font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand-gradient); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 12px; margin-bottom: 18px; }
.footer-logo img { height: 52px; width: auto; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d6deef; }
.site-footer a:hover { color: var(--ice); }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--ice); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 56px; padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom ul { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Mobile call bar */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: grid; grid-template-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; box-shadow: 0 -6px 20px rgba(0, 0, 0, .15); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 10px; font-weight: 800; color: #fff; font-size: .98rem; }
  .mobile-cta a:first-child { background: var(--red); }
  .mobile-cta svg { width: 18px; height: 18px; }
  body { padding-bottom: 54px; }
}

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 560px; background: #fff; color: var(--ink);
  border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 22px; display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.cookie-banner strong { color: var(--navy); display: block; margin-bottom: 6px; }
.cookie-banner .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { padding: .65em 1.2em; font-size: .92rem; }
@media (max-width: 760px) { .cookie-banner { bottom: 70px; } }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .topbar .pulse { animation: none; } }

/* ---------- Services dropdown ---------- */
.has-dropdown { position: relative; }
.dropdown { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: none; z-index: 120; }
.dropdown a { display: block; padding: 9px 12px; font-size: .94rem; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
@media (max-width: 980px) {
  .dropdown { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .dropdown a { font-size: .9rem; padding: 8px 14px; color: var(--muted); }
}

/* ---------- Numbered reasons ---------- */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; counter-reset: reason; }
.reasons li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px 76px; position: relative; }
.reasons li::before { counter-increment: reason; content: counter(reason, decimal-leading-zero); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-gradient); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.reasons h3 { font-size: 1.08rem; margin-bottom: .35em; }
.reasons p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- Problem cards ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 12px; padding: 22px; }
.problem h3 { font-size: 1.05rem; margin-bottom: .4em; }
.problem p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 980px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Prose blocks ---------- */
.prose { max-width: 820px; }
.prose p { color: #3a4356; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.related { display: flex; flex-wrap: wrap; gap: 10px; }
.related a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .92rem; }
.related a:hover { border-color: var(--red); color: var(--red); }
.h1-sub { display: block; font-size: .5em; font-weight: 700; color: #cfe3ff; margin-top: .45em; letter-spacing: 0; }
.service-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.service-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-item h3 { font-size: 1.08rem; margin-bottom: .45em; }
.service-item p { color: var(--muted); font-size: .94rem; flex: 1; }
@media (max-width: 1080px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service-list { grid-template-columns: 1fr; } }
.inline-cta { color: inherit; font-weight: 800; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.section.dark .inline-cta, .page-hero .inline-cta, .cta-band .inline-cta { color: #fff; text-decoration-color: var(--ice); }
.inline-cta:hover { color: var(--red); }
