/* ==============================================
   NEWPORT ELECTRICAL SERVICES — SITE STYLESHEET
   Theme: light
=============================================== */

:root {
    color-scheme: light;

    /* brand */
    --brand:      hsl(118, 85%, 26%);
    --brand-dark: hsl(118, 85%, 14%);

    /* surfaces */
    --bg:        #ffffff;
    --bg-alt:    #f3f5f8;
    --surface:   #ffffff;
    --strong:    #12161c;
    --text:      #404754;
    --muted:     #6b7280;
    --line:      #e3e6eb;
    --header-bg: rgba(255, 255, 255, 0.97);
    --footer-bg: #12161c;

    /* derived */
    --brand-soft: color-mix(in srgb, var(--brand) 10%, #ffffff);
    --cta-bg:     var(--brand-dark);
    --shadow:     0 14px 34px -16px rgba(18, 22, 28, 0.28);
    --shadow-lg:  0 30px 70px -24px rgba(18, 22, 28, 0.5);

    /* type + motion */
    --ff-head: 'Lexend', sans-serif;
    --ff-body: 'Nunito Sans', sans-serif;
    --r:       10px;
    --r-lg:    18px;
    --ease:    all 0.25s ease;
    --bar-h:   78px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--ff-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { font: inherit; }
h1, h2, h3, h4 {
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--strong);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- type utilities ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-head);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 14px;
}
.tag::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 2px;
    background: currentColor;
    transform: rotate(45deg);
}
.tag-light { color: #fff; }
.section-title { font-size: clamp(1.875rem, 3.8vw, 2.875rem); }
.section-head { margin-bottom: 54px; }
.section-head.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-head.row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.section-head.row .lead { max-width: 480px; }
.section-head .lead { margin-top: 14px; }
.lead { color: var(--muted); font-size: 1.125rem; }
.lead a { color: var(--brand); font-weight: 700; }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--ff-head);
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 26px;
    border-radius: var(--r);
    border: 2px solid transparent;
    background: none; /* <button> defaults to OS grey — variants override */
    cursor: pointer;
    transition: var(--ease);
    white-space: nowrap;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { filter: brightness(0.9); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-line { border-color: var(--line); color: var(--strong); background: var(--surface); }
.btn-line:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: #12161c; }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-ghost:hover { background: #fff; color: #12161c; border-color: #fff; }

/* ---------- topbar ---------- */
.topbar {
    background: var(--footer-bg);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    position: relative;
    z-index: 260;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    min-height: 40px;
}
.topbar a { color: #fff; font-weight: 600; transition: color 0.2s; }
.topbar a:hover { color: var(--brand); }
.topbar i { color: var(--brand); margin-right: 7px; }

/* ---------- header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 250;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.45); }
.header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--bar-h);
}

/* logo card hangs over the hero, then tucks into the bar on scroll */
.logo-card {
    position: absolute;
    left: 24px;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 26px;
    background: #fff;
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--brand);
    transition: padding 0.35s ease, box-shadow 0.35s ease;
}
.logo-card.dark-nav { background: #12161c; }
.logo-card img {
    max-height: 140px;
    max-width: 300px;
    width: auto;
    transition: max-height 0.35s ease, max-width 0.35s ease;
}
.logo-card h1 {
    font-size: 1.75rem;
    color: #12161c;
    max-width: 300px;
    text-align: center;
    transition: font-size 0.35s ease;
}
.logo-card.dark-nav h1 { color: #fff; }
.site-header.is-scrolled .logo-card { padding: 8px 16px; box-shadow: var(--shadow); }
.site-header.is-scrolled .logo-card img { max-height: 56px; max-width: 200px; }
.site-header.is-scrolled .logo-card h1 { font-size: 1.125rem; }
.logo-space { width: 352px; flex-shrink: 0; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
    position: relative;
    font-family: var(--ff-head);
    font-weight: 500;
    color: var(--strong);
    padding: 10px 14px;
    border-radius: var(--r);
    transition: var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-call {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--strong);
    line-height: 1.2;
    white-space: nowrap;
}
.header-call small {
    display: block;
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--muted);
}
.header-call i {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-mobile { display: none; margin-left: auto; gap: 10px; }
.icon-btn {
    width: 46px; height: 46px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0625rem;
    cursor: pointer;
}
.icon-btn.brand { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- mobile menu ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 88vw);
    background: var(--surface);
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}
.mobile-menu.is-open .mobile-panel { transform: translateX(0); }
.mobile-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.mobile-title {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--strong);
    line-height: 1.2;
}
.mobile-links { display: flex; flex-direction: column; flex: 1; }
.mobile-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--ff-head);
    font-weight: 500;
    font-size: 1.3125rem;
    color: var(--strong);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}
