/* ============================================================
   Comunidad CO3 — site.css
   Replica del design system del sitio original sobre Bootstrap 5.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Stack+Sans+Text:wght@200..700&display=swap');

:root {
    /* Paleta exacta del sitio original */
    --bs-dark:       #000;
    --bs-white:      #FFF;
    --bs-primary:    #0073c1;
    --bs-primary-rgb: 0,115,193;
    --bs-success:    #32b845;
    --bs-success-rgb: 50,184,69;
    --bs-warning:    #f75700;
    --bs-warning-rgb: 247,87,0;
    --bs-info:       #0073c1;
    --bs-danger:     #f5365c;
    --bs-secondary:  #EEE;
    --bs-yellow:     #ffc502;
    --bs-gray:       #acafb2;

    --co3-orange:        #f75700;
    --co3-yellow:        #ffc502;
    --co3-blue:          #0073c1;
    --co3-pink:          #e83e8c;   /* del Bootstrap 4 var --pink */
    --pink:              #e83e8c;   /* compat: inc-fotos.php usa var(--pink) inline */
    --co3-blue-halo:     #0073c22e;
    --co3-success-halo:  #32b94633;
    --co3-warning-halo:  #f857001c;

    --co3-font-sans: "Stack Sans Text", -apple-system, BlinkMacSystemFont,
                     "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
                     sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
                     "Segoe UI Symbol", "Noto Color Emoji";
}

/* ============================================================
   CONTAINER — override del max-width xxl de Bootstrap (1320px -> 1280px)
   ============================================================ */
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1280px;
    }
}

/* ============================================================
   BASE
   ============================================================ */
