/* ==========================================================================
   LaCasa Events — front-end design system (Bootstrap 5.3 companion)
   One stylesheet for every public page. Pages should not redefine tokens.
   ========================================================================== */

:root {
    --lc-ink: #16130f;
    --lc-ink-2: #2b2621;
    --lc-text: #4a443d;
    --lc-muted: #7a7268;
    --lc-ivory: #fbf8f3;
    --lc-sand: #f4eee4;
    --lc-line: #e7dfd2;
    --lc-white: #ffffff;
    --lc-gold: #b28f4c;
    --lc-gold-deep: #8b6d32;   /* gold for small text on light backgrounds */
    --lc-gold-soft: #dcc8a0;
    --lc-danger: #a63d32;

    --lc-font-display: 'Cormorant Garamond', 'Times New Roman', serif;
    --lc-font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --lc-radius-sm: 4px;
    --lc-radius: 8px;
    --lc-shadow-sm: 0 1px 2px rgba(22, 19, 15, .04), 0 4px 12px rgba(22, 19, 15, .04);
    --lc-shadow: 0 2px 6px rgba(22, 19, 15, .04), 0 18px 40px -12px rgba(22, 19, 15, .14);
    --lc-ease: cubic-bezier(.22, .61, .36, 1);
    --lc-nav-h: 84px;

    /* Bootstrap overrides */
    --bs-body-font-family: var(--lc-font-body);
    --bs-body-color: var(--lc-text);
    --bs-body-bg: var(--lc-ivory);
    --bs-link-color-rgb: 139, 109, 50;
    --bs-link-hover-color-rgb: 22, 19, 15;
    --bs-border-color: var(--lc-line);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--lc-nav-h) + 16px); }
body {
    font-family: var(--lc-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--lc-text);
    background: var(--lc-ivory);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, .lc-display {
    font-family: var(--lc-font-display);
    font-weight: 600;
    color: var(--lc-ink);
    line-height: 1.12;
    letter-spacing: -0.01em;
    font-variant-numeric: lining-nums;
}
.lc-step__num, .lc-stat__num, .lc-service__index, .lc-captcha__q, .lc-toast strong { font-variant-numeric: lining-nums; }
h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
p { margin-bottom: 1.1rem; }
a { text-decoration: none; transition: color .2s var(--lc-ease); }
img { max-width: 100%; }
::selection { background: var(--lc-gold-soft); color: var(--lc-ink); }
:focus-visible { outline: 2px solid var(--lc-gold); outline-offset: 3px; }

.text-gold { color: var(--lc-gold) !important; }
.lc-lead { font-size: 1.125rem; color: var(--lc-muted); max-width: 40rem; }

/* ---------- Eyebrow / section headings ---------- */
.lc-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    font-family: var(--lc-font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--lc-gold-deep);
    margin-bottom: 1rem;
}
.lc-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: currentColor;
}
.lc-on-dark .lc-eyebrow, .lc-eyebrow.is-light { color: var(--lc-gold-soft); }

.lc-section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.lc-section--sand { background: var(--lc-sand); }
.lc-section--white { background: var(--lc-white); }
.lc-section--ink { background: var(--lc-ink); color: rgba(255, 255, 255, .72); }
.lc-section--ink h2, .lc-section--ink h3 { color: var(--lc-white); }

.lc-section-head { max-width: 44rem; margin: 0 auto 3.5rem; text-align: center; }
.lc-section-head .lc-eyebrow::after { content: ''; width: 32px; height: 1px; background: currentColor; }
.lc-section-head p { color: var(--lc-muted); margin: 1rem auto 0; }
.lc-section-head--left { margin-left: 0; text-align: left; }
.lc-section-head--left .lc-eyebrow::after { display: none; }

