/* DumpsterRentals.Web - public site design system.
   Self-contained (no external fonts/CDNs). */

:root {
    --primary: #1a5632;
    --primary-dark: #0f3a20;
    --accent: #e8792f;
    --accent-dark: #c9611e;
    --bg: #ffffff;
    --bg-alt: #f4f7f3;
    --border: #dfe6e0;
    --text: #1f2933;
    --text-muted: #5b6b6b;
    --success-bg: #e6f4ea;
    --success-text: #1e7e34;
    --danger-bg: #fdecea;
    --danger-text: #b3261e;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(15, 58, 32, 0.10);
}

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

/* Scrollbars are hidden site-wide; the page still scrolls with the mouse
   wheel, touch, and keyboard. */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { line-height: 1.2; color: var(--primary-dark); margin: 0 0 12px; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
a { color: var(--primary); }
img, svg { max-width: 100%; }

/* ---------- Page frame: one long page, sticky header, footer at the
   bottom of the content (or of the window on short pages). ---------- */

#mainForm {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#pageContent { flex: 1 0 auto; }

/* ---------- Header ---------- */

#siteHeader {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-dark);
    text-decoration: none;
}

.brand-logo { width: 46px; height: 46px; flex: 0 0 auto; filter: drop-shadow(0 2px 4px rgba(15, 58, 32, 0.25)); }

.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.brand-sub {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--accent-dark);
}
.brand-sub::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }

#mainNav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

#mainNav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

#mainNav a:hover { color: var(--primary); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-cta .phone {
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: opacity .15s ease, background-color .15s ease;
}

.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* ---------- Hero ---------- */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 70px 24px;
}

.hero-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.hero h1 { color: #fff; font-size: 42px; }
.hero-sub { color: #dcefe1; font-size: 18px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Home hero with picture ---------- */

.hero-split {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1180px;
    margin: 0 auto;
}

.hero-split .hero-copy { flex: 1 1 420px; text-align: left; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-split .hero-image { flex: 1 1 460px; min-width: 0; }
.hero-phone { margin: 18px 0 0; color: #dcefe1; font-size: 14px; }
.hero-phone a { color: #fff; font-weight: 700; text-decoration: none; }

.picture {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 58, 32, 0.18);
    background: var(--bg-alt);
}

.hero-photo { flex: 0 1 440px; width: 440px; max-width: 100%; }

/* ---------- Photo credits ---------- */

.credit-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--border); }
.credit-thumb { flex: 0 0 120px; width: 120px; height: 80px; object-fit: cover; border-radius: 8px; }
.credit-item p { margin: 4px 0 0; font-size: 14px; }

/* ---------- Highlights strip ---------- */

.highlights {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 22px 24px;
}

.highlights-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.highlight { text-align: center; }
.highlight strong { display: block; color: var(--primary-dark); font-size: 17px; }
.highlight span { color: var(--text-muted); font-size: 13.5px; }

/* ---------- Picture + text blocks ---------- */

.media-split {
    display: flex;
    align-items: center;
    gap: 40px;
}

.media-split.reverse { flex-direction: row-reverse; }
.media-split .media-copy { flex: 1 1 380px; min-width: 0; }
.media-split .media-picture { flex: 1 1 420px; min-width: 0; }
.media-copy h2 { margin-bottom: 14px; }
.media-copy ul { padding-left: 20px; margin: 0 0 12px; }
.media-copy li { margin-bottom: 8px; }

/* ---------- Sections ---------- */

.section { padding: 56px 24px; }
.section.alt { background: var(--bg-alt); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-inner.narrow { max-width: 760px; }
.center { text-align: center; }

.page-header {
    background: var(--bg-alt);
    padding: 40px 24px;
    border-bottom: 1px solid var(--border);
}

.location-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.location-picker select {
    font-size: 14px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
}

/* ---------- Bin size cards (home page preview) ---------- */

.bin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.bin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
    text-align: center;
}

.bin-dims { color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* ---------- Service cards (Services page) ---------- */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.service-grid.centered { display: flex; flex-wrap: wrap; justify-content: center; }
.service-grid.centered .service-card { flex: 0 1 calc(33.333% - 14px); min-width: 280px; }

.service-card p { color: var(--text-muted); }
.service-card .btn { margin-top: 6px; }

.service-card.with-image { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card.with-image .card-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.service-card.with-image .card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1 1 auto; }
.service-card.with-image .card-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Service detail page (e.g. Garbage & Junk Bin Rentals) ---------- */

.service-detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.service-detail-hero > div { flex: 1 1 380px; }

.hero-illustration {
    flex: 0 0 220px;
    width: 220px;
    height: 160px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 20px;
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    margin-bottom: 12px;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-alt);
    margin-bottom: 14px;
}

.icon-circle svg { width: 28px; height: 28px; }

.allowed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.allowed-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
}

.allowed-card ul { margin: 0; padding-left: 20px; }
.allowed-card li { margin-bottom: 6px; }

.icon-check, .icon-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-right: 6px;
}

