/* =============================================================================
 * css/orozco-2.css — Ivan Orozco Inmobiliaria design system
 * Premium boutique real estate. Deep green + logo yellow, Playfair Display
 * (serif headings, italic accent) + Inter (body).
 * ============================================================================= */

:root {
    --oro-primary: #092a19;
    --oro-primary-2: #0e3d26;
    --oro-accent: #f2e10e;
    --oro-gold: #d9c34a;
    --oro-bg: #f7f7f3;
    --oro-ink: #17201b;

    --oro-primary-rgb: 9, 42, 25;
    --oro-accent-rgb: 242, 225, 14;

    --oro-primary-tint-10: rgba(var(--oro-primary-rgb), .1);
    --oro-primary-tint-20: rgba(var(--oro-primary-rgb), .2);
    --oro-accent-tint-15: rgba(var(--oro-accent-rgb), .15);

    --oro-shadow-sm: 0 2px 10px rgba(0, 0, 0, .08);
    --oro-shadow-md: 0 10px 30px rgba(0, 0, 0, .12);
    --oro-shadow-lg: 0 20px 55px rgba(0, 0, 0, .22);

    --oro-radius: .9rem;
    --oro-font-serif: 'Playfair Display', Georgia, serif;
    --oro-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Safety net: keeps the [hidden] attribute working even on elements that
   also get an explicit display:flex/grid rule elsewhere, which would
   otherwise win over the browser's default [hidden] { display: none }. */
[hidden] { display: none !important; }

/* =============================================================================
 * BASE
 * ============================================================================= */
html { scroll-behavior: smooth; }
body {
    font-family: var(--oro-font-body);
    color: var(--oro-ink);
    background: var(--oro-bg);
    padding-top: 0;
}
h1, h2, h3, h4, .oro-serif {
    font-family: var(--oro-font-serif);
    font-weight: 600;
}
.accent-italic {
    font-style: italic;
    color: var(--oro-accent);
    font-weight: 600;
}
a { color: var(--oro-primary-2); }
a:hover { color: var(--oro-primary); }

.btn-oro-accent {
    background: var(--oro-accent);
    border-color: var(--oro-accent);
    color: var(--oro-primary);
    font-weight: 600;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-oro-accent:hover {
    background: var(--oro-gold);
    border-color: var(--oro-gold);
    color: var(--oro-primary);
    transform: translateY(-2px);
    box-shadow: var(--oro-shadow-md);
}
.btn-outline-oro-light {
    border: 1.5px solid rgba(255, 255, 255, .7);
    color: #fff;
    font-weight: 600;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-outline-oro-light:hover {
    background: #fff;
    color: var(--oro-primary);
    transform: translateY(-2px);
}
.btn-outline-oro-accent {
    border: 1.5px solid var(--oro-accent);
    color: var(--oro-accent);
    font-weight: 600;
    background: transparent;
    transition: background .15s ease, color .15s ease;
}
.btn-outline-oro-accent:hover {
    background: var(--oro-accent);
    color: var(--oro-primary);
}

/* =============================================================================
 * NAVBAR
 * ============================================================================= */
.oro-navbar {
    background: var(--oro-primary);
    padding: .6rem 0;
    transition: padding .2s ease, box-shadow .2s ease;
}
.oro-navbar.is-scrolled {
    padding: .3rem 0;
    box-shadow: var(--oro-shadow-md);
}
.oro-navbar__logo { transition: height .2s ease; }
.oro-navbar .nav-link {
    color: rgba(255, 255, 255, .88);
    font-weight: 500;
    padding: .5rem 1rem !important;
    position: relative;
}
.oro-navbar .nav-link:hover,
.oro-navbar .nav-link.active { color: var(--oro-accent); }
.oro-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    left: 1rem; right: 1rem; bottom: .1rem;
    height: 2px;
    background: var(--oro-accent);
}
.oro-offcanvas { background: var(--oro-primary); }

/* =============================================================================
 * HERO
 * ============================================================================= */
.oro-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background-color: #071f13;
}
.oro-hero-bg {
    position: absolute;
    inset: -2%;
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #071f13;
    animation: oroKenBurns 24s ease-in-out infinite alternate;
    will-change: transform;
}
.oro-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(100deg, rgba(7,31,19,.72) 0%, rgba(9,42,25,.45) 45%, rgba(9,42,25,.12) 100%);
    pointer-events: none;
}
.oro-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 4rem 0 7rem;
    width: 100%;
}
.oro-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 600;
    color: var(--oro-accent);
    margin-bottom: 1.25rem;
}
.oro-hero h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
    max-width: 820px;
}
.oro-hero .lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    max-width: 560px;
    margin-bottom: 2rem;
}
.oro-hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

