/* ==========================================================================
   ESTILOS GENERALES Y BASE
   ========================================================================== */
html,
body {
    background: #08090C;
    scroll-snap-type: y proximity;
    scroll-padding-top: 18px;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    color: #ffffff;
    overflow-x: hidden;
}

:root {
    --elite-charcoal: #08090C;
}

header {
    text-align: center;
    padding: 35px 10px;
    background: #08090C;
}

.home-page {
    height: 100vh;
    background: #08090C;
    overflow: hidden;
}

.home-scroll {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.home-panel {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.home-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
    box-sizing: border-box;
    overflow: hidden;
}

.home-bg-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 2000ms ease, transform 2000ms ease;
}

.home-bg-slide.active {
    opacity: 0.5;
    transform: scale(1);
}

.home-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(8,9,12,0) 0%, rgba(8,9,12,0.18) 62%, rgba(8,9,12,0.46) 100%);
    pointer-events: none;
}

.home-hero {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    text-align: center;
}

.home-logo {
    width: clamp(150px, 13vw, 180px);
    display: block;
    margin: 0 auto 10px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.42));
}

.home-kicker {
    margin: 0 0 12px;
    color: #E6C200;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.22em;
    font-size: 13px;
}

.home-hero h1 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(38px, 7vw, 72px);
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-copy {
    margin: 22px auto 34px;
    max-width: 440px;
    color: rgba(255,255,255,0.72);
    font-size: 17px;
}

.home-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}

.home-card {
    min-height: 88px;
    border-radius: 16px;
    border: 1px solid rgba(230, 194, 0, 0.44);
    background: linear-gradient(145deg, rgba(36,39,43,0.22), rgba(8,9,12,0.16));
    color: #E6C200;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 48px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.home-card:hover {
    transform: translateY(-4px);
    border-color: #E6C200;
    background: linear-gradient(145deg, rgba(48,52,56,0.32), rgba(8,9,12,0.22));
}

.home-card-label {
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(18px, 3vw, 27px);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.home-testimonials {
    position: relative;
    box-sizing: border-box;
    padding: 22px 32px 26px;
    background: #08090C;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 18px;
    overflow: hidden;
}

.home-testimonials-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-testimonials-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: opacity 2000ms ease, transform 2000ms ease;
}

.home-testimonials-bg-slide.active {
    opacity: 0.5;
    transform: scale(1.06);
}

.home-testimonials::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(8,9,12,0.16) 0%, rgba(8,9,12,0.45) 72%, rgba(8,9,12,0.72) 100%);
    pointer-events: none;
}

.home-testimonials-head {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.home-testimonials-logo {
    width: clamp(78px, 7vw, 112px);
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.42));
}

.home-testimonials h2 {
    margin: 0;
    color: #E6C200;
    font-size: clamp(32px, 4.4vw, 58px);
    line-height: 0.96;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-testimonials p {
    margin: 10px auto 0;
    max-width: 680px;
    color: rgba(255,255,255,0.72);
    line-height: 1.5;
}

.home-testimonials-link {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid rgba(230, 194, 0, 0.38);
    border-radius: 999px;
    color: #E6C200;
    text-decoration: none;
    font-weight: 800;
    background: rgba(8, 9, 12, 0.86);
}

.home-years {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    min-height: 0;
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
}

.home-year-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    background: rgba(8, 9, 12, 0.92);
    padding: 12px 14px 14px;
}

.home-year-card h3 {
    margin: 0 0 8px;
    color: #E6C200;
    font-size: clamp(20px, 2vw, 28px);
    letter-spacing: 0.1em;
}

.home-testimonial-stage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    height: min(31vh, 270px);
    overflow: hidden;
}

.home-testimonial-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: #0C0D12;
    opacity: 1;
    transform: scale(1);
    transition: opacity 520ms ease, transform 520ms ease;
}

.home-testimonial-stage img.is-fading {
    opacity: 0;
    transform: scale(0.985);
}

.home-year-empty {
    padding: 24px 0;
    color: rgba(255,255,255,0.6);
}

.home-advisor {
    position: relative;
    box-sizing: border-box;
    padding: 34px 32px;
    background: #08090C;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    overscroll-behavior: contain;
}

.home-advisor-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-advisor-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 50% 42%, rgba(230,194,0,0.09), transparent 28%),
        radial-gradient(circle at 14% 76%, rgba(230,194,0,0.12), transparent 24%),
        linear-gradient(115deg, rgba(8,9,12,0.70), rgba(8,9,12,0.36));
}

