/*
Theme Name: One Step Flooring
Theme URI: https://www.onestepflooringltd.co.uk
Author: Welch Marketing Ltd
Author URI: https://welchmarketing.co.uk
Description: A premium, plugin-free WordPress theme built for One Step Flooring Ltd, family run flooring contractors in Croydon, Bromley and South London. Auto builds every page on activation, includes a full Welch Settings admin panel, schema markup, a working contact form and local SEO location pages. Zero plugin dependencies.
Version: 1.4.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onestep
Tags: business, flooring, local-business, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Self hosted fonts
   The operator drops the woff2 files into /assets/fonts/. A polished system
   fallback keeps the theme looking professional before the files are added.
   No Google Fonts CDN is used anywhere.
   ========================================================================== */
@font-face {
    font-family: 'DM Sans';
    src: url('assets/fonts/dmsans-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('assets/fonts/dmsans-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'DM Sans';
    src: url('assets/fonts/dmsans-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('assets/fonts/inter-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   2. Design tokens (defaults; the admin panel overrides the colour vars)
   ========================================================================== */
:root {
    --brand: #22303c;
    --brand-2: #2c4150;
    --brand-ink: #16222b;
    --accent: #bc8a40;
    --accent-2: #a2752f;
    --ink: #1b1b1b;
    --body-text: #3f4750;
    --muted: #6b757e;
    --cream: #f6f2ea;
    --surface: #ffffff;
    --surface-2: #f4f6f8;
    --line: #e6e3dc;
    --white: #ffffff;

    --font-head: 'DM Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

    --maxw: 1200px;
    --gap: clamp(1rem, 3vw, 2rem);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 10px rgba(20, 30, 40, 0.06);
    --shadow: 0 16px 40px rgba(20, 30, 40, 0.10);
    --shadow-lg: 0 30px 70px rgba(20, 30, 40, 0.16);
    --t: 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ==========================================================================
   3. Reset and base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--body-text);
    background: var(--surface);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.12;
    margin: 0 0 0.6em;
    font-weight: 800;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1.1rem; }
ul, ol { margin: 0 0 1.1rem; padding-left: 1.2rem; }

/* ==========================================================================
   4. Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.container-wide { max-width: 1360px; }
.container-narrow { max-width: 880px; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.bg-cream { background: var(--cream); }
.bg-surface-2 { background: var(--surface-2); }
.bg-brand { background: var(--brand); color: #dfe6ec; }
.bg-brand h1, .bg-brand h2, .bg-brand h3 { color: #fff; }
.text-center { text-align: center; }
.grid { display: grid; gap: var(--gap); }
.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-2);
    margin-bottom: 0.9rem;
}
.bg-brand .eyebrow { color: var(--accent); }
.section-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.lead { font-size: 1.12rem; color: var(--muted); }
.bg-brand .lead { color: #c4cfd8; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    padding: 1rem 1.7rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--t), background var(--t), color var(--t), box-shadow var(--t);
    text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #1c1407; box-shadow: 0 10px 24px rgba(188, 138, 64, 0.32); }
.btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-ink); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.hero .btn-ghost, .cta-band .btn-ghost, .page-hero .btn-ghost, .bg-brand .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); }
.hero .btn-ghost:hover, .cta-band .btn-ghost:hover, .page-hero .btn-ghost:hover, .bg-brand .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.10); transform: translateY(-2px); }
.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.05rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==========================================================================
   Cursor safety net
   Some plugins and custom CSS force a "not-allowed" cursor site wide, which
   then shows over buttons, links and fields. These high specificity rules set
   the correct cursor explicitly so nothing inherits the wrong one.
   ========================================================================== */
html body { cursor: auto !important; }
html body a,
html body button,
html body .btn,
html body [role="button"],
html body summary,
html body .card-link,
html body .nav-toggle,
html body label[for],
html body select,
html body input[type="submit"],
html body input[type="button"],
html body input[type="checkbox"],
html body input[type="radio"] { cursor: pointer !important; }
html body input[type="text"],
html body input[type="email"],
html body input[type="tel"],
html body input[type="url"],
html body input[type="search"],
html body input[type="number"],
html body input[type="password"],
html body textarea { cursor: text !important; }

/* ==========================================================================
   6. Top utility bar
   ========================================================================== */
.topbar {
    background: var(--brand-ink);
    color: #cfd8e0;
    font-size: 0.86rem;
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding-top: 0.4rem; padding-bottom: 0.4rem; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--accent); }
.topbar .tb-left { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar .tb-item svg { width: 15px; height: 15px; color: var(--accent); }
.topbar .tb-right { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; color: #fff; }
.topbar .tb-right svg { width: 15px; height: 15px; color: var(--accent); }
@media (max-width: 760px) { .topbar { display: none; } }

/* ==========================================================================
   7. Header / nav
   ========================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 130;
    background: rgba(255,255,255,0.96);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; flex-wrap: nowrap; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.18rem; letter-spacing: -0.02em; line-height: 1.05; flex: 0 0 auto; }
.brand img { max-height: 52px; width: auto; }
.brand .brand-logo { max-height: 50px; width: auto; display: block; }
.brand .brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }

.primary-nav { display: flex; align-items: center; gap: 0.1rem; flex: 1 1 auto; justify-content: center; min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 0.55rem 0.62rem; font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; color: var(--ink); border-radius: 8px; white-space: nowrap; }
.primary-nav a:hover { color: var(--accent-2); background: var(--cream); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--accent-2); background: transparent; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.primary-nav .menu-item-has-children > a::after { content: "▾"; font-size: 0.7em; margin-left: 0.3rem; opacity: 0.6; }
.primary-nav ul ul {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 0.5rem; display: block;
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--t); flex-direction: column; align-items: stretch; gap: 0;
}
.primary-nav li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.primary-nav ul ul a { padding: 0.6rem 0.8rem; font-size: 0.92rem; }

.header-cta { display: inline-flex; align-items: center; gap: 0.7rem; flex: 0 0 auto; }
.header-phone { display: inline-flex; flex-direction: column; line-height: 1.1; font-family: var(--font-head); }
.header-phone span { font-size: 0.7rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.header-phone strong { color: var(--ink); font-size: 1.05rem; }

.osf-nav-checkbox { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; background: var(--brand); border: 0; width: 46px; height: 46px; border-radius: 10px; cursor: pointer; flex: none; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 3px auto; transition: var(--t); }
#osf-nav-toggle:checked ~ .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#osf-nav-toggle:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
#osf-nav-toggle:checked ~ .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1240px) {
    .header-cta .btn { display: none; }
    .header-phone { display: none; }
    .nav-toggle { display: flex; }

    /* The header's frosted-glass effect would otherwise trap the fixed menu
       inside the header's height, so switch it off at this width. */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

    /* Full screen menu panel: gone when closed, covers the whole screen when
       open. Opened purely with CSS via the hidden checkbox, no JavaScript. */
    .primary-nav {
        display: none;
        position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: var(--brand-ink);
        z-index: 120;
        padding: 84px 1.5rem 2rem;
        overflow-y: auto;
        flex-direction: column; align-items: stretch; justify-content: center;
    }
    #osf-nav-toggle:checked ~ .primary-nav { display: flex; animation: osf-menu-in 0.25s ease both; }
    @keyframes osf-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; width: 100%; flex-wrap: nowrap; }
    .primary-nav li { width: 100%; }
    .primary-nav a {
        display: block; width: 100%;
        padding: 1.05rem 0.4rem; font-size: 1.18rem; font-weight: 600;
        color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12);
        border-radius: 0; white-space: normal;
    }
    .primary-nav a:hover, .primary-nav a:focus { background: rgba(255,255,255,0.08); color: var(--accent); }
    .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { color: var(--accent); box-shadow: none; border-left: 3px solid var(--accent); padding-left: 0.8rem; }
    .primary-nav ul ul {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent;
        box-shadow: none; border: 0; border-left: 2px solid var(--accent);
        border-radius: 0; padding: 0 0 0 0.6rem; margin: 0.1rem 0 0.3rem 0.6rem; min-width: 0;
    }
    .primary-nav ul ul a { font-size: 1.05rem; font-weight: 500; }

    /* Backdrop no longer needed: the panel is opaque and full screen. */
    .nav-backdrop { display: none; }
}

