/* ==========================================================================
   L'Élégance Florale - Luxury Design System
   ========================================================================== */

:root {
    --bg-main: #0B0C10;
    --bg-card: #1F2833;
    --bg-glass: rgba(31, 40, 51, 0.7);
    --bg-glass-hover: rgba(43, 55, 70, 0.85);
    
    --gold-primary: #D4AF37;
    --gold-light: #F2EEA2;
    --gold-dark: #AA820A;
    --accent-glow: rgba(212, 175, 55, 0.3);
    
    --text-main: #FFFFFF;
    --text-muted: #C5C6C7;
    --border-color: rgba(212, 175, 55, 0.2);
    
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Navegación / Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.admin-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: radial-gradient(circle at center, rgba(31, 40, 51, 0.4) 0%, rgba(11, 12, 16, 1) 80%), url('imgs/hero.png') center/cover no-repeat;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.25) 0%, rgba(11,12,16,0.75) 50%, rgba(11,12,16,0.95) 100%);
    z-index: 1;
}

/* Water Ripple Animation */
.water-ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.water-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200vw;
    height: 200vw;
    margin-left: -100vw;
    margin-top: -100vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 40%, transparent 70%);
    border-radius: 40% 45% 35% 50%;
    animation: liquidRipple 18s infinite linear;
    mix-blend-mode: screen;
}

.water-wave.wave2 {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    border-radius: 45% 50% 40% 35%;
    animation: liquidRipple 24s infinite linear reverse;
}

.water-wave.wave3 {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    border-radius: 50% 35% 45% 40%;
    animation: liquidRipple 30s infinite linear;
}