.home-advisor-bg-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center 42%;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 2000ms ease, transform 2000ms ease;
}

.home-advisor-bg-slide.active {
    opacity: 0.72;
    transform: scale(1.03);
}

.home-advisor::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(8,9,12,0.08) 0%, rgba(8,9,12,0.50) 68%, rgba(8,9,12,0.78) 100%);
    pointer-events: none;
}

.home-advisor-shell {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: 100%;
    text-align: center;
}

.home-advisor-logo {
    width: clamp(86px, 8vw, 124px);
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.42));
}

.home-advisor h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 0.96;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-advisor-head p:not(.home-kicker),
.home-advisor-note {
    color: rgba(255,255,255,0.76);
    line-height: 1.55;
}

.home-advisor-head p:not(.home-kicker) {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: clamp(16px, 2vw, 20px);
}

.home-advisor-cta {
    width: min(980px, 100%);
    margin: 28px auto 10px;
    padding: 22px 28px;
    border-radius: 22px;
    border: 1px solid rgba(230,194,0,0.52);
    background: linear-gradient(145deg, rgba(36,39,43,0.28), rgba(8,9,12,0.20));
    color: #E6C200;
    font-family: 'Cinzel', Georgia, serif;
    font-size: clamp(20px, 3vw, 32px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 22px 54px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.home-advisor-cta:hover {
    border-color: #E6C200;
    background: linear-gradient(145deg, rgba(48,52,56,0.34), rgba(8,9,12,0.26));
}

.home-advisor-note {
    margin: 0 auto;
    font-size: 0.95rem;
}

.home-advisor-quiz,
.home-advisor-results {
    width: min(980px, 100%);
    margin: 22px auto 0;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(8,9,12,0.72);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.home-advisor-results {
    max-height: min(52vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: rgba(230,194,0,0.62) rgba(255,255,255,0.08);
    scrollbar-width: thin;
}

.home-advisor-quiz {
    max-height: min(50vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.home-advisor-results::-webkit-scrollbar {
    width: 8px;
}

.home-advisor-quiz::-webkit-scrollbar {
    width: 8px;
}

.home-advisor-results::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.home-advisor-quiz::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
}

.home-advisor-results::-webkit-scrollbar-thumb {
    background: rgba(230,194,0,0.62);
    border-radius: 999px;
}

.home-advisor-quiz::-webkit-scrollbar-thumb {
    background: rgba(230,194,0,0.62);
    border-radius: 999px;
}

.home-advisor.has-advisor-quiz .home-advisor-logo,
.home-advisor.has-advisor-results .home-advisor-logo {
    width: clamp(68px, 6vw, 92px);
}

.home-advisor.has-advisor-quiz h2,
.home-advisor.has-advisor-results h2 {
    font-size: clamp(28px, 4vw, 48px);
}

.home-advisor.has-advisor-quiz .home-advisor-head p:not(.home-kicker),
.home-advisor.has-advisor-results .home-advisor-head p:not(.home-kicker) {
    margin-top: 10px;
    font-size: clamp(14px, 1.6vw, 17px);
}

.home-advisor.has-advisor-results .home-advisor-head p:not(.home-kicker) {
    display: none;
}

.home-advisor.has-advisor-quiz .home-advisor-cta,
.home-advisor.has-advisor-quiz .home-advisor-note,
.home-advisor.has-advisor-results .home-advisor-cta,
.home-advisor.has-advisor-results .home-advisor-note {
    display: none;
}

.home-advisor.has-advisor-results .home-advisor-results {
    max-height: min(58vh, calc(100vh - 290px), 560px);
}

.home-advisor-progress {
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #E6C200 var(--advisor-progress, 0%), rgba(255,255,255,0.10) var(--advisor-progress, 0%));
    margin-bottom: 18px;
}

.home-advisor-quiz h3,
.home-advisor-results h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(22px, 3vw, 34px);
}

.home-advisor-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.home-advisor-option {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(230,194,0,0.30);
    background: rgba(8,9,12,0.72);
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
}

.home-advisor-option:hover {
    color: #E6C200;
    border-color: rgba(230,194,0,0.72);
}

.home-advisor-input {
    grid-column: 1 / -1;
    min-height: 56px;
    box-sizing: border-box;
    border-radius: 16px;
    border: 1px solid rgba(230,194,0,0.30);
    background: rgba(8,9,12,0.82);
    color: #ffffff;
    padding: 0 16px;
    font: inherit;
    outline: none;
}

.home-advisor-input:focus {
    border-color: rgba(230,194,0,0.72);
}

.home-advisor-continue {
    grid-column: 1 / -1;
    text-align: center;
}

.home-advisor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-advisor-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(230,194,0,0.22);
    background: rgba(8,9,12,0.82);
}

.home-advisor-card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 14px;
    background: #ffffff;
}

.home-advisor-card h4 {
    min-height: 42px;
    margin: 0;
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.25;
}

.home-advisor-card button,
.home-advisor-reset {
    border-radius: 14px;
    border: 1px solid rgba(230,194,0,0.44);
    background: rgba(8,9,12,0.82);
    color: #E6C200;
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
}

.home-advisor-reset {
    margin-top: 16px;
}

.home-contact {
    position: relative;
    box-sizing: border-box;
    min-height: 100vh;
    padding: 34px 32px;
    background: #08090C;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.home-contact-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at 50% 36%, rgba(230,194,0,0.12), transparent 30%),
        linear-gradient(115deg, rgba(8,9,12,0.78), rgba(8,9,12,0.54));
}

.home-contact-bg-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 2000ms ease, transform 2000ms ease;
}

.home-contact-bg-slide.active {
    opacity: 0.58;
    transform: scale(1.03);
}

.home-contact::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(8,9,12,0.12) 0%, rgba(8,9,12,0.52) 68%, rgba(8,9,12,0.82) 100%);
    pointer-events: none;
}