.mobile-links a::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.875rem;
    color: var(--brand);
}
.mobile-foot { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #12161c; }
.hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
        rgba(10, 12, 16, 0.92) 0%,
        rgba(10, 12, 16, 0.72) 50%,
        rgba(10, 12, 16, 0.2) 100%);
}
.hero-body {
    position: relative;
    z-index: 1;
    padding: 220px 0 110px;
    max-width: 680px;
    color: #fff;
}
.hero-title {
    color: #fff;
    font-size: clamp(2.375rem, 5.4vw, 4.125rem);
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-title span { color: var(--brand); }
.hero-lead { font-size: 1.1875rem; color: rgba(255, 255, 255, 0.88); margin-bottom: 34px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.hero-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}
.hero-rating .stars { color: #fbbf24; letter-spacing: 2px; }

/* ---------- USP strip ---------- */
.usp { background: var(--brand); color: #fff; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 28px 22px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.usp-item:first-child { padding-left: 0; }
.usp-item:last-child { border-right: none; }
.usp-item i { font-size: 1.5rem; opacity: 0.9; width: 30px; text-align: center; flex-shrink: 0; }
.usp-item strong {
    display: block;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1.0625rem;
    line-height: 1.3;
}
.usp-item span { font-size: 0.875rem; opacity: 0.85; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-media { position: relative; }
.about-media img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: var(--r-lg);
}
.about-badge {
    position: absolute;
    right: -26px;
    bottom: 40px;
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 280px;
}
.about-badge strong {
    font-family: var(--ff-head);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
}
.about-badge span { font-size: 0.9375rem; color: var(--strong); font-weight: 600; line-height: 1.35; }
.about-copy p { margin-top: 16px; }
.about-copy .intro { font-size: 1.1875rem; color: var(--strong); }
.ticks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 22px;
    margin: 28px 0 34px;
}
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--strong); }
.ticks i {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- services ---------- */
.services-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.services-media { position: relative; padding-bottom: 64px; }
.services-media .photo-main {
    width: 86%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
.services-media .photo-second {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 54%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--r-lg);
    border: 6px solid var(--bg-alt);
    box-shadow: var(--shadow-lg);
}
.services-call {
    position: absolute;
    left: 18px;
    top: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--brand);
    color: #fff;
    border-radius: var(--r);
    padding: 12px 16px;
    box-shadow: var(--shadow-lg);
    line-height: 1.25;
}
.services-call i { font-size: 1.125rem; }
.services-call small { display: block; font-size: 0.75rem; opacity: 0.85; }
.services-call a {
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1.0625rem;
    white-space: nowrap;
}
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    transition: var(--ease);
}
.service-card:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.service-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ease);
}
.service-card:hover .service-icon { background: var(--brand); color: #fff; }
.service-num {
    display: block;
    font-family: var(--ff-head);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.service-card h3 { font-size: 1.125rem; margin-top: 2px; }
.service-card.is-featured { background: var(--brand); border-color: var(--brand); }
.service-card.is-featured h3 { color: #fff; }
.service-card.is-featured .service-num { color: rgba(255, 255, 255, 0.8); }
.service-card.is-featured .service-icon { background: rgba(255, 255, 255, 0.2); color: #fff; }
.services-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    margin-top: 28px;
}
.services-foot p { color: var(--muted); }
.services-foot .lead-link { color: var(--brand); font-weight: 700; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 34px 30px;
}
.step-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    background: var(--brand-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    margin-bottom: 22px;
}
.step::after {
    counter-increment: step;
    content: '0' counter(step);
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--line);
    line-height: 1;
}
.step h3 { font-size: 1.3125rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* ---------- accreditations ---------- */
.accred-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.accred-grid .columns { display: contents; }
.cred {
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    text-align: center;
    transition: var(--ease);
}
.cred:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow); }
.cred img { width: 60px; height: 60px; object-fit: contain; }
.cred p {
    font-family: var(--ff-head);
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ---------- reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 30px;
    transition: var(--ease);
}
.review-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.review-top .stars { color: #f5a623; font-size: 0.875rem; letter-spacing: 2px; }
.review-top i.fa-quote-right { color: var(--brand); font-size: 1.5rem; opacity: 0.8; }
.review-body { flex: 1; margin-bottom: 22px; }
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--strong);
    line-height: 1.3;
}
.review-author small {
    display: block;
    font-family: var(--ff-body);
    font-weight: 600;
    color: var(--muted);
}
.review-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* ---------- CTA banner ---------- */
.cta { position: relative; overflow: hidden; background: var(--cta-bg); padding: 90px 0; }
.cta > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--cta-bg) 30%, transparent);
    opacity: 0.85;
}
.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta h2 { color: #fff; font-size: clamp(1.875rem, 3.6vw, 2.75rem); margin-bottom: 8px; }
.cta p { color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .lead { margin: 14px 0 30px; }
.contact-list { display: grid; gap: 14px; }
.contact-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px 20px;
}
.ci-icon {
    width: 46px; height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ci-label {
    display: block;
    font-family: var(--ff-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.ci-value {
    display: block;
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--strong);
    overflow-wrap: anywhere;
}
a.ci-value:hover { color: var(--brand); }
.hours {
    margin-top: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px 24px;
}
.hours h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 0;
    font-size: 0.9375rem;
    border-bottom: 1px dashed var(--line);
}
.hours-row:last-child { border-bottom: none; }
.hours-row b { color: var(--strong); }
.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.contact-form { padding: 34px; }
.contact-form h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-map { height: 220px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg.full { grid-column: 1 / -1; }
.fg label { font-family: var(--ff-head); font-size: 0.875rem; font-weight: 500; color: var(--strong); }
.fg input,
.fg select,
.fg textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--bg-alt);
    font-family: var(--ff-body);
    font-size: 1rem;
    color: var(--strong);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg input::placeholder,
.fg textarea::placeholder { color: var(--muted); }
.fg input:focus,
.fg select:focus,
.fg textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.fg textarea { min-height: 120px; resize: vertical; }
.captcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background: var(--brand-soft);
    border-radius: var(--r);
    padding: 14px 16px;
}
.captcha-q { font-family: var(--ff-head); font-weight: 600; color: var(--strong); }
.captcha-q span { color: var(--brand); }
.captcha input[type="text"] {
    width: 90px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface);
    color: var(--strong);
    font-size: 1rem;
    outline: none;
}
.captcha input[type="text"]:focus { border-color: var(--brand); }
.sendForm {
    margin-left: auto;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--r);
    padding: 13px 24px;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ease);
}
.sendForm:hover { filter: brightness(0.9); }
.sendForm.disabled { opacity: 0.45; cursor: not-allowed; filter: none; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: rgba(255, 255, 255, 0.72); padding-top: 72px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 44px;
    padding-bottom: 56px;
}
.footer-brand .logo-card {
    position: static;
    display: inline-flex;
    border-radius: var(--r-lg);
    box-shadow: none;
    margin-bottom: 20px;
}
.footer-brand .logo-card img { max-height: 110px; max-width: 240px; }
.footer-brand .logo-card h1 { font-size: 1.375rem; }
.footer-brand p { max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1.0625rem; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--brand); }
.footer-contacts { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact-item i {
    color: var(--brand);
    width: 16px;
    margin-top: 6px;
    text-align: center;
    flex-shrink: 0;
}
.footer-contact-item a { overflow-wrap: anywhere; transition: color 0.2s; }
.footer-contact-item a:hover { color: #fff; }
.footer-quote p { margin-bottom: 18px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}
.back-to-top {
    width: 44px; height: 44px;
    border-radius: var(--r);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: var(--ease);
}
.back-to-top:hover { background: var(--brand); border-color: var(--brand); }

/* ---------- quote modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal-box {
    position: relative;
    width: 100%;
    max-width: 620px;
    max-height: 92vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--brand);
    transform: translateY(16px);
    transition: transform 0.3s ease;
}
.modal.is-open .modal-box { transform: translateY(0); }
.modal-head { padding: 32px 34px 0; }
.modal-head h2 { font-size: 1.875rem; }
.modal-head p { color: var(--muted); margin-top: 6px; }
.modal-form { padding: 24px 34px 34px; }
.modal-submit {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: var(--r);
    background: var(--brand);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--ease);
}
.modal-submit:hover { filter: brightness(0.9); }
.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px; height: 38px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--bg-alt);
    color: var(--strong);
    cursor: pointer;
}

/* ---------- inner page header ---------- */
.page-header { position: relative; overflow: hidden; background: #12161c; color: #fff; }
.page-header > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 12, 16, 0.85), rgba(10, 12, 16, 0.25));
}
.page-header-body { position: relative; z-index: 1; padding: 200px 0 76px; max-width: 680px; }
.page-title {
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.page-title span { color: var(--brand); }
.page-lead { color: rgba(255, 255, 255, 0.85); font-size: 1.125rem; }
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.65);
}
.breadcrumb a { color: #fff; font-weight: 700; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb i { font-size: 0.625rem; }

/* ---------- gallery + lightbox ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 230px;
    grid-auto-flow: dense;
    gap: 14px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border: none;
    padding: 0;
    border-radius: var(--r-lg);
    background: var(--line);
    cursor: pointer;
}
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item::after {
    content: '\f065';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 44px; height: 44px;
    border-radius: var(--r);
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: var(--ease);
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.06); }
.gallery-item:hover::after,
.gallery-item:focus-visible::after { opacity: 1; transform: translateY(0); }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 84px;
    background: rgba(8, 10, 13, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
}
.lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 170px);
    width: auto;
    border-radius: var(--r);
    transition: opacity 0.25s ease;
}
.lightbox-img.is-loading { opacity: 0; }
.lightbox-caption {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--ff-head);
    text-align: center;
}
.lightbox-counter {
    position: absolute;
    top: 24px;
    left: 26px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--ff-head);
    font-weight: 600;
    letter-spacing: 0.08em;
}
.lightbox-btn {
    position: absolute;
    width: 50px; height: 50px;
    border-radius: var(--r);
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: var(--ease);
}
.lightbox-btn:hover { background: var(--brand); }
.lightbox-close { top: 14px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- success card ---------- */
.success-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: 60px 44px;
}
.success-icon {
    width: 84px; height: 84px;
    margin: 0 auto 24px;
    border-radius: 22px;
    background: var(--brand);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 0 10px var(--brand-soft);
}
.success-card .section-title { margin-bottom: 14px; }
.success-card .lead { margin-bottom: 10px; }
.success-card .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
    .header-call { display: none; }
    .nav-links a { padding: 10px 10px; }
}

