/* Urban Living public website. Colours come from theme.css only. */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body { font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--color-navy); font-weight: 700; letter-spacing: -0.01em; }
a { color: var(--color-navy-light); }
a:hover { color: var(--color-gold-dark); }
:focus-visible { outline: none; box-shadow: var(--focus-ring) !important; border-radius: 4px; }
img { max-width: 100%; height: auto; }
/* Safety net against sideways scrolling on phones; "clip" (unlike "hidden") keeps the sticky header working. */
body { overflow-x: clip; }
/* Bootstrap's wide gutters (g-5) are wider than a full-width container's padding on phones, which pushed
   every such row 12px past both screen edges. Use the standard gutter there instead. */
@media (max-width: 575.98px) { .g-5, .gx-5 { --bs-gutter-x: 1.5rem; } }

.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 2000; background: var(--color-navy); color: var(--color-text-inverse); padding: .6rem 1rem; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; color: var(--color-text-inverse); }

/* Buttons */
.btn { border-radius: 999px; font-weight: 600; padding: .65rem 1.4rem; letter-spacing: .01em; }
.btn-sm { padding: .4rem 1rem; }
.btn-primary {
    --bs-btn-bg: var(--color-navy-light); --bs-btn-border-color: var(--color-navy-light);
    --bs-btn-hover-bg: var(--color-navy-dark); --bs-btn-hover-border-color: var(--color-navy-dark);
    --bs-btn-active-bg: var(--color-navy-dark); --bs-btn-active-border-color: var(--color-navy-dark);
    --bs-btn-disabled-bg: var(--color-navy-light); --bs-btn-disabled-border-color: var(--color-navy-light);
}
.btn-gold {
    --bs-btn-color: var(--color-navy-dark); --bs-btn-bg: var(--color-gold); --bs-btn-border-color: var(--color-gold);
    --bs-btn-hover-color: var(--color-navy-dark); --bs-btn-hover-bg: var(--color-gold-light); --bs-btn-hover-border-color: var(--color-gold-light);
    --bs-btn-active-color: var(--color-navy-dark); --bs-btn-active-bg: var(--color-gold-light); --bs-btn-active-border-color: var(--color-gold-light);
}
.btn-outline-light { --bs-btn-hover-color: var(--color-navy); }
.btn-outline-primary {
    --bs-btn-color: var(--color-navy-light); --bs-btn-border-color: var(--color-navy-light);
    --bs-btn-hover-bg: var(--color-navy-light); --bs-btn-hover-border-color: var(--color-navy-light);
    --bs-btn-active-bg: var(--color-navy-dark); --bs-btn-active-border-color: var(--color-navy-dark);
}
.btn .spinner-border { width: 1rem; height: 1rem; border-width: .15em; vertical-align: -2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1030; background: var(--color-navy); transition: background-color .3s ease, box-shadow .3s ease; }
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; }
.site-header.is-overlay.is-scrolled, .site-header.is-scrolled { background: var(--color-navy); box-shadow: var(--shadow); }
.site-header .navbar { min-height: var(--header-height); padding: .5rem 0; }
.site-header .navbar-brand img { height: 52px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .navbar-brand img { height: 44px; }
.site-header .nav-link { color: rgba(255, 255, 255, .88); font-weight: 500; padding: .5rem .9rem !important; position: relative; }
.site-header .nav-link:hover, .site-header .nav-link:focus { color: var(--color-text-inverse); }
.site-header .nav-link.active { color: var(--color-gold); }
.site-header .nav-link.active::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .2rem; height: 2px; background: var(--color-gold); border-radius: 2px; }
.site-header .navbar-toggler { border-color: rgba(255, 255, 255, .4); padding: .4rem .6rem; }
.site-header .navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { background: var(--color-navy); margin: 0 -12px; padding: .5rem 12px 1rem; border-radius: 0 0 var(--radius) var(--radius); }
    .site-header .nav-link.active::after { display: none; }
    .site-header .navbar-brand { margin-right: .5rem; }
    .site-header .navbar-brand img, .site-header.is-scrolled .navbar-brand img { height: 50px; }
    .site-header .navbar-toggler { padding: .3rem .5rem; }
    .site-header .navbar-toggler-icon { width: 1.3em; height: 1.3em; }
}
@media (max-width: 359.98px) {
    .site-header .navbar-brand img, .site-header.is-scrolled .navbar-brand img { height: 42px; }
}

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--color-text-inverse); overflow: hidden; background: var(--color-navy) center / cover no-repeat; }
.hero-media, .hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 26, 51, .55) 0%, rgba(21, 26, 51, .35) 45%, rgba(21, 26, 51, .85) 100%); }
.hero .container { position: relative; z-index: 1; padding-top: calc(var(--header-height) + 2rem); padding-bottom: 4rem; }
.hero h1 { color: var(--color-text-inverse); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.08; max-width: 14ch; }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 40rem; color: rgba(255, 255, 255, .9); }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: var(--tracking-wide); font-size: .78rem; font-weight: 700; color: var(--color-gold-dark); margin-bottom: .75rem; }
.hero .eyebrow, .on-dark .eyebrow { color: var(--color-gold); }