/* ---------- Buttons ---------- */
.btn-lc {
    --lc-btn-bg: var(--lc-ink);
    --lc-btn-fg: var(--lc-white);
    --lc-btn-border: var(--lc-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.9rem;
    font-family: var(--lc-font-body);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.2;
    color: var(--lc-btn-fg);
    background: var(--lc-btn-bg);
    border: 1px solid var(--lc-btn-border);
    border-radius: var(--lc-radius-sm);
    cursor: pointer;
    transition: background-color .25s var(--lc-ease), color .25s var(--lc-ease), border-color .25s var(--lc-ease), transform .25s var(--lc-ease);
}
.btn-lc i { font-size: 1rem; transition: transform .25s var(--lc-ease); }
.btn-lc:hover { color: var(--lc-ink); background: var(--lc-gold); border-color: var(--lc-gold); }
.btn-lc:hover i { transform: translateX(3px); }
.btn-lc:active { transform: translateY(1px); }

.btn-lc--gold { --lc-btn-bg: var(--lc-gold); --lc-btn-fg: var(--lc-ink); --lc-btn-border: var(--lc-gold); }
.btn-lc--gold:hover { color: var(--lc-ink); background: var(--lc-white); border-color: var(--lc-white); }

.btn-lc--outline { --lc-btn-bg: transparent; --lc-btn-fg: var(--lc-ink); --lc-btn-border: var(--lc-ink); }
.btn-lc--outline:hover { color: var(--lc-white); background: var(--lc-ink); border-color: var(--lc-ink); }

.btn-lc--light { --lc-btn-bg: transparent; --lc-btn-fg: var(--lc-white); --lc-btn-border: rgba(255, 255, 255, .6); }
.btn-lc--light:hover { color: var(--lc-ink); background: var(--lc-white); border-color: var(--lc-white); }

.btn-lc--block { width: 100%; }

.lc-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lc-ink);
    background: none;
    border: 0;
    padding: 0;
    border-bottom: 1px solid var(--lc-gold);
    padding-bottom: 2px;
}
.lc-link:hover { color: var(--lc-gold-deep); }

/* ---------- Navigation ---------- */
.lc-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1030;
    min-height: var(--lc-nav-h);
    display: flex;
    align-items: center;
    padding: 0;
    background: transparent;
    transition: background-color .35s var(--lc-ease), box-shadow .35s var(--lc-ease), min-height .35s var(--lc-ease);
}
.lc-nav::before {   /* soft top scrim so links stay readable over bright hero photos */
    content: '';
    position: absolute;
    inset: 0 0 -40px 0;
    background: linear-gradient(180deg, rgba(10, 8, 6, .55), rgba(10, 8, 6, 0));
    pointer-events: none;
    transition: opacity .35s var(--lc-ease);
}
.lc-nav.is-scrolled {
    --lc-nav-h: 68px;
    background: rgba(22, 19, 15, .96);
    backdrop-filter: saturate(140%) blur(10px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -10px rgba(0, 0, 0, .35);
}
.lc-nav.is-scrolled::before { opacity: 0; }
.lc-nav .container { position: relative; }

.lc-brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--lc-font-display);
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--lc-white);
    line-height: 1;
}
.lc-brand span { color: var(--lc-gold-soft); font-style: italic; }
.lc-brand:hover { color: var(--lc-white); }
.lc-brand img { height: 44px; width: auto; }

.lc-nav .nav-link {
    position: relative;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
    padding: .5rem 1rem !important;
}
.lc-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .2rem;
    height: 1px;
    background: var(--lc-gold-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--lc-ease);
}
.lc-nav .nav-link:hover, .lc-nav .nav-link.active { color: var(--lc-white); }
.lc-nav .nav-link:hover::after, .lc-nav .nav-link.active::after { transform: scaleX(1); }
.lc-nav .btn-lc { padding: .75rem 1.3rem; font-size: .72rem; }

.lc-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: var(--lc-radius-sm);
    padding: .45rem .6rem;
    color: var(--lc-white);
}
.lc-nav .navbar-toggler:focus { box-shadow: 0 0 0 2px var(--lc-gold); }
.lc-nav .navbar-toggler i { font-size: 1.5rem; line-height: 1; display: block; }

