/* ────────────────────────────────────────────────────────────
   Menú moderno BTPlus · dropdowns + B2B badge + active state
   ──────────────────────────────────────────────────────────── */

.main-menu ul { display: flex; align-items: center; gap: 4px; }
.main-menu ul > li { position: relative; }
.main-menu ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .4px;
    border-radius: 6px;
    transition: background .2s ease, color .2s ease;
}

/* Hover en items top-level: fondo gris clarito */
.main-menu ul > li:hover > a {
    background: #f1f5f9;
    color: #243449;
}

/* Página ACTIVA: fondo naranja + letras blancas */
.main-menu ul > li.active > a {
    background: #f58220 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(245,130,32,.3);
}

/* Submenu container */
.main-menu ul li.has-submenu > a .submenu-arrow {
    font-size: 9px;
    margin-left: 2px;
    transition: transform .25s ease;
    display: inline-block;
}
.main-menu ul li.has-submenu:hover > a .submenu-arrow { transform: rotate(180deg); }

.main-menu ul li.has-submenu .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border-top: 3px solid #f58220;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06);
    padding: 8px 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.main-menu ul li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .2s ease, transform .2s ease, visibility 0s;
}

.main-menu ul li.has-submenu .submenu li { display: block; }
.main-menu ul li.has-submenu .submenu li a {
    display: block;
    padding: 11px 22px;
    color: #243449;
    font-weight: 600;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
    border-left: 3px solid transparent;
    border-radius: 0;
    transition: all .2s ease;
}
.main-menu ul li.has-submenu .submenu li a:hover {
    background: #fff7eb;
    color: #f58220;
    border-left-color: #f58220;
    padding-left: 26px;
}
/* Submenu item ACTIVO */
.main-menu ul li.has-submenu .submenu li.active a {
    background: #fff7eb;
    color: #f58220;
    border-left-color: #f58220;
    font-weight: 700;
}

/* Cuando estás en una página de servicio, el item Servicios principal queda activo también */
.main-menu ul > li.has-submenu.active > a {
    background: #f58220 !important;
    color: #fff !important;
}

/* B2B item destacado */
.main-menu ul li.b2b-cta > a {
    background: linear-gradient(135deg, #f58220 0%, #e87213 100%);
    color: #fff !important;
    padding: 8px 16px;
    margin-left: 8px;
    box-shadow: 0 2px 8px rgba(245,130,32,.35);
    transition: all .2s ease;
}
.main-menu ul li.b2b-cta > a:hover {
    background: linear-gradient(135deg, #e87213 0%, #d96e15 100%);
    box-shadow: 0 4px 14px rgba(245,130,32,.5);
    transform: translateY(-1px);
}
.main-menu ul li.b2b-cta.active > a {
    background: #243449 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(36,52,73,.35);
}
.main-menu ul li.b2b-cta.active .b2b-badge {
    background: #f58220;
    color: #fff;
}
.main-menu ul li.b2b-cta .b2b-badge {
    background: #fff;
    color: #f58220;
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .5px;
    transition: all .2s ease;
}

/* Responsive: meanmenu del theme transforma para móvil */
@media (max-width: 991px) {
    .main-menu ul li.has-submenu .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 0;
        padding-left: 16px;
        background: #f8fafc;
    }
    .main-menu ul li.b2b-cta > a {
        margin: 6px 0;
        display: inline-block;
    }
    .main-menu ul > li.active > a,
    .main-menu ul > li.has-submenu.active > a {
        background: transparent !important;
        color: #f58220 !important;
        box-shadow: none;
    }
}

/* ────────────────────────────────────────────────────────────
   SHRINK HEADER on scroll
   Cuando window.scrollY > 80, el header se hace más estrecho,
   con backdrop blur + sombra + logo pequeño + sin barra superior.
   ──────────────────────────────────────────────────────────── */
.header { transition: all .3s ease; }

.header.header-shrink {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, .97) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
    animation: slideDown .35s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

/* Esconde la barra superior (horario, teléfonos, social) */
.header.header-shrink .header-top {
    display: none;
}

/* Compacta header-bottom */
.header.header-shrink .header-bottom {
    padding-top: 0;
    padding-bottom: 0;
}

/* Logo pequeño */
.header.header-shrink .logo img {
    max-height: 42px;
    width: auto;
    transition: max-height .3s ease;
}
.header.header-shrink .col-auto.mt-20.mb-20 {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

/* Menú más compacto */
.header.header-shrink .main-menu ul > li > a {
    padding: 8px 14px;
    font-size: 13px;
}
.header.header-shrink .main-menu ul li.b2b-cta > a {
    padding: 7px 14px;
}

/* Body con padding-top para compensar el header fixed (lo añade el JS dinámicamente) */
body.has-shrink-header { padding-top: var(--shrink-header-h, 70px); }

/* En móvil mantenemos el comportamiento original del theme */
@media (max-width: 991px) {
    .header.header-shrink {
        position: relative !important;
        background: #fff !important;
        backdrop-filter: none;
    }
    body.has-shrink-header { padding-top: 0; }
}

/* ════════════════════════════════════════════════════════════
   QUICK WINS · MODERNIZACIÓN UX/UI
   ════════════════════════════════════════════════════════════ */

/* ────────────────────────────────────────────────────────────
   1) TIPOGRAFÍA MODERNA · Inter (Google Fonts)
   ──────────────────────────────────────────────────────────── */
body, html, p, a, li, td, th, span, div, button, input, textarea, select {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6,
.title, .section-title h1, .section-title h2,
.hero-content-2 h1, .hero-content-2 h2,
.about-content-two h1, .about-content-two h4,
.feature h3, .service h3, .blog h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    letter-spacing: -0.018em;
    font-weight: 800;
}
.hero-content-2 h1 { letter-spacing: -0.03em; font-weight: 900; }

/* ────────────────────────────────────────────────────────────
   2) HOVER LIFT en cards (services, features, blog)
   ──────────────────────────────────────────────────────────── */
.feature, .service .service-inner, .blog .blog-inner {
    transition: transform .35s cubic-bezier(.2,.7,.2,1),
                box-shadow .35s cubic-bezier(.2,.7,.2,1);
    will-change: transform;
}
.feature:hover,
.service .service-inner:hover,
.blog .blog-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,.10),
                0 8px 18px rgba(0,0,0,.05);
}