.page-hero { position: relative; color: var(--color-text-inverse); background: var(--color-navy) center / cover no-repeat; padding: 4.5rem 0 3.5rem; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 26, 51, .92), rgba(21, 26, 51, .6)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--color-text-inverse); font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p { color: rgba(255, 255, 255, .85); max-width: 44rem; margin: 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .8); margin-bottom: .75rem; font-size: .9rem; }
.breadcrumb a { color: var(--color-gold); text-decoration: none; }

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-soft { background: var(--color-bg-soft); }
.section-dark { background: var(--color-navy); color: rgba(255, 255, 255, .88); }
.section-dark h2, .section-dark h3 { color: var(--color-text-inverse); }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.section-intro { color: var(--color-text-muted); font-size: 1.08rem; max-width: 42rem; }
@media (max-width: 767.98px) { .section { padding: 3.5rem 0; } }

/* Highlights strip */
.highlights { margin-top: -3.5rem; position: relative; z-index: 2; }
.highlight-card { background: var(--color-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: center; height: 100%; }
.highlight-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--color-gold-light); color: var(--color-gold-dark); font-size: 1.35rem; }
.highlight-card strong { display: block; color: var(--color-navy); }
.highlight-card span { color: var(--color-text-muted); font-size: .92rem; }
/* Two cards per row on phones: stack the icon above the text so the text gets the card's full width. */
@media (max-width: 575.98px) {
    .highlight-card { flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1rem; }
    .highlight-icon { flex-basis: auto; width: 40px; height: 40px; font-size: 1.15rem; }
    .highlight-card strong { font-size: .95rem; line-height: 1.3; }
    .highlight-card span { font-size: .85rem; }
}

/* Collection cards (home) */
.collection-card { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--color-text-inverse); text-decoration: none; aspect-ratio: 15 / 8; background: var(--color-navy); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 26, 51, 0) 35%, rgba(21, 26, 51, .9) 100%); }
.collection-card:hover img { transform: scale(1.04); }
.collection-card .collection-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.75rem; }
.collection-card h3 { color: var(--color-text-inverse); margin-bottom: .35rem; font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.collection-card p { color: rgba(255, 255, 255, .85); margin-bottom: 1rem; }
.collection-card:hover { color: var(--color-text-inverse); }

/* Feature list */
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature i { color: var(--color-gold-dark); font-size: 1.5rem; line-height: 1; margin-top: .15rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.feature p { color: var(--color-text-muted); margin: 0; font-size: .95rem; }

.image-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Attractions */
.attraction-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; height: 100%; transition: box-shadow .25s ease, transform .25s ease; }
.attraction-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.attraction-card .attraction-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--color-navy); color: var(--color-gold); font-size: 1.4rem; margin-bottom: 1rem; }
.attraction-card h3 { font-size: 1.2rem; }
.attraction-card ul { padding-left: 1.1rem; margin: 0; color: var(--color-text-muted); }
.attraction-card li { margin-bottom: .45rem; }
.attraction-card li strong { color: var(--color-text); font-weight: 600; }

