:root {
    --bg: #fffdf3;
    --bg-soft: #fff2a8;
    --ink: #162447;
    --accent: #e63946;
    --accent-deep: #b71f2f;
    --sea: #1d4ed8;
    --card: #ffffff;
    --line: #f3d34d;
    --ok: #1d4ed8;
    --nav-h: 74px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 12% 12%, #ffe37a 0%, transparent 35%),
        radial-gradient(circle at 88% 85%, #93c5fd 0%, transparent 35%),
        radial-gradient(circle at 72% 28%, #fecaca 0%, transparent 33%),
        var(--bg);
    color: var(--ink);
    font-family: 'Archivo', sans-serif;
    line-height: 1.5;
}

.container {
    width: min(1080px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 253, 243, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #f3d34d;
    flex-shrink: 0;
}

.brand-text {
    line-height: 1;
}

nav {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: var(--ink);
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

nav a i {
    font-size: 0.9rem;
}

nav a.icon-link {
    min-width: 40px;
    justify-content: center;
}

/* ─── Nav hamburger (must sit before the media query) ────────── */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    cursor: pointer;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    flex-shrink: 0;
    font-weight: 400;
    outline: none;
}

.nav-toggle:hover,
.nav-toggle:active,
.nav-toggle:focus {
    background: #ffffff;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

nav a:hover,
nav a.active {
    background: var(--sea);
    color: #fff;
}

.hero {
    margin: 2.2rem 0;
    padding: 2.3rem;
    border-radius: 22px;
    background: linear-gradient(140deg, #fffef8, #fff2a8);
    border: 1px solid var(--line);
}

.hero h1 {
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Fraunces', serif;
}

.hero-image {
    width: 100%;
    /* extra var(--nav-h) compensates for the banner sitting behind the sticky nav */
    height: calc(clamp(300px, 52vw, 580px) + var(--nav-h));
    object-fit: cover;
    border-radius: 0;
    border: 0;
    margin-bottom: 0;
    display: block;
}

.hero-banner {
    /* pull banner up so it starts behind (and fills under) the sticky header */
    margin-top: calc(-1 * var(--nav-h));
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.6rem;
    /* top padding keeps content clear of the sticky nav */
    padding: clamp(1rem, 2.2vw, 2rem);
    padding-top: calc(var(--nav-h) + 3rem);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.55) 100%);
    color: #fff;
}

.hero-overlay h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-family: 'Fraunces', serif;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-overlay p {
    margin: 0;
    max-width: 760px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.button,
button {
    display: inline-block;
    border: none;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.button i,
button i {
    margin-right: 0.35rem;
}

.button:hover,
button:hover {
    background: var(--accent-deep);
}

.grid {
    display: grid;
    gap: 1.2rem;
}

.grid.cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 2rem;
}

.category-section {
    margin: 0.5rem 0 2.5rem;
}

/* ─── Rentals filter bar ─────────────────────────────────────── */

.rentals-filter-bar {
    width: 100%;
    position: sticky;
    top: var(--nav-h);
    background: linear-gradient(135deg, #fffef8 0%, #fff2a8 100%);
    z-index: 5;
    border-bottom: 2px solid var(--line);
}

.rentals-filter-inner {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.85rem 0;
}

.filter-btn,
.filter-btn:hover,
.filter-btn:active,
.filter-btn:focus {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ffffff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    outline: none;
}

.filter-btn:hover {
    background: var(--bg-soft);
    border-color: #e5b800;
}

.filter-btn.active,
.filter-btn.active:hover,
.filter-btn.active:focus {
    background: var(--sea);
    color: #ffffff;
    border-color: var(--sea);
}

/* ─── Category section header ────────────────────────────────── */

.cat-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0 1.25rem;
}

.cat-header-label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.cat-header h2 {
    margin: 0;
    font-family: 'Fraunces', serif;
    font-size: 1.4rem;
    color: var(--ink);
}

.cat-count {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #475569;
    white-space: nowrap;
}

.cat-divider {
    flex: 1;
    height: 1px;
    background: var(--line);
}

@media (max-width: 720px) {
    .rentals-filter-inner {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.85rem;
    }

    .rentals-filter-inner::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06);
}

.card-clickable {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card-clickable:hover,
.card-clickable:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 1rem;
}

label {
    display: block;
    margin: 0.5rem 0 0.25rem;
    font-weight: 600;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #f0d566;
    border-radius: 10px;
    padding: 0.65rem;
    font: inherit;
    background: #fff;
}

.form-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.2rem;
    margin: 1rem 0 2rem;
}

.notice {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    margin: 0.75rem 0;
}

.notice.success {
    background: #dbeafe;
    color: #1e3a8a;
}

.notice.error {
    background: #ffe2de;
    color: #721f19;
}

.summary {
    background: var(--bg-soft);
    border: 1px solid #efd456;
    border-radius: 12px;
    padding: 0.9rem;
    margin: 0.75rem 0;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    border: 1px solid var(--line);
    padding: 0.6rem;
    text-align: left;
}

.site-footer {
    margin-top: 2rem;
    border-top: 1px solid var(--line);
    background: #fff7cc;
}

.footer-wrap {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1rem 0 2rem;
}

.feature-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
}

.feature-item i {
    color: var(--sea);
    font-size: 1.2rem;
}

.muted {
    color: #334155;
}

.admin-login-body {
    min-height: 100vh;
    background:
    radial-gradient(circle at 10% 10%, #ffe37a 0%, transparent 35%),
    radial-gradient(circle at 90% 90%, #93c5fd 0%, transparent 38%),
    linear-gradient(135deg, #fff9d8, #ffe3e6);
}

.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1.25rem;
}

.admin-login-card {
    width: min(520px, 100%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.6rem;
    box-shadow: 0 18px 35px rgba(29, 78, 216, 0.18);
}

.admin-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.84rem;
}

.admin-login-card h1 {
    margin: 0.7rem 0 0.4rem;
    font-family: 'Fraunces', serif;
}

.admin-login-form {
    margin-top: 0.9rem;
}

.admin-login-form label i {
    margin-right: 0.35rem;
    color: #1d4ed8;
}

.admin-login-form input {
    margin-bottom: 0.55rem;
}

.admin-login-form input:focus {
    outline: 2px solid #93c5fd;
    border-color: #60a5fa;
}

.admin-login-btn {
    width: 100%;
    margin-top: 0.65rem;
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.admin-login-back {
    margin: 1rem 0 0;
    text-align: center;
}

.admin-login-back a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: none;
}

.admin-login-back a:hover {
    text-decoration: underline;
}

/* ─── Tablet (768 – 900 px) ─────────────────────────────────── */
@media (max-width: 900px) {

    /* CTA band → single column so the contact links have room */
    .cta-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-band-contact .button {
        width: 100%;
    }

    /* Footer → 2-col: brand full-width top row, links + contact below */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Contact & checkout layouts → single column at tablet */
    .contact-layout,
    .checkout-layout,
    .rental-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .order-summary-card {
        position: static;
    }
}

/* ─── Mobile (≤ 720 px) ──────────────────────────────────────── */
@media (max-width: 720px) {

    /* ── Nav: hamburger layout ── */
    .nav-wrap {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 253, 243, 0.97);
        backdrop-filter: blur(8px);
        border-bottom: 2px solid var(--line);
        padding: 0.6rem 1rem 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
        z-index: 20;
    }

    nav.open {
        display: flex;
    }

    nav a {
        border-radius: 10px;
        padding: 0.6rem 0.9rem;
    }

    /* ── Hero ── */
    .hero {
        padding: 1.3rem;
    }

    .hero-image {
        /* 380px visible + nav-h behind the header */
        height: calc(380px + var(--nav-h));
    }

    .hero-overlay {
        gap: 0.4rem;
        padding-top: calc(var(--nav-h) + 5rem);
    }

    .hero-overlay h1 {
        font-size: 1.3rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero-actions .button,
    .hero-actions .button-ghost {
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    /* ── Home sections ── */
    .home-section {
        padding: 1.75rem 0 0;
    }

    .section-sub {
        font-size: 0.95rem;
    }

    .steps-list {
        grid-template-columns: 1fr;
    }

    /* ── CTA band ── */
    .cta-band {
        padding: 1.5rem 1.1rem;
        border-radius: 16px;
        margin: 1.5rem 0 2rem;
    }

    .cta-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-band-contact .button {
        width: 100%;
    }

    .contact-link {
        white-space: normal;
        word-break: break-all;
    }

    /* ── Page banner ── */
    .page-banner {
        padding: 1.6rem 0 1.25rem;
    }

    /* ── Inner page layouts → single column ── */
    .contact-layout,
    .checkout-layout,
    .rental-layout {
        grid-template-columns: 1fr;
        margin-top: 1.25rem;
    }

    /* Unstick sticky sidebars */
    .contact-info-card,
    .order-summary-card {
        position: static;
    }

    /* ── Form panel ── */
    .form-panel {
        padding: 1rem;
    }

    /* ── Order / receipt rows: allow wrap on tight screens ── */
    .order-row,
    .receipt-row {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .order-row-value,
    .receipt-value {
        text-align: left;
    }

    /* ── Page-level action buttons (confirmation, etc.) ── */
    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-actions .button {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }

    /* ── Confirmation card ── */
    .confirmation-card {
        margin: 1.25rem 0 2rem;
    }

    /* ── Footer stacks ── */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem 0 1rem;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

/* ─── Prevent grid/flex children from overflowing ───────────── */
.grid.cards > *,
.steps-list > *,
.cta-band-inner > *,
.contact-layout > *,
.checkout-layout > *,
.rental-layout > * {
    min-width: 0;
}

/* ─── Page-level action buttons ─────────────────────────────── */
.page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

/* ─── Home page enhancements ─────────────────────────────────── */

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    width: fit-content;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.4rem;
}

.button-lg {
    padding: 0.85rem 1.4rem;
    font-size: 1.05rem;
    border-radius: 12px;
}

.button-ghost {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 0.7rem 1.1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.15s;
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.28);
}

.home-section {
    padding: 2.5rem 0 0.5rem;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0 0 0.4rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-header h2 i {
    color: var(--accent);
}

.section-sub {
    margin: 0;
    color: #475569;
    font-size: 1.05rem;
}

.card-feature {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    font-size: 1.8rem;
    color: #fff;
}

.card-icon--red    { background: linear-gradient(135deg, #e63946, #b71f2f); }
.card-icon--blue   { background: linear-gradient(135deg, #1d4ed8, #1e40af); }
.card-icon--yellow { background: linear-gradient(135deg, #f3d34d, #e5b800); color: #162447; }

.steps-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.step-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.4rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--sea));
}

.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--sea);
    color: #fff;
    font-family: 'Fraunces', serif;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-body h3 {
    margin: 0 0 0.3rem;
    font-size: 1.05rem;
}

.step-body p {
    margin: 0;
}

.cta-band {
    background: linear-gradient(135deg, var(--ink) 0%, #1d3461 100%);
    border-radius: 22px;
    margin: 2rem 0 3rem;
    padding: 2.5rem 2rem;
    color: #fff;
}

.cta-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.cta-band-text h2 {
    margin: 0 0 0.75rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    color: #fff;
}

.cta-band-text h2 i {
    color: var(--line);
}

.cta-band-text p {
    color: #cbd5e1;
    margin: 0 0 1.25rem;
}

.policy-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-list li {
    color: #cbd5e1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.policy-list li i {
    color: var(--line);
    flex-shrink: 0;
}

.cta-band-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.15s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.contact-link i {
    color: var(--line);
    width: 1.1rem;
    text-align: center;
}

.cta-band-contact .button {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
}

/* ─── Page banner ────────────────────────────────────────────── */

.page-banner {
    background: linear-gradient(135deg, #fffef8 0%, #fff2a8 100%);
    border-bottom: 2px solid var(--line);
    padding: 2.5rem 0 2rem;
}

.page-banner h1 {
    margin: 0 0 0.45rem;
    font-family: 'Fraunces', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--ink);
}

.page-banner h1 i {
    color: var(--accent);
}

.page-banner p {
    margin: 0;
    color: #475569;
    max-width: 600px;
    font-size: 1.05rem;
}

/* ─── Badges ─────────────────────────────────────────────────── */

.card-badges {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin: 0.5rem 0 0.85rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-price {
    background: #dbeafe;
    color: #1e3a8a;
}

.badge-capacity {
    background: #dcfce7;
    color: #166534;
}

/* ─── Form improvements ──────────────────────────────────────── */

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--sea);
    border-color: var(--sea);
}

.hint {
    color: #64748b;
    font-size: 0.83rem;
    margin: 0.2rem 0 0.6rem;
}

.form-section-title {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin: 1.4rem 0 0.8rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-section-title i {
    color: var(--sea);
}

.form-panel label {
    margin-top: 0.75rem;
}

.form-panel button[type="submit"],
.form-panel .button {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.85rem;
    font-size: 1rem;
    border-radius: 12px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ─── Contact page ───────────────────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0 3rem;
}

.contact-info-card {
    background: linear-gradient(145deg, var(--ink) 0%, #1d3461 100%);
    border-radius: 18px;
    padding: 1.75rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    position: sticky;
    top: 90px;
}

.contact-info-card h2 {
    margin: 0 0 0.25rem;
    font-family: 'Fraunces', serif;
    color: #fff;
    font-size: 1.3rem;
}

.contact-info-card > p {
    color: #94a3b8;
    margin: 0 0 0.5rem;
    font-size: 0.93rem;
}

/* ─── Checkout page ──────────────────────────────────────────── */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0 3rem;
}

.order-summary-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}

.order-summary-card h2 {
    margin: 0 0 1rem;
    font-family: 'Fraunces', serif;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.order-summary-card h2 i {
    color: var(--sea);
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(243, 211, 77, 0.5);
    gap: 0.75rem;
}

.order-row:last-child {
    border-bottom: none;
}

.order-row-label {
    color: #475569;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.order-row-label i {
    color: #94a3b8;
    width: 1rem;
    text-align: center;
}

.order-row-value {
    font-weight: 700;
    font-size: 0.9rem;
    text-align: right;
}

.order-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 2px solid var(--line) !important;
}

.order-total .order-row-label {
    color: var(--ink);
    font-weight: 700;
    font-size: 0.95rem;
}

.order-total .order-row-value {
    color: var(--accent);
    font-size: 1.15rem;
}

/* ─── Confirmation page ──────────────────────────────────────── */

.confirmation-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin: 2rem 0 3rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    max-width: 640px;
}

.confirmation-header {
    background: linear-gradient(135deg, var(--ink) 0%, #1d3461 100%);
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.confirmation-icon {
    font-size: 2.75rem;
    color: #4ade80;
    margin-bottom: 0.75rem;
}

.confirmation-header h2 {
    margin: 0 0 0.35rem;
    font-family: 'Fraunces', serif;
    color: #fff;
    font-size: 1.5rem;
}

.confirmation-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.93rem;
}

.confirmation-body {
    padding: 1.5rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 1rem;
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-label {
    color: #64748b;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.receipt-label i {
    color: #94a3b8;
    width: 1rem;
    text-align: center;
}

.receipt-value {
    font-weight: 600;
    font-size: 0.92rem;
    text-align: right;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #fef9c3;
    color: #854d0e;
}

/* ─── Footer redesign ────────────────────────────────────────── */

.site-footer {
    margin-top: 3rem;
    border-top: none;
    background: #fffdf3;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.6fr;
    gap: 2.5rem;
    padding: 2.5rem 0 1.75rem;
    border-top: 1px solid var(--line);
}

.footer-brand .brand {
    display: inline-flex;
    margin-bottom: 0.7rem;
}

.footer-tagline {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.65;
    max-width: 260px;
}

.footer-col h4 {
    margin: 0 0 0.85rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94a3b8;
    font-weight: 700;
}

.footer-col a,
.footer-col p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    line-height: 1.45;
    margin: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

.footer-col a:hover {
    color: var(--sea);
}

.footer-col i {
    color: #94a3b8;
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    background: #fff7cc;
    padding: 0.85rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.83rem;
    color: #64748b;
}

/* ─── Rental detail page ─────────────────────────────────────── */

.rental-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin: 2rem 0 3rem;
}

.rental-img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    display: block;
}

.rental-info-strip {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1rem;
}

.rental-info-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: #475569;
}

.rental-info-item i {
    color: var(--sea);
    width: 1rem;
    text-align: center;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE OVERRIDES
   These MUST be at the end of the file so they cascade correctly
   over any base styles defined above.
───────────────────────────────────────────────────────────────── */

@media (max-width: 900px) {

    /* CTA band: single column on tablets */
    .cta-band-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-band {
        padding: 2rem 1.5rem;
    }

    .cta-band-contact .button {
        width: 100%;
    }

    /* Footer: brand full-width, links + contact in two columns */
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    /* Inner layouts: single column on tablets */
    .contact-layout,
    .checkout-layout,
    .rental-layout {
        grid-template-columns: 1fr;
    }

    .contact-info-card,
    .order-summary-card {
        position: static;
    }
}

@media (max-width: 720px) {

    /* Hero */
    .hero-image {
        height: calc(380px + var(--nav-h));
    }

    /* CTA band */
    .cta-band {
        padding: 1.5rem 1.1rem;
        border-radius: 16px;
        margin: 1.5rem 0 2rem;
    }

    .cta-band-inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-link {
        white-space: normal;
        word-break: break-all;
    }

    /* Footer: single column */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem 0 1rem;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-tagline {
        max-width: 100%;
    }

    /* Rental layout */
    .rental-layout {
        grid-template-columns: 1fr;
        margin-top: 1.25rem;
    }

    /* Order/receipt rows */
    .order-row,
    .receipt-row {
        flex-wrap: wrap;
        gap: 0.2rem;
    }

    .order-row-value,
    .receipt-value {
        text-align: left;
    }

    /* Form panel */
    .form-panel {
        padding: 1rem;
    }

    /* Page actions */
    .page-actions {
        flex-direction: column;
    }

    .page-actions .button {
        width: 100%;
        margin-left: 0 !important;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
        gap: 0.45rem;
    }

    /* Confirmation */
    .confirmation-card {
        margin: 1.25rem 0 2rem;
    }
}

