/* ==========================================================================
   Texas Equipment Check: styles
   Rugged, modern, mobile-first.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --charcoal: #1e2124;
    --charcoal-2: #272b2f;
    --steel: #343a40;
    --steel-line: #444b52;
    --paper: #fbf9f4;
    --sand: #f1ede3;
    --line: #ddd6c6;

    --amber: #f5a800;
    --amber-hover: #ffbb26;
    --rust: #b5451b;
    --green: #2f8f4e;

    --text: #23272b;
    --muted: #5a626a;
    --on-dark: #f4f1ea;
    --on-dark-muted: #b9c0c6;

    --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --radius: 6px;
    --radius-lg: 10px;
    --shadow: 0 10px 30px rgba(20, 22, 24, 0.14);
    --header-h: 68px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.3rem, 7.5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 5.5vw, 3rem); }
h3 { font-size: 1.4rem; }

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

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding-inline: 20px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 200;
    padding: 10px 16px;
    background: var(--amber);
    color: var(--charcoal);
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: top 0.15s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.2;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--amber);
    color: var(--charcoal);
    border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); }

.btn-ghost {
    background: transparent;
    color: var(--on-dark);
    border-color: var(--steel-line);
}
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }

.btn-sm { padding: 9px 16px; font-size: 1rem; }
.btn-lg { padding: 15px 28px; font-size: 1.2rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--charcoal);
    color: var(--on-dark);
    border-bottom: 1px solid var(--steel);
    transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3); }

/* Hazard-stripe accent under the header */
.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 6px;
    background: repeating-linear-gradient(
        -45deg,
        var(--amber) 0 10px,
        var(--charcoal) 10px 20px
    );
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--amber);
    color: var(--charcoal);
    border-radius: var(--radius);
    flex: none;
}
.logo-mark svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}
.logo-text span { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-cta { display: none; }

.nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--on-dark);
    background: transparent;
    border: 2px solid var(--steel-line);
    border-radius: var(--radius);
    cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile nav: dropdown panel */
.primary-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    padding: 8px 20px 24px;
    background: var(--charcoal);
    border-bottom: 1px solid var(--steel);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.35);
}
.primary-nav.is-open { display: block; }
.primary-nav ul { display: flex; flex-direction: column; }
.primary-nav a:not(.btn) {
    display: block;
    padding: 14px 4px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--steel);
}
.primary-nav a:not(.btn):hover { color: var(--amber); }
.nav-cta-mobile { margin-top: 18px; }
.nav-cta-mobile .btn { width: 100%; }

@media (min-width: 480px) {
    .header-cta { display: inline-flex; }
    .nav-cta-mobile { display: none; }
}

@media (min-width: 960px) {
    .nav-toggle { display: none; }

    .primary-nav {
        position: static;
        display: block;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        margin-left: auto;
    }
    .primary-nav ul { flex-direction: row; gap: 4px; }
    .primary-nav a:not(.btn) {
        padding: 8px 12px;
        font-size: 1.1rem;
        border: 0;
        border-radius: var(--radius);
    }
    .primary-nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.07); }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 64px 0 88px;
    color: var(--on-dark);
    background:
        radial-gradient(900px 400px at 85% 0%, rgba(245, 168, 0, 0.16), transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 44px 44px,
        var(--charcoal);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    gap: 48px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
}
.eyebrow-dark { color: var(--rust); }

.hero h1 { margin-bottom: 20px; }

.hero-lead {
    max-width: 34em;
    font-size: 1.2rem;
    color: var(--on-dark-muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--steel);
    font-weight: 600;
}
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points .icon { color: var(--amber); }