.banner-strip { height: clamp(90px, 14vw, 220px); background: var(--color-navy) center / cover no-repeat; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--color-navy) 0%, var(--color-navy-light) 100%); border-radius: var(--radius-lg); padding: 3rem; color: rgba(255, 255, 255, .9); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--color-text-inverse); }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border: 2px solid rgba(212, 169, 96, .35); border-radius: 50%; }
@media (max-width: 575.98px) { .cta-band { padding: 2rem 1.5rem; } }

/* Property search & listing */
.search-panel { background: var(--color-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem; margin-top: -2.25rem; position: relative; z-index: 2; }
.search-panel .form-control, .search-panel .form-select { border-radius: 999px; padding: .65rem 1.1rem; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: var(--color-gold); box-shadow: var(--focus-ring); }
.form-check-input:checked { background-color: var(--color-navy-light); border-color: var(--color-navy-light); }

.property-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s ease; }
.property-card:hover { box-shadow: var(--shadow); }
.property-card .property-media { position: relative; aspect-ratio: 4 / 3; background: var(--color-bg-muted); height: 100%; }
.property-card .carousel, .property-card .carousel-inner, .property-card .carousel-item { height: 100%; }
.property-card .carousel-item img, .property-card .property-media > img { width: 100%; height: 100%; object-fit: cover; }
/* When the photo sits directly in a full-height card (Daily & Monthly page), height: 100% plus aspect-ratio
   would size the box from the card's height and make it far wider than the card. */
.property-card > .property-media { height: auto; overflow: hidden; }
.property-card .property-media > picture, .property-card .property-media > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-card .property-body { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; height: 100%; }
.property-card h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.property-card h2 a { color: var(--color-navy); text-decoration: none; }
.property-card h2 a:hover { color: var(--color-gold-dark); }
.property-location { color: var(--color-text-muted); font-size: .93rem; }
.property-description { color: var(--color-text-muted); margin: 1rem 0; font-size: .96rem; }
.property-description p:last-child { margin-bottom: 0; }
.property-meta { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--color-bg-soft); border: 1px solid var(--color-border); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; color: var(--color-text); }
.badge-status { position: absolute; top: 1rem; left: 1rem; z-index: 3; border-radius: 999px; padding: .4rem .85rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.badge-promo { background: var(--color-promo); color: var(--color-text-inverse); }
.badge-soon { background: var(--color-gold); color: var(--color-navy-dark); }
.photo-count { position: absolute; right: 1rem; bottom: 1rem; z-index: 3; background: rgba(21, 26, 51, .75); color: var(--color-text-inverse); border-radius: 999px; padding: .25rem .7rem; font-size: .8rem; }

.price { color: var(--color-navy); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.price small { font-size: .82rem; font-weight: 500; color: var(--color-text-muted); }
.price-old { text-decoration: line-through; color: var(--color-text-muted); font-weight: 500; font-size: 1rem; margin-right: .35rem; }
.price-promo { color: var(--color-promo); }
.price-soon { color: var(--color-gold-dark); font-weight: 800; font-size: 1.25rem; }

/* Carousel controls */
.carousel-control-prev, .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); background: rgba(21, 26, 51, .55); border-radius: 50%; margin: 0 .6rem; opacity: 0; transition: opacity .2s ease; }
.property-card:hover .carousel-control-prev, .property-card:hover .carousel-control-next,
.carousel-control-prev:focus, .carousel-control-next:focus { opacity: 1; }
@media (hover: none) { .carousel-control-prev, .carousel-control-next { opacity: .9; } }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 1.1rem; height: 1.1rem; }