@keyframes oroKenBurns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
    .oro-hero-bg { animation: none; }
}

/* =============================================================================
 * SEARCH TEASER CARD (glass, overlapping hero bottom)
 * ============================================================================= */
.oro-search-card {
    position: relative;
    z-index: 3;
    margin-top: -6.5rem;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: var(--oro-radius);
    box-shadow: var(--oro-shadow-lg);
    padding: 1.75rem;
}
.oro-search-card label {
    color: rgba(255, 255, 255, .85);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    margin-bottom: .35rem;
}
.oro-search-card .form-select {
    background-color: rgba(255, 255, 255, .95);
    border: none;
    border-radius: .6rem;
    padding: .65rem .9rem;
    font-weight: 500;
    color: var(--oro-ink);
}
.oro-search-card .form-select:focus {
    box-shadow: 0 0 0 .2rem var(--oro-accent-tint-15);
}
@media (max-width: 991.98px) {
    .oro-search-card { margin-top: -3.5rem; }
}

/* =============================================================================
 * SECTION TITLES
 * ============================================================================= */
.oro-section { padding: 5rem 0; }
.oro-section-title { margin-bottom: 3rem; }
.oro-section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--oro-ink);
    margin-bottom: .75rem;
}
.oro-section-title h2 em {
    font-style: italic;
    color: var(--oro-primary-2);
}
.oro-section-title__underline {
    display: block;
    width: 64px;
    height: 3px;
    background: var(--oro-accent);
    margin-top: .5rem;
}
.oro-section-title.text-center .oro-section-title__underline { margin-left: auto; margin-right: auto; }
.oro-section-title p { color: #55605a; max-width: 560px; }
.oro-section-title.text-center p { margin-left: auto; margin-right: auto; }

/* =============================================================================
 * PROPERTY CARDS
 * ============================================================================= */
.property-card {
    display: block;
    background: #fff;
    border-radius: var(--oro-radius);
    overflow: hidden;
    box-shadow: var(--oro-shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
}
.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--oro-shadow-md);
}
.property-card__media { background: var(--oro-primary); }
.property-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
    display: block;
}
.property-card:hover .property-card__img { transform: scale(1.08); }

.property-card__placeholder {
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: .5rem;
    background: linear-gradient(135deg, var(--oro-primary) 0%, var(--oro-primary-2) 100%);
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}
.property-card__placeholder img { opacity: .85; border-radius: .4rem; }

/* Badge lives OUTSIDE .ratio as a sibling: Bootstrap's .ratio stretches
   every direct child to 100% width/height, which would blow up the badge
   into a full-size block if it were nested inside instead. */