@media (max-width: 991.98px) {
    :root { --lc-nav-h: 72px; }
    .lc-nav .navbar-collapse {
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        background: var(--lc-ink);
        border: 1px solid rgba(255, 255, 255, .08);
        border-radius: var(--lc-radius);
        padding: 1rem;
        box-shadow: var(--lc-shadow);
    }
    .lc-nav .nav-link { padding: .9rem .5rem !important; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .lc-nav .nav-link::after { display: none; }
    .lc-nav .nav-link.active { color: var(--lc-gold-soft); }
    .lc-nav .btn-lc { width: 100%; margin-top: 1rem; }
}

/* ---------- Heroes ---------- */
.lc-hero, .lc-page-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    color: var(--lc-white);
    background-color: var(--lc-ink);
    background-size: cover;
    background-position: center;
}
.lc-hero::before, .lc-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(14, 11, 8, .82) 0%, rgba(14, 11, 8, .55) 45%, rgba(14, 11, 8, .2) 100%),
        linear-gradient(0deg, rgba(14, 11, 8, .55) 0%, rgba(14, 11, 8, 0) 40%);
}
.lc-hero h1, .lc-page-hero h1 { color: var(--lc-white); }

.lc-hero { min-height: min(100vh, 960px); min-height: min(100svh, 960px); align-items: center; padding: calc(var(--lc-nav-h) + 3rem) 0 6rem; }
.lc-hero__content { max-width: 42rem; }
.lc-hero h1 { font-size: clamp(3rem, 7.5vw, 6rem); font-weight: 500; margin-bottom: 1.5rem; }
.lc-hero h1 em { font-style: italic; color: var(--lc-gold-soft); }
.lc-hero p { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .82); max-width: 34rem; margin-bottom: 2.5rem; }
.lc-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.lc-hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    font-size: .68rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
}
.lc-hero__scroll::after {
    content: '';
    width: 1px;
    height: 44px;
    background: linear-gradient(var(--lc-gold-soft), transparent);
    animation: lc-scroll-cue 2.2s var(--lc-ease) infinite;
    transform-origin: top;
}
@keyframes lc-scroll-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.lc-page-hero { min-height: 56vh; align-items: flex-end; padding: calc(var(--lc-nav-h) + 4rem) 0 4rem; }
.lc-page-hero h1 { margin-bottom: .75rem; }
.lc-page-hero p { color: rgba(255, 255, 255, .78); max-width: 36rem; margin: 0; font-size: 1.1rem; }
.lc-breadcrumb {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 1.25rem;
    list-style: none;
    padding: 0;
}
.lc-breadcrumb a { color: var(--lc-gold-soft); }
.lc-breadcrumb a:hover { color: var(--lc-white); }
.lc-breadcrumb li + li::before { content: '/'; margin-right: .6rem; color: rgba(255, 255, 255, .35); }

/* ---------- Panels & forms ---------- */
.lc-panel {
    background: var(--lc-white);
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-radius);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: var(--lc-shadow);
    position: relative;
}
.lc-panel--accent::before {
    content: '';
    position: absolute;
    top: -1px;
    left: clamp(1.75rem, 4vw, 2.75rem);
    width: 56px;
    height: 3px;
    background: var(--lc-gold);
}
.lc-panel h2, .lc-panel h3 { margin-bottom: .5rem; }
.lc-panel__intro { color: var(--lc-muted); font-size: .95rem; margin-bottom: 2rem; }

.lc-form .form-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lc-ink-2);
    margin-bottom: .5rem;
}
.lc-form .form-control, .lc-form .form-select {
    min-height: 52px;
    padding: .75rem 1rem;
    font-size: .975rem;
    color: var(--lc-ink);
    background-color: var(--lc-ivory);
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-radius-sm);
    transition: border-color .2s var(--lc-ease), box-shadow .2s var(--lc-ease), background-color .2s var(--lc-ease);
}
.lc-form textarea.form-control { min-height: 150px; resize: vertical; }
.lc-form .form-control::placeholder { color: #a9a196; }
.lc-form .form-control:focus, .lc-form .form-select:focus {
    background-color: var(--lc-white);
    border-color: var(--lc-gold);
    box-shadow: 0 0 0 4px rgba(178, 143, 76, .15);
}
.lc-form .is-invalid { border-color: var(--lc-danger) !important; }
.lc-form .invalid-feedback { display: block; color: var(--lc-danger); font-size: .82rem; }
.lc-form input[type="date"] { cursor: pointer; }
.lc-form__note { font-size: .8rem; color: var(--lc-muted); margin: 1rem 0 0; display: flex; align-items: center; gap: .5rem; }

.lc-panel.is-highlighted { animation: lc-highlight 1.6s var(--lc-ease); }
@keyframes lc-highlight {
    0% { box-shadow: 0 0 0 0 rgba(178, 143, 76, .55), var(--lc-shadow); }
    60% { box-shadow: 0 0 0 14px rgba(178, 143, 76, 0), var(--lc-shadow); }
    100% { box-shadow: var(--lc-shadow); }
}

/* ---------- Process steps ---------- */
.lc-steps { list-style: none; padding: 0; margin: 2.5rem 0; display: grid; gap: 0; }
.lc-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 1.25rem;
    padding: 1.6rem 0;
    border-top: 1px solid var(--lc-line);
}
.lc-step:last-child { border-bottom: 1px solid var(--lc-line); }
.lc-step__num {
    font-family: var(--lc-font-display);
    font-size: 2.6rem;
    font-weight: 500;
    line-height: 1;
    color: var(--lc-gold);
}
.lc-step h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.lc-step p { margin: 0; color: var(--lc-muted); }

