/* ==========================================================================
   CUMBRES DE SAN GABRIEL · EDITORIAL LUXURY CATALOG STYLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* RESET COMPLETO DE ELEMENTOS DEL TEMA HELLO ELEMENTOR */
#site-header, .site-header,
.site-branding, .site-title, .site-description,
.page-header, .entry-header, .entry-title,
.site-footer, #site-footer,
.post-tags, .entry-footer,
.skip-link {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background-color: #fbf9f5 !important;
    overflow-x: hidden !important;
}

#content, .site-content, .site-main, .page-content, .entry-content, article.page {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
}

:root {
    --csg-pine: #183023;
    --csg-pine-deep: #0f2017;
    --csg-sage: #3d6a50;
    --csg-sage-soft: #edf5f0;
    --csg-cream: #fbf9f5;
    --csg-gold: #c39d63;
    --csg-gold-soft: #fcf8f0;
    --csg-charcoal: #1c2620;
    --csg-muted: #5f7067;
    --csg-border: rgba(24, 48, 35, 0.09);
    --csg-radius-lg: 24px;
    --csg-radius-md: 16px;
    --csg-radius-sm: 10px;
    --csg-shadow-soft: 0 16px 36px -8px rgba(15, 32, 23, 0.07);
    --csg-shadow-hover: 0 24px 50px -10px rgba(15, 32, 23, 0.14);
}

.csg-catalog-container {
    max-width: 1240px;
    margin: 60px auto 80px;
    padding: 0 24px;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--csg-charcoal);
}

/* Header */
.csg-catalog-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 48px;
}

.csg-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--csg-sage-soft);
    color: var(--csg-pine);
    border: 1px solid rgba(61, 106, 80, 0.2);
    padding: 6px 18px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.csg-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--csg-sage);
}

.csg-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    color: var(--csg-pine-deep);
    line-height: 1.2;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.csg-section-subtitle {
    font-size: 16px;
    color: var(--csg-muted);
    line-height: 1.6;
    margin: 0;
}

/* Filter Tabs */
.csg-filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.csg-tab {
    background: #ffffff;
    border: 1px solid var(--csg-border);
    color: var(--csg-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.csg-tab:hover {
    border-color: var(--csg-pine);
    color: var(--csg-pine);
}

.csg-tab.active {
    background: var(--csg-pine);
    color: #ffffff;
    border-color: var(--csg-pine);
    box-shadow: 0 6px 18px rgba(24, 48, 35, 0.25);
}

.csg-tab-highlight {
    border-color: var(--csg-gold);
    color: #8c6827;
    background: var(--csg-gold-soft);
}

.csg-tab-highlight.active {
    background: linear-gradient(135deg, #a6813e, #8c6827);
    color: #ffffff;
    border-color: #8c6827;
}

/* Cards Grid */
.csg-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
}

.csg-card {
    background: #ffffff;
    border: 1px solid var(--csg-border);
    border-radius: var(--csg-radius-lg);
    overflow: hidden;
    box-shadow: var(--csg-shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.csg-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--csg-shadow-hover);
}

/* Card Destacada (Casona 12 Personas) */
.csg-card-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: 1.5px solid var(--csg-gold);
    background: linear-gradient(180deg, #ffffff 0%, var(--csg-cream) 100%);
    box-shadow: 0 20px 45px -10px rgba(195, 157, 99, 0.2);
}

@media (max-width: 900px) {
    .csg-card-featured {
        grid-template-columns: 1fr;
    }
}

.csg-card-media {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #e2e8f0;
}

.csg-card-featured .csg-card-media {
    height: 100%;
    min-height: 380px;
}

.csg-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.csg-card:hover .csg-card-image {
    transform: scale(1.04);
}

.csg-badge-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(15, 32, 23, 0.85);
    backdrop-filter: blur(8px);
    color: #e5f2eb;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.csg-badge-exclusive {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #a6813e, #8c6827);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.csg-card-price-pill {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 6px 14px;
    border-radius: 24px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.csg-price-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--csg-pine-deep);
}