/* ────────────────────────────────────────────────────────────
   3) ANIMACIONES ON SCROLL (AOS-like, IntersectionObserver)
   ──────────────────────────────────────────────────────────── */
.aos-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1),
                transform .7s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform;
}
.aos-fade-up.aos-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Stagger delay para cards en grid */
.feature.aos-fade-up:nth-child(2) { transition-delay: .1s; }
.feature.aos-fade-up:nth-child(3) { transition-delay: .2s; }
.service.aos-fade-up:nth-child(2) { transition-delay: .08s; }
.service.aos-fade-up:nth-child(3) { transition-delay: .16s; }
.service.aos-fade-up:nth-child(4) { transition-delay: .24s; }
.service.aos-fade-up:nth-child(5) { transition-delay: .32s; }
.service.aos-fade-up:nth-child(6) { transition-delay: .40s; }

/* ────────────────────────────────────────────────────────────
   4) TRUST SIGNALS row (debajo del hero, lo inyecta el JS)
   ──────────────────────────────────────────────────────────── */
.trust-signals {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 0;
}
.trust-signals .container .ts-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 40px;
    justify-content: center;
    align-items: center;
}
.trust-signals .ts-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}
.trust-signals .ts-item .ts-check {
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #f58220 0%, #e87213 100%);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
    font-size: 13px;
    box-shadow: 0 2px 6px rgba(245,130,32,.3);
}
@media (max-width: 600px) {
    .trust-signals .container .ts-row { gap: 12px 0; flex-direction: column; align-items: flex-start; padding: 0 20px; }
    .trust-signals .ts-item { font-size: 13px; }
}

/* ────────────────────────────────────────────────────────────
   5) STICKY BOTTOM BAR · MOBILE ONLY (Llamar · WhatsApp · Cotizar)
   ──────────────────────────────────────────────────────────── */
.sticky-bottom-bar { display: none; }