.home-contact-shell {
    position: relative;
    z-index: 2;
    width: min(760px, 100%);
    text-align: center;
}

.home-contact-logo {
    width: clamp(92px, 8vw, 126px);
    display: block;
    margin: 0 auto 8px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,0.42));
}

.home-contact h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 62px);
    line-height: 0.96;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-contact-card {
    width: min(560px, 100%);
    margin: 30px auto 0;
    padding: 34px;
    box-sizing: border-box;
    border-radius: 24px;
    border: 1px solid rgba(230,194,0,0.30);
    background: rgba(8,9,12,0.76);
    box-shadow: 0 24px 62px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: grid;
    gap: 18px;
}

.home-contact-button {
    min-height: 74px;
    border-radius: 18px;
    border: 1px solid rgba(230,194,0,0.44);
    background: rgba(8,9,12,0.82);
    color: #E6C200;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, color 0.24s ease;
}

.home-contact-button:hover {
    transform: translateY(-3px);
    border-color: #E6C200;
    background: rgba(12,13,18,0.92);
    color: #ffffff;
}

.home-contact-button-waze {
    background: rgba(8,9,12,0.82);
    border-color: rgba(230,194,0,0.44);
    color: #E6C200;
}

.home-contact-button-waze:hover {
    background: rgba(12,13,18,0.92);
    border-color: #E6C200;
    color: #ffffff;
}

.home-contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.34));
}

.home-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.home-social-card {
    min-width: 0;
    min-height: 112px;
    padding: 14px;
    box-sizing: border-box;
    border-radius: 18px;
    border: 1px solid rgba(230,194,0,0.26);
    background:
        linear-gradient(145deg, rgba(36,39,43,0.30), rgba(8,9,12,0.38));
    color: #ffffff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.home-social-card:hover {
    transform: translateY(-3px);
    border-color: rgba(230,194,0,0.78);
    background:
        linear-gradient(145deg, rgba(48,52,56,0.38), rgba(8,9,12,0.44));
}

.home-social-mark {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 auto;
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.38));
}

.home-social-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
    text-align: center;
}

