/* =====================================================================
   EQUIPA HOTEL 2026 - Landing de una pantalla
   Paleta: azul corporativo #2483c9 + azul marino + blanco, acento rojo
   Tipografia: DM Serif Display (titulos) + Montserrat (texto)
   ===================================================================== */

:root {
    --blue: #2483c9;
    --blue-dark: #1b6aa8;
    --navy: #0b2a4a;
    --navy-2: #123a63;
    --sky: #eaf4fc;
    --sky-2: #d4e8f8;
    --ink: #14233a;
    --muted: #5b6b80;
    --red: #e5333d;
    --wa: #25d366;
    --wa-dark: #1ebe5a;
    --radius: 24px;
    --shadow: 0 22px 44px -22px rgba(11, 42, 74, .45);
    --font-display: 'DM Serif Display', Georgia, serif;
    --cw: 1140px; /* ancho del .container de Bootstrap segun breakpoint */
    --edge: max(calc((100vw - var(--cw)) / 2 + 12px), 16px);
}
@media (max-width: 1199.98px) { :root { --cw: 960px; } }
@media (min-width: 1400px) { :root { --cw: 1320px; } }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
}

img { max-width: 100%; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--blue);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: currentColor;
}

/* ---------- Botones ---------- */
.btn-eq {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-eq:hover { transform: translateY(-2px); }
.btn-eq-white { background: #fff; color: var(--blue-dark); box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); }
.btn-eq-white:hover { color: var(--navy); box-shadow: 0 14px 28px -10px rgba(0,0,0,.5); }
.btn-eq-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-eq-ghost:hover { background: #fff; color: var(--navy); }
.btn-eq-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px var(--blue); }
.btn-eq-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-eq-wa { background: var(--wa); color: #fff; }
.btn-eq-wa:hover { background: var(--wa-dark); color: #fff; }

/* ---------- Header flotante en forma de pildora ---------- */
.site-header {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0 16px;
    transition: top .3s ease;
}
.site-header .bar {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--blue);
    border-radius: 999px;
    padding: 10px 12px 10px 30px;
    box-shadow: 0 14px 34px -14px rgba(11, 42, 74, .6);
    transition: background .3s ease, padding .3s ease, backdrop-filter .3s ease;
}
.header-logo { height: 48px; transition: height .3s ease; }
.site-header nav { flex: 1; }
.site-header .nav { justify-content: center; gap: 2px; }
.site-header .nav-link {
    color: #fff;
    font-weight: 600;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 9px 16px;
    border-radius: 999px;
    transition: background .25s ease, color .25s ease;
}
.site-header .nav-link:hover { background: rgba(255,255,255,.18); color: #fff; }
.header-cta { padding: 11px 22px; font-size: .74rem; }

.site-header.is-scrolled { top: 8px; }
.site-header.is-scrolled .bar {
    background: rgba(11, 42, 74, .92);
    backdrop-filter: blur(10px);
    padding-top: 6px;
    padding-bottom: 6px;
}
.site-header.is-scrolled .header-logo { height: 36px; }

.navbar-toggler {
    border: 0;
    color: #fff;
    font-size: 1.4rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    margin-left: auto;
}

/* ---------- Menu movil ---------- */
.offcanvas { background: var(--navy); color: #fff; }
.offcanvas-header { padding: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.header-logo-mobile { height: 40px; }
.offcanvas .btn-close { filter: invert(1); opacity: 1; }
.offcanvas .nav-link {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.6rem;
    padding: .7rem 1.2rem;
}
.offcanvas .nav-link:hover { color: var(--sky-2); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); }
.hero .carousel-item {
    height: 100vh;
    height: 100svh;
    min-height: 640px;
    max-height: 920px;
    position: relative;
}
.hero .carousel-item > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}
.hero .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8,32,58,.92) 0%, rgba(8,32,58,.7) 34%, rgba(8,32,58,.15) 62%, rgba(8,32,58,0) 100%),
        linear-gradient(0deg, rgba(8,32,58,.55) 0%, rgba(8,32,58,0) 30%);
}
.hero-caption {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-caption .container { padding-top: 70px; }
.hero-caption .col-inner { max-width: 600px; pointer-events: auto; }
.hero .eyebrow { color: #9fd0f3; }
.hero-title {
    font-family: var(--font-display);
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    line-height: 1.04;
    margin: 18px 0 20px;
}
.hero-title em { font-style: italic; color: #9fd0f3; }
.hero-text {
    color: rgba(255,255,255,.88);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero .carousel-item .hero-caption .col-inner > * {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}
.hero .carousel-item.active .hero-caption .col-inner > * { opacity: 1; transform: none; }
.hero .carousel-item.active .hero-caption .col-inner > *:nth-child(2) { transition-delay: .12s; }
.hero .carousel-item.active .hero-caption .col-inner > *:nth-child(3) { transition-delay: .24s; }
.hero .carousel-item.active .hero-caption .col-inner > *:nth-child(4) { transition-delay: .36s; }

/* Indicadores */
.hero .carousel-indicators {
    z-index: 5;
    justify-content: flex-start;
    margin: 0;
    left: var(--edge);
    right: auto;
    bottom: 120px;
    gap: 10px;
}
.hero .carousel-indicators [data-bs-target] {
    width: 54px;
    height: 4px;
    border: 0;
    border-radius: 4px;
    background: rgba(255,255,255,.4);
    opacity: 1;
    margin: 0;
    transition: width .3s ease, background .3s ease;
}
.hero .carousel-indicators .active { width: 90px; background: #fff; }

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 54px;
    height: 54px;
    top: auto;
    bottom: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    opacity: 1;
}
.hero .carousel-control-prev { left: auto; right: 90px; }
.hero .carousel-control-next { right: 24px; }
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover { background: rgba(255,255,255,.32); }

/* Sello flotante */
.hero-badge {
    position: absolute;
    z-index: 4;
    right: var(--edge);
    top: 36%;
    background: rgba(255,255,255,.96);
    color: var(--navy);
    padding: 18px 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    border-bottom: 5px solid var(--red);
    line-height: 1.2;
}
.hero-badge strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--blue); font-weight: 400; }
.hero-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Franja de confianza ---------- */
.trust {
    position: relative;
    z-index: 6;
    margin-top: -62px;
    background: linear-gradient(180deg, transparent 62px, var(--sky) 62px);
}
.trust-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 26px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
}
.trust-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--sky);
    color: var(--blue);
    font-size: 1.4rem;
}
.trust-card h5 {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 4px;
}
.trust-card p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.5; }

