/* ── HERO ── */
.cs-hero {
    background: linear-gradient(135deg, #0D1F3C 0%, #0a2463 50%, #1a5490 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 20px;
}
.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,31,60,0.7) 0%, rgba(10,36,99,0.6) 100%), url('https://chileanski-assets.imgix.net/centros-ski/ski-resorts-banner.png') center/cover no-repeat;
    opacity: 1;
}
.cs-hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.cs-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(216, 247, 84, 0.2);
    color: #d8f754;
    padding: 6px 14px;
    border-radius: 20px;
    font-size:16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.cs-hero__title {
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    line-height: 1.2;
    font-family: 'Raleway', sans-serif;
}
.cs-hero__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

/* ── CENTERS SECTION ── */
.cs-centers-section {
    padding: 40px 20px 60px 20px;
}

/* ── COMPARISON TABLE ── */
.cs-table-section {
    padding: 60px 20px;
    background: #f8f9fa;
}
.cs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.cs-table thead {
    background: #0D1F3C;
    color: #fff;
}
.cs-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    font-size:16px;
}
.cs-table td {
    padding: 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #666;
}
.cs-table tbody tr:nth-child(even) {
    background: #f9fafb;
}
.cs-table__badge {
    background: #d8f754;
    color: #0D1F3C;
    padding: 4px 8px;
    border-radius: 4px;
    font-size:16px;
    font-weight: 600;
}
.cs-table__badge.thermal {
    background: #3b82f6;
    color: #fff;
}

/* ── HIGHLIGHT CARDS ── */
.cs-highlights-section {
    padding: 60px 20px;
    background: #fff;
}
.cs-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}
.cs-hi-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    background: #fff;
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.cs-hi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.cs-hi-card__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}
.cs-hi-card__body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.cs-hi-card__name {
    font-size:16px;
    font-weight: 700;
    color: #0D1F3C;
    margin: 0;
}
.cs-hi-card__cta {
    display: inline-block;
    background: #d8f754;
    color: #0D1F3C;
    font-size:16px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s;
}
.cs-hi-card__cta:hover { background: #c9e944; }

/* ── TESTIMONIALS ── */
.cs-testi-section {
    padding: 70px 20px;
    background: linear-gradient(135deg, #0D1F3C 0%, #0a2463 100%);
    overflow: hidden;
}
.cs-testi-header {
    text-align: center;
    margin-bottom: 40px;
}
.cs-testi-header__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px;
    font-family: 'Raleway', sans-serif;
}
.cs-testi-header__sub {
    font-size:16px;
    color: rgba(255,255,255,.65);
    margin: 0;
}
.cs-testi-slider-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}
.cs-testi-track {
    overflow: hidden;
}
.cs-testi-inner {
    display: flex;
    transition: transform 0.45s ease;
}
.cs-testi-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 4px;
}
.cs-testi-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 32px 36px;
    color: #fff;
}
.cs-testi-stars {
    color: #d8f754;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.cs-testi-quote {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255,255,255,.9);
    margin: 0 0 24px;
    font-style: italic;
}
.cs-testi-quote::before { content: '"'; }
.cs-testi-quote::after  { content: '"'; }
.cs-testi-meta {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cs-testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(216,247,84,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.cs-testi-name {
    font-weight: 700;
    font-size:16px;
    margin: 0 0 2px;
}
.cs-testi-info {
    font-size:16px;
    color: rgba(255,255,255,.5);
    margin: 0;
}
.cs-testi-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 28px;
}
.cs-testi-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.3);
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    line-height: 1;
}
.cs-testi-btn:hover {
    border-color: #d8f754;
    color: #d8f754;
}
.cs-testi-dots {
    display: flex;
    gap: 7px;
}
.cs-testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.cs-testi-dot.active {
    background: #d8f754;
    transform: scale(1.25);
}

@media(max-width: 900px) {
    .cs-highlights-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 480px) {
    .cs-highlights-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .cs-testi-card { padding: 22px 18px; }
}

/* ── CTA SECTION ── */
.cs-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0D1F3C 0%, #0a2463 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cs-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(216, 247, 84, 0.1);
    border-radius: 50%;
}
.cs-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
}
.cs-cta__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.cs-cta__title {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px 0;
    font-family: 'Raleway', sans-serif;
}
.cs-cta__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 32px 0;
    line-height: 1.6;
}
.cs-cta__btn {
    display: inline-block;
    background: #d8f754;
    color: #0D1F3C;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border: 2px solid #d8f754;
}
.cs-cta__btn:hover {
    background: #c9e944;
}
.cs-cta__btn--sm {
    padding: 10px 20px;
    font-size:16px;
}

@media(max-width: 768px) {
    .cs-map-container {
        grid-template-columns: 1fr;
    }
    .cs-hero__title {
        font-size: 36px;
    }
    .cs-section-title {
        font-size: 24px;
    }
    #skiCentersMap {
        height: 350px;
    }
}

/* Banner de centros: imagen de fondo del encabezado (centros.jpg) */
.cs-hero--banner::before {
  opacity: 1;
  background: linear-gradient(rgba(13, 31, 60, .4), rgba(13, 31, 60, .4)), url('https://chileanski-assets.imgix.net/banners/centros.png') center/cover no-repeat;
}
