/*
 * MakeMyListing personal trainer starter template.
 * One structure, themed per site with the tokens below (see .theme-* blocks at the end).
 * Mobile-first; no JavaScript needed except demo.js on the example sites.
 */
:root {
    --bg: #0b0b0c;
    --surface: #161618;
    --surface-2: #1f1f22;
    --text: #f5f5f4;
    --muted: #b4b4ae;
    --line: rgba(255, 255, 255, 0.1);
    --accent: #f97316;
    --accent-ink: #1a0a00;
    --hero-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%);
    --hero-fallback: linear-gradient(135deg, #2a2a2e, #0b0b0c);
    --font-head: 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --head-weight: 800;
    --head-transform: none;
    --head-spacing: -0.02em;
    --radius: 14px;
    --btn-radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: var(--head-weight);
    letter-spacing: var(--head-spacing);
    text-transform: var(--head-transform);
    line-height: 1.08;
}

p { color: var(--muted); }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 44px; }

/* "This is an example" bar */
.demo-bar {
    position: relative;
    z-index: 110;
    background: #111827;
    color: #f9fafb;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.8rem;
    line-height: 1.4;
    padding: 8px 16px;
    text-align: center;
}
.demo-bar a { color: #86efac; font-weight: 600; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 50px; padding: 12px 24px;
    border: 2px solid transparent; border-radius: var(--btn-radius);
    font: 600 1rem/1.2 var(--font-body);
    text-decoration: none; cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: currentColor; }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; }
.btn-wa { background: #25d366; color: #04240f; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.brand {
    font-family: var(--font-head); font-weight: var(--head-weight);
    text-transform: var(--head-transform); letter-spacing: var(--head-spacing);
    font-size: 1.15rem; text-decoration: none;
}
.brand span { color: var(--accent); }
.site-nav { display: none; }
.site-nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--text); }

/* Hero */
.hero {
    position: relative;
    min-height: min(88vh, 760px);
    display: flex; align-items: flex-end;
    background: var(--hero-fallback);
    overflow: hidden;
}
/* Hero photos keep the people on the right, so phones (portrait crop) show that side. */
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); }
/* Extra bottom space on phones keeps the floating WhatsApp button clear of the hero buttons. */
.hero-content { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 92px; }
.eyebrow {
    display: inline-block; margin-bottom: 14px;
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
}
.hero h1 { font-size: clamp(2.6rem, 12vw, 5.2rem); color: #fff; max-width: 12em; }
.hero h1, .hero p, .hero .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero p { margin-top: 14px; max-width: 32em; font-size: 1.1rem; color: rgba(255, 255, 255, 0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .btn-ghost { color: #fff; }

/* Credentials strip */
.creds { border-bottom: 1px solid var(--line); }
.creds ul {
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px;
    padding: 18px 0; font-size: 0.9rem; font-weight: 600; color: var(--muted);
}
.creds li::before { content: "✓ "; color: var(--accent); }

/* Offer banner */
.offer { background: var(--accent); color: var(--accent-ink); }
.offer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
.offer p { color: var(--accent-ink); font-weight: 600; }
.offer .btn { background: var(--accent-ink); color: var(--accent); min-height: 42px; }

/* Sections */
.section { padding: 64px 0; scroll-margin-top: 64px; }
.section-alt { background: var(--surface); }
.section-head { margin-bottom: 28px; max-width: 40em; }
.section-head h2 { font-size: clamp(2rem, 8vw, 3rem); }
.section-head p { margin-top: 10px; font-size: 1.05rem; }

/* Services */
.services { display: grid; gap: 14px; }
.service {
    display: grid; gap: 6px; padding: 22px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.section-alt .service { background: var(--bg); }
.service-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.service h3 { font-size: 1.3rem; }
.service .price { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.4rem; color: var(--accent); white-space: nowrap; }
.service .price small { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; color: var(--muted); }
.service-tag {
    justify-self: start; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 999px;
}

/* Timetable */
.timetable { width: 100%; border-collapse: collapse; background: var(--surface-2); border-radius: var(--radius); overflow: hidden; }
.section-alt .timetable { background: var(--bg); }
.timetable th, .timetable td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.timetable tr:last-child td { border-bottom: 0; }
.timetable th { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.timetable td:first-child { font-weight: 700; }
.timetable td:last-child { color: var(--muted); }
.timetable-note { margin-top: 12px; font-size: 0.9rem; }

/* About */
.about { display: grid; gap: 28px; align-items: center; }
.about-img {
    aspect-ratio: 4 / 5; width: 100%; object-fit: cover;
    border-radius: var(--radius); background: var(--hero-fallback);
}
.about h2 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 14px; }
.about p + p { margin-top: 12px; }

/* Photo strip */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-strip img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--hero-fallback); }

/* First session steps */
.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; padding: 20px 20px 20px 64px; position: relative; background: var(--surface-2); border-radius: var(--radius); }
.section-alt .steps li { background: var(--bg); }
.steps li::before {
    content: counter(step); position: absolute; left: 18px; top: 18px;
    width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink); font-weight: 800;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 4px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface-2); border-radius: var(--radius); }