.oro-badge {
    position: absolute;
    top: .85rem;
    left: .85rem;
    z-index: 2;
    font-weight: 700;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: .35rem .75rem;
    border-radius: 999px;
}
.oro-badge--venta { background: var(--oro-accent); color: var(--oro-primary); }
.oro-badge--alquiler { background: var(--oro-primary); color: #fff; }

.property-card__body { display: block; padding: 1.25rem 1.25rem 1.5rem; color: var(--oro-ink); }
.property-card__price {
    font-family: var(--oro-font-serif);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--oro-primary-2);
    margin-bottom: .35rem;
}
.property-card__title {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--oro-ink);
    margin-bottom: .5rem;
    font-family: var(--oro-font-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-card__location {
    font-size: .85rem;
    color: #666f68;
    margin-bottom: .75rem;
}
.property-card__features {
    font-size: .82rem;
    color: #444d47;
    border-top: 1px solid #eee;
    padding-top: .75rem;
}
.property-card__features li { margin-right: .9rem; }
.property-card__features i { color: var(--oro-primary-2); margin-right: .25rem; }

/* =============================================================================
 * STATS BAND
 * ============================================================================= */
.oro-stats {
    background: var(--oro-primary);
    color: #fff;
    padding: 4rem 0;
}
.oro-stats__num {
    font-family: var(--oro-font-serif);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    color: var(--oro-accent);
    line-height: 1;
    margin-bottom: .5rem;
}
.oro-stats__label {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    text-transform: uppercase;
    letter-spacing: .05em;
}

/* =============================================================================
 * SERVICES STRIP
 * ============================================================================= */
.oro-service-card {
    background: #fff;
    border-radius: var(--oro-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    box-shadow: var(--oro-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    color: var(--oro-ink);
    display: block;
}
.oro-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--oro-shadow-md);
    color: var(--oro-ink);
}
.oro-service-card__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--oro-primary-tint-10);
    color: var(--oro-primary-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.oro-service-card h3 {
    font-size: 1.05rem;
    font-family: var(--oro-font-body);
    font-weight: 600;
    margin-bottom: .4rem;
}
.oro-service-card p { font-size: .88rem; color: #666f68; margin-bottom: 0; }

/* =============================================================================
 * INTERNATIONAL BAND
 * ============================================================================= */
.oro-intl {
    background: var(--oro-primary-2);
    color: #fff;
    padding: 5rem 0;
}
.oro-intl .oro-section-title h2 { color: #fff; }
.oro-intl .oro-section-title p { color: rgba(255, 255, 255, .78); }
.oro-intl-card {
    position: relative;
    border-radius: var(--oro-radius);
    overflow: hidden;
    height: 320px;
    display: block;
    text-decoration: none;
}
.oro-intl-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.oro-intl-card:hover img { transform: scale(1.08); }
.oro-intl-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,31,19,0) 40%, rgba(7,31,19,.88) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.oro-intl-card__overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0;
}
.oro-intl-card__overlay span {
    color: var(--oro-accent);
    font-size: .85rem;
    font-weight: 600;
}

/* =============================================================================
 * CTA BAND
 * ============================================================================= */
.oro-cta {
    background: linear-gradient(120deg, var(--oro-primary) 0%, var(--oro-primary-2) 100%);
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
}
.oro-cta h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.oro-cta p { color: rgba(255, 255, 255, .82); }

/* =============================================================================
 * FOOTER
 * ============================================================================= */
.oro-footer {
    background: #071f13;
    color: rgba(255, 255, 255, .75);
}
.oro-footer__title {
    color: #fff;
    font-family: var(--oro-font-serif);
    font-size: 1rem;
    margin-bottom: 1rem;
}
.oro-footer__blurb { font-size: .9rem; line-height: 1.6; }
.oro-footer__links { font-size: .88rem; }
.oro-footer__links li { margin-bottom: .6rem; }
.oro-footer__links a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.oro-footer__links a:hover { color: var(--oro-accent); }
.oro-footer__social a {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    transition: background .15s ease, transform .15s ease;
}
.oro-footer__social a:hover {
    background: var(--oro-accent);
    color: var(--oro-primary);
    transform: translateY(-2px);
}
.oro-footer__bottom {
    background: #051a10;
    font-size: .82rem;
}
.oro-footer__bottom a { color: var(--oro-accent); text-decoration: none; }
.oro-footer__bottom a:hover { text-decoration: underline; }

/* =============================================================================
 * WHATSAPP FAB
 * ============================================================================= */
.oro-wa-fab {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.7rem;
    z-index: 1040;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    transition: transform .2s ease;
}
.oro-wa-fab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: oroWaPulse 2.2s ease-out infinite;
}
.oro-wa-fab:hover { transform: scale(1.08); color: #fff; }
.oro-wa-fab__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--oro-primary);
    color: #fff;
    padding: .5rem .9rem;
    border-radius: 8px;
    white-space: nowrap;
    font-size: .82rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.oro-wa-fab:hover .oro-wa-fab__tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes oroWaPulse {
    0%   { transform: scale(1); opacity: .65; }
    100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .oro-wa-fab::before { animation: none; }
}
@media (max-width: 575.98px) {
    .oro-wa-fab { width: 52px; height: 52px; font-size: 1.5rem; bottom: 16px; right: 16px; }
    .oro-wa-fab__tooltip { display: none; }
}

/* =============================================================================
 * FORM
 * ============================================================================= */
.oro-contact-form .form-floating > .form-control,
.oro-contact-form .form-floating > label { font-size: .95rem; }
.oro-contact-form .form-control {
    border-radius: .6rem;
    border: 1px solid #d8dcd6;
}
.oro-contact-form .form-control:focus {
    border-color: var(--oro-primary-2);
    box-shadow: 0 0 0 .2rem var(--oro-primary-tint-10);
}
.oro-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

/* =============================================================================
 * FADE-UP ANIMATIONS (static content only — fetch-injected content is
 * revealed immediately, see the note in partials/_property_card.php)
 * ============================================================================= */
[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease-out, transform .7s ease-out;
}
[data-animate].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    [data-animate] { opacity: 1; transform: none; transition: none; }
}

/* =============================================================================
 * MOBILE PADDING FIX (B14b — 3-layer pattern)
 * ============================================================================= */