/* ==========================================================================
   8. Hero
   ========================================================================== */
.hero { position: relative; background: var(--brand-ink); color: #fff; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(188,138,64,0.22), transparent 60%),
        linear-gradient(120deg, var(--brand-ink), var(--brand) 55%, var(--brand-2));
}
.hero-media { position: absolute; inset: 0; opacity: 0.28; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,22,28,0.2), rgba(15,22,28,0.78)); }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding: clamp(3.5rem, 8vw, 6rem) 0; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero p.hero-sub { font-size: 1.18rem; color: #d7e0e8; max-width: 36rem; margin-bottom: 1.8rem; }
.hero-eyebrow { color: var(--accent); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; margin: 1.8rem 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; font-weight: 600; color: #eef3f7; }
.hero-badge svg { width: 19px; height: 19px; color: var(--accent); flex: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 3vw, 2.1rem); color: var(--body-text); }
.hero-card h3 { color: var(--ink); margin-bottom: 0.35rem; }
.hero-card p.small { font-size: 0.92rem; color: var(--muted); margin-bottom: 1.2rem; }
.hero-strip { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,0.16); }
.hero-strip .hs { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.86rem; color: #d7e0e8; font-weight: 600; }
.hero-strip .hs svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { order: 2; } }

/* ==========================================================================
   9. Forms
   ========================================================================== */