/* ---------- Vehicle cards ---------- */
.lc-car {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--lc-white);
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-radius);
    overflow: hidden;
    transition: box-shadow .35s var(--lc-ease), transform .35s var(--lc-ease);
}
.lc-car:hover { box-shadow: var(--lc-shadow); transform: translateY(-4px); }
.lc-car__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--lc-sand);
    border: 0;
    padding: 0;
    cursor: zoom-in;
}
.lc-car__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--lc-ease); }
.lc-car:hover .lc-car__media img { transform: scale(1.05); }
.lc-car__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: .35rem .75rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lc-ink);
    background: rgba(255, 255, 255, .92);
    border-radius: 2px;
}
.lc-car__body { padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.lc-car__body h3 { font-size: 1.65rem; margin-bottom: 1rem; }
.lc-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.5rem; padding: 1rem 0; border-top: 1px solid var(--lc-line); border-bottom: 1px solid var(--lc-line); }
.lc-specs dt { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lc-muted); }
.lc-specs dd { margin: .15rem 0 0; font-size: .92rem; font-weight: 600; color: var(--lc-ink); overflow-wrap: anywhere; }
.lc-car__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lc-car__actions .btn-lc { padding: .8rem 1.3rem; }

/* ---------- Split (image + copy) ---------- */
.lc-split__media { position: relative; padding: 0 1.5rem 1.5rem 0; }
.lc-split__media::before {
    content: '';
    position: absolute;
    inset: 1.5rem 0 0 1.5rem;
    border: 1px solid var(--lc-gold);
    border-radius: var(--lc-radius);
}
.lc-split__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--lc-radius); box-shadow: var(--lc-shadow); }
.lc-prose { color: var(--lc-text); }
.lc-prose p:last-child { margin-bottom: 0; }

/* ---------- Services ---------- */
.lc-service {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--lc-white);
    border: 1px solid var(--lc-line);
    border-radius: var(--lc-radius);
    overflow: hidden;
    transition: border-color .3s var(--lc-ease), box-shadow .3s var(--lc-ease), transform .3s var(--lc-ease);
}
.lc-service:hover { border-color: var(--lc-gold-soft); box-shadow: var(--lc-shadow); transform: translateY(-4px); }
.lc-service__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--lc-sand); }
.lc-service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--lc-ease); }
.lc-service:hover .lc-service__img img { transform: scale(1.05); }
.lc-service__body { padding: 2rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.lc-service__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.lc-service__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    color: var(--lc-gold-deep);
    border: 1px solid var(--lc-gold-soft);
    border-radius: 50%;
}
.lc-service__index { font-family: var(--lc-font-display); font-size: 1.3rem; color: var(--lc-gold); }
.lc-service h3 { font-size: 1.55rem; margin-bottom: .6rem; }
.lc-service p { color: var(--lc-muted); font-size: .95rem; }
.lc-service__price { font-size: .8rem; font-weight: 600; color: var(--lc-gold-deep); margin-bottom: 1.25rem; }
.lc-service .lc-link { margin-top: auto; align-self: flex-start; }

