/* =========================================================
   The Bounce Party Rentals
   Shared stylesheet: variables, base, layout, components,
   responsive rules. Mobile-first.
   ========================================================= */

:root {
    /* Colors */
    --color-primary:        #0f6b8a;
    --color-primary-dark:   #0a4f68;
    --color-primary-soft:   #e6f3f8;
    --color-accent:         #ffb020;
    --color-accent-dark:    #e59a05;
    --color-text:           #22303c;
    --color-text-soft:      #5a6773;
    --color-muted:          #8a95a1;
    --color-bg:             #ffffff;
    --color-bg-alt:         #f6f8fa;
    --color-border:         #e4e8ec;
    --color-success-bg:     #e5f6ec;
    --color-success-border: #b7e2c4;
    --color-success-text:   #1e6b3a;
    --color-error-bg:       #fdecec;
    --color-error-border:   #f3b7b7;
    --color-error-text:     #a12626;

    /* Typography */
    --font-heading: 'Fredoka', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-body:    'Nunito', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --fs-base:  16px;
    --lh-base:  1.6;

    /* Layout */
    --container-max: 1160px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 6px rgba(15, 40, 60, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 40, 60, 0.10);
    --shadow-lg: 0 18px 50px rgba(15, 40, 60, 0.14);
    --section-y:  56px;
    --header-h:   72px;
}

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

html { scroll-behavior: smooth; }

/* Consistent keyboard focus ring across the whole site. Mouse clicks
   stay clean thanks to :focus-visible. */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.tile:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    margin: 0 0 0.5em;
    font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

/* ---------- Layout utilities ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-y) 0;
}
.section-alt { background: var(--color-bg-alt); }

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}
.section-head p { color: var(--color-text-soft); font-size: 1.05rem; }

.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    font-weight: 700;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Flex layout for the home page cards. Five items land as 3+2 on
   desktop and 2+2+1 on tablet, with the trailing row centered so it
   never looks lopsided. Falls to one column on mobile. */
.grid-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}
.grid-cards > .card { flex: 0 1 320px; max-width: 340px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1.1;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 14px 28px; font-size: 1.05rem; }

.btn-primary {
    background: var(--color-accent);
    color: #3a2a00;
    border-color: var(--color-accent);
    box-shadow: 0 6px 14px rgba(255, 176, 32, 0.35);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #3a2a00;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(1.1) blur(6px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    font-size: 1.1rem;
}
.brand:hover { color: var(--color-primary); }
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.site-nav .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav .nav-list a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.96rem;
}
.site-nav .nav-list a:hover { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.site-nav .nav-list a.active { background: var(--color-primary-soft); color: var(--color-primary-dark); }
.site-nav .nav-list .nav-cta a { padding: 8px 18px; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--color-text);
    margin: 4px auto;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, #0a4f68 0%, #0f6b8a 55%, #128aa7 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}
.hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(10, 55, 75, 0.85) 0%, rgba(10, 55, 75, 0.55) 45%, rgba(10, 55, 75, 0.25) 100%);
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding: 96px 0 108px;
    max-width: 720px;
}
.hero h1 {
    color: #ffffff;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 28px;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page banner (smaller than hero, for inner pages) ---------- */
.page-banner {
    position: relative;
    color: #ffffff;
    background: linear-gradient(135deg, #0a4f68, #128aa7);
    overflow: hidden;
    text-align: center;
}
.page-banner::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--banner-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}
.page-banner::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,55,75,0.55), rgba(10,55,75,0.75));
}
.page-banner .container {
    position: relative;
    z-index: 1;
    padding: 60px 20px;
}
.page-banner h1 { color: #ffffff; margin-bottom: 8px; }
.page-banner p  { color: rgba(255,255,255,0.9); margin: 0; }

/* ---------- Intro block ---------- */
.intro {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}
.intro p { font-size: 1.1rem; color: var(--color-text-soft); }

/* ---------- Category / info cards ---------- */
.card {
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--color-border);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-primary-soft);
    overflow: hidden;
}
.card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.04); }

.card-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--color-accent);
    color: #3a2a00;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 999px;
}

.card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-body h3 { margin-bottom: 6px; }
.card-body p  { color: var(--color-text-soft); margin-bottom: 18px; }
.card-body .card-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--color-primary);
}
.card-body .card-link:hover { color: var(--color-primary-dark); }
.card-body .card-link::after {
    content: " \203A";
    transition: transform 0.2s ease;
    display: inline-block;
}