.form-field { margin-bottom: 0.9rem; }
.form-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; margin-bottom: 0.35rem; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 0.85rem 1rem; font-family: var(--font-body); font-size: 1rem;
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
    transition: border var(--t), box-shadow var(--t);
}
.form-field input, .form-field textarea, .osf-form input, .osf-form textarea { cursor: text; pointer-events: auto; }
.form-field select, .osf-form select { cursor: pointer; pointer-events: auto; }
.osf-form input[type="checkbox"], .osf-form input[type="radio"] { cursor: pointer; }
.osf-form, .osf-form label { cursor: default; }
/* Strong overrides in case a plugin or custom CSS forces a cursor with !important */
.osf-form .form-field input,
.osf-form .form-field textarea,
body .osf-form input,
body .osf-form textarea { cursor: text !important; pointer-events: auto !important; }
.osf-form .form-field select,
body .osf-form select { cursor: pointer !important; pointer-events: auto !important; }
.osf-form .form-field input[type="checkbox"],
.osf-form .form-field input[type="radio"] { cursor: pointer !important; }
body .osf-form button, body .osf-form .btn, body .osf-form input[type="submit"] { cursor: pointer !important; }
body .osf-form, body .osf-form label, body .osf-form .form-grid-2 { cursor: default !important; }
/* Links and buttons must always show the pointer cursor, even if a plugin or
   custom CSS elsewhere forces not-allowed on links site wide. */