.section-alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 48px 18px 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 18px 18px; }

/* Contact / book */
.cta-panel { text-align: center; padding: 40px 22px; border-radius: calc(var(--radius) * 1.5); background: var(--surface-2); border: 1px solid var(--line); }
.cta-panel h2 { font-size: clamp(2rem, 8vw, 3rem); }
.cta-panel p { margin: 12px auto 0; max-width: 30em; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.contact-meta { margin-top: 20px; font-size: 0.95rem; }

.site-footer { padding: 32px 0 96px; border-top: 1px solid var(--line); font-size: 0.85rem; }
.site-footer p { color: var(--muted); }

/* Floating WhatsApp button (phones) */
.wa-float {
    position: fixed; right: 16px; bottom: 16px; z-index: 90;
    width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
    display: grid; place-items: center; background: #25d366; color: #04240f;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Demo dialog (demo.js) */
.demo-dialog {
    margin: auto; max-width: min(92vw, 420px); padding: 24px; border: 0; border-radius: 16px;
    background: #ffffff; color: #111827; font-family: 'Inter', system-ui, sans-serif;
}
.demo-dialog::backdrop { background: rgba(0, 0, 0, 0.55); }
.demo-dialog h2 { font-family: 'Inter', system-ui, sans-serif; font-size: 1.15rem; font-weight: 700; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.demo-dialog p { color: #374151; }
.demo-dialog .demo-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.demo-dialog .btn { min-height: 44px; font-family: 'Inter', system-ui, sans-serif; }
.demo-dialog .demo-close { background: #e5e7eb; color: #111827; }
.demo-dialog .demo-get { background: #25d366; color: #04240f; }

@media (min-width: 720px) {
    .container { padding: 0 24px; }
    .site-nav { display: flex; gap: 22px; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 0.9fr 1.1fr; gap: 48px; }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .cta-actions { flex-direction: row; justify-content: center; }
    .section { padding: 96px 0; }
    .hero-content { padding-bottom: 72px; }
    .hero-img { object-position: center; }
    .wa-float { display: none; }
    .site-footer { padding-bottom: 40px; }
}

/* ---------- Themes ---------- */

/* Forge Strength Co.: dark, bold, industrial */
.theme-forge {
    --bg: #0c0c0d;
    --surface: #141416;
    --surface-2: #1c1c1f;
    --text: #f4f4f2;
    --muted: #b9b9b2;
    --accent: #f5b301;
    --accent-ink: #171100;
    --hero-fallback: radial-gradient(circle at 70% 20%, #3a2f12, #0c0c0d 60%);
    --font-head: 'Oswald', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 700;
    --head-transform: uppercase;
    --head-spacing: 0.01em;
    --radius: 6px;
    --btn-radius: 6px;
}

/* Lumen Pilates & PT: light, calm, editorial */
.theme-lumen {
    --bg: #faf7f2;
    --surface: #f1ebe2;
    --surface-2: #ffffff;
    --text: #2b2420;
    --muted: #6b5f57;
    --line: rgba(43, 36, 32, 0.12);
    --accent: #a8573c;
    --accent-ink: #ffffff;
    --hero-overlay: linear-gradient(180deg, rgba(43, 36, 32, 0.3) 0%, rgba(43, 36, 32, 0.82) 70%);
    --hero-fallback: linear-gradient(135deg, #e9d8c6, #c9a58c);
    --font-head: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 500;
    --head-transform: none;
    --head-spacing: -0.01em;
    --radius: 18px;
    --btn-radius: 999px;
}
.theme-lumen .offer .btn { background: #fff; color: var(--accent); }
.theme-lumen .creds li::before { color: var(--accent); }

/* Shared extras for the trades examples (new components only; not used by Forge or Lumen) */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.area-list li {
    padding: 8px 16px; border-radius: 999px; background: var(--surface-2);
    border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem;
}
.section-alt .area-list li { background: var(--bg); }
.why { display: grid; gap: 14px; list-style: none; }
.why li { padding: 20px; background: var(--surface-2); border-radius: var(--radius); border: 1px solid var(--line); }
.why h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why h3::before { content: "✓ "; color: var(--accent); }
.service-icon {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
    background: var(--accent); color: var(--accent-ink); margin-bottom: 6px;
}
.service-icon svg { width: 24px; height: 24px; }
@media (min-width: 720px) {
    .why { grid-template-columns: 1fr 1fr; }
}

/* BrightSpark Electrical: LIGHT theme, white and off-white with strong yellow and deep blue */
.theme-trades-light {
    --bg: #ffffff;
    --surface: #f3f6fc;
    --surface-2: #ffffff;
    --text: #0b1f44;
    --muted: #46567a;
    --line: rgba(11, 31, 68, 0.13);
    --accent: #ffc21a;
    --accent-ink: #0b1f44;
    --font-head: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 800;
    --head-transform: none;
    --head-spacing: -0.02em;
    --radius: 14px;
    --btn-radius: 10px;
}
.theme-trades-light .demo-bar { background: #0b1f44; color: #fff; }
.theme-trades-light .site-header { background: #fff; border-bottom: 1px solid var(--line); }
.theme-trades-light .brand { color: #0b1f44; }
.theme-trades-light .brand span { color: #e0a400; }
.theme-trades-light .btn-ghost { color: var(--text); border-color: var(--text); }
.theme-trades-light .eyebrow { color: #0b1f44; background: var(--accent); padding: 4px 12px; border-radius: 999px; letter-spacing: 0.08em; }
.theme-trades-light .creds { background: var(--surface); }
.theme-trades-light .creds li::before { color: #0b1f44; }
.theme-trades-light .offer { background: #0b1f44; color: #fff; }
.theme-trades-light .offer p { color: #fff; }
.theme-trades-light .offer .btn { background: var(--accent); color: #0b1f44; }
.theme-trades-light .service { box-shadow: 0 6px 20px rgba(11, 31, 68, 0.07); }
.theme-trades-light .service .price { color: #0b1f44; background: var(--accent); padding: 2px 10px; border-radius: 8px; font-size: 1.05rem; }
.theme-trades-light .why h3::before { color: #0b1f44; background: var(--accent); border-radius: 50%; padding: 0 5px; }
.theme-trades-light .cta-panel { background: #0b1f44; border-color: #0b1f44; }
.theme-trades-light .cta-panel h2 { color: #fff; }
.theme-trades-light .cta-panel p { color: #d3dcf0; }
.theme-trades-light .contact-meta a { color: var(--accent); }
.theme-trades-light .steps li::before { background: #0b1f44; color: var(--accent); }

/* ClearFlow Plumbing & Heating: clean white and ice-blue with oceanic cyan and rich navy */
.theme-plumber {
    --bg: #ffffff;
    --surface: #f1f7fc;
    --surface-2: #ffffff;
    --text: #0a1f38;
    --muted: #435b75;
    --line: rgba(10, 31, 56, 0.12);
    --accent: #0284c7;
    --accent-ink: #ffffff;
    --font-head: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 800;
    --head-transform: none;
    --head-spacing: -0.02em;
    --radius: 14px;
    --btn-radius: 10px;
}
.theme-plumber .demo-bar { background: #0a1f38; color: #fff; }
.theme-plumber .site-header { background: #fff; border-bottom: 1px solid var(--line); }
.theme-plumber .brand { color: #0a1f38; }
.theme-plumber .brand span { color: var(--accent); }
.theme-plumber .btn-ghost { color: var(--text); border-color: var(--text); }
.theme-plumber .eyebrow { color: #0369a1; background: #e0f2fe; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.08em; }
.theme-plumber .creds { background: var(--surface); }
.theme-plumber .creds li::before { color: var(--accent); }
.theme-plumber .offer { background: #0a1f38; color: #fff; }
.theme-plumber .offer p { color: #fff; }
.theme-plumber .offer .btn { background: var(--accent); color: #fff; }
.theme-plumber .service { box-shadow: 0 6px 20px rgba(10, 31, 56, 0.07); }
.theme-plumber .service .price { color: #0369a1; background: #e0f2fe; padding: 2px 10px; border-radius: 8px; font-size: 1.05rem; }
.theme-plumber .service-icon { background: #e0f2fe; color: #0284c7; }
.theme-plumber .why h3::before { color: #fff; background: var(--accent); border-radius: 50%; padding: 0 5px; }
.theme-plumber .cta-panel { background: #0a1f38; border-color: #0a1f38; }
.theme-plumber .cta-panel h2 { color: #fff; }
.theme-plumber .cta-panel p { color: #cbd5e1; }
.theme-plumber .contact-meta a { color: #38bdf8; }
.theme-plumber .steps li::before { background: var(--accent); color: #fff; }
.theme-plumber.layout-split-hero .split-hero { background: #f0f7fd; border-bottom: 6px solid var(--accent); }
.theme-plumber .quote-card { border-top: 6px solid #0a1f38; }

/* Split hero: headline on one side, quote card on the other */
.layout-split-hero .split-hero { background: #fff9e0; border-bottom: 6px solid var(--accent); padding: 40px 0 48px; }
.layout-split-hero .split-hero-grid { display: grid; gap: 28px; align-items: center; }
.layout-split-hero .split-hero h1 { font-size: clamp(2.3rem, 9vw, 4rem); margin-bottom: 14px; }
.layout-split-hero .split-hero p { font-size: 1.1rem; max-width: 30em; }
.layout-split-hero .hero-actions { margin-top: 22px; }
.quote-card {
    background: #fff; border-radius: 18px; padding: 22px 20px 20px; border-top: 6px solid #0b1f44;
    box-shadow: 0 18px 44px rgba(11, 31, 68, 0.16);
}
.quote-card h2 { font-size: 1.5rem; margin-bottom: 4px; }
.quote-card > p { font-size: 0.95rem; margin-bottom: 14px; }
.quote-field { display: grid; gap: 4px; margin-bottom: 12px; }
.quote-field label { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.quote-field input, .quote-field select {
    font: inherit; font-size: 0.95rem; padding: 11px 12px; border-radius: 10px;
    border: 1.5px solid var(--line); background: var(--surface); color: var(--muted); width: 100%;
}
.quote-card .btn { width: 100%; }
.quote-note { font-size: 0.8rem; text-align: center; margin-top: 10px; }
@media (min-width: 860px) {
    .layout-split-hero .split-hero { padding: 72px 0; }
    .layout-split-hero .split-hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}

/* Oakline Building & Renovation: warm stone, deep green, serif headings */
.theme-oakline {
    --bg: #f3eee6;
    --surface: #e9e1d3;
    --surface-2: #fbf8f2;
    --text: #232b26;
    --muted: #5b625c;
    --line: rgba(35, 43, 38, 0.14);
    --accent: #2f4a3a;
    --accent-ink: #ffffff;
    --hero-overlay: linear-gradient(180deg, rgba(20, 28, 23, 0.2) 0%, rgba(20, 28, 23, 0.82) 80%);
    --hero-fallback: linear-gradient(135deg, #8a7f6c, #3b4a3f);
    --font-head: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 600;
    --head-transform: none;
    --head-spacing: -0.01em;
    --radius: 4px;
    --btn-radius: 2px;
}
.theme-oakline .demo-bar { background: #232b26; color: #f3eee6; }
.theme-oakline .site-header { background: #f3eee6; border-bottom: 1px solid var(--line); }
.theme-oakline .brand { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--text); }
.theme-oakline .brand span { color: var(--accent); font-style: italic; }
.theme-oakline .eyebrow { color: #e6dcc6; }
.theme-oakline .section-head h2, .theme-oakline .cta-panel h2 { font-weight: 600; }
.theme-oakline .creds li::before { color: var(--accent); }
.theme-oakline .service { border-radius: 4px; border-top: 3px solid var(--accent); }
.theme-oakline .cta-panel { background: #2f4a3a; border-color: #2f4a3a; }
.theme-oakline .cta-panel h2 { color: #fff; }
.theme-oakline .cta-panel p, .theme-oakline .contact-meta { color: #d9e2da; }
.theme-oakline .cta-panel .btn-primary { background: #f3eee6; color: #232b26; }
.theme-oakline .cta-panel .btn-ghost { color: #fff; }
.theme-oakline .contact-meta a { color: #fff; }
.theme-oakline .steps li { border-left: 3px solid var(--accent); border-radius: 4px; }
.theme-oakline .steps li::before { border-radius: 2px; }
.theme-oakline .why h3::before { color: var(--accent); }

/* Project gallery: stone gradient tiles with a caption, so it reads fine even without photos */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; list-style: none; }
.gallery-item {
    position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
    background: linear-gradient(145deg, #cfc4ae, #8f8672);
}
.gallery li:nth-child(even) .gallery-item { background: linear-gradient(145deg, #b9c2b3, #6f7f6e); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
    position: absolute; left: 8px; bottom: 8px; right: 8px; padding: 5px 10px; width: fit-content; max-width: calc(100% - 16px);
    background: rgba(35, 43, 38, 0.86); color: #fff; font-size: 0.8rem; font-weight: 600; border-radius: 2px;
}
@media (min-width: 720px) {
    .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* IA Building Services (real-business preview, /p/ia-building/): charcoal, concrete and brick orange */
.theme-ia {
    --bg: #f4f2ee;
    --surface: #e9e6e0;
    --surface-2: #ffffff;
    --text: #1f2429;
    --muted: #505860;
    --line: rgba(31, 36, 41, 0.14);
    --accent: #c2410c;
    --accent-ink: #ffffff;
    --hero-overlay: linear-gradient(180deg, rgba(24, 28, 32, 0.2) 0%, rgba(24, 28, 32, 0.86) 78%);
    --hero-fallback: linear-gradient(135deg, #4a525a, #1f2429);
    --font-head: 'Archivo', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    --head-weight: 800;
    --head-transform: none;
    --head-spacing: -0.02em;
    --radius: 6px;
    --btn-radius: 4px;
}
.theme-ia .demo-bar { background: #2b3138; color: #e6e8ea; font-size: 0.78rem; }
.theme-ia .demo-bar a { color: #fff; }
.theme-ia .site-header { background: #1f2429; border-bottom: 3px solid var(--accent); backdrop-filter: none; -webkit-backdrop-filter: none; }
.theme-ia .brand { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.02em; }
.theme-ia .brand span { color: #f58a4f; }
.theme-ia .site-nav a { color: #c9ced3; }
.theme-ia .site-nav a:hover { color: #fff; }
.theme-ia .header-inner .btn-small { white-space: nowrap; }
.theme-ia .hero-img { object-position: 28% center; }
.theme-ia .hero { min-height: min(80vh, 700px); }
.theme-ia .hero h1 { max-width: 13em; font-size: clamp(2.3rem, 10vw, 4.4rem); }
.theme-ia .eyebrow { color: #ffb98f; }
.theme-ia .hero .btn-ghost { border-color: rgba(255, 255, 255, 0.7); }
.theme-ia .creds { background: #2b3138; border-bottom: 0; }
.theme-ia .creds ul { color: #e6e8ea; padding: 16px 0; gap: 8px 28px; }
.theme-ia .creds li::before { color: #f58a4f; }
.theme-ia .creds a { color: #fff; text-decoration-color: #f58a4f; text-underline-offset: 3px; }
.theme-ia .section-head h2 { text-transform: none; }
.theme-ia .service { border-radius: 6px; border-top: 4px solid var(--accent); box-shadow: 0 4px 14px rgba(31, 36, 41, 0.06); gap: 10px; align-content: start; }
.theme-ia .service ul { list-style: none; display: grid; gap: 6px; color: var(--muted); font-size: 0.96rem; }
.theme-ia .service li { padding-left: 18px; position: relative; }
.theme-ia .service li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--accent); border-radius: 1px; }
.theme-ia .why li { border-left: 4px solid var(--accent); }
.theme-ia .why h3::before { content: ""; }
.theme-ia .rating-box { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 22px; }
.theme-ia .rating-box strong { font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--accent); }
.theme-ia .rating-box span { color: var(--muted); font-weight: 600; }
.theme-ia .reviews { display: grid; gap: 14px; list-style: none; }
.theme-ia .review { background: var(--surface-2); padding: 22px; border-radius: 6px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.theme-ia .review blockquote { font-size: 1.05rem; line-height: 1.5; color: var(--text); font-weight: 500; }
.theme-ia .review figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }
.theme-ia .review figcaption b { color: var(--text); }
.theme-ia .reviews-link { margin-top: 24px; }
.theme-ia .section-alt .why li, .theme-ia .section-alt .service { background: var(--surface-2); }
.theme-ia .gallery-item { background: #cfd3d6; }
.theme-ia .gallery li:nth-child(even) .gallery-item { background: #bfc4c8; }
.theme-ia .gallery-item figcaption { background: rgba(31, 36, 41, 0.88); border-radius: 3px; }
.theme-ia .area-list li { border-radius: 4px; }
.theme-ia .cta-panel { background: #1f2429; border-color: #1f2429; border-radius: 8px; }
.theme-ia .cta-panel h2 { color: #fff; }
.theme-ia .cta-panel p, .theme-ia .contact-meta { color: #c9ced3; }
.theme-ia .cta-panel .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.theme-ia .contact-meta strong { color: #fff; }
.theme-ia .faq details { border: 1px solid var(--line); }
.theme-ia .site-footer { background: #1f2429; border-top: 0; }
.theme-ia .site-footer p, .theme-ia .site-footer a { color: #aeb4ba; }
.theme-ia .wa-float { bottom: 16px; }
@media (min-width: 720px) {
    .theme-ia .reviews { grid-template-columns: 1fr 1fr; }
    .theme-ia .services { grid-template-columns: repeat(3, 1fr); }
    .theme-ia .why { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 720px) {
    .theme-ia .hero-img { object-position: center 60%; }
}
@media (min-width: 960px) {
    .theme-ia .gallery { grid-template-columns: repeat(4, 1fr); }
}