.csg-price-period {
    font-size: 11px;
    color: var(--csg-muted);
    font-weight: 600;
}

/* Contenido de Tarjeta */
.csg-card-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.csg-card-featured .csg-card-content {
    padding: 36px 32px;
}

.csg-card-meta-top {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.csg-meta-item {
    font-size: 12px;
    font-weight: 600;
    color: var(--csg-muted);
    background: rgba(24, 48, 35, 0.04);
    padding: 4px 10px;
    border-radius: 6px;
}

.csg-card-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--csg-pine-deep);
    margin: 0 0 6px;
    line-height: 1.3;
}

.csg-card-featured .csg-card-title {
    font-size: 28px;
}

.csg-card-camas {
    font-size: 13px;
    color: #4a5c52;
    margin: 0 0 12px;
}

.csg-card-desc {
    font-size: 14px;
    color: var(--csg-muted);
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}

.csg-card-amenities {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.csg-amenity-chip {
    font-size: 11px;
    font-weight: 600;
    color: var(--csg-pine);
    background: var(--csg-sage-soft);
    border: 1px solid rgba(61, 106, 80, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: capitalize;
}

.csg-card-footer {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.csg-btn-primary {
    flex: 2;
    background: var(--csg-pine);
    color: #ffffff;
    border: none;
    padding: 13px 16px;
    border-radius: var(--csg-radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(24, 48, 35, 0.2);
}

.csg-btn-primary:hover {
    background: var(--csg-pine-deep);
    transform: translateY(-1px);
}

.csg-card-featured .csg-btn-primary {
    background: linear-gradient(135deg, #183023 0%, #264a37 100%);
    padding: 15px 22px;
    font-size: 14px;
}

.csg-btn-outline {
    flex: 1;
    background: #ffffff;
    color: var(--csg-pine);
    border: 1.5px solid rgba(24, 48, 35, 0.2);
    padding: 13px 14px;
    border-radius: var(--csg-radius-sm);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csg-btn-outline:hover {
    background: var(--csg-sage-soft);
    border-color: var(--csg-pine);
}

.csg-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.csg-title-link:hover {
    color: var(--csg-gold);
}

.csg-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.csg-btn-detail {
    background: var(--csg-sage-soft);
    color: var(--csg-pine);
    border: 1px solid rgba(24, 48, 35, 0.15);
    padding: 12px 14px;
    border-radius: var(--csg-radius-sm);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.csg-btn-detail:hover {
    background: var(--csg-pine);
    color: #ffffff;
    border-color: var(--csg-pine);
}

/* ==========================================================================
   PÁGINA INDIVIDUAL DE TIPOLOGÍA / RESIDENCIA (EDITORIAL LUXURY)
   ========================================================================== */
.csg-single-wrapper {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    background-color: #fbf9f5;
    color: #183023;
    min-height: 100vh;
    padding-bottom: 80px;
}

/* Topbar de Navegación */
.csg-single-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 249, 245, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 48, 35, 0.08);
}

.csg-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.csg-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.csg-brand-badge {
    width: 36px;
    height: 36px;
    background: #183023;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.csg-brand-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.csg-brand-loc {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #c39d63;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.csg-nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.csg-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #183023;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(24, 48, 35, 0.15);
    background: #fff;
    transition: all 0.2s ease;
}

.csg-back-link:hover {
    background: #183023;
    color: #fff;
}

.csg-nav-bot-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #183023;
    border: none;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csg-nav-bot-btn:hover {
    background: #264a37;
}

.csg-pulse-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(74, 222, 128, 0.3);
}

/* Container */
.csg-single-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
}

/* Breadcrumbs */
.csg-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 20px;
}

.csg-breadcrumbs a {
    color: #183023;
    text-decoration: none;
    font-weight: 600;
}

.csg-breadcrumbs a:hover {
    color: #c39d63;
}

.csg-bc-sep {
    color: #cbd5e1;
}

.csg-bc-current {
    color: #94a3b8;
}

/* Header de la Residencia */
.csg-single-header {
    margin-bottom: 32px;
}

.csg-single-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.csg-badge-standard {
    background: #edf5f0;
    color: #183023;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 9999px;
    border: 1px solid rgba(24, 48, 35, 0.12);
}

.csg-badge-gold {
    background: linear-gradient(135deg, #183023 0%, #2a4d38 100%);
    color: #f7dca3;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(195, 157, 99, 0.4);
    box-shadow: 0 4px 12px rgba(24, 48, 35, 0.12);
}

.csg-altitude-pill {
    font-size: 11.5px;
    font-weight: 600;
    color: #5f7067;
}

.csg-single-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: #183023;
    line-height: 1.15;
    margin: 0 0 12px;
}

.csg-single-tagline {
    font-size: 16px;
    color: #5f7067;
    line-height: 1.6;
    max-width: 860px;
    margin: 0 0 24px;
}

/* Specs Bar */
.csg-specs-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(24, 48, 35, 0.08);
    border-radius: 18px;
    padding: 18px 24px;
    box-shadow: 0 4px 20px rgba(15, 32, 23, 0.04);
}

.csg-spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.csg-spec-icon {
    font-size: 24px;
    line-height: 1;
}

.csg-spec-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.csg-spec-value {
    font-size: 14px;
    font-weight: 800;
    color: #183023;
}

/* Galería Interactiva */
.csg-gallery-section {
    margin-bottom: 40px;
}

.csg-gallery-main {
    position: relative;
    width: 100%;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(15, 32, 23, 0.1);
    background: #183023;
}

.csg-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.25s ease;
}