a[href], .btn, button, input[type="submit"], input[type="button"], [role="button"],
.footer-social a, .footer-list a, .card-link, .crumbs a, .primary-nav a,
.nav-toggle, .faq summary, .pagination a { cursor: pointer !important; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(188,138,64,0.16);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.4rem; }
.form-alert { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.1rem; font-weight: 600; font-size: 0.95rem; }
.form-alert.ok { background: #e7f6ec; color: #1c6b38; border: 1px solid #b6e3c4; }
.form-alert.err { background: #fdecec; color: #a32626; border: 1px solid #f3c4c4; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
@media (max-width: 560px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   10. Intro / split sections
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.media-right .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.media-right .split-media { order: 0; } }
.split-media img, .ratio { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 0.7rem; }
.checklist li { display: flex; align-items: flex-start; gap: 0.65rem; font-weight: 500; color: var(--ink); }
.checklist li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }

.ratio { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface-2); }
.ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio .ph { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
.ratio.tall { aspect-ratio: 3 / 4; }

/* image placeholder */
.ph {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.55rem; text-align: center;
    background:
        repeating-linear-gradient(135deg, rgba(188,138,64,0.07) 0 14px, transparent 14px 28px),
        linear-gradient(160deg, var(--surface-2), #e9ecef);
    color: var(--muted); border-radius: var(--radius);
}
.ph::after { content: attr(data-label); font-family: var(--font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; padding: 0 0.8rem; }
.ph svg { width: 34px; height: 34px; opacity: 0.4; position: static; }

/* ==========================================================================
   11. Stat band
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.bg-brand .stat .num { color: var(--accent); }
.stat .lbl { font-size: 0.95rem; color: var(--muted); margin-top: 0.45rem; font-weight: 500; }
.bg-brand .stat .lbl { color: #c4cfd8; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }

/* ==========================================================================
   12. Service cards
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards, .cards.cols-2 { grid-template-columns: 1fr; } }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .card-media { aspect-ratio: 16 / 10; overflow: hidden; }
.card .card-media img, .card .card-media .ph { width: 100%; height: 100%; border-radius: 0; }
.card .card-media .ph { aspect-ratio: 16/10; }
.card .card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 0.5rem; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent-2); }
.card p { font-size: 0.97rem; margin-bottom: 1rem; }
.card .card-link { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--accent-2); display: inline-flex; align-items: center; gap: 0.4rem; }
.card .card-link svg { width: 16px; height: 16px; transition: transform var(--t); }
.card:hover .card-link svg { transform: translateX(4px); }
.card .card-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--cream); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 1rem; }
.card .card-icon svg { width: 26px; height: 26px; }

/* feature cards (why choose) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 1.6rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.bg-brand .feature { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.feature .f-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--brand); color: var(--accent); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature .f-icon svg { width: 26px; height: 26px; }
.bg-brand .feature .f-icon { background: var(--accent); color: var(--brand-ink); }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.bg-brand .feature h3 { color: #fff; }
.feature p { font-size: 0.96rem; margin: 0; color: var(--muted); }
.bg-brand .feature p { color: #c4cfd8; }

/* ==========================================================================
   13. Gallery
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 800px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery .g-item { aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; }
.gallery .g-item img, .gallery .g-item .ph { width: 100%; height: 100%; border-radius: 0; }
.gallery .g-item .ph { aspect-ratio: 1/1; }

/* ==========================================================================
   14. Reviews
   ========================================================================== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.reviews-n4, .reviews-n2 { grid-template-columns: repeat(2, 1fr); }
.reviews-n1 { grid-template-columns: 1fr; max-width: 640px; margin-left: auto; margin-right: auto; }
.reviews-more { text-align: center; margin-top: 2.2rem; }
@media (max-width: 900px) { .reviews, .reviews-n1, .reviews-n2, .reviews-n4 { grid-template-columns: 1fr; } }
.review {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.7rem 1.6rem; display: flex; flex-direction: column;
}
.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--accent); }
.stars svg { width: 17px; height: 17px; }
.review .stars { margin-bottom: 0.8rem; }
.review p { font-style: normal; color: var(--ink); font-size: 1rem; }
.review .who { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.review .who .av { width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.review .who strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; }
.review .who span { font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   15. Accreditations
   ========================================================================== */
.accreds { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.4rem; }
.accred {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 0.7rem 1.2rem; font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; color: var(--ink);
}
.accred svg { width: 20px; height: 20px; color: var(--accent-2); }

/* ==========================================================================
   16. Areas
   ========================================================================== */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.area-chip {
    display: inline-flex; align-items: center; gap: 0.45rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 0.65rem 1.2rem; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink);
    transition: all var(--t);
}
.area-chip svg { width: 15px; height: 15px; color: var(--accent-2); }
.area-chip:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-2px); }
.area-chip:hover svg { color: var(--accent); }

/* ==========================================================================
   17. CTA band
   ========================================================================== */