/* ---------- CTA band ---------- */
.lc-cta {
    position: relative;
    isolation: isolate;
    padding: clamp(5rem, 11vw, 8.5rem) 0;
    color: var(--lc-white);
    text-align: center;
    background-color: var(--lc-ink);
    background-size: cover;
    background-position: center;
}
.lc-cta::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(14, 11, 8, .68); }
.lc-cta h2 { color: var(--lc-white); max-width: 46rem; margin: 0 auto 1rem; }
.lc-cta p { color: rgba(255, 255, 255, .78); max-width: 34rem; margin: 0 auto 2.5rem; font-size: 1.1rem; }
.lc-cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---------- Stats ---------- */
.lc-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.lc-stat { padding: 1rem 2rem; text-align: center; }
.lc-stat + .lc-stat { border-left: 1px solid rgba(255, 255, 255, .12); }
.lc-stat__num { font-family: var(--lc-font-display); font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 500; line-height: 1; color: var(--lc-gold-soft); }
.lc-stat__num sup { font-size: .5em; top: -.8em; margin-left: 2px; }
.lc-stat__label { margin-top: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .65); }
@media (max-width: 767.98px) {
    .lc-stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
    .lc-stat:nth-child(3) { border-left: 0; }
    .lc-stat { padding: 0 1rem; }
}

/* ---------- Gallery ---------- */
.lc-gallery { columns: 3 280px; column-gap: 1.25rem; }
.lc-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 1.25rem;
    padding: 0;
    border: 0;
    border-radius: var(--lc-radius);
    overflow: hidden;
    background: var(--lc-sand);
    break-inside: avoid;
    cursor: zoom-in;
}
.lc-gallery__item img { display: block; width: 100%; height: auto; transition: transform .8s var(--lc-ease); }
.lc-gallery__item::after {
    content: '\F52A';   /* bi-zoom-in */
    font-family: 'bootstrap-icons';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: var(--lc-white);
    background: rgba(14, 11, 8, .45);
    opacity: 0;
    transition: opacity .35s var(--lc-ease);
}
.lc-gallery__item:hover img, .lc-gallery__item:focus-visible img { transform: scale(1.04); }
.lc-gallery__item:hover::after, .lc-gallery__item:focus-visible::after { opacity: 1; }

.lc-lightbox .modal-content { background: rgba(10, 8, 6, .97); border: 0; border-radius: 0; }
.lc-lightbox .carousel-item { height: 100vh; height: 100svh; }
.lc-lightbox .carousel-item img { width: 100%; height: 100%; object-fit: contain; padding: 4rem 1rem; }
.lc-lightbox .lc-lightbox__close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 5;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--lc-white);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    font-size: 1.4rem;
}
.lc-lightbox .lc-lightbox__close:hover { background: var(--lc-white); color: var(--lc-ink); }
.lc-lightbox .carousel-control-prev, .lc-lightbox .carousel-control-next { width: 10%; }
.lc-lightbox__count { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); font-size: .75rem; letter-spacing: .2em; color: rgba(255, 255, 255, .7); z-index: 5; }

/* ---------- Contact ---------- */
.lc-contact-list { list-style: none; padding: 0; margin: 0; }
.lc-contact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--lc-line); }
.lc-contact-list li:first-child { border-top: 1px solid var(--lc-line); }
.lc-contact-list__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.25rem; color: var(--lc-gold-deep); border: 1px solid var(--lc-gold-soft); border-radius: 50%; }
.lc-contact-list small { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lc-muted); margin-bottom: .2rem; }
.lc-contact-list a, .lc-contact-list p { margin: 0; color: var(--lc-ink); font-weight: 600; overflow-wrap: anywhere; }
.lc-contact-list a:hover { color: var(--lc-gold-deep); }

.lc-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.25rem; background: var(--lc-sand); border-radius: var(--lc-radius-sm); }
.lc-captcha__q { font-family: var(--lc-font-display); font-size: 1.6rem; font-weight: 600; color: var(--lc-ink); min-width: 6rem; }
.lc-captcha .form-control { max-width: 170px; background: var(--lc-white); }