.csg-photo-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background: rgba(15, 32, 23, 0.7);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
}

.csg-gallery-thumbs {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.csg-thumb-btn {
    flex: 0 0 140px;
    height: 90px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: #e2e8f0;
    transition: all 0.2s ease;
}

.csg-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.csg-thumb-btn.active {
    border-color: #c39d63;
    box-shadow: 0 0 0 2px rgba(195, 157, 99, 0.4);
    transform: scale(0.98);
}

.csg-thumb-btn:hover {
    opacity: 0.9;
}

/* Layout Grid: 2 Columnas */
.csg-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Columna Izquierda */
.csg-details-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.csg-section-block {
    background: #ffffff;
    border: 1px solid rgba(24, 48, 35, 0.08);
    border-radius: 22px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(15, 32, 23, 0.03);
}

.csg-block-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #183023;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.csg-block-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: #c39d63;
    background: #fbf9f5;
    border: 1px solid rgba(195, 157, 99, 0.3);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.csg-prose-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
    margin: 0 0 16px;
}

.csg-section-desc {
    font-size: 14px;
    color: #64748b;
    margin: -8px 0 20px;
}

.csg-units-callout {
    background: #edf5f0;
    border: 1px solid #c7e0cf;
    border-radius: 16px;
    padding: 20px;
    margin-top: 20px;
}

.csg-units-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: #183023;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.csg-units-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.csg-unit-pill {
    background: #ffffff;
    border: 1px solid rgba(24, 48, 35, 0.12);
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 600;
    color: #183023;
}

/* Habitaciones Grid */
.csg-rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.csg-room-card {
    background: #fbf9f5;
    border: 1px solid rgba(24, 48, 35, 0.08);
    border-radius: 16px;
    padding: 20px;
}

.csg-room-header {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.csg-room-icon {
    font-size: 22px;
    line-height: 1;
}

.csg-room-title {
    font-size: 15px;
    font-weight: 800;
    color: #183023;
    margin: 0 0 4px;
}

.csg-room-bed {
    font-size: 12.5px;
    font-weight: 700;
    color: #3d6a50;
}

.csg-room-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Categorías de Amenities */
.csg-amenities-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.csg-category-box {
    background: #fbf9f5;
    border: 1px solid rgba(24, 48, 35, 0.06);
    border-radius: 16px;
    padding: 20px;
}

.csg-cat-title {
    font-size: 14px;
    font-weight: 800;
    color: #183023;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(24, 48, 35, 0.08);
}

.csg-amenity-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csg-amenity-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #334155;
    line-height: 1.4;
}