.cta-band { position: relative; background: var(--brand-ink); color: #fff; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% -20%, rgba(188,138,64,0.28), transparent 60%); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d7e0e8; max-width: 40rem; margin: 0 auto 1.8rem; font-size: 1.12rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ==========================================================================
   18. Page hero / breadcrumb
   ========================================================================== */
.page-hero { position: relative; background: var(--brand-ink); color: #fff; padding: clamp(2.6rem, 6vw, 4.4rem) 0 clamp(2.4rem, 5vw, 3.6rem); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 420px at 85% -30%, rgba(188,138,64,0.2), transparent 60%), linear-gradient(120deg, var(--brand-ink), var(--brand)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.page-hero p { color: #d7e0e8; max-width: 44rem; margin: 0; font-size: 1.1rem; }
.crumbs { font-size: 0.85rem; color: #aebcc7; margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.crumbs a { color: #dbe4eb; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { opacity: 0.5; }

/* ==========================================================================
   19. Article / content
   ========================================================================== */
.prose { font-size: 1.05rem; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul { display: grid; gap: 0.5rem; }
.content-split { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .content-split { grid-template-columns: 1fr; } }
.sidebar-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; position: sticky; top: 100px; }
.sidebar-card h3 { font-size: 1.2rem; }
.sidebar-card .contact-line { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.7rem; font-weight: 600; color: var(--ink); }
.sidebar-card .contact-line svg { width: 18px; height: 18px; color: var(--accent-2); flex: none; }

/* faq */
.faq { display: grid; gap: 0.8rem; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 1.3rem; transition: box-shadow var(--t); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink); padding: 1.1rem 0; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--accent-2); line-height: 1; transition: transform var(--t); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* ==========================================================================
   20. Blog
   ========================================================================== */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t), box-shadow var(--t); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .pc-media { aspect-ratio: 16/9; overflow: hidden; }
.post-card .pc-media img, .post-card .pc-media .ph { width: 100%; height: 100%; border-radius: 0; }
.post-card .pc-body { padding: 1.4rem 1.5rem 1.6rem; }
.post-card .pc-meta { font-size: 0.82rem; color: var(--muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.post-card h3 a { color: var(--ink); }
.article-list { display: grid; gap: 1.1rem; max-width: 800px; margin: 0 auto; }
.article-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; transition: transform var(--t), box-shadow var(--t); }
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.article-card .pc-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.4rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.article-card h3 { font-size: 1.3rem; margin: 0 0 0.5rem; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--accent-2); }
.article-card p { color: var(--muted); margin: 0 0 1.1rem; }
@media (max-width: 600px) { .article-card { padding: 1.3rem 1.3rem; } }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.6rem; border-radius: 10px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; color: var(--ink); background: #fff; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ==========================================================================
   21. Footer
   ========================================================================== */
.site-footer { background: var(--brand-ink); color: #aebcc7; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2rem; padding-bottom: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1.02rem; margin-bottom: 1.1rem; font-family: var(--font-head); }
.site-footer a { color: #c2cdd6; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand small { color: #9fb0bc; }
.footer-brand .brand-logo { max-height: 58px; }
.footer-brand p { font-size: 0.94rem; line-height: 1.7; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; font-size: 0.95rem; }
.footer-contact { display: grid; gap: 0.7rem; font-size: 0.95rem; }
.footer-contact .fc { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact .fc svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.1rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--accent); color: var(--brand-ink); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.86rem; }
.footer-bottom a { color: #c2cdd6; }

/* ==========================================================================
   22. Mobile sticky call bar
   ========================================================================== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
        box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
    }
    .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.95rem; font-family: var(--font-head); font-weight: 700; font-size: 0.98rem; }
    .mobile-bar a svg { width: 18px; height: 18px; }
    .mobile-bar .mb-call { background: var(--brand); color: #fff; }
    .mobile-bar .mb-quote { background: var(--accent); color: var(--brand-ink); }
    body { padding-bottom: 56px; }
}

/* ==========================================================================
   23. Utility
   ========================================================================== */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; background: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