/* ---------- Modal (vehicle details) ---------- */
.lc-modal .modal-content { border: 0; border-radius: var(--lc-radius); overflow: hidden; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); }
.lc-modal .lc-modal__media { position: relative; background: var(--lc-sand); }
.lc-modal .lc-modal__media img { width: 100%; height: 100%; max-height: 70vh; object-fit: cover; display: block; }
.lc-modal .btn-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 40px; height: 40px; background-color: var(--lc-white); background-size: 12px; border-radius: 50%; opacity: 1; box-shadow: var(--lc-shadow-sm); }
.lc-modal .lc-modal__body { padding: 2.25rem; }
.lc-modal h3 { font-size: 2rem; margin-bottom: 1.25rem; }

/* ---------- Toast (flash messages) ---------- */
.lc-toast {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1090;
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 1rem;
    align-items: start;
    width: min(420px, calc(100vw - 2rem));
    padding: 1.25rem 1.25rem 1.25rem 1.1rem;
    color: rgba(255, 255, 255, .8);
    background: var(--lc-ink);
    border-left: 3px solid var(--lc-gold);
    border-radius: var(--lc-radius-sm);
    box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .45);
    animation: lc-toast-in .5s var(--lc-ease) both;
}
.lc-toast.is-hiding { animation: lc-toast-out .4s var(--lc-ease) both; }
.lc-toast__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: rgba(178, 143, 76, .18); color: var(--lc-gold-soft); font-size: 1.3rem; }
.lc-toast strong { display: block; font-family: var(--lc-font-display); font-size: 1.35rem; font-weight: 600; color: var(--lc-white); line-height: 1.2; margin-bottom: .2rem; }
.lc-toast p { margin: 0; font-size: .9rem; line-height: 1.5; }
.lc-toast button { background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: 1.1rem; padding: 0; line-height: 1; }
.lc-toast button:hover { color: var(--lc-white); }
@keyframes lc-toast-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes lc-toast-out { to { opacity: 0; transform: translateY(20px); } }

/* ---------- Footer ---------- */
.lc-footer { background: var(--lc-ink); color: rgba(255, 255, 255, .62); padding: clamp(4rem, 8vw, 6rem) 0 0; font-size: .95rem; }
.lc-footer .lc-brand { font-size: 2.2rem; margin-bottom: 1.25rem; }
.lc-footer h4 { font-family: var(--lc-font-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--lc-gold-soft); margin-bottom: 1.5rem; }
.lc-footer ul { list-style: none; padding: 0; margin: 0; }
.lc-footer li { margin-bottom: .8rem; }
.lc-footer a { color: rgba(255, 255, 255, .78); }
.lc-footer a:hover { color: var(--lc-gold-soft); }
.lc-footer__contact li { display: flex; gap: .85rem; align-items: flex-start; }
.lc-footer__contact i { color: var(--lc-gold); margin-top: .2rem; }
.lc-social { display: flex; gap: .6rem; margin-top: 1.75rem; }
.lc-social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; color: rgba(255, 255, 255, .85); transition: all .25s var(--lc-ease); }
.lc-social a:hover { background: var(--lc-gold); border-color: var(--lc-gold); color: var(--lc-ink); }
.lc-footer__bottom { margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.75rem 0; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: rgba(255, 255, 255, .45); }

.lc-whatsapp {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1080;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: var(--lc-white);
    background: #1f9d55;
    border-radius: 50%;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4);
    transition: transform .25s var(--lc-ease);
}
.lc-whatsapp:hover { color: var(--lc-white); transform: translateY(-3px); }
.lc-toast ~ .lc-whatsapp { display: none; }

/* ---------- Empty state ---------- */
.lc-empty { text-align: center; padding: 4rem 1rem; color: var(--lc-muted); border: 1px dashed var(--lc-line); border-radius: var(--lc-radius); }
.lc-empty i { display: block; font-size: 2rem; color: var(--lc-gold); margin-bottom: .75rem; }

/* ---------- Reveal on scroll (only when JS is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--lc-ease), transform .9s var(--lc-ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* Small screens: text spans the full width, so darken the hero photo evenly */
@media (max-width: 767.98px) {
    .lc-hero::before, .lc-page-hero::before {
        background: linear-gradient(180deg, rgba(14, 11, 8, .55) 0%, rgba(14, 11, 8, .62) 50%, rgba(14, 11, 8, .78) 100%);
    }
}