html, body {
    font-family: var(--co3-font-sans);
    font-weight: 300;
    color: var(--bs-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* html y body con fondo negro: la zona del padding-bottom del body (reservada
   para los botones sticky fixed) no muestra blanco — se ve como continuacion
   del footer. Las secciones internas tienen su propio background (white/light). */
html, body { background-color: #000; }

body {
    font-size: 16px;
    line-height: 1.4;
}

/* Bold real (Bootstrap 5 usa "bolder" relativo al parent, y con body 300 se ve liviano) */
strong, b, .fw-bold { font-weight: 700 !important; }
.fw-semibold       { font-weight: 600 !important; }

h1, h2, h3, h4, h5, h6 { margin-bottom: 10px; color: inherit; }
h1 { font-size: 50px; }
h2 { font-size: 40px; }
h3 { font-size: 30px; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.3em; }
h6 { font-size: 0.9em; }

.display-1 { font-size: 65px !important; font-weight: 500 !important; letter-spacing: -2px   !important; line-height: 1   !important; }
.display-2 { font-size: 55px !important; font-weight: 500 !important; letter-spacing: -1.5px !important; line-height: 1   !important; }
.display-3 { font-size: 45px !important; font-weight: 500 !important; letter-spacing: -1.2px !important; line-height: 1   !important; }
.display-4 { font-size: 35px !important; font-weight: 500 !important; letter-spacing: -1px   !important; }
.display-5 { font-size: 25px !important; font-weight: 500 !important; letter-spacing: -0.5px !important; line-height: 1.2 !important; }
.display-6 { font-size: 22px !important; font-weight: 500 !important; letter-spacing: -0.5px !important; line-height: 1   !important; }
.lead      { font-size: 20px; }

.fw-regular { font-weight: 400 !important; }

@media (max-width: 991.98px) {
    .display-1 { font-size: 40px !important; }
    .display-2 { font-size: 35px !important; }
    .display-3 { font-size: 30px !important; }
    .display-4 { font-size: 25px !important; }
    .display-5 { font-size: 20px !important; }
    .display-6 { font-size: 20px !important; }
    .lead      { font-size: 18px !important; }
}

.text-shadow { text-shadow: 5px 5px 20px rgba(0,0,0,0.8); }

/* Links sin subrayado por defecto (override BS5). Si en algun lugar queremos
   subrayado, agregar la clase utilitaria .text-underline. */
a { text-decoration: none; }
a:hover, a:focus { text-decoration: none; }
.text-underline { text-decoration: underline !important; }

/* ============================================================
   BOTONES (override Bootstrap 5 al estilo Now UI Kit)
   ============================================================ */
.btn {
    border-width: 2px;
    font-weight: 400;
    line-height: 1.35em;
    margin: 10px 1px;
    border: none;
    border-radius: 6px;
    padding: 11px 22px;
    background-color: #888;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all .2s ease;
}
.btn:hover, .btn:focus { box-shadow: 0 3px 8px 0 rgba(0,0,0,0.17); color: #fff; }

.btn-warning  { background-color: var(--bs-warning); color: #fff !important; }
.btn-warning:hover { background-color: #ffb300; color: #333 !important; }

.btn-dark     { background-color: #000; color: #fff !important; }
.btn-dark:hover { background-color: #1a1a1a; color: #fff !important; }

.btn-primary  { background-color: var(--bs-warning); color: #fff !important; }
.btn-primary:hover { background-color: #000; color: var(--bs-primary) !important; box-shadow: none; }

.btn-success  { background-color: #18ce0f; color: #fff !important; }
.btn-success:hover { background-color: #1beb11; color: #fff !important; }

.btn-neutral  { background-color: #fff; color: #000 !important; }
.btn-neutral:hover { background-color: #efefef; color: #333 !important; box-shadow: none !important; }

/* Outline buttons (al estilo Now UI Kit del sitio original) */
.btn-outline-primary,
.btn-outline-secondary,
.btn-outline-warning,
.btn-outline-success,
.btn-outline-danger,
.btn-outline-dark {
    background-color: transparent;
    border: 2px solid;
}
.btn-outline-primary   { color: var(--bs-primary) !important;   border-color: var(--bs-primary); }
.btn-outline-primary:hover   { background-color: var(--bs-primary); color: #fff !important; border-color: var(--bs-primary); }
.btn-outline-secondary { color: #888 !important;                border-color: #888; }
.btn-outline-secondary:hover { background-color: #888; color: #fff !important; border-color: #888; }
.btn-outline-warning   { color: var(--bs-warning) !important;   border-color: var(--bs-warning); }
.btn-outline-warning:hover   { background-color: var(--bs-warning); color: #fff !important; border-color: var(--bs-warning); }
.btn-outline-success   { color: var(--bs-success) !important;   border-color: var(--bs-success); }
.btn-outline-success:hover   { background-color: var(--bs-success); color: #fff !important; border-color: var(--bs-success); }
.btn-outline-danger    { color: var(--bs-danger) !important;    border-color: var(--bs-danger); }
.btn-outline-danger:hover    { background-color: var(--bs-danger); color: #fff !important; border-color: var(--bs-danger); }
.btn-outline-dark      { color: #000 !important;                border-color: #000; }
.btn-outline-dark:hover      { background-color: #000; color: #fff !important; border-color: #000; }

.btn-lg { font-size: 1.2em; font-weight: 400; border-radius: 3px; padding: 15px 30px; }
.btn-sm { font-size: 14px; border-radius: 3px; padding: 5px 15px; }

/* ============================================================
   NAVBAR (fixed-top, transparente sobre hero, blanca al scroll)
   El logo flota arriba con position absolute (top: 0 transparente,
   top: -5px cuando bg-white) — los items quedan a la altura del top.
   ============================================================ */
.navbar {
    padding: 0.5rem 0;
    transition: background-color .3s ease, box-shadow .3s ease;
}
.navbar.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none !important;
}
.navbar.bg-white:not(.navbar-transparent) {
    background-color: #fff !important;
    box-shadow: 0 0 20px 0 rgba(0,0,0,0.15);
}

/* Brand container: reserva el ancho del logo, el logo "sale" arriba.
   En transparent (sobre hero) el logo es grande (210px) y baja hasta tocar el top.
   En bg-white (scroll) baja a 150px y se acomoda al alto del navbar.
   El navbar permite overflow visible para que el logo sobresalga. */
.navbar { overflow: visible; padding-top: 0; padding-bottom: 0; }
/* Logo: 150px transparente (sobre hero), 120px cuando bg-white (post-scroll).
   Posicion absolute top:0 para que toque el borde superior de la pagina. */
.navbar .navbar-brand {
    padding: 0;
    margin: 0;
    position: relative;
    width: 150px;
    height: 60px;
}
.navbar .navbar-brand .logo-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    height: auto;
    transition: width .3s ease, top .3s ease;
}
.navbar:not(.navbar-transparent) .navbar-brand,
.navbar:not(.navbar-transparent) .navbar-brand .logo-img {
    width: 120px;
}
.navbar:not(.navbar-transparent) .navbar-brand .logo-img { top: -5px; }

.navbar .navbar-nav .nav-link {
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.5px;
    padding: 0.5rem 0.7rem !important;
    border-radius: 0.1875rem;
    transition: background-color .2s ease, color .2s ease;
}
.navbar.navbar-transparent .navbar-nav .nav-link:hover,
.navbar.navbar-transparent .navbar-nav .nav-link:focus {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}
.navbar:not(.navbar-transparent) .navbar-nav .nav-link {
    color: #333;
}
.navbar:not(.navbar-transparent) .navbar-nav .nav-link:hover,
.navbar:not(.navbar-transparent) .navbar-nav .nav-link:focus {
    background-color: rgba(222,222,222,0.3);
    color: #333;
}

/* Botón warning dentro del navbar (CTA) */
.navbar .navbar-nav .nav-item .btn.btn-warning {
    padding: 10px 22px;
    margin: 0;
    color: #fff !important;
}

/* Iconos sociales del navbar */
.navbar .navbar-nav .nav-link.social-link i { font-size: 1rem; }
/* Label "Instagram" / "TikTok": oculto en desktop (alcanza el icono),
   visible en mobile donde el menu desplegado tiene lugar. */
.navbar .navbar-nav .nav-link.social-link .social-label { display: none; margin-left: .5rem; }
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link.social-link .social-label { display: inline; }
}

/* Mobile toggler */
.navbar-toggler { border: none !important; box-shadow: none !important; }
.navbar.navbar-transparent .navbar-toggler-icon {
    filter: brightness(0) invert(1);
}

/* Menu mobile abierto (clase puesta por site.js).
   El navbar ya esta en estado bg-white, asi que items oscuros + fondo blanco.
   Aca solo damos respiracion al panel desplegado.
   IMPORTANTE: padding-top alto para que el primer item no quede tapado
   por el logo (que es 120px y sobresale del navbar). */
@media (max-width: 991.98px) {
    .navbar .navbar-collapse {
        padding: 70px 0 .5rem;
        border-top: 1px solid rgba(0,0,0,.06);
        margin-top: .5rem;
    }
    .navbar .navbar-nav .nav-link {
        padding: .75rem 1rem !important;
        font-size: 15px;
    }
    /* El boton CTA del nav: ancho completo y centrado en mobile */
    .navbar .navbar-nav .nav-item .btn.btn-warning {
        margin: .5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* ============================================================
   HERO (page-header full vh)
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    max-height: 999px;
    padding: 0;
    color: #fff;
    overflow: hidden;
    background: #000;
}
.hero .hero-bg,
.hero .hero-bg img,
.hero .hero-bg video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}
.hero .hero-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    z-index: 2;
    padding: 0 15px;
}
.hero h1, .hero h2 { color: #fff; }

/* ============================================================
   CTA BANNER (bg-gradient-warning con halo)
   ============================================================ */
.bg-gradient-warning {
    background: #F75700;
    background: linear-gradient(150deg, rgba(247,87,0,1) 50%, rgba(255,197,2,1) 100%);
}
.cta-banner {
    border-radius: 24px;
    padding: 3rem;
    color: #fff;
    box-shadow: 0 0 0 14px #f7570017 !important;
}
.cta-banner .btn-dark {
    width: 100%;
    font-weight: 400;
}
/* Wrap full-width con gradient blanco-negro 50/50: el banner queda
   visualmente "partido" entre el blanco (arriba) y el negro (abajo). */
.cta-banner-bg {
    background: linear-gradient(to bottom, #fff 70%, #000 70%);
    padding: 50px 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    font-size: 1rem;
}
.site-footer h4 { margin-bottom: 1rem; color: #fff; }
.site-footer .nav-link {
    color: var(--bs-gray);
    padding: 0.2rem 0.2rem;
    text-decoration: none;
}
.site-footer .nav-link:hover { color: #fff; }
.site-footer .footer-logo { width: 35%; max-width: 95px; margin-bottom: 1rem; }
.site-footer .footer-socials a {
    color: #fff;
    padding: 0.75rem;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0.9;
    display: inline-block;
}
.site-footer .footer-socials a:hover { opacity: 1; }
.site-footer .footer-partner { max-width: 100%; height: auto; }
.site-footer .footer-credit { color: #6c757d; font-size: 0.85rem; }

/* ============================================================
   STICKY ACTIONS (.footer-links) — 3 botones-solapa pegados al bottom
   - fondo transparente (convive con la pagina)
   - botones a nivel 0 (sin padding del wrapper)
   - SOLO bordes superiores redondeados (estilo solapa)
   - halo de color visible alrededor
   ============================================================ */
.footer-links {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    padding: 0;
}
/* el container hereda el max-width default de Bootstrap (1140/1320px)
   asi los botones quedan con campo verde visible a los costados */
.footer-links .container { padding-left: 15px; padding-right: 15px; }
.footer-links .footer-row {
    display: flex;
    align-items: stretch;
    margin: 0;
    gap: 25px;
    padding: 0;
    flex-wrap: nowrap;
}
.footer-links .footer-row > .col {
    flex: 1 1 33.333%;
    min-width: 0;
    padding: 0;
}
@media (max-width: 575.98px) {
    .footer-links .footer-row { gap: 12px; }
}
.footer-links .boton {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 16px 8px;
    color: #fff !important;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 8px 8px 0 0;       /* solapa: solo esquinas superiores */
    text-align: center;
    transition: transform .15s ease, filter .15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer-links .boton:hover { filter: brightness(1.05); }
.footer-links .boton.bg-primary { box-shadow: 0 0 0 8px var(--co3-blue-halo)    !important; background: var(--co3-blue)   !important; }
.footer-links .boton.bg-success { box-shadow: 0 0 0 8px var(--co3-success-halo) !important; background: var(--bs-success) !important; }
.footer-links .boton.bg-warning { box-shadow: 0 0 0 8px var(--co3-warning-halo) !important; background: var(--co3-orange) !important; }

/* Mobile (igual al original): icono apilado arriba, texto largo abajo
   en 1 o 2 lineas. Padding y fuente compactos para que entre. */
@media (max-width: 767.98px) {
    .footer-links .boton {
        flex-direction: column;
        gap: 4px;
        padding: 10px 4px;
        font-size: 13px;
        letter-spacing: 0.5px;
        white-space: normal;
        line-height: 1.15;
    }
    .footer-links .boton i { font-size: 18px; }
}

/* Espacio para que el contenido no quede tapado por sticky-actions */
body { padding-bottom: 80px; }
@media (min-width: 576px) { body { padding-bottom: 90px; } }

/* ============================================================
   SECCIONES INTERNAS (Fase C)
   ============================================================ */
.section {
    padding: 100px 0;
    position: relative;
    background: #fff;
}
.bg-light { background-color: #F7F7F6 !important; }
.bg-warning-light { background-color: #f8f2ed !important; }

/* Destacado / badge superior de seccion */
.destacado {
    display: inline-block;
    background: #ffedbc;
    color: var(--co3-orange);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 20px;
    margin-bottom: 12px;
    border-radius: 6px;
}
/* Variante negra con texto amarillo (usada en pag-barrio sobre el hero).
   !important porque `.hero h1, .hero h2 { color:#fff }` tiene mas
   especificidad y nos pisa el amarillo. */
.destacado-black {
    display: inline-block;
    background: var(--bs-dark);
    color: var(--bs-yellow) !important;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 20px;
    margin-bottom: 12px;
    border-radius: 6px;
}

/* Cards */
.card {
    border: 0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 5px 25px 0 rgba(0,0,0,0.1);
}
.card.card-plain {
    background: transparent;
    box-shadow: none;
}
.card.shadow-lg { box-shadow: 0 10px 50px 0 rgba(0,0,0,0.15) !important; }
.card.shadow    { box-shadow: 0 5px 25px 0 rgba(0,0,0,0.1) !important; }

/* Iconos de ventajas: cada uno dentro de un circulo blanco con sombra */
.icono {
    width: 90px;
    height: 90px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px 0 rgba(0,0,0,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 1.25rem;
}
.icono img { width: 50px; height: 50px; object-fit: contain; }

/* CO3 TIMELINE (Como funciona) */
.co3-timeline { position: relative; }
.co3-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 22px;
    align-items: start;
    padding: 26px 0;
    position: relative;
}
.co3-axis { position: relative; min-height: 100%; }
.co3-axis::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -26px;
    bottom: -26px;
    width: 2px;
    transform: translateX(-50%);
    background: var(--co3-orange);
}
.co3-num {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--co3-orange);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 8px var(--co3-warning-halo);
}
@media (max-width: 575.98px) {
    .co3-step { grid-template-columns: 52px 1fr; column-gap: 16px; padding: 22px 0; }
    .co3-num  { width: 34px; height: 34px; font-size: 14px; }
}

/* ============================================================
   FORM PRESUPUESTO — replica del original
   ============================================================ */
#presupuesto .comunidadco3-form .card { border-radius: 6px; }
#presupuesto .comunidadco3-form .card-body { padding: 2rem; }
@media (min-width: 992px) {
    #presupuesto .comunidadco3-form .card-body { padding: 2.5rem; }
}

/* Cada input-group con icono a la izquierda */
#presupuesto .input-group { margin-bottom: .5rem; border-radius: 0 !important; }
#presupuesto .input-group > * { border-radius: 0 !important; }

/* Icono a la izquierda — misma transition que el input para que cambien al unisono */
#presupuesto .input-group-text {
    background-color: #fff;
    border: 1px solid #E3E3E3;
    border-right: 0;
    color: #2c2c2c;
    padding: 14px 0 15px 18px;
    font-size: 1rem;
    transition: border-color .3s ease, color .3s ease;
}
#presupuesto .input-group-text i {
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
}

/* Input */
#presupuesto .form-control {
    background-color: #fff;
    border: 1px solid #E3E3E3;
    border-left: 0;
    color: #2c2c2c;
    box-shadow: none !important;
    padding: 14px 18px;
    font-size: 1rem;
    line-height: normal;
    height: auto;
    transition: border-color .3s ease;
}
#presupuesto .form-control::placeholder { color: #9A9A9A; }

/* Focus: borde naranja, sin shadow, propagado al icono adyacente */
#presupuesto .form-control:focus {
    border-color: #f96332;
    box-shadow: none !important;
    outline: 0 !important;
    color: #2c2c2c;
}
#presupuesto .input-group:focus-within .input-group-text {
    border-color: #f96332;
    color: #f96332;
}

/* Boton submit — tamano default del btn (padding 11px 22px), ancho completo */
#presupuesto .send-button .btn,
#presupuesto button[type="submit"] {
    width: 100%;
    margin: 0.5rem 0 0 0;
}

/* FAQs accordion — cards blancas con sombra, como en el original */
.card-collapse {
    background: transparent;
}
.card-collapse .accordion-item {
    background: #fff !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 14px;
    overflow: hidden;
}
.card-collapse .accordion-header {
    margin: 0;
    background: transparent;
}
.card-collapse .accordion-button {
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 1.15rem 1.5rem;
    color: var(--bs-dark);
    line-height: 1.3;
    border-radius: 8px !important;
    font-weight: 500;
}
.card-collapse .accordion-button:not(.collapsed) {
    background: #fff !important;
    color: var(--bs-dark);
}
.card-collapse .accordion-button:focus,
.card-collapse .accordion-button:focus-visible {
    box-shadow: none !important;
    outline: none !important;
    border-color: transparent !important;
}
/* Flecha negra (chevron) a la derecha */
.card-collapse .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.card-collapse .accordion-collapse {
    background: #fff;
}
.card-collapse .accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #333;
    background: #fff;
}
.card-collapse .accordion-body p:last-child { margin-bottom: 0; }
/* Ultima pregunta en naranja (texto del button) */
.card-collapse .accordion-button .text-co3-orange { color: var(--co3-orange) !important; }
.card-collapse .accordion-button .text-co3-orange ~ * { color: var(--co3-orange) !important; }

/* Util */
.text-co3-orange { color: var(--co3-orange) !important; }
.text-co3-blue   { color: var(--co3-blue) !important; }
.text-co3-pink   { color: var(--co3-pink) !important; }
.text-yellow     { color: var(--bs-yellow) !important; }

/* ============================================================
   GALERIA DE FOTOS — hover effect
   ============================================================ */
#fotos .row > [class*="col-"] a {
    display: block;
    overflow: hidden;
    border-radius: 0.375rem;
    position: relative;
}
#fotos .row > [class*="col-"] a img {
    transition: transform .35s ease, filter .35s ease;
    display: block;
    width: 100%;
}
#fotos .row > [class*="col-"] a::after {
    content: "\F52A";  /* bi-search */
    font-family: 'bootstrap-icons';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5rem;
    background: rgba(0,0,0,0);
    opacity: 0;
    transition: opacity .3s ease, background .3s ease;
    pointer-events: none;
}
#fotos .row > [class*="col-"] a:hover img {
    transform: scale(1.06);
    filter: brightness(0.7);
}
#fotos .row > [class*="col-"] a:hover::after {
    opacity: 1;
    background: rgba(0,0,0,0.25);
}

/* FancyBox queda con su z-index default — el navbar y los botones sticky
   conviven con el modal (igual que el sitio original). */

/* ============================================================
   TESTIMONIOS — carrusel custom
   ============================================================ */
#testimonios .testimonios-wrap { position: relative; }
#testimonios .testimonios-viewport {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;  /* permite scroll vertical, captura horizontal */
    user-select: none;
}
#testimonios .testimonios-wrap.is-dragging .testimonios-viewport { cursor: grabbing; }
#testimonios .testimonios-wrap.is-dragging .testimonios-track    { transition: none; }
#testimonios .testimonios-viewport img,
#testimonios .testimonios-viewport * { user-select: none; -webkit-user-drag: none; }
#testimonios .testimonios-track {
    display: flex;
    align-items: stretch;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
/* Cada card ocupa EXACTO 33.33% del viewport (3 enteras en cada paso).
   El bg gris vive en .testimonio-inner para no comerse el ancho del card. */
#testimonios .testimonio-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    padding: 0 12px;
    box-sizing: border-box;
    display: flex;
}
#testimonios .testimonio-inner {
    background: #f5f5f5;
    border: none;
    border-radius: 14px;
    padding: 28px 26px;
    width: 100%;
}
/* Estrellas amarillas, mas grandes */
#testimonios .testimonio-stars {
    color: var(--bs-yellow);
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
/* Texto completo, line-height comodo */
#testimonios .testimonio-texto {
    color: #333;
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 12px;
}
/* Nombre del cliente: justo debajo del texto, no anclado al fondo */
#testimonios .testimonio-nombre {
    font-weight: 700;
    color: #111;
    font-size: 16px;
}

/* Botones a los costados, centrados verticalmente, flotantes */
#testimonios .testimonios-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 3px 12px rgba(0,0,0,.18);
    color: #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
#testimonios .testimonios-btn:hover {
    background: var(--co3-orange);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.22);
    transform: translateY(-50%) scale(1.06);
}
#testimonios .testimonios-btn i { font-size: 22px; line-height: 1; }
#testimonios .testimonios-btn-prev { left: -10px; }
#testimonios .testimonios-btn-next { right: -10px; }

@media (max-width: 1199.98px) {
    #testimonios .testimonio-card {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (max-width: 767.98px) {
    #testimonios .testimonio-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 8px;
    }
    #testimonios .testimonio-inner { padding: 22px 20px; }
    #testimonios .testimonio-texto { font-size: 16px; }
    #testimonios .testimonios-btn { width: 40px; height: 40px; }
    #testimonios .testimonios-btn i { font-size: 20px; }
    #testimonios .testimonios-btn-prev { left: 4px; }
    #testimonios .testimonios-btn-next { right: 4px; }
}

/* ============================================================
   PAGE-HEADER-SMALL — header chico de las paginas internas (Fase D)
   ============================================================ */
.page-header-small {
    position: relative;
    min-height: 60vh;
    max-height: 440px;
    /* padding-top alto para que el navbar transparente flote arriba y el
       texto quede mas abajo del centro vertical */
    padding: 180px 0 50px;
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Gradient overlay encima del color de fondo: oscurece arriba y abajo
   para mejorar contraste del navbar y del titulo */
.page-header-small::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}
.page-header-small > * { position: relative; z-index: 1; }

/* Badge estilo pill: borde blanco transparente, sin fondo, pill completo */
.page-header-small .badge {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255,255,255,1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 16px;
    margin-bottom: 10px;
    border-radius: 999px;
    line-height: 1.2;
}
.page-header-small .display-1 { color: #fff; }

/* Backgrounds de utilidad para los page-headers */
.bg-yellow  { background-color: var(--bs-yellow)  !important; }
.bg-success { background-color: var(--bs-success) !important; }
.bg-warning { background-color: var(--bs-warning) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.bg-danger  { background-color: var(--bs-danger)  !important; }
.bg-dark    { background-color: var(--bs-dark)    !important; }

/* ============================================================
   VIDEO THUMB (recorridos)
   ============================================================ */
.video-thumb {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}
.video-thumb img { transition: transform .3s ease, filter .3s ease; display: block; width: 100%; }
.video-thumb:hover img { transform: scale(1.04); filter: brightness(0.85); }
.video-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.video-play-triangle {
    width: 0; height: 0;
    border-left: 24px solid #fff;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    margin-left: 6px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}
.video-play-icon::before {
    content: "";
    position: absolute;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
}