/* Six nav links plus the logo card overflow the bar below ~1100px.
   Drop the quote button here — it's still in the menu, the CTA banner
   and the footer. */
@media (max-width: 1100px) {
    .header-actions .btn { display: none; }
    .nav-links a { padding: 10px 8px; }
    .logo-card img { max-height: 104px; max-width: 230px; }
}

@media (max-width: 1024px) {
    .logo-space { width: 300px; }
    .logo-card img { max-height: 120px; max-width: 250px; }
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
    .usp-item, .usp-item:first-child { padding: 22px 18px; }
    .usp-item:nth-child(2) { border-right: none; }
    .usp-item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --bar-h: 68px; }
    .section { padding: 76px 0; }
    .nav-links, .header-actions { display: none; }
    .header-mobile { display: flex; }
    .logo-space { display: none; }
    .logo-card { left: 16px; padding: 14px 18px; }
    .logo-card img { max-height: 92px; max-width: 200px; }
    .logo-card h1 { font-size: 1.25rem; max-width: 190px; }
    .site-header.is-scrolled .logo-card img { max-height: 46px; max-width: 160px; }
    .hero-body { padding: 170px 0 80px; }
    .page-header-body { padding: 160px 0 60px; }
    .about-grid, .contact-grid, .services-layout { grid-template-columns: 1fr; gap: 52px; }
    .services-media { max-width: 560px; }
    .about-media { max-width: 560px; }
    .about-badge { right: 16px; }
    .steps, .review-grid { grid-template-columns: 1fr 1fr; }
    .topbar-inner { justify-content: center; }
}