/* Hero photo + sample report card, stacked together on the right */
.hero-aside {
    display: grid;
    gap: 24px;
    max-width: 460px;
    width: 100%;
    margin-inline: auto;
}
.hero-media {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-top: 6px solid var(--amber);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.hero-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sample report card */
.report-card {
    width: 100%;
    background: var(--paper);
    color: var(--text);
    border-radius: var(--radius-lg);
    border-top: 6px solid var(--amber);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}
.report-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 22px 16px;
    border-bottom: 1px dashed var(--line);
}
.report-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.report-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.15;
}
.report-tag {
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1.5px solid var(--line);
    border-radius: 99px;
}
.report-rows li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 22px;
    font-weight: 600;
    border-bottom: 1px solid var(--sand);
}
.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px 3px 8px;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 99px;
}
.status .icon { width: 1em; height: 1em; stroke-width: 3; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-good  { color: #1d6b38; background: #e2f3e8; }
.status-watch { color: #7a5600; background: #fdf0cc; }
.status-fix   { color: #9a3410; background: #fbe4d9; }
.report-foot {
    padding: 16px 22px 20px;
    font-size: 0.95rem;
    color: var(--muted);
}

@media (min-width: 960px) {
    .hero { padding: 96px 0 120px; }
    .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
    .report-card { transform: rotate(1.5deg); }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-dark { background: var(--charcoal); color: var(--on-dark); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p:not(.eyebrow) { font-size: 1.15rem; color: var(--muted); }
.section-dark .section-head p:not(.eyebrow) { color: var(--on-dark-muted); }

@media (min-width: 960px) {
    .section { padding: 104px 0; }
}

/* ---------- Equipment panels ---------- */
.panels { display: grid; gap: 24px; }

.panel {
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 6px solid var(--amber);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.panel-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: var(--charcoal);
    background: var(--amber);
    border-radius: var(--radius);
    flex: none;
}
.panel-icon .icon { width: 28px; height: 28px; }

.check-list { display: grid; gap: 10px 24px; }
.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 500;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 18px;
    height: 18px;
    background: var(--amber);
    border-radius: 3px;
}
.check-list li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: calc(0.32em + 3px);
    width: 5px;
    height: 9px;
    border: solid var(--charcoal);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.check-list-light li { color: var(--on-dark); }

.panel .check-list { margin-bottom: 26px; }
.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--rust);
}
.panel-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.panel-link .icon { transition: transform 0.15s; }
.panel-link:hover .icon { transform: translateX(4px); }

.equipment-note {
    margin-top: 28px;
    padding: 18px 22px;
    background: var(--sand);
    border-radius: var(--radius);
    border-left: 4px solid var(--charcoal);
}
.equipment-note a { font-weight: 700; color: var(--rust); }

@media (min-width: 640px) {
    .check-list { grid-template-columns: 1fr 1fr; }
}
.check-list.check-list-single { grid-template-columns: 1fr; }

@media (min-width: 900px) {
    /* Construction has a longer list than farm, so it gets the wider column; both cards still start at the same row top and match height. */
    .panels { grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: stretch; }
    .panel { padding: 34px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
    .panel .check-list { grid-template-columns: 1fr; }
}

/*
 * ---------- Process ----------
 * The photo sits beside the steps as a standing visual anchor for the whole
 * process (not just the heading), so it reads as "here's that process in
 * action" rather than a floating illustration.
 */
.process-layout { display: grid; gap: 28px; }

.process-media {
    margin: 0;
    background: #fff;
    border-top: 4px solid var(--amber);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.process-media img { width: 100%; height: auto; display: block; }

.steps { display: grid; gap: 20px; }
.step {
    position: relative;
    padding: 28px 24px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-top: 5px solid var(--charcoal);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.step-num {
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--sand);
    user-select: none;
}
.step-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    color: var(--amber);
    background: var(--charcoal);
    border-radius: var(--radius);
}
.step-icon .icon { width: 26px; height: 26px; }
.step h3 { position: relative; margin-bottom: 8px; }
.step p { position: relative; color: var(--muted); }

@media (min-width: 700px) {
    .steps { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1040px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

@media (min-width: 860px) {
    /* The photo takes a fixed-ish column, the steps share the rest - pairs stay
       2-up next to it rather than squeezing to 4-across (more specific than the
       generic 4-column rule above, so it wins at any width from here up). */
    .process-layout { grid-template-columns: minmax(260px, 380px) 1fr; gap: 36px; align-items: start; }
    .process-layout .steps { grid-template-columns: 1fr 1fr; }
}

/*
 * ---------- What we check ----------
 * Small photo (~300-380px) paired beside the section heading - not inside
 * the feature grid, so it never dominates or forces a tall column.
 */
.feature-intro {
    display: grid;
    gap: 28px;
    align-items: center;
    margin-bottom: 48px;
}
.feature-intro .section-head { margin-bottom: 0; }

.feature-media {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border-top: 4px solid var(--amber);
    box-shadow: var(--shadow);
}
.feature-media img { width: 100%; height: auto; display: block; }

@media (min-width: 800px) {
    .feature-intro { grid-template-columns: 1fr minmax(280px, 380px); gap: 40px; }
}

.feature-grid { display: grid; gap: 16px; }
.feature {
    padding: 24px;
    background: var(--charcoal-2);
    border: 1px solid var(--steel);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: var(--amber); }
.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    color: var(--amber);
    background: rgba(245, 168, 0, 0.12);
    border-radius: var(--radius);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; font-size: 1.3rem; }
.feature p { font-size: 1rem; color: var(--on-dark-muted); }

@media (min-width: 620px) {
    .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.rating-key { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rating-key .status { font-size: 0.85rem; }

.cta-band {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 48px;
    padding: 28px;
    color: var(--charcoal);
    background: var(--amber);
    border-radius: var(--radius-lg);
}
.cta-band p {
    font-family: var(--font-display);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}
.cta-band .btn-primary {
    background: var(--charcoal);
    border-color: var(--charcoal);
    color: var(--on-dark);
}
.cta-band .btn-primary:hover { background: #000; border-color: #000; }

@media (min-width: 760px) {
    .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 36px; }
    .cta-band p { font-size: 2rem; }
}

/* ---------- Service area ---------- */
.area-grid { display: grid; gap: 40px; align-items: start; }
.area-grid h2 { margin-bottom: 16px; }
.area-lead { margin-bottom: 20px; font-size: 1.15rem; color: var(--muted); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
    padding: 7px 16px;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 99px;
}
.area-note { margin-top: 22px; color: var(--muted); }
.area-note a { font-weight: 700; color: var(--rust); }

/* The "travel included" card now leads with the jobsite photo, so the claim has a real picture behind it. */
.area-card {
    color: var(--on-dark);
    border-radius: var(--radius-lg);
    border-bottom: 6px solid var(--amber);
    overflow: hidden;
}
.area-card-media { margin: 0; }
.area-card-media img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
.area-card-body {
    padding: 28px 30px 32px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 32px 32px,
        var(--charcoal);
}
.area-pin { width: 44px; height: 44px; margin-bottom: 14px; color: var(--amber); }
.area-card-title {
    margin-bottom: 8px;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.1;
}
.area-card-body p:not(.area-card-title) { color: var(--on-dark-muted); }

@media (min-width: 900px) {
    .area-grid { grid-template-columns: 1.3fr 0.7fr; gap: 64px; }
}

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq { display: grid; gap: 12px; }
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.faq summary {
    position: relative;
    padding: 18px 56px 18px 22px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-top: -14px;
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
    color: var(--charcoal);
    background: var(--amber);
    border-radius: 4px;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] { border-color: var(--charcoal); }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- Quote form ---------- */
.quote-grid { display: grid; gap: 48px; align-items: start; }
.quote-intro h2 { margin-bottom: 16px; }
.quote-intro > p:not(.eyebrow) { font-size: 1.15rem; color: var(--on-dark-muted); }

.mini-title {
    margin: 32px 0 14px;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: var(--amber);
}
.check-list-light { grid-template-columns: 1fr; }

.contact-list {
    display: grid;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--steel);
}
.contact-list li { display: flex; align-items: flex-start; gap: 12px; font-weight: 600; }
.contact-list .icon { margin-top: 0.15em; color: var(--amber); }
.contact-sub {
    display: block;
    margin-top: 4px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--on-dark-muted);
}
.contact-list a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--amber); }

.form-card {
    padding: 28px 22px;
    color: var(--text);
    background: var(--paper);
    border-radius: var(--radius-lg);
    border-top: 6px solid var(--amber);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* Netlify Forms spam honeypot: present for simple bots to fill in, invisible
   and unreachable for real (sighted, screen-reader or keyboard) visitors. */
.form-field-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-grid { display: grid; gap: 18px; margin-bottom: 22px; }
.field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
}
.req { color: var(--rust); }

.field input,
.field select,
.field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
    border: 2px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2323272b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}
.field input::placeholder,
.field textarea::placeholder { color: #8a9198; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--charcoal);
    box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.55);
}

.field.has-error input,
.field.has-error select { border-color: var(--rust); }
.error {
    min-height: 0;
    margin-top: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--rust);
}
.error:empty { display: none; }

