/* mobile mechanic ring stylesheet: theme tokens injected by build.py */
:root {
  --navy: #243b3a;
  --navy-2: #34585a;
  --blue: #2f7d6a;
  --blue-d: #1f6050;
  --accent: #b38a5a;
  --accentD: #7d5a2f;
  --accentL: #e8d3ae;
  --wa: #1f9d5b;
  --waD: #167a46;
  --grey: #f4f5f2;
  --tint: #e9eee9;
  --line: #d6dcd6;
  --ink: #202b2a;
  --muted: #566260;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 6px 22px rgba(0, 0, 0, .10);
  --focus: rgba(0, 0, 0, .25);
  --overlay: rgba(26,42,41,.90);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; line-height: 1.18; letter-spacing: -.015em; color: var(--navy); margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); }
h2 { font-size: clamp(1.45rem, 3.2vw, 2rem); margin-top: 2rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1160px, 100% - 2.2rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 2.2rem); margin-inline: auto; }
section { padding: 3rem 0; }
section.alt { background: var(--grey); }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* topbar and header */
.site-topbar { background: var(--navy); color: #cfe0f7; font-size: .9rem; text-align: center; padding: .45rem 1rem; }
.site-topbar a { color: #fff; font-weight: 700; margin-left: .5rem; }
.site-header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1.1rem; background: #fff; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--navy); }
.brand-logo { display: grid; place-items: center; width: 42px; height: 42px; background: var(--navy); color: #fff; border-radius: 10px; }
.brand-logo svg { width: 26px; height: 26px; }
.brand-text strong { display: block; font-size: 1.08rem; line-height: 1.1; }
.brand-text small { color: var(--muted); font-size: .78rem; }
.nav-toggle { min-height: 44px; min-width: 44px; padding: 0 1rem; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-weight: 800; border-radius: 8px; cursor: pointer; }
.site-nav { display: none; width: 100%; flex-direction: column; gap: .2rem; padding-top: .6rem; }
.site-nav.open { display: flex; }
.site-nav a { display: block; padding: .75rem .5rem; min-height: 44px; text-decoration: none; color: var(--navy); font-weight: 700; border-radius: 6px; }
.site-nav a.active { color: var(--blue-d); box-shadow: inset 0 -3px 0 var(--blue); }
.site-nav a.nav-cta { background: var(--wa); color: #fff; text-align: center; margin-top: .4rem; }
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; flex-direction: row; width: auto; padding: 0; align-items: center; gap: .1rem; }
  .site-nav a { padding: .5rem .7rem; }
  .site-nav a.nav-cta { margin: 0 0 0 .5rem; padding: .6rem 1rem; }
}

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.1rem 0 .4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.3rem; border-radius: 8px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; line-height: 1.2; }
.button.primary { background: var(--blue); color: #fff; }
.button.primary:hover { background: var(--blue-d); color: #fff; }
.button.whatsapp { background: var(--wa); color: #fff; }
.button.whatsapp:hover { background: var(--waD); color: #fff; }
.button.ghost { background: transparent; border-color: currentColor; color: var(--navy); }
.button.block { width: 100%; }
.hero .button.ghost, .page-hero .button.ghost, .cta-band .button.ghost { color: #fff; }
.micro { font-size: .86rem; color: var(--muted); margin-top: .8rem; }
.hero .micro, .page-hero .micro, .cta-band .micro { color: #b8cae6; }
.muted { color: var(--muted); }

/* hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 2.5rem 0 3rem; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--accent) 0 38%, var(--blue) 38% 100%); }
.hero h1 { color: #fff; }
.hero-grid { display: grid; gap: 1.8rem; align-items: center; }
.hero .eyebrow { color: var(--accentL); }
.eyebrow { text-transform: uppercase; letter-spacing: .09em; font-size: .78rem; font-weight: 800; color: var(--accentD); margin: 0 0 .5rem; }
.lead { font-size: 1.18rem; max-width: 40rem; }
.hero .lead { color: #dbe7f8; }
.hero-media img { border-radius: 14px; box-shadow: 0 14px 40px rgba(0, 0, 0, .35); border: 3px solid rgba(255, 255, 255, .14); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; } .hero { padding: 3.4rem 0 3.8rem; } }
.page-hero { background: var(--navy); color: #fff; padding: 2rem 0 2.4rem; border-bottom: 6px solid var(--accent); }
.page-hero.slim { padding-bottom: 1.4rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.7rem); }
.page-hero .lead { color: #d3e1f6; }
.price-chip { display: inline-block; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); padding: .3rem .9rem; border-radius: 999px; margin: .4rem 0 0; }
.price-chip strong { color: var(--accentL); font-size: 1.25rem; }
.breadcrumbs { font-size: .86rem; color: #aebfdc; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.breadcrumbs a { color: #d3e1f6; }
.breadcrumbs i { font-style: normal; opacity: .6; padding: 0 .15rem; }
.trust-bar { background: var(--accentD); color: #fff; }
.trust-bar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; padding: .8rem 0; font-weight: 700; font-size: .95rem; }
.trust-bar span::before { content: "\2713"; margin-right: .45rem; }

/* cards */
.section-head { max-width: 46rem; margin-bottom: 1.4rem; }
.section-head h2 { margin-top: 0; }
.card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 1rem 0; }
.card-grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card { display: block; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 1.1rem 1.15rem; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-top-color: var(--accent); color: var(--ink); }
.card h3 { margin-bottom: .35rem; }
.card p { margin-bottom: .5rem; font-size: .97rem; }
.from { color: var(--accentD); font-weight: 800; }
.from-big { font-size: 1.7rem; font-weight: 800; color: var(--accentD); margin: 0; line-height: 1.1; }
.card-link { color: var(--blue-d); font-weight: 800; font-size: .93rem; }
.card-link::after { content: " \2192"; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--blue); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--blue-d); background: #fff; }
.chip:hover { background: var(--blue); color: #fff; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: s; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { display: flex; gap: .9rem; background: #fff; border-radius: var(--radius); padding: 1rem; border: 1px solid var(--line); }
.steps h3 { margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .96rem; }
.step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }

/* quote */
.quote-section { background: var(--grey); }
.quote-grid { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .quote-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; box-shadow: var(--shadow); }
.panel h3 { margin-top: 0; }
.quote-form { display: grid; gap: .8rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .quote-form { grid-template-columns: 1fr 1fr; } }
.field.wide { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .25rem; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: .65rem .8rem; font: inherit; border: 2px solid #b9c5d8; border-radius: 8px; background: #fff; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px var(--focus); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: .6rem 0 0; }
#form-status { background: #fff4e5; border: 1px solid #f0c27a; padding: .8rem 1rem; border-radius: 8px; font-weight: 700; color: #6a4300; }
.contact-grid { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }

/* content pages */
.content-grid { display: grid; gap: 2rem; }
@media (min-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; } }
.sticky { position: static; }
@media (min-width: 960px) { .sticky { position: sticky; top: 96px; } }
.main-col h2:first-child, .prose h2:first-child { margin-top: 0; }
.prose p { max-width: 46rem; }
.lead-block p:first-child { font-size: 1.15rem; }
ul.tick, ul.cross { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.tick li, ul.cross li { position: relative; padding-left: 1.8rem; margin-bottom: .45rem; }
ul.tick li::before { content: "\2713"; position: absolute; left: 0; color: var(--accentD); font-weight: 800; }
ul.cross li::before { content: "\00d7"; position: absolute; left: .1rem; color: #b3402a; font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
ul.plain { list-style: none; padding: 0; margin: 0 0 1rem; }
ul.plain li { margin-bottom: .55rem; }
.incl-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .incl-grid { grid-template-columns: 1fr 1fr; } }
.incl { border-radius: var(--radius); padding: 1rem 1.1rem; }
.incl h3 { margin-top: 0; }
.incl.yes { background: #eaf7f0; border: 1px solid #bfe3cf; }
.incl.no { background: #fbefec; border: 1px solid #efcdc5; }
.inline-img { border-radius: 12px; margin: 1.2rem 0; width: 100%; max-width: 640px; }
.price-table { width: 100%; border-collapse: collapse; margin: 1rem 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.price-table th, .price-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table thead th { background: var(--navy); color: #fff; font-size: .9rem; }
.price-table tbody th { font-weight: 600; }
.price-table tbody td { font-weight: 800; color: var(--accentD); white-space: nowrap; }
.price-table.cmp td { text-align: center; color: var(--ink); white-space: normal; }
.price-table.cmp thead th:not(:first-child) { text-align: center; }
.price-table tbody tr:nth-child(even) { background: #f7f9fc; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .6rem; }
.faq summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 800; color: var(--navy); min-height: 48px; list-style: none; position: relative; padding-right: 2.6rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: .6rem; font-size: 1.4rem; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.1rem 1rem; }

/* CTA */
.cta-band { background: var(--navy-2); color: #fff; padding: 2.4rem 0; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #d3e1f6; max-width: 42rem; }
.cta-inner { display: grid; gap: 1rem; align-items: center; }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.4fr 1fr; } .cta-inner .actions { justify-content: flex-end; } }

/* footer */
.site-footer { background: var(--navy); color: #c3d3ec; padding: 2.4rem 0 1rem; font-size: .95rem; }
.footer-grid { width: min(1160px, 100% - 2.2rem); margin: 0 auto; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.footer-brand { color: #fff; font-size: 1.1rem; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .07em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .2rem; }
.site-footer a { color: #e6efff; display: inline-block; padding: .2rem 0; }
.footer-note { font-size: .85rem; margin-top: .6rem; }
.footer-bottom { width: min(1160px, 100% - 2.2rem); margin: 1.6rem auto 0; padding: 1rem 0 5.5rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .85rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.nord-stats-links a { color: #e6efff; }
.nord-optout-msg { color: var(--accentL); }

/* mobile bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1px; background: var(--navy); box-shadow: 0 -4px 16px rgba(0, 0, 0, .25); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; color: #fff; font-weight: 800; text-decoration: none; background: var(--navy); }
.mobile-bar a.mb-wa { background: var(--wa); }
.mobile-bar a.mb-quote { background: var(--blue); }
@media (min-width: 960px) { .mobile-bar { display: none; } .footer-bottom { padding-bottom: 1rem; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .mobile-bar, .site-header, .site-topbar { display: none; } }
@media (max-width: 959px) {
  .site-topbar span { display: none; }
  .site-topbar a { margin-left: 0; }
  .brand { flex: 1 1 0; min-width: 0; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
}
@media (max-width: 959px) {
  .site-header { flex-wrap: wrap; padding: .6rem .9rem; gap: .5rem; }
  .brand { gap: .5rem; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-text strong { font-size: .92rem; }
  .nav-toggle { padding: 0 .8rem; flex: 0 0 auto; }
}

.quote-form fieldset.fuel { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote-form fieldset.fuel legend { font-weight: 700; margin-bottom: .35rem; padding: 0; }
.quote-form .radios { display: flex; flex-wrap: wrap; gap: .5rem; }
.quote-form .radios label { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; }
.quote-form .radios input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--blue); }

.qr-block { margin: 1rem 0 .5rem; }
.qr-block img { display: block; margin-top: .4rem; border-radius: 8px; border: 1px solid var(--line); }

/* ---- layout variants (selected by body classes from sites/<town>.json) ---- */
/* hero: split-rev */
body.hero-split-rev .hero-grid > .hero-media { order: -1; }
/* hero: overlay (full-bleed photo behind text) */
body.hero-overlay .hero { padding: 0; min-height: 520px; display: flex; align-items: flex-end; background: var(--navy); }
body.hero-overlay .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.hero-overlay .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, var(--overlay) 85%); }
body.hero-overlay .hero .wrap { position: relative; z-index: 2; padding: 3rem 0 3.4rem; }
body.hero-overlay .hero-grid { display: block; }
body.hero-overlay .hero-copy { max-width: 40rem; }
body.hero-overlay .hero::after { z-index: 3; }
/* hero: stack (text above, wide photo below) */
body.hero-stack .hero { padding-bottom: 0; }
body.hero-stack .hero-grid { grid-template-columns: 1fr; }
body.hero-stack .hero-copy { text-align: center; max-width: 46rem; margin: 0 auto; }
body.hero-stack .hero-copy .actions { justify-content: center; }
body.hero-stack .hero-copy .lead { margin-inline: auto; }
body.hero-stack .hero-media img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 14px 14px 0 0; border-bottom: 0; box-shadow: none; }
body.hero-stack .hero::after { display: none; }
/* hero: card (photo with the quote prompt floating over it) */
body.hero-card .hero { background: var(--grey); color: var(--ink); padding: 1.4rem 0 2.4rem; }
body.hero-card .hero h1 { color: var(--navy); }
body.hero-card .hero .lead { color: var(--muted); }
body.hero-card .hero .eyebrow { color: var(--accentD); }
body.hero-card .hero .micro { color: var(--muted); }
body.hero-card .hero .button.ghost { color: var(--navy); }
body.hero-card .hero::after { height: 0; }
body.hero-card .hero-copy { background: #fff; border-radius: 14px; padding: 1.4rem; box-shadow: var(--shadow); }
@media (min-width: 900px) { body.hero-card .hero-grid { grid-template-columns: 1fr 1fr; gap: 0; } body.hero-card .hero-copy { margin-right: -3rem; position: relative; z-index: 2; } body.hero-card .hero-media img { height: 480px; object-fit: cover; } }
/* cards */
body.cards-side .card { border-top: 1px solid var(--line); border-left: 5px solid var(--blue); }
body.cards-side .card:hover { border-left-color: var(--accent); border-top-color: var(--line); }
body.cards-flat .card { border: 0; background: var(--grey); box-shadow: none; border-radius: 16px; }
body.cards-flat section.alt .card { background: #fff; }
body.cards-flat .card:hover { background: #fff; box-shadow: var(--shadow); }
body.cards-outline .card { border: 2px solid var(--navy); box-shadow: none; border-radius: 4px; }
body.cards-outline .card:hover { border-color: var(--accent); border-top-color: var(--accent); transform: none; }
body.cards-outline .chip { border-radius: 4px; }
body.cards-flat .chip { border-color: transparent; background: var(--grey); }
body.cards-flat .chip:hover { background: var(--blue); }
/* section rhythm */
body.alt-tint section.alt { background: var(--tint); }
body.head-left .site-header { border-bottom: 4px solid var(--accent); }