.csg-amenity-list svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Servicios Grid */
.csg-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.csg-service-card {
    background: #fbf9f5;
    border: 1px solid rgba(24, 48, 35, 0.06);
    border-radius: 16px;
    padding: 20px;
}

.csg-serv-icon {
    font-size: 26px;
    display: block;
    margin-bottom: 10px;
}

.csg-service-card h4 {
    font-size: 15px;
    font-weight: 800;
    color: #183023;
    margin: 0 0 6px;
}

.csg-service-card p {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Políticas */
.csg-policies-block {
    background: #edf5f0;
    border-color: #bbf7d0;
}

.csg-policy-title {
    font-size: 16px;
    font-weight: 800;
    color: #183023;
    margin: 0 0 16px;
}

.csg-policy-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.csg-policy-columns strong {
    font-size: 13px;
    color: #183023;
    display: block;
    margin-bottom: 6px;
}

.csg-policy-columns p {
    font-size: 12.5px;
    color: #475569;
    margin: 0;
    line-height: 1.5;
}

/* Columna Derecha: Sticky Booking Box */
.csg-sidebar-col {
    position: sticky;
    top: 90px;
}

.csg-booking-card {
    background: #ffffff;
    border: 1.5px solid rgba(24, 48, 35, 0.12);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(15, 32, 23, 0.08);
}

.csg-booking-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(24, 48, 35, 0.08);
    margin-bottom: 20px;
}

.csg-b-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.csg-b-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.csg-curr {
    font-size: 18px;
    font-weight: 800;
    color: #183023;
}

.csg-b-price strong {
    font-size: 26px;
    font-weight: 800;
    color: #183023;
}

