:root {
    --cb-navy-dark: #041b2c;
    --cb-navy: #06263d;
    --cb-navy-light: #0d3858;
    --cb-yellow: #ffd600;
    --cb-yellow-bright: #ffd600;
    --cb-yellow-dark: #e6c000;
    --cb-red: #ea1d2c;
    --cb-green: #25d366;
    --cb-green-hover: #20ba59;
    --cb-blue-glass: rgba(135, 192, 238, 0.65);
    --cb-pill-blue: #0284c7;
    --cb-text-dark: #1e293b;
    --cb-text-muted: #64748b;
    --cb-card-bg: #f3f4f6;
    --cb-white: #ffffff;
    --cb-font: 'Plus Jakarta Sans', 'Poppins', system-ui, -apple-system, sans-serif;
    --cb-shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --cb-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.15);
    --cb-shadow-lg: 0 14px 40px rgba(0, 0, 0, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--cb-font);
}

body {
    background-color: var(--cb-navy-dark);
    color: var(--cb-white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ============================================================
   CONTAINER & REUSABLES
   ============================================================ */
.cb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-pill-white {
    background: #ffffff;
    color: var(--cb-navy-dark);
    border: none;
    border-radius: 9999px;
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-pill-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
    background: #f8fafc;
}

.tag-badge {
    background: var(--cb-pill-blue);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 9999px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   DIV 1: HEADER & HERO
   ============================================================ */
.hero-wrapper {
    position: relative;
    min-height: 100vh;
    background: url('../img/1.webp') center top / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px;
}

/* Floating Navbar */
.cb-header {
    width: 100%;
    padding: 32px 60px 0;
    position: relative;
    z-index: 100;
}

.cb-header-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.cb-logo-wrapper {
    display: inline-block;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.cb-logo-wrapper:hover {
    transform: scale(1.03);
}

.cb-logo-img {
    width: 90px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
}

/* Capsule Navbar (Centrada y con margen de bordes) */
.cb-nav-capsule {
    background: rgba(142, 195, 240, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 9999px;
    padding: 4px 6px 4px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    max-width: 820px;
    margin-left: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cb-nav-capsule a {
    color: var(--cb-white);
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.cb-nav-capsule a:hover {
    opacity: 0.85;
}

/* Agenda tu visita Button (Incrustado dentro del extremo derecho de la cápsula) */
.btn-agenda-visita {
    background: #ffffff;
    color: #08243a;
    border: none;
    border-radius: 9999px;
    padding: 13px 36px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--cb-font);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-agenda-visita:hover {
    background: #f8fafc;
}

/* Hero Center Content */
.hero-center-content {
    text-align: center;
    margin: auto auto;
    max-width: 1000px;
    padding: 10px 20px;
    width: 100%;
}

.hero-main-title {
    font-family: var(--cb-font);
    font-size: clamp(2.5rem, 5.2vw, 4.4rem);
    font-weight: 800;
    line-height: 1.16;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
}

.hero-location-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.pin-circle {
    width: 44px;
    height: 44px;
    background: var(--cb-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.pin-svg-icon {
    width: 26px;
    height: 26px;
    fill: #0b1a27;
}

.location-name {
    font-family: var(--cb-font);
    font-size: clamp(2rem, 3.8vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
    line-height: 1;
}

/* 3 Yellow Hero Badges (Más compactos y centrados) */
.hero-badges-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.hero-badge-card {
    background: var(--cb-yellow);
    color: #0a1a27;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    min-width: 124px;
    max-width: 140px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease;
}

.hero-badge-card:hover {
    transform: translateY(-3px);
}

.badge-top-text {
    font-size: 0.68rem;
    font-weight: 600;
    color: #0a1a27;
    margin-bottom: 2px;
    text-align: center;
    line-height: 1.1;
    white-space: nowrap;
}

.badge-bono-box {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-bono-icon {
    width: 28px;
    height: 18px;
}

.bono-text-inner {
    display: flex;
    flex-direction: column;
    line-height: 1;
    text-align: left;
}

.bono-text-inner strong {
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.bono-text-inner small {
    font-size: 0.48rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.badge-main-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.badge-stat-icon {
    width: 22px;
    height: 22px;
}

.badge-value {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    color: #0a1a27;
}

/* ============================================================
   DIV 2: OFERTA URGENTE & MODELOS
   ============================================================ */
.section-oferta {
    position: relative;
    min-height: 100vh;
    padding: 70px 20px 80px;
    background: url('../img/2.webp') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.oferta-urgencia-title {
    font-family: var(--cb-font);
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    color: var(--cb-yellow);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.oferta-sub-title {
    font-family: var(--cb-font);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 26px;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.oferta-cards-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

/* Red Bono Capsule (Compacta & Elegante) */
.badge-bono-red {
    background: #e81d2d;
    color: #ffffff;
    border-radius: 9999px;
    padding: 6px 18px 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(232, 29, 45, 0.4);
    height: 58px;
    min-width: auto;
}

.bono-badge-white-box {
    background: #ffffff;
    border-radius: 6px;
    padding: 3px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.bono-badge-white-icon {
    width: 24px;
    height: 16px;
}

.bono-tag-txt {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #e81d2d;
    text-align: center;
}

.bono-tag-txt strong {
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.4px;
}

.bono-tag-txt small {
    font-size: 0.36rem;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.bono-amount-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
}

.bono-gratis-txt {
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
}

.bono-amount-val {
    font-size: 1.18rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* Model Preview Cards (1 piso & 2 pisos) */
.model-preview-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    width: 165px;
    height: 110px;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    display: block;
}

.model-preview-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
}

.model-preview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.model-pill-tag {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    color: #08243a;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.oferta-desc-text {
    max-width: 680px;
    margin: 0 auto 24px;
    font-size: clamp(0.92rem, 1.6vw, 1.1rem);
    font-weight: 500;
    color: #ffffff;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   DIV 3: ¿POR QUÉ ELEGIR CASA BONITA?
   ============================================================ */
.section-elegir {
    background: var(--cb-navy);
    position: relative;
    padding: 90px 0 100px;
    text-align: center;
}

.curve-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.curve-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.elegir-main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--cb-yellow);
    margin-bottom: 60px;
}

.elegir-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    max-width: 1050px;
    margin: 0 auto;
    text-align: left;
}

.elegir-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.elegir-icon-circle {
    width: 76px;
    height: 76px;
    min-width: 76px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-navy);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.elegir-icon-circle svg {
    width: 38px;
    height: 38px;
    stroke-width: 2;
}

.elegir-text {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.4;
}

.elegir-text strong {
    font-weight: 700;
    color: #ffffff;
}

.elegir-text .bono-sub {
    display: block;
    font-size: 0.88rem;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   DIV 4: TRANSICIÓN A GALERÍA
   ============================================================ */
.section-galeria-header {
    background: #ffffff;
    color: var(--cb-navy);
    padding: 0 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.galeria-header-top-curve {
    width: 100%;
    line-height: 0;
    margin-bottom: 24px;
}

.galeria-header-top-curve svg {
    display: block;
    width: 100%;
    height: 55px;
}

.galeria-header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-contactanos-white {
    background: #ffffff;
    color: var(--cb-navy);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 9999px;
    padding: 10px 32px;
    font-size: 0.98rem;
    font-weight: 700;
    font-family: var(--cb-font);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-contactanos-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
    background: #fcfcfc;
}

.aprovecha-title {
    font-family: var(--cb-font);
    font-size: clamp(2.4rem, 4.8vw, 3.8rem);
    font-weight: 800;
    color: var(--cb-navy);
    margin: 22px 0 60px;
    letter-spacing: -0.5px;
}

.galeria-tab-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    line-height: 0;
}

.galeria-tab-capsule {
    background: var(--cb-navy);
    color: #ffffff;
    display: inline-block;
    padding: 18px 56px 14px;
    border-radius: 36px 36px 0 0;
    font-family: var(--cb-font);
    font-size: clamp(2.2rem, 4.2vw, 3.2rem);
    font-weight: 800;
    margin-bottom: -1px;
    line-height: 1;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================================
   DIV 5: GALERÍA - CASA DE 01 PISO
   ============================================================ */
.section-galeria-1piso {
    background: linear-gradient(180deg, rgba(6, 38, 61, 0.92) 0%, rgba(4, 27, 44, 0.88) 50%, rgba(4, 27, 44, 0.96) 100%),
                url('../img/2.webp') center center / cover no-repeat;
    padding: 35px 20px 65px;
    position: relative;
}

.galeria-container {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.galeria-section-title {
    font-family: var(--cb-font);
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: left;
    letter-spacing: -0.4px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}

.galeria-1piso-grid {
    display: grid;
    grid-template-columns: 480px 240px;
    justify-content: center;
    gap: 24px;
    align-items: start;
}

.galeria-left-col {
    width: 480px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.galeria-right-col {
    width: 190px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}

.galeria-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.galeria-block-full {
    height: auto;
}

/* Blue Capsule Badges (Distribución, Interiores, Frontis) */
.galeria-pill-badge {
    background: #84b6ea;
    color: #06263d;
    font-family: var(--cb-font);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 4px 22px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.2px;
}

/* Floor Plan Card (Ancho fijo y controlado) */
.card-distribucion-box {
    width: 100%;
    background: #ffffff;
    border: 2.5px solid #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    line-height: 0;
}

.card-distribucion-box img {
    width: 100%;
    height: auto;
    max-height: 195px;
    display: block;
    object-fit: contain;
}

/* Interior Photos Grid (Ancho fijo alineado con el plano) */
.interiores-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.interior-thumb {
    width: 100%;
    height: 105px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: #06263d;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.interior-thumb:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.interior-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Vertical Frontis Card (Menos larga y proporcionada) */
.card-frontis-box {
    width: 100%;
    height: 320px;
    border: 2.5px solid #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    background: #06263d;
}

.card-frontis-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ============================================================
   DIV 6: GALERÍA - CASA DE 02 PISOS
   ============================================================ */
.section-galeria-2pisos {
    background: url('../img/2.webp') center center / cover no-repeat;
    padding: 40px 20px 75px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.galeria-top-btn-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.galeria-2pisos-grid {
    display: grid;
    grid-template-columns: 240px 210px 330px;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}

.galeria-col-frontis {
    width: 240px;
    max-width: 100%;
}

.card-frontis-box-2piso {
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 2.5px solid #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    background: #06263d;
}

.card-frontis-box-2piso img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.galeria-col-interiores {
    width: 210px;
    max-width: 100%;
}

.interiores-vertical-list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 10px;
}

.interior-thumb-v {
    width: 100%;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    background: #06263d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.interior-thumb-v:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.interior-thumb-v img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.galeria-col-plantas {
    width: 330px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.card-planta-box {
    width: 83%;
    background: #ffffff;
    border: 2.5px solid #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
    line-height: 0;
}

.card-planta-box img {
    width: 100%;
    height: auto;
    max-height: 155px;
    display: block;
    object-fit: contain;
}

/* ============================================================
   DIV 7: FORMULARIO DE CONVERSIÓN & CALIFICACIÓN
   ============================================================ */
.section-form {
    background: #ffffff;
    color: var(--cb-text-dark);
    padding: 90px 0 100px;
}

.form-card {
    background: var(--cb-card-bg);
    border-radius: 20px;
    padding: 36px 30px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: var(--cb-shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: #eaecee;
    border: 1px solid #d5d8dc;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: var(--cb-navy);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(6, 38, 61, 0.12);
}

/* Interactive Pill Selectors for Si/No (2 columnas limpias) */
.quiz-pill-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.quiz-pill-btn {
    width: 100%;
    background: #e2e8f0;
    color: #475569;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.quiz-pill-btn:hover {
    background: #cbd5e1;
    color: #0f172a;
}

.quiz-pill-btn.active {
    background: var(--cb-navy);
    color: #ffffff;
    border-color: var(--cb-navy);
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(6, 38, 61, 0.25);
}

.quiz-pill-btn.active::after {
    content: '✓';
    font-weight: 900;
    font-size: 0.9rem;
}

/* Checkbox Consentimiento de Datos Personales */
.consent-group {
    margin: 14px 0 10px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.consent-group.has-error {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.4);
    animation: consentShake 0.4s ease;
}

@keyframes consentShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    text-align: left;
}

.consent-checkbox {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #ffd600;
}

.consent-text {
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.4;
}

.consent-error-msg {
    display: none;
    font-size: 0.76rem;
    color: #dc2626;
    margin-top: 6px;
    margin-left: 28px;
    font-weight: 600;
    line-height: 1.3;
}

.consent-group.has-error .consent-error-msg {
    display: block;
    animation: consentFadeIn 0.25s ease-out;
}

@keyframes consentFadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

.btn-submit-yellow {
    width: 100%;
    background: #ffd600;
    color: #0b1a27;
    border: none;
    border-radius: 9999px;
    padding: 15px 24px;
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--cb-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.4);
    margin-top: 14px;
    margin-bottom: 14px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-submit-yellow:hover {
    background: #f5cc00;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 214, 0, 0.55);
}

.btn-submit-yellow:active {
    transform: translateY(0);
}

.btn-submit-green {
    width: 100%;
    background: var(--cb-green);
    color: #ffffff;
    border: none;
    border-radius: 9999px;
    padding: 15px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    margin-top: 10px;
    margin-bottom: 16px;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-submit-green:hover {
    background: var(--cb-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.form-legal-disclaimer {
    font-size: 0.72rem;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}

.form-legal-link {
    color: #475569;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.form-legal-link:hover {
    color: #0b1a27;
}

/* ============================================================
   FOOTER & FLOATING WHATSAPP
   ============================================================ */
.cb-footer {
    background: #02111c;
    color: #94a3b8;
    padding: 40px 0 30px;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-legal-text {
    max-width: 860px;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
}

.whatsapp-float-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: var(--cb-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.btn-mobile-header-cta {
    display: none;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLET & DESKTOP MEDIO: <= 992px)
   ============================================================ */
@media (max-width: 992px) {
    .cb-header {
        padding: 20px 24px 0;
    }

    .cb-header-container {
        justify-content: space-between;
    }

    .cb-nav-capsule {
        display: none;
    }

    .btn-mobile-header-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--cb-yellow);
        color: #08243a;
        font-weight: 800;
        font-size: 0.88rem;
        padding: 9px 20px;
        border-radius: 9999px;
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(255, 214, 0, 0.4);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        text-decoration: none;
        white-space: nowrap;
    }

    .btn-mobile-header-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(255, 214, 0, 0.55);
    }

    .elegir-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 20px;
    }

    .section-galeria-1piso,
    .section-galeria-2pisos {
        padding: 35px 20px 55px;
    }

    .galeria-section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 22px;
    }

    .galeria-1piso-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
        max-width: 580px;
        margin: 0 auto;
    }

    .galeria-left-col,
    .galeria-right-col {
        width: 100%;
        max-width: 100%;
    }

    .card-frontis-box {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .card-distribucion-box img {
        max-height: 250px;
    }

    .interiores-grid {
        gap: 10px;
    }

    .interior-thumb {
        height: 105px;
    }

    /* Galería 2 Pisos */
    .galeria-2pisos-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
        max-width: 580px;
        margin: 0 auto;
    }

    .galeria-col-frontis,
    .galeria-col-interiores,
    .galeria-col-plantas {
        width: 100%;
        max-width: 100%;
    }

    .card-frontis-box-2piso {
        width: 100%;
        height: auto;
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .interiores-vertical-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        height: auto;
    }

    .interior-thumb-v {
        height: 105px;
    }

    .galeria-col-plantas {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .card-planta-box {
        width: 100%;
    }

    .card-planta-box img {
        max-height: 170px;
    }
}

/* ============================================================
   RESPONSIVE DESIGN (SMARTPHONES & TABLETS VERTICALES: <= 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Hero */
    .hero-wrapper {
        min-height: auto;
        padding-bottom: 45px;
    }

    .cb-header {
        padding: 16px 16px 0;
    }

    .cb-logo-img {
        width: 78px;
    }

    .hero-center-content {
        padding: 24px 14px 10px;
    }

    .hero-main-title {
        font-size: clamp(2rem, 7.5vw, 3rem);
        line-height: 1.15;
        margin-bottom: 8px;
    }

    .hero-location-box {
        margin-bottom: 20px;
        gap: 10px;
    }

    .pin-circle {
        width: 38px;
        height: 38px;
    }

    .pin-svg-icon {
        width: 22px;
        height: 22px;
    }

    .location-name {
        font-size: 2.1rem;
    }

    /* 3 Badges Amarillos en 3 columnas compactas */
    .hero-badges-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .hero-badge-card {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        padding: 8px 6px;
        border-radius: 10px;
    }

    .badge-top-text {
        font-size: 0.62rem;
        white-space: normal;
    }

    .badge-value {
        font-size: 1.15rem;
    }

    .bono-text-inner strong {
        font-size: 0.7rem;
    }

    .bono-text-inner small {
        font-size: 0.42rem;
    }

    /* Oferta Urgente */
    .section-oferta {
        min-height: auto;
        padding: 55px 16px 65px;
    }

    .oferta-urgencia-title {
        font-size: clamp(1.85rem, 6.8vw, 2.6rem);
        margin-bottom: 4px;
    }

    .oferta-sub-title {
        font-size: 1.12rem;
        margin-bottom: 20px;
    }

    .oferta-cards-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        margin-bottom: 22px;
    }

    .badge-bono-red {
        width: 100%;
        max-width: 330px;
        justify-content: center;
        height: auto;
        padding: 8px 18px;
        border-radius: 9999px;
    }

    .model-preview-card {
        width: calc(50% - 6px);
        max-width: 160px;
        height: 105px;
    }

    .oferta-desc-text {
        font-size: 0.94rem;
        line-height: 1.45;
        padding: 0 4px;
    }

    /* ¿Por qué elegirnos? */
    .section-elegir {
        padding: 60px 16px 70px;
    }

    .elegir-main-title {
        font-size: clamp(1.85rem, 5.8vw, 2.5rem);
        margin-bottom: 35px;
    }

    .elegir-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 480px;
    }

    .elegir-item {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        padding: 14px 16px;
        gap: 14px;
    }

    .elegir-icon-circle {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .elegir-icon-circle svg {
        width: 24px;
        height: 24px;
    }

    .elegir-text {
        font-size: 0.92rem;
    }

    /* Galería */
    .aprovecha-title {
        font-size: 2.2rem;
        margin: 16px 0 35px;
    }

    .galeria-tab-capsule {
        font-size: 2rem;
        padding: 14px 38px 12px;
    }

    .galeria-pill-badge {
        font-size: 0.88rem;
        padding: 4px 16px;
    }

    .galeria-col-plantas {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .interior-thumb,
    .interior-thumb-v {
        height: 90px;
    }

    /* Formulario */
    .section-form {
        padding: 50px 16px 65px;
    }

    .form-card {
        padding: 24px 18px;
        border-radius: 18px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .form-group {
        margin-bottom: 16px;
    }

    .form-label {
        font-size: 0.88rem;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .form-control {
        font-size: 0.94rem;
        padding: 11px 14px;
        border-radius: 8px;
    }

    .quiz-pill-btn {
        padding: 11px 12px;
        font-size: 0.92rem;
        border-radius: 8px;
    }

    .btn-submit-yellow {
        padding: 14px 20px;
        font-size: 1rem;
        border-radius: 9999px;
        margin-top: 10px;
    }

    .form-legal-disclaimer {
        font-size: 0.72rem;
        line-height: 1.4;
    }

    /* Footer & Floating WhatsApp */
    .cb-footer {
        padding: 35px 16px 25px;
    }

    .footer-content {
        gap: 12px;
    }

    .footer-legal-text {
        font-size: 0.7rem;
    }

    .whatsapp-float-btn {
        bottom: 18px;
        right: 16px;
        width: 52px;
        height: 52px;
    }

    .whatsapp-float-btn svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================================
   RESPONSIVE DESIGN (PANTALLAS MUY PEQUEÑAS: <= 380px)
   ============================================================ */
@media (max-width: 380px) {
    .cb-logo-img {
        width: 70px;
    }

    .btn-mobile-header-cta {
        font-size: 0.8rem;
        padding: 7px 14px;
    }

    .hero-main-title {
        font-size: 1.85rem;
    }

    .hero-badges-row {
        grid-template-columns: 1fr;
        max-width: 280px;
        gap: 8px;
    }

    .hero-badge-card {
        flex-direction: row;
        justify-content: space-between;
        padding: 8px 14px;
    }

    .badge-top-text {
        margin-bottom: 0;
        text-align: left;
    }

    .model-preview-card {
        width: 100%;
        max-width: 260px;
        height: 120px;
    }

    .form-card {
        padding: 20px 14px;
    }

    .interiores-grid,
    .interiores-vertical-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .interior-thumb,
    .interior-thumb-v {
        height: 75px;
    }
}