@media (max-width: 640px) {
    body { font-size: 1rem; }
    .container { padding: 0 16px; }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 34px; }
    .topbar-email { display: none; }
    .logo-card { padding: 12px 14px; }
    .logo-card img { max-height: 80px; max-width: 170px; }
    .hero-body { padding: 150px 0 64px; }
    .hero-btns .btn, .cta-btns .btn, .btn-row .btn { width: 100%; }
    .cta-btns { width: 100%; }
    .usp-grid { grid-template-columns: 1fr; }
    .usp-item, .usp-item:first-child {
        padding: 16px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }
    .usp-item:last-child { border-bottom: none; }
    .ticks { grid-template-columns: 1fr; }
    .about-badge { position: relative; right: auto; bottom: auto; margin: -40px 16px 0; max-width: none; }
    .service-cards, .steps, .review-grid { grid-template-columns: 1fr; }
    .services-media { padding-bottom: 44px; }
    .services-call { left: 12px; top: 12px; }
    .cta { padding: 64px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .contact-form, .modal-form { padding: 24px; }
    .modal-head { padding: 28px 24px 0; }
    .sendForm { margin-left: 0; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .success-card { padding: 44px 22px; }
    .page-header-body { padding: 140px 0 52px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
    .lightbox { padding: 64px 12px 96px; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 24px; transform: none; }
    .lightbox-prev { left: calc(50% - 62px); }
    .lightbox-next { right: calc(50% - 62px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==============================================
   LEAD FORM STATES
=============================================== */
.fg input.is-invalid,
.fg select.is-invalid,
.fg textarea.is-invalid {
    border-color: #c2410c;
    box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.12);
}
.form-status { margin-top: 14px; font-weight: 600; font-size: 0.9375rem; }
.form-status:empty { display: none; }
.form-status.is-pending { color: var(--muted); }
.form-status.is-success { color: var(--brand); }
.form-status.is-error { color: #c2410c; }
.form-errors {
    grid-column: 1 / -1;
    background: rgba(194, 65, 12, 0.08);
    border: 1px solid rgba(194, 65, 12, 0.25);
    border-radius: var(--r);
    padding: 12px 16px 12px 32px;
    margin-bottom: 4px;
    color: #9a3412;
    font-size: 0.9375rem;
}
.form-errors ul { list-style: disc; display: grid; gap: 4px; }
.form-ok-note {
    margin-top: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    border-left: 3px solid var(--brand);
    padding-left: 12px;
}

/* honeypot — hidden from humans, visible to bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ==============================================
   ELEC-MATE CERTIFICATE PANEL
=============================================== */
.elecmate-panel {
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--r);
    background: var(--brand-soft);
    padding: 14px 16px;
    font-size: 0.9375rem;
    line-height: 1.55;
}
.elecmate-panel[hidden] { display: none; }
.elecmate-title {
    font-family: var(--ff-head);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.elecmate-primary {
    font-family: var(--ff-head);
    font-weight: 600;
    color: var(--strong);
    font-size: 1.0625rem;
}
.elecmate-list { list-style: disc; margin: 8px 0 0 18px; color: var(--text); }
.elecmate-list li { margin-bottom: 3px; }
.elecmate-clause { margin-top: 8px; font-size: 0.8125rem; color: var(--muted); }
.elecmate-credit { margin-top: 10px; font-size: 0.75rem; color: var(--muted); }
.elecmate-credit a { color: var(--brand); font-weight: 700; }
.elecmate-loading { color: var(--muted); font-style: italic; }

/* ==============================================
   BOOKINGS - native diary widget
   Front end to the Elec-Mate public-booking edge
   function (assets/js/booking-widget.js). No iframe,
   no third-party script, no dark theme to fight.
=============================================== */
.booking-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: 34px 36px;
    max-width: 940px;
    margin: 0 auto;
}

.bk-stage[hidden] { display: none; }

.bk-stage-head { margin-bottom: 22px; }
.bk-stage-head h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    margin-bottom: 6px;
}
.bk-stage-head p {
    color: var(--text);
    font-size: 0.9375rem;
}
.bk-step {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 8px;
}

/* ---------- stage 1: length ---------- */
.bk-lengths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.bk-length {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 16px;
    text-align: left;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r-lg);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.bk-length strong { color: var(--strong); font-size: 1.0625rem; font-family: var(--ff-head); }
.bk-length-hint { color: var(--muted); font-size: 0.875rem; }
.bk-length:hover { border-color: var(--brand); }
.bk-length.is-on {
    border-color: var(--brand);
    background: var(--brand-soft);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

/* ---------- stage 2: date + time ---------- */
.bk-live {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8125rem;
    color: var(--muted);
}
.bk-live i { color: var(--brand); font-size: 0.5rem; }

.bk-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 40px 0;
    color: var(--muted);
    font-size: 0.9375rem;
}
.bk-spinner {
    width: 20px;
    height: 20px;
    border: 2.5px solid var(--line);
    border-top-color: var(--brand);
    border-radius: 50%;
    animation: bk-spin 0.8s linear infinite;
}
@keyframes bk-spin { to { transform: rotate(360deg); } }

.bk-error {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--bg-alt);
    text-align: center;
}
.bk-error p { color: var(--text); margin-bottom: 16px; }

.bk-label {
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 12px;
}

.bk-week + .bk-week { margin-top: 22px; }
.bk-week-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--strong);
    margin-bottom: 10px;
}