.icon-check { background: var(--success-text); }
.icon-x { background: var(--danger-text); }

/* ---------- Location cards ---------- */

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.location-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.location-card .phone { font-weight: 700; color: var(--primary-dark); }

/* ---------- Locations: vendor lookup results ---------- */

.vendor-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.vendor-card { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.vendor-card h2 { font-size: 22px; margin-bottom: 4px; }
.vendor-card p { margin: 0; }

.quote-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

.quote-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    transition: background-color .15s ease;
}

.quote-icon svg { width: 22px; height: 22px; }
.quote-icon-link:hover .quote-icon { background: var(--accent-dark); }

.vendor-empty { grid-column: 1 / -1; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }

/* ---------- FAQ ---------- */

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.faq-item:first-child { padding-top: 0; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--primary-dark); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3d5; }

/* ---------- Forms (Get a Quote) ---------- */

.form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px;
}

.row { margin-bottom: 12px; }

label.field, span.field {
    display: block;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
    color: var(--text);
}

input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=date], select, textarea {
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.15);
}

textarea { resize: vertical; }

.btnbar { margin-top: 8px; }

.status-msg:not(:empty) {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 6px;
    font-weight: 600;
    background: var(--success-bg);
    color: var(--success-text);
}

.error {
    color: var(--danger-text);
    font-size: 12.5px;
    display: block;
    margin-top: 4px;
}

.thank-you { padding: 40px 0; }

/* ---------- Get a Quote: Residential / Business picker ---------- */

.type-picker { display: grid; grid-template-columns: 1fr; gap: 10px; }

.type-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 40px 12px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.type-card:hover { border-color: var(--primary); }
.type-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.type-icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--primary); }
.type-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.type-text strong { font-size: 14px; color: var(--primary-dark); }
.type-text small { font-size: 12px; color: var(--text-muted); }

.type-check {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    border: 2px solid #8a9a92;
    border-radius: 5px;
    background: #fff;
}

.type-card input:checked ~ .type-check {
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat;
    border-color: var(--primary);
}

.type-card:has(input:checked) { border-color: var(--primary); background: #e9f3ec; box-shadow: 0 0 0 2px rgba(26, 86, 50, 0.12); }
.type-card:has(input:focus-visible) { outline: 3px solid rgba(26, 86, 50, 0.35); outline-offset: 2px; }


/* ---------- Get a Quote: three columns - your details | service date + items | address + map ---------- */

.quote-page-section { padding: 32px 24px 48px; }

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 24px;
}

/* Two columns on mid-size screens: the map drops below and spans the full width. */
@media (max-width: 1100px) {
    .quote-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .quote-map-col { grid-column: 1 / -1; }
}

/* Multi-item request: search box + round orange "+" button, then the list of added items. */

.item-add-row { display: flex; align-items: center; gap: 10px; }
.item-add-row .item-autocomplete-wrap { flex: 1 1 auto; min-width: 0; }

.add-item-btn {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(232, 121, 47, 0.4);
    transition: background-color .15s ease, transform .1s ease;
}

.add-item-btn:hover { background: var(--accent-dark); }
.add-item-btn:active { transform: scale(0.94); }
.add-item-btn:focus-visible { outline: 3px solid rgba(232, 121, 47, 0.4); outline-offset: 2px; }
.add-item-btn svg { width: 22px; height: 22px; }

.item-hint { font-size: 12.5px; margin: 6px 0 0; }
.item-hint.problem { color: var(--danger-text); font-weight: 600; }