@media (max-width: 768px) {
    .container, .container-fluid { padding-left: 10px !important; padding-right: 10px !important; }
    .row { --bs-gutter-x: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
    .row > [class*="col-"] { padding-left: 0 !important; padding-right: 0 !important; }

    /* Exception: card grids keep a gap so cards don't touch edge to edge */
    .oro-cards-grid.row { --bs-gutter-x: .75rem !important; margin-left: -.375rem !important; margin-right: -.375rem !important; }
    .oro-cards-grid.row > [class*="col-"] { padding-left: .375rem !important; padding-right: .375rem !important; }

    .oro-hero { min-height: auto; padding: 3rem 0 5rem; }
    .oro-section { padding: 3rem 0; }
    .oro-search-card { padding: 1.25rem; }
}

/* =============================================================================
 * BUSCADOR (propiedades.php)
 * ============================================================================= */
.oro-buscador {
    padding: 1.25rem 0;
    background: linear-gradient(180deg, var(--oro-primary) 0%, var(--oro-primary-2) 130%);
}
.oro-buscador__card {
    background: #fff;
    border-radius: var(--oro-radius);
    box-shadow: var(--oro-shadow-md);
    padding: 1.25rem 1.5rem;
}
.oro-buscador__card .form-label {
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #55605a;
    margin-bottom: .3rem;
}
.oro-buscador__toggle { white-space: nowrap; }
@media (min-width: 992px) {
    .oro-buscador {
        position: sticky;
        top: 0;
        z-index: 1010; /* below the sticky navbar (1020) */
    }
}

.oro-buscador-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.75rem;
}
.oro-buscador-toolbar__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}
.oro-buscador-toolbar__right {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.oro-buscador-toolbar__right .form-select { width: auto; }
.oro-buscador-counter {
    font-family: var(--oro-font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--oro-primary-2);
}

.oro-buscador-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.oro-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    border: 1px solid var(--oro-primary-tint-20);
    background: var(--oro-primary-tint-10);
    color: var(--oro-primary-2);
    border-radius: 999px;
    padding: .25rem .75rem;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}
.oro-chip:hover { background: var(--oro-primary-tint-20); }
.oro-chip .bi-x { font-size: 1rem; }

.oro-buscador-empty { color: #55605a; }
.oro-buscador-empty .bi {
    font-size: 3rem;
    color: var(--oro-primary-tint-20);
    display: block;
    margin-bottom: .75rem;
}
.oro-buscador-empty__btn {
    color: var(--oro-primary-2);
    border-color: var(--oro-primary-2);
}

/* =============================================================================
 * HOVER GALLERY (property cards)
 * ============================================================================= */
.property-card .hover-gallery__img {
    object-fit: cover;
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
}
.property-card .hover-gallery__img.is-active { opacity: 1; }

/* =============================================================================
 * DETALLE (detalle.php)
 * ============================================================================= */
.oro-detalle-hero {
    background: linear-gradient(160deg, var(--oro-primary) 0%, var(--oro-primary-2) 100%);
    color: #fff;
    padding: 1.75rem 0 2.25rem;
}
.oro-detalle-breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, .5);
    margin-bottom: 1rem;
    font-size: .85rem;
}
.oro-detalle-breadcrumb a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.oro-detalle-breadcrumb a:hover { color: var(--oro-accent); }
.oro-detalle-breadcrumb .active { color: rgba(255, 255, 255, .55); }
.oro-detalle-hero__title {
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    color: #fff;
    margin-bottom: .5rem;
}
.oro-detalle-hero__location { color: rgba(255, 255, 255, .8); }
.oro-detalle-hero__location .bi { color: var(--oro-accent); }
.oro-detalle-hero__pricing { text-align: right; }
.oro-detalle-price {
    display: inline-block;
    background: var(--oro-accent);
    color: var(--oro-primary);
    font-family: var(--oro-font-serif);
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 700;
    padding: .45rem 1.25rem;
    border-radius: .6rem;
    margin-bottom: .6rem;
}
.oro-detalle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: flex-end;
}
.oro-badge--extra { background: var(--oro-gold); color: var(--oro-primary); }
@media (max-width: 991.98px) {
    .oro-detalle-hero__pricing { text-align: left; }
    .oro-detalle-badges { justify-content: flex-start; }
}