/* ---------- Catalogo con pestanas ---------- */
.catalog {
    position: relative;
    padding: 90px 0 110px;
    background: var(--sky);
    overflow: hidden;
}
.catalog::before,
.catalog::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.catalog::before { width: 560px; height: 560px; right: -200px; top: 90px; background: var(--sky-2); opacity: .7; }
.catalog::after { width: 260px; height: 260px; left: -90px; bottom: 60px; background: rgba(36,131,201,.14); }
.catalog .container { position: relative; z-index: 2; }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.1;
    color: var(--navy);
    margin: 14px 0 0;
}

.catalog-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 10px 26px -16px rgba(11,42,74,.5);
    border: 0;
}
.catalog-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    padding: 11px 24px;
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--navy);
    background: transparent;
    transition: background .25s ease, color .25s ease;
}
.catalog-tabs .nav-link:hover { background: var(--sky); }
.catalog-tabs .nav-link.active { background: var(--blue); color: #fff; }

.pcard {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 14px 30px -22px rgba(11,42,74,.55);
    transition: transform .35s ease, box-shadow .35s ease;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-image-container { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #f3f6f9; }
.product-thumbnail {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .4s ease, transform .6s ease;
}
.product-image-container .hover-image { opacity: 0; }
.pcard:hover .product-image-container .main-image { opacity: 0; }
.pcard:hover .product-image-container .hover-image { opacity: 1; }
.pcard:hover .product-image-container .main-image:only-of-type { opacity: 1; transform: scale(1.06); }
.pcard-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product-title {
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.4;
    color: var(--navy);
    margin: 0;
    flex: 1;
}
.pcard-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--sky);
    color: var(--blue-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s ease, color .25s ease;
}
.pcard-link:hover { background: var(--blue); color: #fff; }

/* ---------- CTA en tarjeta ---------- */
.cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    padding: 64px clamp(28px, 6vw, 80px);
    color: #fff;
    background: linear-gradient(120deg, var(--blue) 0%, var(--navy-2) 100%);
    box-shadow: var(--shadow);
}
.cta-card::before,
.cta-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-card::before { width: 380px; height: 380px; right: -110px; top: -140px; }
.cta-card::after { width: 220px; height: 220px; right: 140px; bottom: -130px; background: rgba(255,255,255,.06); }
.cta-card > * { position: relative; z-index: 2; }
.cta-text { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; margin: 0 0 12px; }
.cta-subtitle { font-size: 1.05rem; opacity: .92; margin: 0; max-width: 560px; }

.cta-wrap { position: relative; z-index: 3; margin: -70px 0 0; padding-bottom: 80px; background: var(--sky); }
.cta-wrap.cta-wrap-plain { margin: 0; padding: 90px 0 90px; background: #fff; }

/* ---------- Prueba social ---------- */
.proof {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    padding: 100px 0;
}
.proof::before {
    content: '';
    position: absolute;
    width: 640px;
    height: 640px;
    border-radius: 50%;
    left: -220px;
    top: -260px;
    background: radial-gradient(circle, rgba(36,131,201,.55), rgba(36,131,201,0) 70%);
}
.proof .container { position: relative; z-index: 2; }
.proof-title { font-family: var(--font-display); font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.15; margin: 16px 0 0; }
.proof-title .accent { color: #9fd0f3; font-style: italic; }
.proof .eyebrow { color: #9fd0f3; }

.testimonial-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
    border-radius: 30px;
    padding: 40px clamp(24px, 4vw, 48px) 28px;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 26px;
    font-family: var(--font-display);
    font-size: 6rem;
    line-height: 1;
    color: var(--blue);
}
.stars { color: #ffc83d; font-size: 1rem; letter-spacing: 3px; margin-bottom: 14px; }
.testimonial-text { font-size: 1.12rem; line-height: 1.75; margin: 0 0 18px; min-height: 120px; }
.testimonial-author { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; color: #9fd0f3; margin: 0; }
.testimonial-nav { display: flex; gap: 10px; margin-top: 22px; }
.testimonial-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4);
    background: transparent;
    color: #fff;
    transition: background .25s ease, color .25s ease;
}
.testimonial-nav button:hover { background: #fff; color: var(--navy); }

/* ---------- Footer ---------- */
footer.footer {
    background: var(--navy);
    color: #fff;
    border-radius: 40px 40px 0 0;
    margin-top: -40px;
    position: relative;
    z-index: 4;
    padding: 70px 0 0;
    font-size: 14px;
}
.footer-logo { height: 54px; margin-bottom: 18px; }
.footer .widget h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.5rem;
    color: #fff;
    margin: 0 0 18px;
}
.footer h3.widget-title {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9fd0f3;
    margin: 0 0 10px;
    line-height: 1.5;
    padding: 0;
}
.footer h3.widget-title i { margin-right: 8px; }
.footer .widget ul { list-style: none; padding: 0; margin: 0 0 24px; }
.footer .widget ul li { padding: 0 0 6px; color: rgba(255,255,255,.88); }
.footer .widget a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .2s ease; }
.footer .widget a:hover { color: #fff; text-decoration: underline; }
.footer .widget p { color: rgba(255,255,255,.88); font-size: .92rem; line-height: 1.6; margin: 0 0 22px; }

.bottom-footer-text {
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 20px 0;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
}
.copyright-right { text-align: right; }
.copyright-right a { color: #9fd0f3; font-weight: 700; text-decoration: none; }

/* ---------- Boton subir ---------- */
.scroll-to-top {
    position: fixed;
    left: 24px;
    bottom: 96px;
    z-index: 1040;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--blue);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 16px rgba(11,42,74,.3);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-to-top:hover { background: var(--blue); color: #fff; }

/* ---------- Aparicion al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
section[id], footer[id] { scroll-margin-top: 90px; }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .site-header { top: 10px; }
    .site-header .bar { padding: 8px 10px 8px 20px; }
    .header-logo { height: 38px; }
    .hero-badge { display: none; }
    .hero .carousel-item::after {
        background:
            linear-gradient(180deg, rgba(8,32,58,.55) 0%, rgba(8,32,58,.8) 100%);
    }
    .hero .carousel-item { min-height: 600px; }
    .hero .carousel-indicators { left: 16px; bottom: 96px; }
    .hero .carousel-control-prev,
    .hero .carousel-control-next { display: none; }
    .trust { margin-top: -40px; background: linear-gradient(180deg, transparent 40px, var(--sky) 40px); }
    .catalog { padding-top: 70px; }
    .cta-card { padding: 44px 26px; border-radius: 28px; }
    .copyright-right { text-align: left; margin-top: 6px; }
}
@media (max-width: 575.98px) {
    .catalog-tabs { width: 100%; justify-content: center; border-radius: 28px; }
    .catalog-tabs .nav-link { padding: 10px 14px; font-size: .7rem; }
    .scroll-to-top { left: 16px; bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero .carousel-item .hero-caption .col-inner > * { transition: none; }
}