.bk-days {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 10px;
}

.bk-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 16px 8px;
    min-height: 108px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.bk-day-dow { font-size: 0.8125rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.bk-day-num { font-size: 1.75rem; font-weight: 700; color: var(--strong); line-height: 1.1; font-family: var(--ff-head); }
.bk-day-mon { font-size: 0.8125rem; color: var(--muted); }
.bk-day:hover { border-color: var(--brand); }
.bk-day.is-on {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 70%, transparent);
}
.bk-day.is-on .bk-day-dow,
.bk-day.is-on .bk-day-num,
.bk-day.is-on .bk-day-mon { color: #fff; }

.bk-times-wrap {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.bk-times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
    gap: 10px;
}
.bk-time {
    padding: 16px 10px;
    min-height: 58px;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    color: var(--strong);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.bk-time:hover { border-color: var(--brand); background: var(--brand-soft); }
.bk-time.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.bk-nav { margin-top: 24px; }

.bk-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    background: none;
    border: 0;
    color: var(--brand);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
}
.bk-back:hover { color: var(--brand-dark); }

/* ---------- stage 3: details ---------- */
.bk-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.bk-field { display: flex; flex-direction: column; gap: 6px; }
.bk-field-wide { grid-column: 1 / -1; }
.bk-field label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--strong);
}
.bk-opt { font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.bk-field input,
.bk-field textarea {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: 1rem;
    color: var(--strong);
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: var(--r);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.bk-field textarea { resize: vertical; min-height: 96px; }
.bk-field input:focus,
.bk-field textarea:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 14%, transparent);
}