.oro-detalle-card {
    background: #fff;
    border-radius: var(--oro-radius);
    box-shadow: var(--oro-shadow-sm);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.oro-detalle-card__title {
    font-family: var(--oro-font-serif);
    font-size: 1.3rem;
    color: var(--oro-primary-2);
    margin-bottom: 1rem;
}
.oro-detalle-card__subtitle {
    font-family: var(--oro-font-serif);
    font-size: 1.05rem;
    color: var(--oro-primary-2);
    margin: 1.5rem 0 .75rem;
}
.oro-detalle-obs { line-height: 1.75; color: #3c463f; }
.oro-detalle-obs p:last-child { margin-bottom: 0; }

/* Gallery */
.oro-detalle-gallery { padding: 0; overflow: hidden; }
.oro-detalle-gallery .carousel-item {
    height: 480px;
    background: var(--oro-primary);
}
.oro-detalle-gallery .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.oro-detalle-gallery__expand {
    position: absolute;
    right: .9rem;
    bottom: .9rem;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    transition: background .2s ease;
}
.oro-detalle-gallery__expand:hover { background: rgba(0, 0, 0, .8); }
.oro-thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding: .75rem;
    background: #fff;
}
.oro-thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 82px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: .45rem;
    overflow: hidden;
    background: none;
    opacity: .65;
    transition: opacity .2s ease, border-color .2s ease;
}
.oro-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.oro-thumb:hover { opacity: 1; }
.oro-thumb.is-active {
    opacity: 1;
    border-color: var(--oro-accent);
}

/* Features */
.oro-feature-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    background: var(--oro-bg);
    border-radius: .6rem;
    padding: .75rem .9rem;
    height: 100%;
}
.oro-feature-item .bi {
    font-size: 1.3rem;
    color: var(--oro-primary-2);
}
.oro-feature-item__label {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6a746e;
}
.oro-feature-item__value {
    display: block;
    font-weight: 600;
    color: var(--oro-ink);
}
.oro-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .5rem;
    margin-bottom: 0;
}
.oro-amenities li {
    background: var(--oro-primary-tint-10);
    color: var(--oro-primary-2);
    border-radius: 999px;
    padding: .3rem .85rem;
    font-size: .85rem;
    font-weight: 600;
}
.oro-amenities .bi { margin-right: .25rem; }
.oro-detalle-fechas {
    margin-top: 1.25rem;
    font-size: .8rem;
    color: #8a938d;
}

/* Map */
.oro-detalle-map {
    border-radius: .6rem;
    overflow: hidden;
    background: var(--oro-bg);
}
.oro-detalle-map iframe { border: 0; }
.oro-detalle-map__link {
    display: inline-block;
    margin-top: .75rem;
    font-weight: 600;
    text-decoration: none;
}

/* Sidebar */
@media (min-width: 992px) {
    .oro-detalle-sidebar {
        position: sticky;
        top: 90px;
    }
}
.oro-contact-card__alt {
    color: var(--oro-primary-2);
    border-color: var(--oro-primary-2);
}
.oro-contact-card__mail {
    display: block;
    text-align: center;
    font-size: .9rem;
    word-break: break-all;
    text-decoration: none;
}
.oro-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}
.oro-share__label {
    font-size: .85rem;
    font-weight: 600;
    color: #55605a;
}
.oro-share a,
.oro-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--oro-primary-tint-10);
    color: var(--oro-primary-2);
    font-size: 1.1rem;
    transition: background .2s ease, color .2s ease;
}
.oro-share a:hover,
.oro-share button:hover {
    background: var(--oro-accent);
    color: var(--oro-primary);
}
.oro-share__copied {
    font-size: .8rem;
    color: var(--oro-primary-2);
    font-weight: 600;
}

/* Not found */
.oro-detalle-notfound {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 0;
}
.oro-detalle-notfound .bi {
    font-size: 4rem;
    color: var(--oro-primary-tint-20);
}
.oro-detalle-notfound h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--oro-primary-2);
    margin: 1rem 0;
}

/* Lightbox */
.oro-lightbox .modal-content {
    background: rgba(10, 14, 12, .96);
    border: 0;
    border-radius: 0;
}
.oro-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 10;
    font-size: 1.3rem;
}
.oro-lightbox .carousel-item {
    height: 100vh;
}
.oro-lightbox .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Detalle mobile */
@media (max-width: 768px) {
    .oro-detalle-hero { padding: 1.25rem 0 1.5rem; }
    .oro-detalle-gallery .carousel-item { height: 280px; }
    .oro-detalle-card { padding: 1rem; margin-bottom: 1rem; }
    .oro-detalle-sidebar { position: static; }
    .oro-thumb { width: 84px; height: 62px; }
    .oro-buscador { padding: .75rem 0; }
    .oro-buscador__card { padding: 1rem; }
    .oro-buscador-toolbar { margin-bottom: 1.25rem; }
}