@media (max-width: 768px) {
    .sticky-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(255,255,255,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 -6px 24px rgba(0,0,0,.10);
        z-index: 998;
        border-top: 1px solid rgba(0,0,0,.06);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        gap: 6px;
    }
    .sticky-bottom-bar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 4px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .3px;
        text-decoration: none;
        border-radius: 10px;
        transition: all .2s ease;
        gap: 3px;
        min-height: 56px;
    }
    .sticky-bottom-bar a .sb-icon {
        font-size: 22px;
        line-height: 1;
    }
    .sticky-bottom-bar a.sb-call { background: #f1f5f9; color: #1e293b; }
    .sticky-bottom-bar a.sb-call:active { background: #e2e8f0; transform: scale(.96); }
    .sticky-bottom-bar a.sb-wapp { background: #25d366; color: #fff; }
    .sticky-bottom-bar a.sb-wapp:active { background: #1eb359; transform: scale(.96); }
    .sticky-bottom-bar a.sb-quote { background: linear-gradient(135deg,#f58220,#e87213); color: #fff; }
    .sticky-bottom-bar a.sb-quote:active { transform: scale(.96); }

    /* Espacio extra en body para que el sticky no tape contenido */
    body { padding-bottom: 78px !important; }
    /* Ocultamos el botón flotante WhatsApp del theme (chocan visualmente) */
    .chat-button-container { display: none !important; }
}

/* ────────────────────────────────────────────────────────────
   GOOGLE RATING · destaca el 4.8/5 en trust signals
   ──────────────────────────────────────────────────────────── */
.trust-signals .ts-rating {
    background: #fff;
    border: 1px solid #fcd34d;
    box-shadow: 0 2px 6px rgba(252,211,77,.25);
    padding: 6px 14px;
    border-radius: 30px;
}
.trust-signals .ts-rating .ts-stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 1;
}
.trust-signals .ts-rating strong {
    color: #1e293b;
    font-weight: 800;
}
.trust-signals .ts-rating .gicon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    vertical-align: middle;
}
.trust-signals .ts-rating a {
    color: #f58220;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #f58220;
}
.trust-signals .ts-rating a:hover { color: #e87213; border-bottom-style: solid; }

/* ════════════════════════════════════════════════════════════
   CONTACT MODERN · página de contactos rediseñada
   ════════════════════════════════════════════════════════════ */
.contact-modern { padding: 70px 0 110px; }
.contact-modern h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; color: #1e293b; }
.contact-modern .ct-muted { color: #64748b; margin-bottom: 24px; font-size: 15px; line-height: 1.6; }

/* Quick action cards */
.contact-quick-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.contact-quick-card {
    display: block;
    padding: 24px 22px;
    border-radius: 14px;
    text-decoration: none;
    transition: all .28s cubic-bezier(.2,.7,.2,1);
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    color: #1e293b;
}
.contact-quick-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0,0,0,.10);
    border-color: #f58220;
    color: #1e293b;
}
.contact-quick-card .cq-icon { font-size: 32px; margin-bottom: 10px; line-height: 1; }
.contact-quick-card .cq-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #f58220; }
.contact-quick-card .cq-value { font-size: 19px; font-weight: 800; color: #1e293b; margin-top: 6px; }
.contact-quick-card .cq-hint { font-size: 12px; color: #94a3b8; margin-top: 4px; }

.contact-quick-card.whatsapp { background: linear-gradient(135deg,#25d366,#1eb359); border-color: #25d366; }
.contact-quick-card.whatsapp .cq-label { color: rgba(255,255,255,.85); }
.contact-quick-card.whatsapp .cq-value,
.contact-quick-card.whatsapp .cq-hint { color: #fff; }
.contact-quick-card.whatsapp:hover { color: #fff; }

/* Urgencias bar */
.contact-urgent {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fca5a5;
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.contact-urgent .cu-icon { font-size: 30px; line-height: 1; }
.contact-urgent .cu-text { flex: 1; min-width: 220px; }
.contact-urgent .cu-label { font-weight: 900; color: #991b1b; letter-spacing: .5px; font-size: 14px; }
.contact-urgent .cu-sub { color: #7f1d1d; font-size: 13px; margin-top: 2px; }
.contact-urgent .cu-phone {
    background: #ef4444;
    color: #fff !important;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
    font-size: 18px;
    transition: all .2s;
    box-shadow: 0 2px 8px rgba(239,68,68,.3);
}
.contact-urgent .cu-phone:hover { background: #dc2626; transform: scale(1.03); box-shadow: 0 4px 14px rgba(239,68,68,.45); }

/* Form + Map grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 36px;
    align-items: start;
}
@media (max-width: 991px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-form-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

/* Form moderno */
.contact-form-modern .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
@media (max-width: 600px) { .contact-form-modern .form-row { grid-template-columns: 1fr; gap: 0; } }
.contact-form-modern .form-field { display: block; margin-bottom: 16px; }
.contact-form-modern .field-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 6px;
}
.contact-form-modern input[type="text"],
.contact-form-modern input[type="email"],
.contact-form-modern input[type="tel"],
.contact-form-modern select,
.contact-form-modern textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: all .2s ease;
    box-sizing: border-box;
}
.contact-form-modern input:focus,
.contact-form-modern select:focus,
.contact-form-modern textarea:focus {
    outline: none;
    border-color: #f58220;
    box-shadow: 0 0 0 3px rgba(245,130,32,.15);
}
.contact-form-modern textarea { resize: vertical; min-height: 130px; }

.contact-form-modern .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0 18px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
}
.contact-form-modern .form-checkbox input { margin-top: 3px; flex-shrink: 0; }
.contact-form-modern .form-checkbox a { color: #f58220; font-weight: 700; text-decoration: none; }
.contact-form-modern .form-checkbox a:hover { text-decoration: underline; }

.contact-form-modern .form-submit {
    background: linear-gradient(135deg, #f58220 0%, #e87213 100%);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .2s ease;
    box-shadow: 0 4px 12px rgba(245,130,32,.3);
}
.contact-form-modern .form-submit:hover {
    box-shadow: 0 6px 18px rgba(245,130,32,.45);
    transform: translateY(-2px);
}
.contact-form-modern .form-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }
.contact-form-modern .form-submit .btn-loading { display: none; }
.contact-form-modern.is-loading .btn-text,
.contact-form-modern.is-loading .btn-icon { display: none; }
.contact-form-modern.is-loading .btn-loading { display: inline; }
.form-message { margin-top: 12px; font-size: 14px; }

/* Side: map + info + rating */
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-map-wrap iframe {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,.10);
    width: 100% !important;
    height: 320px !important;
    border: 0;
    display: block;
}
.contact-card-info, .contact-card-rating {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.contact-card-info h3 { font-size: 17px; margin: 0 0 14px; font-weight: 800; color: #1e293b; }
.contact-card-info .contact-meta { list-style: none; padding: 0; margin: 0; }
.contact-card-info .contact-meta li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}
.contact-card-info .cm-icon { font-size: 16px; flex-shrink: 0; line-height: 1.4; }

.contact-card-rating { text-align: center; }
.contact-card-rating .cr-stars { color: #f59e0b; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.contact-card-rating .cr-num { margin-top: 8px; color: #475569; font-size: 14px; }
.contact-card-rating .cr-num strong { color: #1e293b; font-size: 16px; }
.contact-card-rating a {
    display: inline-block;
    margin-top: 12px;
    color: #f58220;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1.5px solid #f58220;
    padding-bottom: 1px;
    font-size: 13px;
}
.contact-card-rating a:hover { color: #e87213; }

/* Mini hero de contacto (sustituye al page-banner viejo) */
.contact-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 290px 0 60px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f58220 0%, #e87213 100%);
}
.contact-hero h1 {
    font-size: 42px;
    font-weight: 900;
    color: #1e293b;
    letter-spacing: -.025em;
    margin: 0 0 10px;
}
.contact-hero p {
    color: #64748b;
    font-size: 17px;
    margin: 0;
    line-height: 1.5;
}
.contact-hero .crumb {
    display: inline-flex;
    gap: 8px;
    font-size: 13px;
    color: #94a3b8;
    margin-top: 18px;
}
.contact-hero .crumb a {
    color: #f58220;
    text-decoration: none;
    font-weight: 600;
}
.contact-hero .crumb a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .contact-hero { padding: 220px 0 40px; }
    .contact-hero h1 { font-size: 30px; }
    .contact-hero p { font-size: 15px; }
}

/* Reducir padding-top del contact-modern (ya tenemos hero arriba) */
.contact-hero + .contact-modern { padding-top: 50px; }

/* ════════════════════════════════════════════════════════════
   COOKIE CONSENT · banner GDPR-compliant
   ════════════════════════════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    background: rgba(36, 52, 73, .98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,.30);
    border: 1px solid rgba(255,255,255,.08);
    transform: translateY(120%);
    opacity: 0;
    transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
    max-width: 720px;
    margin: 0 auto;
}
.cookie-banner.cb-visible { transform: translateY(0); opacity: 1; }

.cookie-banner .cb-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    flex-wrap: wrap;
}
.cookie-banner .cb-icon { font-size: 32px; flex-shrink: 0; line-height: 1; }
.cookie-banner .cb-text { flex: 1; min-width: 240px; font-size: 14px; line-height: 1.5; }
.cookie-banner .cb-text strong { display: block; font-size: 15px; margin-bottom: 4px; color: #fff; }
.cookie-banner .cb-text p { color: rgba(255,255,255,.85); margin: 0; font-size: 13px; }
.cookie-banner .cb-text a { color: #f58220; font-weight: 700; text-decoration: none; border-bottom: 1px dotted #f58220; }
.cookie-banner .cb-text a:hover { color: #fdba74; }

.cookie-banner .cb-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 6px;
}
.cookie-banner .cb-btn {
    flex: 1;
    padding: 11px 18px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .4px;
    cursor: pointer;
    transition: all .2s ease;
}
.cookie-banner .cb-btn-reject {
    background: rgba(255,255,255,.10);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}
.cookie-banner .cb-btn-reject:hover { background: rgba(255,255,255,.18); }
.cookie-banner .cb-btn-accept {
    background: linear-gradient(135deg, #f58220 0%, #e87213 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(245,130,32,.3);
}
.cookie-banner .cb-btn-accept:hover { box-shadow: 0 6px 18px rgba(245,130,32,.5); transform: translateY(-1px); }

/* Botón flotante 🍪 para reabrir banner */
.cookie-floating-btn {
    position: fixed;
    bottom: 18px;
    left: 18px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(36, 52, 73, .92);
    color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
    transition: all .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cookie-floating-btn:hover { transform: scale(1.08); background: #f58220; }

@media (max-width: 768px) {
    .cookie-banner { left: 8px; right: 8px; bottom: 8px; }
    .cookie-banner .cb-inner { padding: 14px 16px; }
    .cookie-banner .cb-actions { flex-direction: column; }
    .cookie-banner .cb-btn { width: 100%; }
    /* Ocultar el botón flotante 🍪 en mobile (choca con sticky-bottom-bar) */
    .cookie-floating-btn { display: none; }
}

/* ════════════════════════════════════════════════════════════
   FORM SUCCESS BANNER · aparece tras envío exitoso del form
   ════════════════════════════════════════════════════════════ */
.form-success-banner {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    z-index: 10001;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(22,163,74,.35), 0 6px 14px rgba(0,0,0,.15);
    max-width: 540px;
    width: calc(100% - 32px);
    transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
    opacity: 0;
}
.form-success-banner.fsb-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.form-success-banner .fsb-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
}
.form-success-banner .fsb-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    flex-shrink: 0;
}
.form-success-banner .fsb-text { flex: 1; }
.form-success-banner .fsb-text strong { display: block; font-size: 16px; margin-bottom: 4px; }
.form-success-banner .fsb-text p { margin: 0; font-size: 13px; color: rgba(255,255,255,.92); line-height: 1.45; }
.form-success-banner .fsb-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0 8px;
    opacity: .8;
    flex-shrink: 0;
    line-height: 1;
}
.form-success-banner .fsb-close:hover { opacity: 1; }

@media (max-width: 600px) {
    .form-success-banner { top: 12px; }
    .form-success-banner .fsb-inner { padding: 14px 16px; gap: 12px; }
    .form-success-banner .fsb-text strong { font-size: 14px; }
    .form-success-banner .fsb-text p { font-size: 12px; }
}

/* ════════════════════════════════════════════════════════════
   FORM MESSAGE (AJAX response) · mostrar éxito/error inline
   ════════════════════════════════════════════════════════════ */
.contact-form-modern .form-message {
    margin-top: 14px;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.contact-form-modern .form-message-success {
    padding: 12px 16px;
    background: #ecfdf5;
    color: #166534;
    border: 1px solid #86efac;
    border-radius: 8px;
}
.contact-form-modern .form-message-error {
    padding: 12px 16px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 8px;
}