.bk-form-error {
    grid-column: 1 / -1;
    padding: 13px 16px;
    border-radius: var(--r);
    background: #fdecec;
    border: 1px solid #f4c8c8;
    color: #a01818;
    font-size: 0.9375rem;
    font-weight: 600;
}
.bk-form-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.bk-form-actions .btn { min-width: 190px; justify-content: center; }

/* ---------- stage 4: confirmed ---------- */
.bk-tick {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand);
    color: #fff;
    font-size: 1.375rem;
    margin-bottom: 18px;
}
.bk-stage[data-stage="confirmed"] h3 { font-size: 1.375rem; margin-bottom: 8px; }
.bk-confirm-line {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--strong);
    margin-bottom: 6px;
}
.bk-confirm-sub { color: var(--text); font-size: 0.9375rem; max-width: 52ch; }
.bk-confirm-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.bk-noscript {
    padding: 24px;
    text-align: center;
    color: var(--text);
}
.bk-noscript a { color: var(--brand); font-weight: 700; }

@media (max-width: 700px) {
    .booking-shell { padding: 24px 20px; }
    .bk-lengths { grid-template-columns: 1fr; }
    .bk-length { flex-direction: row; align-items: baseline; gap: 8px; padding: 16px 18px; }
    .bk-days { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
    .bk-day { min-height: 92px; padding: 12px 6px; }
    .bk-day-num { font-size: 1.5rem; }
    .bk-times { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
    .bk-form { grid-template-columns: 1fr; }
    .bk-form-actions { flex-direction: column-reverse; align-items: stretch; }
    .bk-form-actions .btn { width: 100%; }
}

/* ==============================================
   ELEC-MATE ENQUIRY FORM
   Native contact form front end for the Elec-Mate
   inbound enquiry edge function
   (assets/js/elecmate-enquiry.js). Matches the site's
   existing .fg / .captcha / .sendForm primitives.
============================================== */
.elecmate-intro {
    margin: -6px 0 20px;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.55;
}
.elecmate-form .opt {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8125rem;
}
.elecmate-form .field-hint {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 0.8125rem;
}
.elecmate-form .form-status {
    grid-column: 1 / -1;
}

/* preferred-time chips */
.slot-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.slot-chip {
    font-family: var(--ff-head);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 9px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--strong);
    cursor: pointer;
    transition: var(--ease);
    touch-action: manipulation;
}
.slot-chip:hover { border-color: var(--brand); }
.slot-chip:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}
.slot-chip[aria-pressed="true"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

/* photo picker + previews */
.file-input {
    padding: 10px 12px;
    cursor: pointer;
}
.file-input::file-selector-button {
    font-family: var(--ff-head);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
    background: var(--brand-soft);
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    margin-right: 12px;
    cursor: pointer;
}
.photo-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.photo-previews:empty { display: none; }
.photo-thumb {
    position: relative;
    width: 86px;
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-alt);
}
.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(18, 22, 28, 0.78);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}
.photo-remove:hover { background: var(--strong); }
.photo-remove:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 1px;
}

/* ==============================================
   REVIEW SUBMISSION
============================================== */
.review-form-section { background: var(--bg-alt); }
.review-form {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
    padding: 34px;
}
.review-form .opt {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.8125rem;
}
.review-form .field-hint {
    margin: 0;
    color: var(--muted);
    font-size: 0.8125rem;
    text-align: right;
}
.review-form .form-status { grid-column: 1 / -1; }

.star-input { display: flex; gap: 6px; }
.star-btn {
    background: none;
    border: 0;
    padding: 0 1px;
    font-size: 2rem;
    line-height: 1;
    color: var(--line);
    cursor: pointer;
    transition: color 0.15s ease, transform 0.1s ease;
}
.star-btn:hover { transform: translateY(-1px); }
.star-btn[aria-pressed="true"] { color: #f5a623; }
.star-btn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
    border-radius: 4px;
}

.review-top .stars i.off { color: var(--line); opacity: 1; }

@media (max-width: 700px) {
    .review-form { padding: 24px; }
}
