* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    background: linear-gradient(135deg, #f3e8ff 0%, #fef3c7 50%, #dbeafe 100%);
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

/* Header */
header {
    background: linear-gradient(135deg, #f5f5f5 0%, #fef9e7 100%);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
}

.logo {
    max-width: 85px;
    height: 85px;
    width: 85px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.header h1 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.header p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 10px;
}

.main-title {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(90deg, #8b7dd8 0%, #fbbf24 40%, #86efac 60%, #8b7dd8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 10px 0;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.5);
}

.subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #7cb342;
    margin-top: 10px;
    letter-spacing: 0.5px;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, #d4f4dd 0%, #b8e6c1 100%);
    padding: 30px 20px;
    margin: 25px;
    border-radius: 20px;
    text-align: center;
    color: #2d5016;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.2);
}

.welcome-section h2 {
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.welcome-section p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Program Info Grid */
.program-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    padding: 20px;
    margin: 0 5px;
}

.info-item {
    background: white;
    padding: 18px 15px;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 4px solid;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-item:nth-child(1) {
    border-top-color: #a78bfa;
}

.info-item:nth-child(2) {
    border-top-color: #fbbf24;
}

.info-item:nth-child(3) {
    border-top-color: #86efac;
}

.info-item:nth-child(4) {
    border-top-color: #a78bfa;
}

.info-item:nth-child(5) {
    border-top-color: #fbbf24;
}

.info-number {
    background: linear-gradient(135deg, #9575cd 0%, #7e57c2 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.info-item h3 {
    color: #333;
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 700;
}

.info-item p {
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

/* Objectives */
.objectives {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    padding: 30px 20px;
    margin: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.2);
}

.objectives h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.objectives p {
    color: #555;
    line-height: 1.8;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Schedule */
.schedule-section {
    padding: 25px 20px;
}

.schedule-section h2 {
    color: #333;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 700;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.schedule-table th {
    background: linear-gradient(135deg, #d4f4dd 0%, #b8e6c1 100%);
    color: #2d5016;
    padding: 14px 10px;
    text-align: left;
    font-weight: 600;
    font-size: 12px;
    border-bottom: 2px solid #a8d5ba;
}

.schedule-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #555;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.day-cell {
    background: linear-gradient(135deg, #d4f4dd 0%, #b8e6c1 100%);
    color: #2d5016;
    font-weight: 700;
    font-size: 12px;
}

.schedule-table tr:nth-child(odd) {
    background: #f9fdf7;
}

/* What's Included */
.includes-section {
    padding: 25px 20px;
}

.includes-section h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.includes-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.includes-list {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #86efac;
}

.includes-list ul {
    list-style: none;
}

.includes-list li {
    color: #555;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
}

.includes-list li:before {
    content: "✓";
    color: #7cb342;
    font-size: 18px;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Photo Gallery */
.photos-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    perspective: 1000px;
}

.photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-frame:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.frame-1 {
    transform: rotateZ(-8deg) rotateX(5deg);
    border: 5px solid #fbbf24;
}

.frame-1:hover {
    transform: rotateZ(-5deg) rotateX(2deg) scale(1.05);
}

.frame-2 {
    transform: rotateZ(6deg) rotateY(-5deg);
    border: 5px solid #86efac;
}

.frame-2:hover {
    transform: rotateZ(3deg) rotateY(-2deg) scale(1.05);
}

.frame-3 {
    transform: rotateZ(-6deg) rotateX(-3deg);
    border: 5px solid #a78bfa;
}

.frame-3:hover {
    transform: rotateZ(-3deg) rotateX(0deg) scale(1.05);
}

.frame-4 {
    transform: rotateZ(7deg) rotateY(4deg);
    border: 5px solid #fbbf24;
}

.frame-4:hover {
    transform: rotateZ(4deg) rotateY(1deg) scale(1.05);
}

/* Methodology */
.methodology {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
    padding: 30px 20px;
    margin: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.2);
    color: #4c1d95;
}

.methodology h2 {
    color: #5b21b6;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.methodology ul {
    list-style: none;
}

.methodology li {
    color: #5b21b6;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    font-size: 13px;
}

.methodology li:before {
    content: "★";
    color: #fbbf24;
    font-size: 16px;
    position: absolute;
    left: 0;
}

/* Registration Details */
.registration-section {
    background: white;
    padding: 35px 20px;
    margin: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.registration-section h2 {
    text-align: center;
    font-size: 22px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    position: relative;
}

.registration-item {
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.reg-number {
    background: linear-gradient(135deg, #9575cd 0%, #7e57c2 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.reg-item-1 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.reg-item-2 {
    background: linear-gradient(135deg, #fecdd3 0%, #fecaca 100%);
}

.reg-item-3 {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
}

.reg-item-4 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.registration-item p {
    color: #333;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.4;
}

.registration-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    background: white;
    border-radius: 50%;
    font-size: 45px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Weekend Program */
.weekend-program {
    background: linear-gradient(135deg, #f3e8ff 0%, #ede9fe 100%);
    padding: 40px 20px;
    text-align: center;
    margin: 25px;
    border-radius: 20px;
    color: #5b21b6;
    box-shadow: 0 4px 15px rgba(167, 139, 250, 0.2);
}

.weekend-program h2 {
    font-size: 26px;
    color: #5b21b6;
    margin-bottom: 10px;
    font-weight: 700;
}

.weekend-program p {
    color: #7c3aed;
    font-size: 15px;
}

/* Classes Grid */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 25px 20px;
}

.class-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.class-card h3 {
    background: linear-gradient(135deg, #9575cd 0%, #7e57c2 100%);
    color: white;
    padding: 18px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
}

.class-details {
    padding: 20px;
}

.detail-item {
    margin-bottom: 12px;
    line-height: 1.4;
}

.detail-label {
    color: #9575cd;
    font-weight: 700;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #333;
    font-size: 14px;
    margin-top: 3px;
    font-weight: 600;
}

.class-description {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
}

.class-description h4 {
    color: #333;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.class-description p {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.class-benefits {
    background: linear-gradient(135deg, #d4f4dd 0%, #b8e6c1 100%);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.class-benefits h4 {
    color: #2d5016;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.class-benefits ul {
    list-style: none;
}

.class-benefits li {
    color: #333;
    font-size: 12px;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.class-benefits li:before {
    content: "•";
    color: #7cb342;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 16px;
}

.btn-reservar {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #9575cd 0%, #7e57c2 100%);
    color: white;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-reservar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(149, 117, 205, 0.4);
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #f3e8ff 0%, #fef9c3 50%, #d4f4dd 100%);
    padding: 50px 30px;
    margin: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.final-cta h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.final-cta p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.club-name {
    font-family: 'Georgia', serif;
    font-size: 24px;
    color: #7c3aed;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 25px;
}

.smiley {
    font-size: 50px;
    margin: 20px 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 12px;
    background: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .main-title {
        font-size: 42px;
    }
    
    .program-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .registration-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .registration-center {
        display: none;
    }
    
    .includes-content {
        grid-template-columns: 1fr;
    }
    
    .photos-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .classes-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 32px;
    }
    
    .program-info {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        font-size: 10px;
    }
    
    .schedule-table th, 
    .schedule-table td {
        padding: 8px 5px;
    }
    
    .photos-gallery {
        grid-template-columns: 1fr;
    }
}

/* Override para cuando queremos usar el header estilo `index.html` */
.index-like-header {
    /* Preferir el fondo blanco y padding utilizado en index (Tailwind classes aplican también). */
    background: white !important;
    padding: 1rem 0 !important;
    text-align: left !important;
    overflow: visible !important;
}

/* Asegurar que el shadow de Tailwind se muestre si la clase está presente */
.index-like-header.shadow-sm {
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05) !important;
}