:root{--ink:#1f261f;--cream:#f7f2e7;--gold:#b68a35;--green:#253c2b;--white:#fff}*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;color:var(--ink);background:#fff}.topbar{background:var(--green);color:#fff;text-align:center;padding:9px;font-size:13px;letter-spacing:.08em}header{display:flex;justify-content:space-between;align-items:center;padding:18px 6%;border-bottom:1px solid #e8e2d6;position:sticky;top:0;background:#fff;z-index:5}.brand{display:flex;align-items:center;gap:10px;color:var(--green);font-weight:800;text-decoration:none}.mark{display:grid;place-items:center;width:42px;height:42px;border:2px solid var(--gold);border-radius:50%;color:var(--gold)}nav{display:flex;gap:18px;flex-wrap:wrap}nav a{color:var(--ink);text-decoration:none}.hero{padding:90px 7%;background:linear-gradient(90deg,rgba(25,42,30,.92),rgba(25,42,30,.55)),url('/assets/img/orula.jpg') center/cover;min-height:520px;color:#fff;display:flex;align-items:center}.hero .inner{max-width:720px}.eyebrow{color:#e7c778;letter-spacing:.18em}.hero h1{font-family:Georgia,serif;font-size:58px;margin:10px 0}.btn{display:inline-block;background:var(--gold);color:#fff;padding:13px 20px;border-radius:4px;text-decoration:none;border:0;cursor:pointer}.section{padding:60px 7%}.section.alt{background:var(--cream)}h2{font-family:Georgia,serif;font-size:38px;color:var(--green)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:22px}.card{border:1px solid #e5ded0;border-radius:10px;overflow:hidden;background:#fff}.card img{width:100%;height:230px;object-fit:cover;background:#eee}.card .p{padding:16px}.price{font-weight:800;color:var(--gold)}footer{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px;padding:45px 7%;background:#17271c;color:#fff}input,textarea,select{width:100%;padding:11px;border:1px solid #ccc;border-radius:5px}label{display:block;margin:10px 0}.admin{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:#17271c;color:#fff;padding:25px}.sidebar a{display:block;color:#fff;padding:10px 0;text-decoration:none}.panel{padding:30px}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:10px;border-bottom:1px solid #ddd;text-align:left}.notice{padding:12px;background:#edf7ed;border-radius:5px}@media(max-width:760px){header{display:block}.brand{margin-bottom:12px}.hero h1{font-size:42px}footer{grid-template-columns:1fr}.admin{grid-template-columns:1fr}.sidebar{position:relative}}



.admin-logo-preview {
    display: block;
    max-width: 260px;
    max-height: 160px;
    object-fit: contain;
    margin: 15px 0;
}

.auto-width {
    width: auto;
}

.promo-banners {
    display: grid;
    gap: 1px;
}

.promo-banner {
    min-height: 260px;
    padding: 45px 7%;
    display: flex;
    align-items: center;
    background-color: #253c2b;
    background-position: center;
    background-size: cover;
    color: #fff;
}

.promo-banner-content {
    max-width: 650px;
}

.promo-banner h2 {
    color: #fff;
    margin-top: 0;
}

.customer-form {
    max-width: 760px;
}

.social-links {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.social-links a {
    color: #fff;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 50;
    padding: 13px 18px;
    border-radius: 999px;
    background: #1f8f4e;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

.inline-form {
    display: inline;
}

.link-button {
    border: 0;
    background: none;
    color: #8a1d1d;
    cursor: pointer;
    text-decoration: underline;
}

.small-btn {
    margin-top: 8px;
    padding: 8px 12px;
}

@media(max-width:760px) {
    .whatsapp-float {
        right: 14px;
        bottom: 14px;
    }
}


/* Hero slideshow */
.hero.hero-slideshow {
    position: relative;
    overflow: hidden;
    background: #253c2b;
}
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity .25s ease-in-out;
    transform: none;
    animation: none;
}
.hero-slide.is-active {
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(25,42,30,.90),
        rgba(25,42,30,.48)
    );
}
.hero.hero-slideshow .inner {
    position: relative;
    z-index: 2;
}
.hero-slide-admin-preview {
    width: 180px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin: 8px 0;
}
.hero-slide-row {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}
@media(max-width:760px) {
    .hero-slide-row {
        grid-template-columns: 1fr;
    }
}


/* ===== Banners por ubicación + chat global ===== */



.site-chat {
    position: fixed;
    right: 22px;
    bottom: 82px;
    z-index: 100;
}

.site-chat-toggle {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: var(--gold);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

.site-chat-panel {
    position: absolute;
    right: 0;
    bottom: 58px;
    width: min(390px, calc(100vw - 28px));
    max-height: min(680px, calc(100vh - 120px));
    overflow-y: auto;
    padding: 18px;
    border: 1px solid #e5ded0;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .25);
}

.site-chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.site-chat-close {
    width: auto;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.site-chat-panel label {
    font-size: 14px;
    font-weight: 700;
}

.site-chat-panel .btn {
    width: 100%;
}

.chat-admin-card {
    margin-bottom: 30px;
}

.chat-question-table {
    margin-top: 20px;
}

.chat-answer {
    margin: 8px 0 14px;
    padding: 9px;
    border-left: 3px solid var(--gold);
    background: #faf7ef;
}

@media(max-width:760px) {
    .site-chat {
        right: 14px;
        bottom: 74px;
    }

    .site-chat-panel {
        width: calc(100vw - 28px);
        max-height: calc(100vh - 110px);
    }
}


/* ===== Header público: logo proporcional + menú móvil ===== */
header {
    min-height: 112px;
}

.brand {
    min-width: 0;
}

.site-logo {
    display: block;
    width: 120px !important;
    height: 120px !important;
    max-width: 120px !important;
    max-height: 120px !important;
    object-fit: contain;
    flex: 0 0 120px;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 42px;
    padding: 8px;
    border: 1px solid #e5ded0;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

@media(max-width:760px) {
    header {
        display: flex;
        position: sticky;
        padding: 10px 16px;
        min-height: 88px;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .brand {
        margin-bottom: 0;
        gap: 8px;
        max-width: calc(100% - 58px);
    }

    .brand > span:not(.mark) {
        font-size: 13px;
        line-height: 1.15;
    }

    .site-logo {
        width: 72px !important;
        height: 72px !important;
        max-width: 72px !important;
        max-height: 72px !important;
        flex-basis: 72px;
    }

    .menu-toggle {
        display: flex;
    }

    header nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 10px 0 4px;
        border-top: 1px solid #eee7da;
        margin-top: 10px;
    }

    header nav.is-open {
        display: flex;
    }

    header nav a {
        display: block;
        padding: 12px 4px;
        border-bottom: 1px solid #f0ece3;
    }
}


/* ===== Carga limpia de imágenes Home / About ===== */
.hero.hero-slideshow,
.hero-slides,
.hero-slide,
.about-image-banners,
.about-image-banners a,
.about-image-banners img,
.about-content-logo,
.about-content-logo img {
    transform: none !important;
    animation: none !important;
}
.hero-slides {
    transition: none !important;
}
.hero-slide {
    transition: opacity .25s ease-in-out !important;
}
.hero-slide:first-child {
    transition: none !important;
}