/* Property detail */
.gallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-bg-muted); cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main .gallery-open { position: absolute; right: 1rem; bottom: 1rem; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .6rem; margin-top: .75rem; }
.gallery-thumbs button { border: 2px solid transparent; padding: 0; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-bg-muted); }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--color-gold); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.content-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; }
.sticky-side { position: sticky; top: calc(var(--header-height) + 1rem); }
.rich-content h1, .rich-content h2, .rich-content h3, .rich-content h4 { font-size: 1.2rem; margin-top: 1.25rem; }
.rich-content table { width: 100%; margin-bottom: 1rem; }
.rich-content td, .rich-content th { padding: .35rem .5rem; border-bottom: 1px solid var(--color-border); }
.rich-content img { border-radius: var(--radius-sm); }
.rich-content ul { padding-left: 1.2rem; }

.accordion { --bs-accordion-border-color: var(--color-border); --bs-accordion-active-bg: var(--color-bg-soft); --bs-accordion-active-color: var(--color-navy); --bs-accordion-btn-focus-box-shadow: var(--focus-ring); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: var(--radius); }
.accordion-button { font-weight: 600; color: var(--color-navy); }

.map-embed { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--color-bg-muted); }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Calendar */
.availability-calendar { font-size: .85rem; }
.availability-calendar .fc .fc-toolbar-title { font-size: 1rem; color: var(--color-navy); }
.availability-calendar .fc .fc-button-primary { background: var(--color-navy-light); border-color: var(--color-navy-light); border-radius: var(--radius-sm); padding: .25rem .55rem; }
.availability-calendar .fc .fc-button-primary:disabled { background: var(--color-text-muted); border-color: var(--color-text-muted); }
.availability-calendar .fc .fc-bg-event { background: var(--color-booked); opacity: .28; }
.availability-calendar .fc .fc-daygrid-day.fc-day-today { background: var(--color-gold-light); }
.availability-calendar .fc .fc-daygrid-day-number { color: var(--color-text); text-decoration: none; }
.availability-calendar .fc .fc-col-header-cell-cushion { color: var(--color-text-muted); text-decoration: none; font-weight: 600; }
.availability-calendar .fc-view-harness { min-height: 280px; }
.legend { display: flex; gap: 1rem; font-size: .82rem; color: var(--color-text-muted); margin-top: .5rem; }
.legend span::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.legend .legend-booked::before { background: var(--color-booked); opacity: .45; }
.legend .legend-today::before { background: var(--color-gold-light); border: 1px solid var(--color-gold); }

/* Booking */
.estimate { background: var(--color-bg-soft); border-radius: var(--radius); padding: 1rem 1.25rem; }
.estimate dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; }
.estimate dt { font-weight: 500; color: var(--color-text-muted); }
.estimate dd { margin: 0; text-align: right; font-weight: 600; }
.estimate .estimate-total { border-top: 1px solid var(--color-border); padding-top: .5rem; margin-top: .25rem; color: var(--color-navy); font-size: 1.1rem; font-weight: 800; }
.form-label { font-weight: 600; color: var(--color-navy); }
.form-text { color: var(--color-text-muted); }
.required::after { content: " *"; color: var(--color-danger); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Alerts */
.alert { border-radius: var(--radius); border: 0; border-left: 4px solid; }
.alert-success { background: var(--color-success-bg); color: var(--color-success); border-left-color: var(--color-success); }
.alert-danger { background: var(--color-danger-bg); color: var(--color-danger); border-left-color: var(--color-danger); }
.alert-warning { background: var(--color-warning-bg); color: var(--color-warning); border-left-color: var(--color-gold); }
.alert-info { background: var(--color-info-bg); color: var(--color-info); border-left-color: var(--color-navy-light); }
.alert .alert-title { font-weight: 700; display: block; }
.alert ul { margin: .35rem 0 0; padding-left: 1.1rem; font-size: .9rem; }

/* Invoice embed */
.invoice-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.invoice-card table { width: 100%; }

/* Contact */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-bg); height: 100%; text-decoration: none; color: var(--color-text); transition: box-shadow .2s ease; }
a.contact-card:hover { box-shadow: var(--shadow); color: var(--color-text); }
.contact-card i { font-size: 1.4rem; color: var(--color-gold-dark); }
.contact-card strong { display: block; color: var(--color-navy); }
.contact-card span { color: var(--color-text-muted); font-size: .93rem; word-break: break-word; }