.csg-period {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.csg-tag-direct {
    background: #edf5f0;
    color: #183023;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid #bbf7d0;
}

/* Booking Form Inputs */
.csg-booking-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.csg-form-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.csg-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.csg-field-group label {
    font-size: 11px;
    font-weight: 700;
    color: #183023;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.csg-input {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(24, 48, 35, 0.18);
    border-radius: 12px;
    font-size: 13px;
    font-family: inherit;
    color: #183023;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.csg-input:focus {
    border-color: #183023;
    box-shadow: 0 0 0 2px rgba(24, 48, 35, 0.1);
}

/* Resumen Cotización */
.csg-quote-summary {
    background: #fbf9f5;
    border: 1px solid rgba(24, 48, 35, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csg-quote-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
}

.csg-discount-row {
    color: #15803d;
    font-weight: 700;
}

.csg-quote-divider {
    height: 1px;
    background: rgba(24, 48, 35, 0.08);
    margin: 4px 0;
}

.csg-total-row {
    font-size: 15px;
    color: #183023;
}

.csg-highlight-total {
    font-size: 18px;
    color: #183023;
}

.csg-sena-row {
    background: #edf5f0;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #c7e0cf;
    font-size: 12px;
    color: #183023;
}

.csg-sena-row strong {
    color: #183023;
}

/* Botones Sidebar */
.csg-booking-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.csg-btn-block-primary {
    width: 100%;
    background: #183023;
    color: #ffffff;
    border: none;
    padding: 16px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(24, 48, 35, 0.25);
}

.csg-btn-block-primary:hover {
    background: #0f2017;
    transform: translateY(-1px);
}

.csg-btn-block-ia {
    width: 100%;
    background: #ffffff;
    color: #183023;
    border: 1.5px solid rgba(24, 48, 35, 0.18);
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.csg-btn-block-ia:hover {
    background: #edf5f0;
    border-color: #183023;
}

.csg-btn-block-wa {
    width: 100%;
    background: #25D366;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.csg-btn-block-wa:hover {
    background: #1ebd59;
}

/* Garantías */
.csg-guarantee-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11.5px;
    color: #64748b;
    line-height: 1.4;
    padding-top: 14px;
    border-top: 1px solid rgba(24, 48, 35, 0.08);
}

/* Responsividad */
@media (max-width: 992px) {
    .csg-layout-grid {
        grid-template-columns: 1fr;
    }

    .csg-sidebar-col {
        position: static;
        order: -1;
    }

    .csg-gallery-main {
        height: 380px;
    }
}

@media (max-width: 640px) {
    .csg-single-container {
        padding: 16px;
    }

    .csg-gallery-main {
        height: 260px;
    }

    .csg-specs-bar {
        grid-template-columns: 1fr 1fr;
        padding: 14px;
    }

    .csg-section-block {
        padding: 20px;
    }

    .csg-form-dates {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PLANO SVG INTERACTIVO DEL COMPLEJO
   ========================================================================== */
.csg-plano-section {
    max-width: 1240px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

.csg-plano-header {
    text-align: center;
    margin-bottom: 36px;
}

.csg-plano-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.csg-p-filter {
    background: #ffffff;
    color: #183023;
    border: 1px solid rgba(24, 48, 35, 0.12);
    padding: 9px 18px;
    border-radius: 9999px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csg-p-filter:hover {
    background: #edf5f0;
    border-color: #183023;
}

.csg-p-filter.active {
    background: #183023;
    color: #ffffff;
    border-color: #183023;
    box-shadow: 0 4px 12px rgba(24, 48, 35, 0.2);
}

.csg-p-filter.csg-p-gold.active {
    background: linear-gradient(135deg, #183023 0%, #2f5640 100%);
    color: #fde047;
    border-color: #c39d63;
}

/* Workspace 2 Columnas */
.csg-plano-workspace {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
    background: #0b1a12;
    border: 1.5px solid rgba(195, 157, 99, 0.25);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(11, 26, 18, 0.25);
}

/* Canvas SVG */
.csg-svg-canvas-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #08140e;
}

.csg-masterplan-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Nodos SVG Interactivos */
.csg-svg-node {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.csg-svg-node:hover {
    transform-origin: center;
    filter: drop-shadow(0 0 10px rgba(195, 157, 99, 0.8));
}

.csg-svg-node.active-node {
    filter: drop-shadow(0 0 14px #4ade80);
}

.csg-casona-node:hover, .csg-casona-node.active-node {
    filter: drop-shadow(0 0 16px #fbbf24);
}

/* HUD Sidebar */
.csg-plano-sidebar {
    position: sticky;
    top: 90px;
}

.csg-hud-card {
    background: rgba(18, 38, 28, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(195, 157, 99, 0.3);
    border-radius: 22px;
    padding: 22px;
    color: #f0f7f3;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.csg-hud-badge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.csg-hud-pill {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    color: #a7f3d0;
    padding: 4px 10px;
    border-radius: 9999px;
}

.csg-hud-pill.gold {
    background: rgba(245, 158, 11, 0.2);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.csg-hud-status {
    font-size: 11px;
    font-weight: 700;
    color: #4ade80;
}

.csg-hud-media {
    width: 100%;
    height: 160px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #0f2218;
}

.csg-hud-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.csg-hud-title {
    font-family: 'Playfair Display', serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
    line-height: 1.25;
}

.csg-hud-sub {
    font-size: 12px;
    color: #c39d63;
    font-weight: 600;
    margin: 0 0 12px;
}

.csg-hud-specs {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-bottom: 16px;
}

.csg-hud-cap {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 6px;
}

.csg-hud-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

.csg-hud-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.25);
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.csg-hud-price-lbl {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.csg-hud-price-val {
    font-size: 18px;
    font-weight: 800;
    color: #fde047;
}

.csg-hud-price-val small {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
}

.csg-hud-zero-comm {
    font-size: 10.5px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.15);
    padding: 3px 8px;
    border-radius: 9999px;
}

.csg-hud-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.csg-hud-btn-primary {
    width: 100%;
    background: #c39d63;
    color: #0f2218;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 12px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.csg-hud-btn-primary:hover {
    background: #e2d1b3;
}

.csg-hud-btn-reserve {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.csg-hud-btn-reserve:hover {
    background: #183023;
    border-color: #4ade80;
}

@media (max-width: 960px) {
    .csg-plano-workspace {
        grid-template-columns: 1fr;
    }

    .csg-plano-sidebar {
        position: static;
    }
}