.home-social-copy strong {
    color: #ffffff;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.home-social-copy small {
    color: rgba(255,255,255,0.68);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.logo {
    width: clamp(120px, 10vw, 150px);
    display: block;
    margin: 0 auto 12px auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

.titulo {
    font-size: 32px;
    margin: 10px 0 35px 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #E6C200;
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 400;
}

/* ==========================================================================
   1. BUSCADOR Y BOTÓN IA (ALINEADOS)
   ========================================================================== */
.search-container {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 650px;
}

#search {
    flex: 2;
    padding: 14px 25px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #10171f;
    border: none;
    border-radius: 50px;
    outline: none;
    transition: 0.3s;
    min-width: 0;
}

#search:focus {
    background: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.btn-ia-search {
    flex: 1;
    background: rgba(8, 9, 12, 0.86);
    color: #ffffff;
    border: 1px solid rgba(230, 194, 0, 0.4);
    padding: 12px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: 0.3s all;
    white-space: nowrap;
}

.btn-ia-search:hover {
    background: #E6C200;
    color: #08090C;
    border-color: #E6C200;
    box-shadow: none;
}

/* ==========================================================================
   2. FILTROS PRINCIPALES - ESTILO GLASS
   ========================================================================== */
.filtros-principales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.filtros-principales button {
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: rgba(8, 9, 12, 0.86);
    color: #ffffff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
}

.filtros-principales button.active {
    background: #E6C200;
    color: #08090C;
    border-color: #E6C200;
}

.tipo-oro.active, .gen-oro.active, .cat-oro.active {
    background: #E6C200 !important;
    color: #10171f !important;
    border-color: #E6C200 !important;
    box-shadow: none;
}

.btn-oro, .btn-seccion {
    padding: 10px 22px;
    border: 2px solid #E6C200 !important;
    border-radius: 25px;
    background: transparent !important;
    color: #E6C200 !important;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.seccion-oro-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 650px;
    margin: 14px auto 10px;
    padding: 0 15px;
}

.seccion-oro-container .btn-seccion {
    width: 100%;
    min-height: 50px;
    font-size: 15px;
}

/* ==========================================================================
   3. SECCIÓN DE MARCAS (FLECHAS MINIMALISTAS ACTUALIZADAS)
   ========================================================================== */
.contenedor-marcas-scroll {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 14px auto;
    display: flex;
    align-items: center;
    padding: 0;
}

.grid-marcas {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 10px 35px;
    scrollbar-width: none;
}
.grid-marcas::-webkit-scrollbar { display: none; }

.btn-marca {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: rgba(8, 9, 12, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 11px;
    color: #a0aab4;
    cursor: pointer;
    text-transform: uppercase;
}

.flecha-scroll {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    width: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    position: absolute;
    font-size: 22px;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.flecha-scroll:first-of-type { left: 0; }
.flecha-scroll:last-of-type { right: 0; }

.btn-testimonios {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 26px;
    background: #08090C;
    color: #E6C200;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(230, 194, 0, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: none;
    transition: 0.3s;
}

.btn-testimonios:hover {
    background: rgba(12, 13, 18, 0.96);
}

.btn-home-catalogo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(230, 194, 0, 0.34);
    background: rgba(8, 9, 12, 0.62);
    color: #E6C200;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-home-catalogo:hover {
    background: rgba(12, 13, 18, 0.82);
    border-color: #E6C200;
}

/* ==========================================================================
   4. CATALOGO PRINCIPAL
   ========================================================================== */
#catalogo {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1600px;
    margin: auto;
    scroll-snap-type: y proximity;
}

.card {
    background: rgba(8, 9, 12, 0.92);
    border: 1px solid rgba(230, 194, 0, 0.22);
    border-radius: 24px;
    padding: 0;
    text-align: center;
    box-shadow: 0 18px 46px rgba(0,0,0,0.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    scroll-snap-align: start;
    scroll-margin-top: 18px;
}

.card-header-perfume {
    background: rgba(12, 13, 18, 0.96);
    color: #ffffff;
    padding: 16px 18px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.35;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card img {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: #ffffff;
    display: block;
    cursor: pointer;
    padding: 18px;
    box-sizing: border-box;
}

.card-info-perfume {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
}

.card h3 {
    color: #ffffff;
    font-size: 0.98rem;
    line-height: 1.3;
    margin: 0;
    font-weight: 800;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    background: #E6C200;
    color: #08090C;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.card .btn-cotizar-perfume {
    margin-top: auto;
    background: #08090C;
    color: #E6C200;
    border: 1px solid rgba(230, 194, 0, 0.44);
    border-radius: 14px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.card .btn-cotizar-perfume:hover {
    background: rgba(12, 13, 18, 0.96);
    border-color: #E6C200;
}

/* ==========================================================================
   5. CATALOGO ORO
   ========================================================================== */
#catalogo-oro {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 10px;
    max-width: 500px;
    margin: 0 auto;
    scroll-snap-type: y proximity;
}

.card-oro-full {
    background: rgba(8, 9, 12, 0.82);
    border: 1px solid rgba(230, 194, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    scroll-margin-top: 18px;
}

.header-card-oro {
    background: rgba(12, 13, 18, 0.96);
    color: #E6C200;
    text-align: center;
    padding: 8px;
    font-size: 0.75em;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.card-oro-full img { width: 100%; height: auto; display: block; }

.info-card-oro { padding: 20px; text-align: center; }
.info-card-oro h3 { color: #fff; margin: 0 0 10px 0; font-size: 1.2em; text-transform: uppercase; }
.info-card-oro p { color: #aaa; font-size: 0.9em; margin-bottom: 20px; white-space: pre-line; }

.btn-cotizar-oro-full {
    background: #E6C200;
    color: #000;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 900;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
}

/* ==========================================================================
   6. ASISTENTE IA (BORDE A BORDE TOTAL Y CENTRADO VERTICAL)
   ========================================================================== */
#bot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #08090C; /* Fondo solido para que se vea estatico */
    display: none;
    justify-content: center;
    align-items: center; /* CENTRADO VERTICAL TOTAL */
    z-index: 9999;
    padding: 0;
    margin: 0;
    overflow-y: auto;
}

.bot-content {
    width: 100%;
    /* Quitamos el min-height: 100vh para que el contenido se agrupe al centro */
    background: #08090C;
    border: none;
    padding: 40px 0px; 
    text-align: center;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Asegura que el contenido interno esté centrado */
}

.bot-content h2 {
    margin-top: 0;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Las opciones ahora tocarán los bordes si no les pones margen */
.btn-pregunta {
    display: block;
    width: 90%; 
    max-width: 450px; 
    background: rgba(8, 9, 12, 0.86);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 0 auto 15px auto; /* Centradas horizontalmente con margen abajo */
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
    box-sizing: border-box;
}

/* Ajuste para que la 'X' de cerrar no quede pegada al notch del iPhone */
.bot-content .close-modal { 
    position: absolute;
    top: 25px;
    right: 25px;
}

/* ==========================================================================
   RESPONSIVE MÓVIL (CORRECCIÓN DE ANCHO Y CENTRADO)
   ========================================================================== */
@media (max-width: 600px) {
    .home-shell { align-items: flex-start; padding-top: 70px; }
    .home-bg-slide { background-size: auto 100%; }
    .home-bg-perfumes { background-position: 12% bottom; }
    .home-bg-gold { background-position: 88% bottom; }
    .home-bg-slide.active { opacity: 0.62; }
    .home-shell::after { background: radial-gradient(circle at center, rgba(8,9,12,0.08) 0%, rgba(8,9,12,0.34) 66%, rgba(8,9,12,0.58) 100%); }
    .home-testimonials-bg-slide { background-size: auto 100%; }
    .home-testimonials-bg-slide:first-child { background-position: 18% center; }
    .home-testimonials-bg-slide:last-child { background-position: 82% center; }
    .home-testimonials-bg-slide.active { opacity: 0.62; }
    .home-testimonials::after { background: radial-gradient(circle at center, rgba(8,9,12,0.18) 0%, rgba(8,9,12,0.42) 70%, rgba(8,9,12,0.68) 100%); }
    .home-advisor { align-items: flex-start; padding: 32px 16px; overflow: hidden; }
    .home-advisor-bg-slide { background-size: auto 100%; background-position: center 42%; }
    .home-advisor-bg-slide.active { opacity: 0.82; }
    .home-advisor-bg-slide:nth-child(2) { background-position: 58% 42%; }
    .home-advisor-logo { width: 82px; }
    .home-advisor h2 { font-size: clamp(32px, 11vw, 48px); }
    .home-advisor-head p:not(.home-kicker) { font-size: 1rem; }
    .home-advisor-cta { padding: 18px 14px; border-radius: 18px; font-size: 1.05rem; }
    .home-advisor-quiz,
    .home-advisor-results { padding: 16px; border-radius: 20px; }
    .home-advisor.has-advisor-results .home-advisor-results { max-height: 52vh; }
    .home-advisor-options { grid-template-columns: 1fr; }
    .home-advisor-grid { grid-template-columns: 1fr; }
    .home-advisor-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; text-align: left; }
    .home-advisor-card img { height: 92px; grid-row: span 2; }
    .home-advisor-card h4 { min-height: 0; }
    .home-contact { padding: 30px 16px; }
    .home-contact-bg-slide { background-size: auto 100%; background-position: center; }
    .home-contact-bg-slide.active { opacity: 0.68; }
    .home-contact-bg-slide:nth-child(1) { background-position: 28% center; }
    .home-contact-bg-slide:nth-child(2) { background-position: 72% center; }
    .home-contact-logo { width: 84px; }
    .home-contact h2 { font-size: clamp(32px, 11vw, 48px); }
    .home-contact-card { padding: 22px; border-radius: 20px; gap: 14px; }
    .home-contact-button { min-height: 64px; border-radius: 16px; font-size: 0.92rem; }
    .home-socials { grid-template-columns: 1fr; }
    .home-social-card { min-height: 74px; flex-direction: row; justify-content: flex-start; text-align: left; }
    .home-social-copy { text-align: left; }
    .home-logo { width: 136px; }
    .home-actions { grid-template-columns: 1fr; }
    .home-card { min-height: 76px; border-radius: 16px; }
    .home-testimonials { padding: 18px 16px; gap: 12px; }
    .home-testimonials-logo { width: 76px; }
    .home-testimonials p { font-size: 0.92rem; }
    .home-years { grid-template-columns: 1fr; gap: 14px; overflow-y: auto; }
    .home-year-card { border-radius: 18px; padding: 14px; }
    .home-testimonial-stage { height: 170px; gap: 10px; }
    .home-testimonial-stage img { border-radius: 14px; }

    #bot-modal {
        padding: 0;
        align-items: center; /* Mantiene el centrado vertical en móvil */
    }

    .bot-content {
        width: 100%;
        padding: 20px 0px; 
    }

    .btn-pregunta {
        width: 92%; /* Ajustado para que se vea centrado y casi de borde a borde */
    }

    /* Respetamos el resto de tu código de marcas y buscador */
    #catalogo { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 15px; }
    .card img { height: 220px; padding: 12px; }
    .titulo { font-size: 24px; margin: 8px 0 18px 0; }
    .logo { width: 112px; margin: 0 auto 8px auto; }
    .search-container { margin-bottom: 14px; padding: 0 12px; }
    .search-box-wrapper { flex-direction: column; width: 100%; gap: 10px; }
    .btn-ia-search { width: 100%; flex: none; }
    .filtros-principales { gap: 5px; margin-bottom: 8px; }
    .filtros-principales button { padding: 8px 10px; font-size: 11px; }
    .seccion-oro-container { margin: 8px auto 6px; padding: 0 12px; }
    .contenedor-marcas-scroll { margin: 0 auto 2px auto; }
    .grid-marcas { gap: 8px; padding: 6px 26px; }
    .btn-marca { padding: 8px 14px; font-size: 10px; }
    .btn-testimonios { margin-top: 6px; padding: 10px 22px; }
}

/* ==========================================================================
   FLOTANTES Y RESPONSIVE
   ========================================================================== */
#btnArriba {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    display: none;
    z-index: 1000;
    cursor: pointer;
    border-radius: 50%;
    border: 1px solid rgba(230, 194, 0, 0.36);
    background: #08090C;
    color: #E6C200;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 600px) {
    #catalogo { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 15px; }
    .card img { height: 220px; padding: 12px; }
    .card-header-perfume { min-height: 58px; padding: 10px 8px; font-size: 0.64rem; letter-spacing: 0.04em; }
    .card-info-perfume { padding: 14px 12px 14px; }
    .card h3 { font-size: 0.78rem; min-height: 50px; }
    .card .btn-cotizar-perfume { padding: 12px; font-size: 0.84rem; }
    .titulo { font-size: 24px; }
    .search-box-wrapper { flex-direction: column; width: 100%; }
    #search { max-width: 100%; width: 100%; }
    .btn-ia-search { width: 100%; flex: none; }

    header > .filtros-principales:first-of-type {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
        align-items: center;
    }

    header > .filtros-principales:first-of-type button {
        width: 100%;
        min-width: 0;
        padding: 8px 4px;
        font-size: 10px;
    }

    .btn-oro, .btn-seccion {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: flex;
        padding: 9px 0;
        font-size: 13px;
    }
    
    .bot-content {
        padding: 40px 0px;
    }
    
    .btn-pregunta {
        width: 92%;
    }
}

@media (max-width: 600px) {
    header { padding: 22px 10px 18px; }
}