.item-list { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item-list:empty { margin: 0; }

.item-line {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 14px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.item-line .item-name { flex: 1 1 auto; min-width: 0; font-size: 14px; font-weight: 600; color: var(--primary-dark); }
.item-line .qty { display: inline-flex; align-items: center; gap: 6px; }
.item-line .qty-value { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }

.item-line .qty-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.item-line .qty-btn:hover { border-color: var(--primary); background: #e9f3ec; }

.item-line .item-remove {
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.item-line .item-remove:hover { color: var(--danger-text); }

.quote-form-col, .quote-items-col, .quote-map-col { min-width: 0; }

.map-hint { font-size: 13px; margin-bottom: 8px; }

.quote-map {
    width: 100%;
    height: 380px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-alt);
}

/* ---------- Google Places autocomplete dropdown (Get a Quote) ---------- */

/* Google's address search box (PlaceAutocompleteElement), matched to the other inputs. */
gmp-place-autocomplete {
    display: block;
    width: 100%;
    color-scheme: light;
    --gmp-mat-color-surface: #ffffff;
    --gmp-mat-color-on-surface: var(--text);
    --gmp-mat-color-on-surface-variant: var(--text-muted);
    --gmp-mat-color-primary: var(--primary);
    --gmp-mat-color-outline: var(--border);
    --gmp-mat-color-outline-decorative: var(--border);
    --gmp-mat-color-neutral: var(--border);
    --gmp-mat-font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --gmp-mat-font-body-large: 400 16px/1.4 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --gmp-mat-font-body-medium: 400 14px/1.4 "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    --gmp-mat-shape-corner-small: 6px;
    --gmp-mat-shape-corner-medium: 6px;
    --gmp-mat-shape-corner-large: 6px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    /* No fixed height or overflow clipping: the suggestion list is drawn outside the box. */
}

gmp-place-autocomplete:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 50, 0.15);
}

.pac-container {
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
    z-index: 20;
}

.muted { color: var(--text-muted); }

/* ---------- Rental item filter-as-you-type (Get a Quote) ---------- */

.item-autocomplete-wrap { position: relative; }

.item-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 20;
    margin-top: 2px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    box-shadow: var(--shadow);
}

.item-suggestions .item-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.item-suggestions .item-option:hover,
.item-suggestions .item-option.active {
    background: var(--bg-alt);
}

.item-suggestions .item-cat {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: 6px;
}

/* ---------- Footer ---------- */

#siteFooter {
    flex: 0 0 auto;
    margin-top: 0;
    background: var(--primary-dark);
    color: #cfe3d5;
    padding: 32px 24px;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-inner strong { color: #fff; font-size: 17px; }
.footer-inner p { color: #a9c7b1; font-size: 13px; max-width: 320px; }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: #cfe3d5; text-decoration: none; font-size: 13.5px; }
.footer-links a:hover { color: #fff; }

/* ---------- Responsive (tablet / phone: iPhone, Android, narrow Edge/Chrome) ---------- */

@media (max-width: 900px) {
    .header-inner { padding: 12px 16px; }
    #mainNav { gap: 14px; }
    #mainNav a { font-size: 13.5px; }
    .header-cta { gap: 10px; }
    .header-cta .phone { display: none; }

    .section { padding: 36px 16px; }
    .page-header { padding: 28px 16px; }

    .hero { padding: 44px 16px; }
    .hero h1 { font-size: 30px; }
    .hero-sub { font-size: 16px; }
    .hero-actions .btn, .hero-actions .btn-lg { width: 100%; text-align: center; }
    .hero-split, .media-split, .media-split.reverse { flex-direction: column; gap: 24px; }
    .hero-split .hero-copy, .hero-split .hero-image,
    .media-split .media-copy, .media-split .media-picture { flex: 0 0 auto; width: 100%; }
    .hero-split .hero-copy { text-align: center; }
    .service-grid.centered .service-card { flex-basis: 100%; }
    .hero-split .hero-actions { justify-content: center; }
    .hero-photo { flex-basis: auto; width: 100%; }

    h1 { font-size: 28px; }
    h2 { font-size: 22px; }

    .form-card { padding: 18px; }

    /* Below tablet width there isn't room for form + map side by side -
       fall back to normal stacked scrolling like the rest of the site. */
    .quote-page-section { padding: 24px 16px 36px; }
    .quote-layout { display: block; }
    .quote-items-col, .quote-map-col { margin-top: 20px; }
    .quote-map { height: 260px; }

    .service-detail-hero { flex-direction: column; text-align: center; }
    .service-detail-hero > div { flex-basis: auto; }
    .hero-illustration, .hero-photo { order: -1; }

    .footer-inner { flex-direction: column; }
    .footer-links { gap: 10px; }
}

@media (max-width: 480px) {
    #mainNav { gap: 10px 14px; }
    .brand-name { font-size: 18px; }
    .brand-sub { font-size: 9.5px; letter-spacing: 0.28em; }
    .brand-logo { width: 36px; height: 36px; }
    .header-cta .btn { padding: 8px 14px; font-size: 13px; }

    .btnbar .btn { width: 100%; }
}
