/* Style: Modern (Nov 2026) - soft and friendly. Rounded cards with shadows, pill buttons, a framed
   banner with centred text, floating highlight chips. Loaded after theme.css when site.json has
   "theme": { "style": "modern" }. Only changes shape and layout; colours and fonts still come from Settings.
   --surface / --bg are set by dark.css in dark mode, so they fall back to white here. */
.style-modern { --r: 18px; --shadow: 0 1px 2px rgba(16,24,40,.06), 0 8px 24px rgba(16,24,40,.08); }
.style-modern { background: var(--bg, #fff); }
.style-modern h1, .style-modern h2 { letter-spacing: -.02em; }

/* buttons: pills */
.style-modern .btn, .style-modern .call-btn { border-radius: 999px; }
.style-modern .btn { padding: .85em 1.6em; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.style-modern .btn:hover { transform: translateY(-1px); }

/* header: see-through, blurred, nav links light up as pills */
.style-modern .site-header { background: color-mix(in srgb, var(--surface, #fff) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom-color: transparent; box-shadow: 0 1px 0 color-mix(in srgb, var(--dark) 8%, transparent); }
.style-modern .site-nav { gap: 6px; }
.style-modern .site-nav a { padding: 8px 14px; border-radius: 999px; border-bottom: 0; }
.style-modern .site-nav a:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.style-modern .site-nav a[aria-current] { background: color-mix(in srgb, var(--primary) 16%, transparent); color: var(--dark); }
.style-modern .menu-toggle { border-radius: 999px; }
@media (max-width: 860px) { .style-modern .site-nav a { border-radius: 12px; border-bottom: 0; } }

/* banner: a rounded frame inside the page, centred text over a darkened photo */
.style-modern .hero { margin: 14px clamp(10px, 2vw, 22px) 0; border-radius: 28px; overflow: hidden; text-align: center; background-position: center; }
.style-modern .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 55%, rgba(0,0,0,.35)) 0%, color-mix(in srgb, var(--primary) 35%, rgba(0,0,0,.7)) 100%); }
.style-modern .hero-inner { margin-inline: auto; display: flex; flex-direction: column; align-items: center; padding: clamp(72px, 12vw, 150px) 0; }
.style-modern .hero h1 { max-width: 18ch; margin-inline: auto; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.style-modern .hero-sub { margin-inline: auto; max-width: 52ch; }
.style-modern .hero-actions { justify-content: center; }

/* highlights: floating chips that overlap the bottom of the banner */
.style-modern .highlights { background: transparent; color: var(--dark); position: relative; z-index: 2; margin-top: -30px; }
.style-modern .highlight-row { justify-content: center; gap: 12px; padding: 0 0 8px; }
.style-modern .highlight-row li { background: var(--surface, #fff); box-shadow: var(--shadow); border-radius: 999px; padding: 12px 22px; }
.style-modern .highlight-row li strong { color: var(--primary); }

/* sections: centred headings, softer bands */
.style-modern .section-head:not(.section-head-row) { margin-inline: auto; text-align: center; }
.style-modern .section-alt, .style-modern .split, .style-modern .opt-shade .section { background: color-mix(in srgb, var(--primary) 6%, var(--bg, #fff)); }
.style-modern .page-head { text-align: center; border-bottom: 0; margin: 14px clamp(10px, 2vw, 22px) 0; border-radius: 28px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 16%, var(--bg, #fff)), color-mix(in srgb, var(--accent) 14%, var(--bg, #fff))); }
.style-modern .page-head h1, .style-modern .page-head .lede { margin-inline: auto; }

/* cards everywhere */
.style-modern .service-grid { border-top: 0; gap: 20px; }
.style-modern .service { background: var(--surface, #fff); border: 0; border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; }
.style-modern .service-row img, .style-modern .split-img, .style-modern .block img, .style-modern .gallery-item img { border-radius: var(--r); }
.style-modern .review { background: var(--surface, #fff); border: 0; border-radius: var(--r); box-shadow: var(--shadow); padding: 28px; position: relative; }
.style-modern .review::before { content: '\201C'; position: absolute; top: 4px; right: 18px; font: 700 4rem/1 Georgia, serif; color: color-mix(in srgb, var(--primary) 30%, transparent); }
.style-modern .person { text-align: center; } .style-modern .person img { margin-inline: auto; box-shadow: var(--shadow); }
.style-modern .contact-info { border-radius: var(--r); box-shadow: var(--shadow); background: var(--surface, #fff); }
.style-modern .map { border-radius: var(--r); }

/* car cards: lift on hover */
.style-modern .car { border: 0; border-radius: 20px; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; background: var(--surface, #fff); }
.style-modern .car:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 16px 36px rgba(16,24,40,.14); }
.style-modern .car-sticker { border-top: 1px solid color-mix(in srgb, var(--dark) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--dark) 10%, transparent); }
.style-modern .inv-tools input, .style-modern .inv-tools select { border-radius: 12px; }

/* questions: each one its own card */
.style-modern .faq { border-top: 0; display: grid; gap: 10px; }
.style-modern .faq-item { border: 0; background: var(--surface, #fff); border-radius: 14px; box-shadow: var(--shadow); padding: 0 22px; }

/* forms */
.style-modern .form input, .style-modern .form select, .style-modern .form textarea { border-radius: 12px; }
.style-modern .chip { border-radius: 999px; }

/* call band: a rounded gradient box */
.style-modern .cta-band { background: transparent; padding: clamp(28px, 5vw, 56px) 0; }
.style-modern .cta-row { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); border-radius: 28px;
  padding: clamp(28px, 5vw, 52px); box-shadow: var(--shadow); }

/* footer: rounded top */
.style-modern .site-footer { border-radius: 28px 28px 0 0; }
@media (max-width: 700px) { .style-modern .highlight-row { gap: 8px; } .style-modern .highlight-row li { padding: 8px 16px; font-size: .92rem; } }