/* Terms */
.terms-nav { position: sticky; top: calc(var(--header-height) + 1rem); max-height: calc(100vh - var(--header-height) - 2rem); overflow-y: auto; }
.terms-nav a { display: block; padding: .3rem .75rem; color: var(--color-text-muted); text-decoration: none; border-left: 2px solid var(--color-border); font-size: .9rem; }
.terms-nav a:hover { color: var(--color-navy); border-left-color: var(--color-gold); }
.terms-content section { margin-bottom: 2rem; }
.terms-content h2 { font-size: 1.25rem; padding-top: .5rem; }
.terms-content li { margin-bottom: .4rem; }

/* Footer */
.site-footer { background: var(--color-navy); color: rgba(255, 255, 255, .78); padding: 4rem 0 0; font-size: .95rem; }
.site-footer h2 { color: var(--color-gold); font-size: .85rem; text-transform: uppercase; letter-spacing: var(--tracking-wide); margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--color-gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer .footer-logo { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); margin-right: .4rem; font-size: 1.05rem; }
.site-footer .social a:hover { border-color: var(--color-gold); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 3rem; padding: 1.25rem 0; font-size: .85rem; color: rgba(255, 255, 255, .6); }

/* WhatsApp button */
.whatsapp-button { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; width: 58px; height: 58px; border-radius: 50%; background: var(--color-whatsapp); color: var(--color-text-inverse); display: grid; place-items: center; font-size: 1.75rem; box-shadow: var(--shadow-lg); text-decoration: none; transition: transform .2s ease; }
.whatsapp-button:hover { transform: scale(1.06); color: var(--color-text-inverse); }

/* Lightbox */
.lightbox .modal-content { background: var(--color-overlay); border: 0; }
.lightbox .modal-body { position: relative; display: flex; align-items: center; justify-content: center; min-height: 80vh; padding: 3rem 4rem; }
.lightbox img { max-height: 80vh; max-width: 100%; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: var(--color-text-inverse); font-size: 1.5rem; }
.lightbox .lightbox-nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox .lightbox-prev { left: 1rem; }
.lightbox .lightbox-next { right: 1rem; }
.lightbox .lightbox-counter { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: .9rem; }
.lightbox .btn-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
@media (max-width: 575.98px) { .lightbox .modal-body { padding: 3rem .5rem; } .lightbox .lightbox-nav { width: 40px; height: 40px; } }

/* Empty / error states */
.state-card { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg-soft); }
.state-card i { font-size: 2.5rem; color: var(--color-gold-dark); }

/* Maintenance */
.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; background: var(--color-navy) center / cover no-repeat; color: rgba(255, 255, 255, .88); position: relative; padding: 2rem 1rem; }
.maintenance::after { content: ""; position: absolute; inset: 0; background: rgba(21, 26, 51, .82); }
.maintenance > div { position: relative; z-index: 1; max-width: 40rem; }
.maintenance h1 { color: var(--color-text-inverse); }
.maintenance a { color: var(--color-gold); }

@media print {
    .site-header, .site-footer, .whatsapp-button, .no-print { display: none !important; }
    .invoice-card { border: 0; box-shadow: none; padding: 0; }
}

/* Utilities */
.text-gold { color: var(--color-gold) !important; }
.text-gold-dark { color: var(--color-gold-dark) !important; }
.bg-soft { background: var(--color-bg-soft) !important; }