@keyframes liquidRipple {
    0% { transform: rotate(0deg) scale(0.9); }
    50% { transform: rotate(180deg) scale(1.1); }
    100% { transform: rotate(360deg) scale(0.9); }
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge-premium {
    display: inline-block;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-primary);
    color: var(--gold-light);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    box-shadow: 0 0 20px var(--accent-glow);
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-primary {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 5px 25px var(--accent-glow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.cta-secondary {
    background: var(--bg-glass);
    color: var(--text-main);
    border: 1px solid var(--gold-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.cta-secondary:hover {
    background: var(--gold-primary);
    color: #000;
    transform: translateY(-3px);
}

.delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
}

.delivery-badge i {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

.delivery-badge strong {
    color: var(--gold-light);
}

/* ==========================================================================
   Sección de Servicios Dinámica
   ========================================================================== */
.services-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3.2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.service-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    group: card;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-primary);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 25px var(--accent-glow);
}

.service-img-container {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #0B0C10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #0B0C10;
    transition: transform 0.8s ease;
}

.service-card:hover .service-img {
    transform: scale(1.08);
}

.service-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.service-title {
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.service-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.service-btn i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-btn {
    color: var(--gold-light);
}

.service-card:hover .service-btn i {
    transform: translateX(6px);
}

/* ==========================================================================
   Sección de Cursos / Masterclass
   ========================================================================== */
.courses-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, #12151C 100%);
    padding: 8rem 2rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.courses-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.badge-gold {
    display: inline-block;
    background: var(--gold-primary);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.courses-headline {
    font-size: 3.5rem;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.courses-text {
    color: var(--text-muted);
    font-size: 1.15rem;
    margin-bottom: 3rem;
}

.course-notice-card {
    background: var(--bg-glass);
    border: 1px solid var(--gold-primary);
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.notice-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--gold-light);
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px var(--accent-glow);
}

.course-notice-card h3 {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 0.8rem;
}

.course-notice-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-gold-small {
    display: inline-block;
    background: var(--gold-primary);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.cta-gold-small:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.courses-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.courses-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(212, 175, 55, 0.4);
    pointer-events: none;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   Sección de Pedidos & Checkout
   ========================================================================== */
.ordering-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem;
}

.order-form {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    padding: 4rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.form-group.full-width {
    margin-bottom: 3rem;
}

label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gold-light);
}

input, select, textarea {
    background: rgba(11, 12, 16, 0.8);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--accent-glow);
}

.special-addons {
    background: rgba(11, 12, 16, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.special-addons h3 {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.addons-help {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.addon-checkbox {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.addon-checkbox:hover {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.addon-checkbox input {
    cursor: pointer;
    width: 20px;
    height: 20px;
    accent-color: var(--gold-primary);
}

.payment-method-section {
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.payment-method-section h3 {
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 0.5rem;
}

.payment-help {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.payment-option {
    cursor: pointer;
}

.payment-option input {
    display: none;
}

.pay-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.payment-option input:checked + .pay-btn {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    box-shadow: 0 0 20px var(--accent-glow);
}

.pay-btn.whatsapp i { color: #25D366; font-size: 1.3rem; }
.pay-btn.email i { color: #EA4335; font-size: 1.3rem; }

.form-actions {
    text-align: center;
}

.cta-submit {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    padding: 1.4rem 4rem;
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.cta-submit:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: #060709;
    padding: 6rem 2rem 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto 5rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-about {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
}

.footer-col h3 {
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--gold-light);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ==========================================================================
   Panel de Administración Modal
   ========================================================================== */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.05s ease;
}

.admin-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-modal-content {
    background: var(--bg-card);
    border: 1px solid var(--gold-primary);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 70px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: var(--transition);
}

.admin-modal.active .admin-modal-content {
    transform: scale(1);
}

.admin-modal-header {
    padding: 2rem 3rem;
    background: rgba(11, 12, 16, 0.9);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-modal-header h2 {
    color: var(--gold-light);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--gold-primary);
    transform: rotate(90deg);
}

.admin-tabs {
    display: flex;
    background: rgba(11, 12, 16, 0.5);
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    flex: 1;
    padding: 1.2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.admin-tab.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.admin-modal-body {
    padding: 3rem;
    overflow-y: auto;
    flex-grow: 1;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.admin-form-group label {
    font-size: 0.95rem;
    color: var(--gold-light);
}

.cta-gold-button {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 5px 20px var(--accent-glow);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.cta-gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
}

.admin-separator {
    border: 0;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0 2rem;
}

.services-admin-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.service-admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 12, 16, 0.6);
    padding: 1.2rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.service-admin-item h4 {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.btn-danger {
    background: rgba(220, 53, 69, 0.2);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-danger:hover {
    background: #ff4d4d;
    color: #fff;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.success-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.success-modal-content {
    background: var(--bg-card);
    border: 2px solid var(--gold-primary);
    width: 90%;
    max-width: 650px;
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(212,175,55,0.4);
    transform: scale(0.95);
    transition: var(--transition);
}

.success-modal.active .success-modal-content {
    transform: scale(1);
}

.success-icon i {
    font-size: 5rem;
    color: #25D366;
    margin-bottom: 1.5rem;
}

.success-modal-content h2 {
    color: var(--gold-light);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.success-modal-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.success-summary {
    background: rgba(11, 12, 16, 0.8);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    text-align: left;
}

.success-summary h4 {
    color: var(--gold-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.success-summary ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    color: #fff;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .courses-container, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .order-form {
        padding: 2.5rem;
    }
}

/* ==========================================================================
   Efecto Dinámico Reveal on Scroll (Aparecer / Desaparecer al hacer scroll)
   ========================================================================== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .admin-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    .success-modal-content {
        padding: 2rem;
    }
}

/* ==========================================================================
   Admin Switch Buttons & Toggles
   ========================================================================== */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
    border: 1px solid var(--border-color);
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px; width: 26px;
    left: 3px; bottom: 3px;
    background-color: #fff;
    transition: .4s;
}
input:checked + .slider {
    background-color: var(--gold-primary);
    border-color: var(--gold-primary);
}
input:checked + .slider:before {
    transform: translateX(26px);
    background-color: #000;
}
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}

/* Heartbeat Animation for Footer */
.beating-heart {
    color: #FF3B30;
    display: inline-block;
    animation: heartbeat 1.4s infinite;
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.25); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1.35); }
}