.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }

.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status.is-success {
    padding: 16px 18px;
    font-weight: 600;
    color: #17552d;
    background: #e2f3e8;
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
}
.form-status.is-notice {
    padding: 16px 18px;
    color: #4a3500;
    background: #fdf0cc;
    border-left: 4px solid var(--amber);
    border-radius: var(--radius);
}
.form-status a { font-weight: 700; text-underline-offset: 3px; }
.form-status.is-error {
    padding: 16px 18px;
    font-weight: 600;
    color: #7f2a0a;
    background: #fbe4d9;
    border-left: 4px solid var(--rust);
    border-radius: var(--radius);
}

@media (min-width: 560px) {
    .form-card { padding: 34px 32px; }
    .form-grid { grid-template-columns: 1fr 1fr; }
    .field-full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
    .quote-grid { grid-template-columns: 0.85fr 1.15fr; gap: 72px; }
    .quote-intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Footer ---------- */
.site-footer {
    padding: 56px 0 28px;
    color: var(--on-dark-muted);
    background: #15171a;
    border-top: 6px solid var(--amber);
}
.footer-inner { display: grid; gap: 32px; }
.footer-brand .logo { color: var(--on-dark); margin-bottom: 14px; }
.footer-brand p { max-width: 26em; }

.footer-contact { display: grid; gap: 4px; margin-top: 16px; }
.footer-contact a { font-weight: 600; color: var(--on-dark); text-underline-offset: 3px; }
.footer-contact a:hover { color: var(--amber); }

.footer-nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a {
    font-weight: 600;
    color: var(--on-dark);
    text-decoration: none;
}
.footer-nav a:hover { color: var(--amber); }

.footer-bottom {
    margin-top: 40px;
    padding-top: 22px;
    font-size: 0.92rem;
    border-top: 1px solid var(--steel);
}

@media (min-width: 800px) {
    .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
    .footer-nav ul { justify-content: flex-end; max-width: 420px; }
}

/* ---------- Scroll reveal (enabled only when JS adds .js) ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 380px) {
    .logo-text { font-size: 1.15rem; }
    .btn-lg { padding: 14px 20px; }
    .hero-actions .btn { width: 100%; }
}