.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-primary-dark);
    background: linear-gradient(135deg, #e6f3f8, #cfe6f0);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ---------- Feature blurbs (Why choose us) ---------- */
.feature {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
}
.feature h3 { margin-bottom: 6px; font-size: 1.1rem; }
.feature p  { color: var(--color-text-soft); margin: 0; font-size: 0.97rem; }

/* ---------- How it works ---------- */
.step {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    position: relative;
}
.step-num {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #3a2a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    box-shadow: 0 6px 14px rgba(255,176,32,0.35);
}
.step h3 { margin-bottom: 6px; font-size: 1.1rem; }
.step p  { color: var(--color-text-soft); margin: 0; font-size: 0.97rem; }

/* ---------- Gallery preview ---------- */
.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.gallery-preview .tile {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    background: var(--color-primary-soft);
}
.gallery-preview .tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-preview .tile:hover img { transform: scale(1.06); }

/* ---------- CTA strip ---------- */
.cta-strip {
    background: linear-gradient(120deg, var(--color-primary), var(--color-primary-dark));
    color: #ffffff;
    text-align: center;
    padding: 56px 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 20px 20px;
}
.cta-strip h2 { color: #ffffff; margin-bottom: 10px; }
.cta-strip p  { color: rgba(255,255,255,0.92); margin-bottom: 22px; }
.cta-wrap { max-width: var(--container-max); margin: 0 auto; }

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    margin-bottom: 20px;
    font-weight: 600;
}
.alert-success {
    background: var(--color-success-bg);
    border-color: var(--color-success-border);
    color: var(--color-success-text);
}
.alert-error {
    background: var(--color-error-bg);
    border-color: var(--color-error-border);
    color: var(--color-error-text);
}
.alert ul { margin: 6px 0 0 20px; padding: 0; }

/* ---------- Forms ---------- */
.form-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-group label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
    color: var(--color-text);
}
.form-group .req { color: #c0392b; }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--color-text);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15,107,138,0.18);
}
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer {
    background: #0b2734;
    color: #cfd8de;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.4fr 1fr;
    gap: 32px;
    padding: 56px 20px 32px;
}
.footer-heading {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin: 0 0 14px;
}
.footer-blurb { color: #b8c3ca; margin: 0; }
.footer-links, .footer-contact, .footer-social {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-contact li, .footer-social li { margin-bottom: 8px; }
.footer-links a, .footer-contact a, .footer-social a {
    color: #cfd8de;
}
.footer-links a:hover, .footer-contact a:hover, .footer-social a:hover { color: var(--color-accent); }
.footer-label { color: #8aa0ad; font-weight: 700; margin-right: 4px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    color: #8aa0ad;
    font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Value / trust blocks (About) ---------- */
.value {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.value:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--color-primary-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 12px;
}
.value h3 { margin-bottom: 6px; font-size: 1.1rem; }
.value p  { margin: 0; color: var(--color-text-soft); font-size: 0.97rem; }

/* ---------- Two-column text + image ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.split .split-media img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.split .split-body p { color: var(--color-text-soft); }
.split.reverse .split-media { order: 2; }

/* ---------- Rentals: group heading (Inflatables / Party Services) ---------- */
.group-head { margin-bottom: 32px; }
.group-head h2 { margin: 4px 0 0; }

/* ---------- Rentals: category section ---------- */
.category-block { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 16px); }
.category-block:last-child { margin-bottom: 0; }
.category-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--color-primary-soft);
}
.category-head h2 { margin: 0 0 4px; }
.category-head p  { margin: 0; color: var(--color-text-soft); max-width: 620px; }
.category-head .btn { flex-shrink: 0; }

.rentals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.rentals-grid .tile {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    background: var(--color-primary-soft);
    cursor: zoom-in;
    border: 1px solid var(--color-border);
}
.rentals-grid .tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.rentals-grid .tile:hover img { transform: scale(1.06); }

.coming-soon {
    background: linear-gradient(135deg, #e6f3f8, #cfe6f0);
    border: 1px dashed var(--color-primary);
    border-radius: var(--radius-md);
    padding: 40px 28px;
    text-align: center;
    color: var(--color-primary-dark);
}
.coming-soon h3 { color: var(--color-primary-dark); margin-bottom: 6px; }
.coming-soon p  { color: var(--color-text-soft); margin: 0 auto; max-width: 520px; }

/* ---------- Contact info block ---------- */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 20px 0 24px;
}
.contact-info li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
}
.contact-info li:last-child { border-bottom: none; }
.ci-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 0.92rem;
}
.social-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.map-placeholder {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-md);
    background:
        repeating-linear-gradient(
            45deg,
            var(--color-primary-soft),
            var(--color-primary-soft) 12px,
            #dcecf3 12px,
            #dcecf3 24px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    border: 1px dashed var(--color-primary);
}

/* ---------- Lightbox (used by rentals page) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6, 20, 28, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}
.lightbox-close {
    position: absolute;
    top: 18px; right: 22px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
    .gallery-preview { grid-template-columns: repeat(3, 1fr); }
    .rentals-grid  { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-y: 44px; }

    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; flex-direction: column; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #ffffff;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-md);
        max-height: 0;
        overflow: hidden;
        /* visibility: hidden keeps collapsed links out of the keyboard tab
           order. Delay the flip until the max-height collapse finishes. */
        visibility: hidden;
        transition: max-height 0.25s ease, visibility 0s linear 0.25s;
    }
    .site-nav.open {
        max-height: 520px;
        visibility: visible;
        transition: max-height 0.25s ease, visibility 0s linear 0s;
    }

    .site-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px 20px;
        gap: 4px;
    }
    .site-nav .nav-list a {
        display: block;
        padding: 12px 14px;
        border-radius: 10px;
    }
    .site-nav .nav-list .nav-cta { margin-top: 8px; }
    .site-nav .nav-list .nav-cta a { text-align: center; }

    .hero-inner { padding: 72px 0 84px; }
    .hero p { font-size: 1.05rem; }

    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .gallery-preview { grid-template-columns: repeat(2, 1fr); }
    .rentals-grid    { grid-template-columns: repeat(2, 1fr); }
    .grid-cards > .card { flex: 1 1 100%; max-width: 420px; }

    .split { grid-template-columns: 1fr; gap: 24px; }
    .split.reverse .split-media { order: 0; }

    .category-head { align-items: flex-start; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 20px 24px; }
}

@media (max-width: 480px) {
    .hero-inner { padding: 60px 0 72px; }
    .cta-strip { padding: 42px 18px; margin: 12px 12px; }
    .btn { padding: 11px 18px; }
    .rentals-grid { grid-template-columns: 1fr; }
}

/* Respect visitors who prefer reduced motion: keep hover/lift/scale
   affordances but drop the animation timing. */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
