:root {
    --primary-blue: #107acc;
    --primary-hover: #2898ee;
    --accent-teal: #0cbccc;
    --deep-navy: #15297c;
    --dark-base: #142157;
    --white: #ffffff;
    --black: #333333;
    --gray-light: #f4f4f4;
    --gray-border: #ddd;
    --disabled-bg: #e9ecef;
    --disabled-text: #6c757d;
    --text-color: #222;
}
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography components */
h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    line-height: 1.2;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(16, 122, 204, 0.3);
}

.btn-primary:disabled {
    background-color: var(--gray-border);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    margin: 5px 0;
    width: 100%;
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.full-width {
    width: 100%;
}

/* --- HEADER & NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--deep-navy);
    /* Custom Purple-Blue */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    /* Remove default top/bottom padding to control via container */
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Centered vertically */
    padding-bottom: 15px;
    padding-top: 15px;
    /* Ensure top space for logo */
}

/* Right side wrapper to stack contact and nav */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.contact-top {
    display: flex;
    align-items: center;
    gap: 15px;
    /* Space between Home and Contact */
}

.btn-home-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-home-icon:hover {
    background: var(--primary-blue);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 50px;
    /* Increased width */
    border-radius: 20px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.btn-contact:hover {
    background: #25D366;
    /* WhatsApp Green */
    border-color: #25D366;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo img {
    height: 160px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    /* Glow effect */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
}

.logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    /* Buttons closer together */
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    /* White text for blue bg */
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hover effect for all links */
.nav-link:hover {
    background-color: rgba(12, 188, 204, 0.1);
    color: var(--white);
    box-shadow: 0 0 10px rgba(12, 188, 204, 0.3);
}

.nav-link.active {
    color: #fff;
    background: rgba(12, 188, 204, 0.2);
    border: 1px solid rgba(12, 188, 204, 0.5);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Navigation Dropdown Styles */
.nav-item.dropdown {
    position: relative;
    display: inline-block;
}

.nav-link.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.nav-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .nav-arrow,
.nav-item.dropdown.show .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 22, 45, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(12, 188, 204, 0.4);
    border-radius: 12px;
    padding: 10px;
    min-width: 230px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(12, 188, 204, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
    list-style: none;
    margin: 8px 0 0 0;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.show .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #e0e6ed;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0;
}

.dropdown-item i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(12, 188, 204, 0.18);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 0 12px rgba(12, 188, 204, 0.25);
}

.dropdown-item.active {
    background: linear-gradient(135deg, rgba(12, 188, 204, 0.3) 0%, rgba(16, 122, 204, 0.3) 100%);
    color: #0cbccc;
    border: 1px solid rgba(12, 188, 204, 0.5);
    font-weight: 700;
}

/* Mobile Dropdown adjustment */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none !important;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 8px;
        padding: 5px;
    }
    
    .nav-item.dropdown.show .dropdown-menu {
        display: block;
    }
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-blue);
}



/* SECCIÓN 1: HERO */
.hero-section {
    padding: 80px 0;
    background-color: var(--white);
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.image-placeholder img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.steps-list p {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 500;
}

/* SECCIÓN 2: TALLERES */
.workshops-section {
    padding: 60px 0;
    background-color: var(--gray-light);
    text-align: center;
}

.home-hero-bg {
    background-image: url('../img/banner-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
    /* Reset padding to let flex center it */
    margin-top: 180px;
    /* Adjusted offset for 150px logo header */
}

.home-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep elegant overlay */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(20, 20, 50, 0.5) 100%);
    z-index: 1;
}

.home-hero-bg .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.home-hero-bg h1 {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.home-hero-bg h2 {
    font-size: 1.5rem;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 10px 30px;
    border-radius: 30px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.home-intro {
    padding: 40px 0 60px 0;
}

.intro-text {
    font-size: 1.25rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-title {
    color: var(--black);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    margin-bottom: 3rem;
    color: #666;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Instructions Steps Component */
.instructions-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.step-item {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 12px;
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(16, 122, 204, 0.25), 0 0 20px rgba(16, 122, 204, 0.3);
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--deep-navy);
}

.step-item p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Important Note Component */
.important-note {
    background: #fff8e1;
    border-left: 5px solid #ffca28;
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    text-align: left;
    max-width: 800px;
}

.important-note i {
    font-size: 1.5rem;
    color: #ffca28;
}

.important-note p {
    font-weight: 600;
    color: #856404;
    margin: 0;
}

@media (max-width: 768px) {
    .instructions-steps {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        max-width: 100%;
        width: 100%;
    }
}

.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.workshop-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.workshop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(16, 122, 204, 0.2), 0 0 15px rgba(16, 122, 204, 0.3);
    border-color: rgba(16, 122, 204, 0.3);
}

.workshop-card.selected {
    border-color: var(--primary-blue);
    background-color: #f0f7ff;
    color: var(--primary-blue);
    box-shadow: 0 0 20px rgba(16, 122, 204, 0.4), inset 0 0 10px rgba(16, 122, 204, 0.1);
    transform: scale(1.02);
}

.workshop-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: var(--disabled-bg);
}

.workshop-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

.note-text {
    margin-top: 10px;
    color: #666;
    font-size: 0.9rem;
}

/* SECCIÓN 3: PLANES */
.plans-section {
    padding: 80px 0;
}

.plans-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.plan-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(16, 122, 204, 0.15), 0 0 25px rgba(16, 122, 204, 0.2);
    border-color: rgba(16, 122, 204, 0.4);
}

.plan-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.vip-card {
    border: 2px solid var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
}

.plan-benefits {
    list-style-type: none;
    text-align: left;
    margin-bottom: 2rem;
    padding: 0 10px;
}

.plan-benefits li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.plan-buttons {
    margin-top: 30px;
}

.whatsapp-note {
    text-align: center;
    margin-top: 50px;
    padding: 20px;
    background-color: var(--gray-light);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close-btn:hover {
    color: #000;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input.input-error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.help-text {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 4px;
}

.error-message {
    display: none;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
    font-weight: 500;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.text-center {
    text-align: center;
}

.success-message {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #333;
}

.selected-summary {
    background-color: var(--gray-light);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: left;
}

.selected-summary ul {
    list-style-type: none;
    margin-top: 10px;
}

.selected-summary li {
    margin-bottom: 5px;
    padding-left: 15px;
    position: relative;
}

.selected-summary li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

.payment-info {
    text-align: left;
    margin-bottom: 25px;
    border-top: 1px solid var(--gray-border);
    padding-top: 20px;
}

.payment-info h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.small-note {
    font-size: 0.8rem;
    color: #777;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .h1 {
        font-size: 2rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    /* Image on top on mobile if preferred, or keep as is */
    .steps-list {
        text-align: left;
        display: inline-block;
    }

    .workshops-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ANTIGRAVITY PAGE STYLES --- */

.ag-hero {
    padding: 100px 0;
    background-color: #f0f8ff;
    /* Light blue background */
    margin-bottom: 50px;
}

.ag-hero h1 {
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.ag-hero h2 {
    color: #555;
    font-weight: 500;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.card-simple {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--gray-border);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 150px;
}

.card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-simple h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.card-simple p {
    color: #666;
    text-align: justify;
    hyphens: auto;
    line-height: 1.6;
}

/* Badge "En Vivo" */
.relative {
    position: relative;
    overflow: hidden;
    /* Ensures badge stays within corners if we want, or remove if we want it popping out */
}

.badge-live {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #28a745;
    /* Green */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ag-combo-section {
    padding: 60px 0 20px 0;
}

.ag-combo-cards .card-simple {
    text-align: center;
    justify-content: center;
}

.ag-combo-cards .card-simple h3 {
    margin-bottom: 0;
}


.mt-40 {
    margin-top: 40px;
}

.whatsapp-note-small {
    margin-top: 15px;
    font-weight: 600;
    color: #444;
}

.footer-spacer {
    height: 50px;
}

/* --- MAKE PAGE STYLES --- */

.make-hero {
    background-image: url('../img/banner-make.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.make-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Subtle blue/tech gradient overlay */
    background: linear-gradient(135deg, rgba(0, 86, 179, 0.45) 0%, rgba(10, 25, 47, 0.3) 100%);
    z-index: 1;
}

.make-hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-2deg);
    z-index: 2;
}

.make-hero .container {
    position: relative;
    z-index: 3;
    width: 95%;
    max-width: 1200px;
    /* Increased to allow one-line title */
}

.make-hero h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    /* Fluid font size to fit on one line */
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
    letter-spacing: -1.5px;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 20px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    /* Forces one line */
}

/* Ensure responsiveness for the nowrap title */
@media (max-width: 768px) {
    .make-hero h1 {
        white-space: normal;
        padding: 15px 25px;
    }
}



.split-section {
    padding: 80px 0;
}

.bg-light {
    background-color: #fafafa;
}

.split-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.split-container.reverse {
    flex-direction: row-reverse;
}

.split-image,
.split-content {
    flex: 1;
}

.image-placeholder-rect img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.split-content h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.split-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 20px;
}

.split-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: justify;
    hyphens: auto;
}

.split-buttons {
    display: flex;
    gap: 15px;
}

.split-buttons .btn {
    width: auto;
    /* Override full-width if set elsewhere */
    min-width: 150px;
}

@media (max-width: 768px) {

    .split-container,
    .split-container.reverse {
        flex-direction: column;
        text-align: center;
    }

    .split-image {
        order: -1;
        /* Always image first on mobile */
        margin-bottom: 30px;
    }

    .split-buttons {
        justify-content: center;
    }
}

/* --- MEMBERSHIP PAGE STYLES --- */

.membership-hero {
    background-image: url('../img/banner-membresia.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.membership-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft violet/teal gradient for a modern academy feel */
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.4) 0%, rgba(30, 0, 80, 0.3) 100%);
    z-index: 1;
}

.membership-hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-2deg);
    z-index: 2;
}

.membership-hero .container {
    position: relative;
    z-index: 3;
}

.membership-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.membership-hero h2 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    display: inline-block;
    padding: 8px 25px;
    border-radius: 50px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-desc {
    max-width: 850px;
    margin: 0 auto 15px auto;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}


/* Animations */
.fade-slide-in {
    animation: fadeSlideIn 1s ease-out;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: flex-start;
    /* Aligns cards at top */
    margin-bottom: 80px;
}

.plan-card-new {
    background: var(--white);
    border: 3px solid var(--gray-border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card-new:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    background-color: #f0f8ff;
    padding: 10px;
}

.plan-card-new h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.plan-value {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 25px;
    font-weight: 500;
}

.benefits-list {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
}

.benefits-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    color: #444;
    font-size: 0.95rem;
    /* Animation for list items can be done via JS intersection observer or simple CSS delays if fixed */
    animation: fadeInList 0.5s ease-out forwards;
    opacity: 0;
}

/* Stagger animations simply for first few items or use JS for robustness. 
   For simplicity here, we'll auto-animate them. */
.benefits-list li:nth-child(1) {
    animation-delay: 0.1s;
}

.benefits-list li:nth-child(2) {
    animation-delay: 0.2s;
}

.benefits-list li:nth-child(3) {
    animation-delay: 0.3s;
}

.benefits-list li:nth-child(4) {
    animation-delay: 0.4s;
}

.benefits-list li:nth-child(5) {
    animation-delay: 0.5s;
}

.benefits-list li:nth-child(6) {
    animation-delay: 0.6s;
}

@keyframes fadeInList {
    to {
        opacity: 1;
    }
}

.benefits-list li::before {
    content: "✔";
    color: var(--primary-blue);
    position: absolute;
    left: 0;
    top: 2px;
}

/* PREMIUM CARD STYLES */
.plan-card-new.premium {
    border-color: var(--primary-blue);
    box-shadow: 0 10px 25px rgba(16, 122, 204, 0.15);
    background: linear-gradient(to bottom, #ffffff, #f5faff);
}

.plan-card-new.premium:hover {
    box-shadow: 0 20px 40px rgba(16, 122, 204, 0.25);
    /* Glow effect */
    border-color: var(--primary-hover);
}

.badge-recommended {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* VIP CARD STYLES */
.plan-card-new.vip {
    border: 1px solid #d4af37;
    /* Goldish border */
}

.plan-card-new.vip .card-icon img {
    background-color: #fff9e6;
}

.plan-card-new.vip:hover {
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
    transform: translateY(-12px);
}

.plan-card-new.vip h3 {
    color: #b8860b;
    /* Dark Goldenrod */
}

.vip-btn {
    background-color: #333;
    border-color: #333;
}

.vip-btn:hover {
    background-color: #000;
    border-color: #000;
}

@media (max-width: 768px) {
    .membership-hero h1 {
        font-size: 2rem;
    }

    .plans-container {
        grid-template-columns: 1fr;
    }

    .plan-card-new {
        /* Add some slide-in animation on scroll via JS ideally, or keeping it static for now */
        margin-bottom: 20px;
    }
}

.hero-desc {
    text-align: justify;
}

/* Customizations for ALL Plans (Standard, Premium, VIP) */
.price-large {
    font-size: 3rem;
    /* Very large */
    font-weight: 800;
    color: var(--primary-blue);
    margin: 10px 0 20px 0;
}

.plan-card-new .card-icon img {
    width: 160px;
    /* Double size (was 80px) */
    height: 160px;
    transition: transform 0.4s ease;
}

/* Specific movement on hover for all card images */
.plan-card-new:hover .card-icon img {
    transform: scale(1.1) rotate(5deg);
}

/* --- HOME PAGE STYLES --- */

.home-hero {
    padding: 80px 0;
    background-color: #f7fbff;
    /* Soft blue/white */
    margin-bottom: 40px;
}

.home-hero h1 {
    max-width: 900px;
    margin: 0 auto;
    color: var(--primary-blue);
    font-size: 2.2rem;
    line-height: 1.3;
}

/* Animations - Home */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-grid-section {
    padding-bottom: 80px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    gap: 25px;
}

/* Response structure for cards grid */
@media (max-width: 1200px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.content-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    /* For image rounded corners at top */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .card-image img {
    transform: scale(1.1);
    /* Subtle zoom */
}

.card-text {
    padding: 20px;
    flex-grow: 1;
    /* Makes cards grow if text is long */
}

.card-text h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    text-align: center;
}

.card-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
    text-align: justify;
}

.card-buttons {
    padding: 0 20px 20px 20px;
    display: flex;
    gap: 10px;
}

.card-buttons .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 8px 0;
}

.btn-sm {
    padding: 8px 15px;
}

/* Home Quote Section */
.home-quote {
    padding: 80px 0;
    background-color: transparent;
    border-top: 1px solid #eee;
}

.home-quote h2 {
    font-size: 1.8rem;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    font-style: italic;
}

.fade-scale-in {
    /* Simple Animation Trigger for quote (will run on load for now) */
    animation: fadeScale 0.8s ease-out forwards;
    animation-delay: 0.5s;
    /* Wait a bit */
    opacity: 0;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* WhatsApp Button Styles */
.btn-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
    z-index: 1;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Wave/Ripple Effect Animation */
.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple-pulse 2s infinite;
    z-index: -1;
}

@keyframes ripple-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Antigravity Page Styles */
.ag-hero {
    background-image: url('../img/banner-antigravity.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.ag-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Very light gradient to just barely pop the white text */
    background: linear-gradient(180deg, rgba(20, 33, 87, 0.2) 0%, rgba(21, 41, 124, 0.3) 100%);
    z-index: 1;
}

.ag-hero::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: white;
    transform: skewY(-2deg);
    z-index: 2;
}

.ag-hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.ag-hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    color: #ffffff;
    /* Strong text shadow to maintain contrast on light background */
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    line-height: 1.05;
}

.ag-hero h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.2);
    /* Subtle glass effect for the subtitle */
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}



/* Badge Styles */
@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.badge-live {
    background-color: #dc3545;
    /* Red */
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    text-transform: uppercase;
    animation: blink-animation 1.5s infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Button Sizing */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    /* Increased weight for visibility */
}

/* Ensure text is visible on outline buttons */
.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    margin: 5px 0;
    width: 100%;
    font-weight: 700;
    /* Bold text */
}

/* Relative container for badge */
.relative {
    position: relative;
}

/* --- HOME PAGE DARK THEME (Alvent Style) --- */

.home-body {
    background-color: var(--dark-base);
    /* Deep dark base from palette */
    background: linear-gradient(to bottom, var(--dark-base), var(--deep-navy), #1b264f);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

/* Updated Hero for Dark Theme */
.home-hero-bg {
    background-image: url('../img/bg-dark-purple.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    padding: 0;
    /* Reset padding to let flex center it */
}

/* Gradient Overlay - Darker for contrast */
.home-hero-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(20, 33, 87, 0.4) 0%, rgba(20, 33, 87, 0.95) 100%);
    z-index: 1;
}

.home-hero-bg .container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    text-align: center;
}

.home-hero-bg h1 {
    font-size: 3.5rem;
    /* Base size */
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(40, 152, 238, 0.8);
    /* Strong Neon Glow */
    margin-bottom: 30px;
    letter-spacing: -1px;
    line-height: 1.2;
}

@media (min-width: 900px) {
    .home-hero-bg h1 {
        font-size: 4.5rem;
        /* Larger on desktop */
    }
}

.home-hero-bg h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
    /* Glass effect */
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
}

/* Intro Section - Transparent on Dark */
.home-intro {
    background: transparent;
    padding: 60px 0;
}

.home-intro .intro-text {
    color: rgba(220, 220, 255, 0.9);
    /* Light text */
    font-size: 1.3rem;
    font-weight: 300;
}

/* Dark Glassmorphism Cards */
.home-card {
    background: rgba(20, 20, 40, 0.6);
    /* Semi-transparent dark */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(12, 188, 204, 0.15);
    /* Subtle teal border */
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.home-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(16, 122, 204, 0.25);
    /* Palette blue glow on hover */
    border-color: var(--accent-teal);
    background: rgba(21, 41, 124, 0.8);
}

.home-card .card-image {
    height: 220px;
    overflow: hidden;
}

.home-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.home-card:hover .card-image img {
    transform: scale(1.1);
}

.home-card .card-text {
    padding: 25px;
    flex-grow: 1;
    text-align: left;
    /* Align left per Alvent style usually, or center if preferred */
}

.home-card h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.home-card p {
    color: rgba(200, 200, 230, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.home-card .card-buttons {
    padding: 0 25px 30px 25px;
}

/* Neon Button */
/* Standardized Blue Button for Dark Mode Home */
.home-card .btn-primary {
    background: var(--primary-blue);
    border: none;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(16, 122, 204, 0.4);

    /* Centering & Sizing */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 48px;
    /* Fixed height for uniformity */
    margin-top: auto;
    border-radius: 6px;
}

.home-card .btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(16, 122, 204, 0.6);
    transform: translateY(-2px);
}

.home-quote h2 {
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- Typewriter Effect (JS Support) --- */
.typewriter-text {
    min-height: 90px;
    /* Accommodate ~3 lines */
    display: inline-block;
    color: rgba(220, 220, 255, 0.9);
    position: relative;
    max-width: 750px;
    /* Force wrapping to approx 3 lines */
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
    text-align: center;
}

.typewriter-text .wrap {
    /* Ensure wrapping is allowed if needed, though usually one char at a time */
    white-space: pre-wrap;
}

.cursor {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: bold;
    animation: blink-cursor 0.7s infinite;
    margin-left: 2px;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* --- Visual Proposal: Gradient Text Flow for Hero Title --- */
.home-hero-bg h1 {
    background: linear-gradient(to right, #ffffff, #a0c4ff, #ffffff);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 4s linear infinite;
    text-shadow: none;
    filter: drop-shadow(0 0 10px rgba(16, 122, 204, 0.5));
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

/* --- New Effect for Footer Quote: Metallic Gold Reveal --- */
.home-quote h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;

    /* Gold/Silver Gradient */
    background: linear-gradient(to right,
            #bf953f,
            #fcf6ba,
            #b38728,
            #fbf5b7,
            #aa771c);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;

    animation: goldShine 5s linear infinite;
    opacity: 1;
    letter-spacing: 1px;
    filter: drop-shadow(0px 2px 5px rgba(191, 149, 63, 0.3));
}

@keyframes goldShine {
    to {
        background-position: 200% center;
    }
}

/* --- NEW FOOTER STYLES --- */
.site-footer {
    background-color: var(--dark-base);
    /* Dark background per reference */
    color: white;
    padding: 20px 0;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Logo Section */
.footer-logo img {
    height: 80px;
    /* 3x larger */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    /* Strong white glow/light */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9));
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(255, 255, 255, 1));
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    /* Larger size */
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 86, 179, 0.4);
    border-color: var(--primary-blue);
}

/* Specific Brand Colors on Hover (Optional, or keep uniform blue) */
.social-btn.whatsapp:hover {
    background-color: #25D366;
    border-color: #25D366;
}

.social-btn.linkedin:hover {
    background-color: #0077b5;
    border-color: #0077b5;
}

.social-btn.tiktok:hover {
    background-color: #000000;
    border-color: #ffffff;
}

.social-btn.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
}

.social-btn.facebook:hover {
    background-color: #1877F2;
    border-color: #1877F2;
}


/* Footer Info & Links */
.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.footer-links a {
    color: var(--accent-teal);
    /* Using project teal */
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}


/* --- WORKSHOPS PAGE HERO --- */
.home-hero {
    background-image: url('../img/banner-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
}

.home-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Deep blue/purple overlay for text legibility */
    background: linear-gradient(135deg, var(--dark-base) 0%, rgba(21, 41, 124, 0.7) 100%);
    z-index: 1;
}

.home-hero .container {
    position: relative;
    z-index: 2;
}

.home-hero h1 {
    font-size: 2.8rem;
    color: white;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

/* GLOBAL HEADER OFFSET */
.make-hero,
.ag-hero,
.membership-hero,
.home-hero,
.hero-section {
    margin-top: 180px !important;
}

/* ==========================================================================
   TEMA TECNOLÓGICO AZUL ELEGANTE - MEC IN HOME (index.html)
   ========================================================================== */

body.tech-theme {
    background: radial-gradient(circle at 50% 50%, #0a173d 0%, #050b1f 100%) !important;
    color: #ffffff !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.tech-theme h1,
body.tech-theme h2,
body.tech-theme h3,
body.tech-theme h4,
body.tech-theme p,
body.tech-theme span,
body.tech-theme label {
    color: #ffffff;
}

/* Custom Tech Header (No Navigation Menu) */
body.tech-theme .main-header {
    background: rgba(5, 11, 31, 0.7) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(16, 122, 204, 0.2);
}

body.tech-theme .logo img {
    height: 55px !important; /* Extremely sleek size */
    filter: drop-shadow(0 0 15px rgba(12, 188, 204, 0.4));
}

body.tech-theme .header-right {
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* Hero Section */
.tech-hero {
    margin-top: 130px !important; /* Header offset */
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Prevent horizontal scroll from glowing background */
}

.tech-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(16, 122, 204, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.tech-hero .container {
    position: relative;
    z-index: 1;
}

.tech-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 30%, #0cbccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-hero h2 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #b0c4de !important;
    max-width: 800px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.tech-hero-steps {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.tech-hero-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 122, 204, 0.2);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #e0e6ed;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.tech-hero-step:hover {
    border-color: #0cbccc;
    background: rgba(12, 188, 204, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 188, 204, 0.1);
}

.tech-hero-step .step-num {
    background: linear-gradient(135deg, #107acc, #0cbccc);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Workshops Grid Section */
.tech-workshops {
    padding: 60px 0;
    background: transparent;
}

.tech-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 60%, #0cbccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-section-subtitle {
    text-align: center;
    color: #b0c4de !important;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Tech Workshop Card */
.tech-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(16, 122, 204, 0) 60%, rgba(16, 122, 204, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.tech-card:hover {
    transform: translateY(-8px);
    border-color: rgba(12, 188, 204, 0.4);
    box-shadow: 0 15px 35px rgba(5, 11, 31, 0.6), 0 0 25px rgba(16, 122, 204, 0.15);
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #060b24;
}

.tech-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tech-card:hover .tech-card-img {
    transform: scale(1.08);
}

.tech-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0cbccc, #107acc);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(12, 188, 204, 0.3);
    z-index: 2;
}

.tech-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.tech-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 48px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-card p {
    font-size: 0.88rem;
    color: #b0c4de !important;
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

.tech-card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0cbccc !important;
}

.tech-card-btn {
    background: transparent;
    border: 1px solid rgba(12, 188, 204, 0.5);
    color: #0cbccc;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tech-card-btn:hover {
    background: linear-gradient(135deg, #107acc, #0cbccc);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(12, 188, 204, 0.3);
}

/* Custom Floating / Sticky Cart Banner */
.tech-cart-banner {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 90%;
    max-width: 900px;
    background: rgba(10, 23, 61, 0.85);
    border: 1px solid rgba(12, 188, 204, 0.4);
    border-radius: 50px;
    padding: 15px 35px;
    z-index: 99;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(12, 188, 204, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tech-cart-banner.active {
    transform: translateX(-50%) translateY(0);
}

.tech-cart-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tech-cart-count-badge {
    background: linear-gradient(135deg, #107acc, #0cbccc);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(12, 188, 204, 0.3);
}

.tech-cart-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tech-cart-text p {
    font-size: 0.85rem;
    color: #b0c4de !important;
}

.tech-cart-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-cart-price-tag {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0cbccc;
}

.tech-cart-btn-checkout {
    background: linear-gradient(135deg, #107acc 0%, #0cbccc 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(12, 188, 204, 0.4);
    transition: all 0.3s ease;
}

.tech-cart-btn-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 188, 204, 0.6);
}

.tech-cart-btn-checkout:active {
    transform: translateY(0);
}

/* Modales en Tech-Theme */
body.tech-theme .modal {
    background-color: rgba(5, 11, 31, 0.85) !important;
    backdrop-filter: blur(10px);
}

body.tech-theme .modal-content {
    background-color: #0c1535 !important;
    border: 1px solid rgba(12, 188, 204, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 122, 204, 0.15);
    border-radius: 20px;
    color: #ffffff;
    max-width: 600px;
}

body.tech-theme .modal-content h2 {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

body.tech-theme .close-btn {
    color: #b0c4de;
    transition: color 0.3s;
}

body.tech-theme .close-btn:hover {
    color: #0cbccc;
}

/* Modal Details Specifics */
.tech-modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.tech-modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(16, 122, 204, 0.2);
}

.tech-modal-description {
    font-size: 0.95rem;
    color: #e0e6ed;
    line-height: 1.6;
}

.tech-modal-learn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
}

.tech-modal-learn h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0cbccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-modal-learn ul {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tech-modal-learn li {
    font-size: 0.88rem;
    color: #b0c4de;
    position: relative;
    padding-left: 20px;
    line-height: 1.4;
}

.tech-modal-learn li::before {
    content: "⚡";
    position: absolute;
    left: 0;
    color: #0cbccc;
    font-size: 0.85rem;
}

.tech-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.tech-modal-price {
    display: flex;
    flex-direction: column;
}

.tech-modal-price .price-label {
    font-size: 0.8rem;
    color: #b0c4de;
    text-transform: uppercase;
}

.tech-modal-price .price-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0cbccc;
}

.tech-modal-actions {
    display: flex;
    gap: 15px;
}

.tech-modal-btn-add {
    background: linear-gradient(135deg, #107acc, #0cbccc);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.tech-modal-btn-add.in-cart {
    background: transparent;
    border: 1px solid #ff4757;
    color: #ff4757;
}

.tech-modal-btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(12, 188, 204, 0.4);
}

.tech-modal-btn-add.in-cart:hover {
    background: rgba(255, 71, 87, 0.1);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.2);
}

/* Form Styles for Tech Theme */
body.tech-theme .form-group label {
    color: #b0c4de;
}

body.tech-theme .form-group input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 122, 204, 0.3);
    color: white;
    padding: 12px 16px;
    font-size: 0.95rem;
}

body.tech-theme .form-group input:focus {
    border-color: #0cbccc;
    box-shadow: 0 0 10px rgba(12, 188, 204, 0.3);
    outline: none;
}

body.tech-theme .form-group .help-text {
    color: rgba(176, 196, 222, 0.6);
}

body.tech-theme .selected-summary {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

body.tech-theme .selected-summary li::before {
    color: #0cbccc;
}

body.tech-theme .payment-info {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.tech-theme .payment-info h4 {
    color: #0cbccc;
}

body.tech-theme .payment-info a {
    color: #0cbccc;
    text-decoration: underline;
}

/* Success and Action Buttons in Form Modals */
body.tech-theme .btn-primary {
    background: linear-gradient(135deg, #107acc 0%, #0cbccc 100%) !important;
    border: none;
    font-weight: 700;
}

body.tech-theme .btn-primary:hover {
    box-shadow: 0 5px 15px rgba(12, 188, 204, 0.5) !important;
}

/* Site Footer */
body.tech-theme .site-footer {
    background: #050b1f !important;
    border-top: 1px solid rgba(16, 122, 204, 0.2);
    padding: 40px 0;
    margin-top: auto;
}

body.tech-theme .footer-logo img {
    height: 70px !important;
    filter: drop-shadow(0 0 10px rgba(12, 188, 204, 0.3));
}

body.tech-theme .social-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 122, 204, 0.2);
    color: #b0c4de;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.tech-theme .social-btn:hover {
    border-color: #0cbccc;
    color: white;
    background: rgba(12, 188, 204, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(12, 188, 204, 0.2);
}

body.tech-theme .footer-links a {
    color: #b0c4de;
}

body.tech-theme .footer-links a:hover {
    color: #0cbccc;
}

body.tech-theme .footer-info p {
    color: rgba(176, 196, 222, 0.5) !important;
}

/* Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(12, 188, 204, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(12, 188, 204, 0.4);
    }
    100% {
        box-shadow: 0 0 15px rgba(12, 188, 204, 0.2);
    }
}

/* Scrollbar Customization */
body.tech-theme::-webkit-scrollbar {
    width: 8px;
}

body.tech-theme::-webkit-scrollbar-track {
    background: #050b1f;
}

body.tech-theme::-webkit-scrollbar-thumb {
    background: rgba(16, 122, 204, 0.3);
    border-radius: 4px;
}

body.tech-theme::-webkit-scrollbar-thumb:hover {
    background: rgba(12, 188, 204, 0.6);
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* Header móvil: ver bloque "HEADER UNIFICADO" al final del archivo */

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-hero {
        margin-top: 90px !important;
        padding: 40px 0;
    }

    .tech-hero h1 {
        font-size: 2rem;
    }

    .tech-hero-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .tech-hero-step {
        justify-content: flex-start;
    }

    .tech-cart-banner {
        flex-direction: column;
        border-radius: 20px;
        padding: 15px 20px;
        gap: 15px;
        bottom: 20px;
        width: 94%;
    }

    .tech-cart-info {
        width: 100%;
        justify-content: flex-start;
    }

    .tech-cart-actions {
        width: 100%;
        justify-content: space-between;
    }

    body.tech-theme .header-right {
        gap: 10px;
    }

    body.tech-theme .btn-contact {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}


/* --- STYLES FOR VIDEO MODALS & FEATURED WORKSHOPS --- */
.featured-workshop-card {
    position: relative;
    border: 2px solid #ffca28 !important;
    background: linear-gradient(180deg, rgba(211, 132, 91, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%) !important;
    box-shadow: 0 0 25px rgba(255, 202, 40, 0.25) !important;
    transform: scale(1.02);
}

.featured-ribbon {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #d3845b 0%, #ffca28 100%);
    color: #000;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.btn-more-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(255, 202, 40, 0.15);
    border: 1px solid #ffca28;
    color: #ffca28;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.88rem;
    transition: all 0.3s ease;
}

.btn-more-detail:hover {
    background: #ffca28;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 202, 40, 0.4);
}

#welcomeVideoModal .modal-content,
#vipAnualVideoModal .modal-content {
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   HEADER UNIFICADO + CORRECCIONES DE ESTABILIDAD (auditoría Octubre 2026)
   Un solo header idéntico en todas las páginas: el menú no se desplaza al
   cambiar de página y en móvil se despliega como panel, sin empujar botones.
   ========================================================================== */

html {
    /* Reserva siempre el espacio de la barra de scroll: el header no "salta"
       entre páginas cortas/largas ni al abrir un modal. */
    scrollbar-gutter: stable;
}

html,
body {
    /* clip evita el scroll horizontal sin convertir <body> en contenedor de
       scroll (con "hidden" el bloqueo de scroll de los modales no funcionaba). */
    overflow-x: clip;
}

html.modal-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

body.tech-theme .main-header {
    z-index: 1000;
}

body.tech-theme .header-container {
    position: relative;
    min-height: 86px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 20px;
    flex-wrap: nowrap;
}

body.tech-theme .logo {
    flex: 0 0 auto;
}

body.tech-theme .logo img {
    width: auto;
    aspect-ratio: 500 / 130;
}

/* Todos los enlaces reservan el mismo borde: el activo ya no cambia de tamaño */
body.tech-theme .nav-link {
    display: inline-block;
    border: 1px solid transparent;
    line-height: 1.2;
    white-space: nowrap;
}

body.tech-theme .nav-link.active {
    color: #fff;
    background: rgba(12, 188, 204, 0.2);
    border-color: rgba(12, 188, 204, 0.5);
}

body.tech-theme .nav-link:focus-visible,
.header-icon-btn:focus-visible {
    outline: 2px solid #0cbccc;
    outline-offset: 2px;
}

body.tech-theme .header-right {
    flex: 0 0 auto;
}

body.tech-theme .contact-top {
    gap: 10px;
}

.header-icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    padding: 0;
    border-radius: 50%;
    background: rgba(12, 188, 204, 0.1);
    border: 1px solid rgba(12, 188, 204, 0.4);
    color: #0cbccc;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.header-icon-btn:hover {
    background: rgba(12, 188, 204, 0.22);
    border-color: #0cbccc;
    transform: translateY(-2px);
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff4757;
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 9px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
    display: none;
}

.modal {
    z-index: 1100;
}

/* Carrito flotante: oculto de verdad cuando está vacío (antes asomaba en móvil) */
.tech-cart-banner {
    visibility: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(calc(100% + 40px));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0s linear 0.4s;
}

.tech-cart-banner.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, visibility 0s;
}

.cart-savings-pill {
    background: #25D366;
    color: #fff !important;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 10px;
    white-space: nowrap;
}

/* Deja espacio para que el carrito flotante no tape el final del catálogo */
body.cart-open .site-footer {
    padding-bottom: 130px;
}

@media (max-width: 768px) {
    body.tech-theme .header-container {
        min-height: 64px;
    }

    body.tech-theme .logo img {
        height: 44px !important;
    }

    .menu-toggle {
        display: flex;
    }

    /* Panel desplegable anclado bajo el header: no reordena el logo ni los botones */
    body.tech-theme .main-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex: none;
        margin: 0;
        padding: 12px 15px 18px;
        background: #050b1f;
        border-bottom: 1px solid rgba(16, 122, 204, 0.3);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }

    body.tech-theme .main-nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
    }

    body.tech-theme .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    body.tech-theme .nav-link {
        display: block;
        text-align: center;
        font-size: 0.9rem;
        padding: 12px 16px;
    }

    body.cart-open .site-footer {
        padding-bottom: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   MEJORAS DE VENTA (Octubre 2026): portada del hero, paquetes, botón directo
   "Agregar", WhatsApp flotante y comparación de planes en el checkout
   ========================================================================== */

/* --- PORTADA DEL HERO -------------------------------------------------- */
body.tech-theme .tech-hero {
    margin-top: 0 !important;
    padding-top: 0;
}

.hero-cover {
    /* Alto proporcional a la imagen 16:9, con mínimo y máximo razonables */
    --cover-h: clamp(620px, 56.25vw, 880px);
    position: relative;
    height: var(--cover-h);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 86px 20px 20px; /* el header fijo queda encima de la imagen */
    overflow: hidden;
    isolation: isolate;
    background: #050b1f;
}

.hero-cover-bg,
.hero-cover-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-cover-bg img {
    object-fit: cover;
    object-position: center;
}

/* Viñeta: oscurece el centro (donde va el texto) y funde el borde inferior con la página */
.hero-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 38% 46% at 50% 54%, rgba(5, 11, 31, 0.55) 0%, rgba(5, 11, 31, 0) 100%),
        linear-gradient(180deg, rgba(5, 11, 31, 0.35) 0%, rgba(5, 11, 31, 0) 18%, rgba(5, 11, 31, 0) 80%, #050b1f 100%);
}

.hero-cover-content {
    /* Ancho limitado al círculo vacío del centro de la imagen */
    width: 100%;
    max-width: min(40vw, calc(var(--cover-h) * 0.7));
    text-align: center;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    border-radius: 30px;
    background: rgba(5, 11, 31, 0.6);
    border: 1px solid rgba(12, 188, 204, 0.45);
    color: #e6fbfd !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4757;
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
    animation: liveDot 1.8s infinite;
}

@keyframes liveDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(255, 71, 87, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

body.tech-theme .hero-cover h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.9rem);
    line-height: 1.12;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.65));
    text-wrap: balance;
}

body.tech-theme .hero-cover h2 {
    font-size: clamp(0.95rem, 1.15vw, 1.15rem);
    color: #dbe7f5 !important;
    max-width: none;
    margin: 0 auto 26px;
    line-height: 1.55;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-cover h2 span {
    color: inherit !important;
}

.lead-short {
    display: none;
}

.hero-cover-ctas {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #0cbccc 0%, #107acc 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(12, 188, 204, 0.35);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(12, 188, 204, 0.5);
}

.hero-btn-ghost {
    background: rgba(5, 11, 31, 0.55);
    border: 1px solid rgba(255, 202, 40, 0.6);
    color: #ffca28;
    backdrop-filter: blur(6px);
}

.hero-btn-ghost:hover {
    background: rgba(255, 202, 40, 0.15);
    transform: translateY(-2px);
}

.tech-hero > .container {
    padding-top: 10px;
}

/* --- PAQUETES POR VOLUMEN ------------------------------------------------ */
.packages-strip {
    margin: 0 auto 45px;
    padding: 28px 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(16, 122, 204, 0.14) 0%, rgba(12, 188, 204, 0.08) 100%);
    border: 1px solid rgba(12, 188, 204, 0.35);
    scroll-margin-top: 100px;
}

.packages-head {
    margin-bottom: 22px;
}

.packages-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffca28 0%, #ff8f00 100%);
    color: #1a1200 !important;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.packages-head h3 {
    margin: 10px 0 6px;
    font-size: 1.5rem;
    font-weight: 800;
}

.packages-head p {
    margin: 0;
    color: #b0c4de !important;
    font-size: 0.95rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 22px 12px 18px;
    border-radius: 14px;
    background: rgba(5, 11, 31, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-card.is-popular {
    border: 2px solid #ffca28;
    box-shadow: 0 0 25px rgba(255, 202, 40, 0.2);
}

.package-badge {
    position: absolute;
    top: -11px;
    padding: 2px 12px;
    border-radius: 20px;
    background: #ffca28;
    color: #1a1200 !important;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.package-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #b0c4de !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.1;
}

.package-price small {
    font-size: 0.8rem;
    color: #b0c4de;
    font-weight: 600;
}

.package-per {
    font-size: 0.8rem;
    color: #0cbccc !important;
    font-weight: 600;
}

.package-save {
    margin-top: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.5);
    color: #4ee88a !important;
    font-size: 0.75rem;
    font-weight: 700;
}

/* --- BOTÓN "AGREGAR" DIRECTO EN LAS TARJETAS ------------------------------ */
.tech-card-footer {
    flex-wrap: wrap;
    gap: 12px;
}

.tech-card-actions {
    display: flex;
    gap: 8px;
    width: 100%;
}

.tech-card-actions > button {
    flex: 1;
    min-height: 42px;
}

.tech-card-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #0cbccc 0%, #107acc 100%);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tech-card-add span {
    color: inherit !important;
}

.tech-card-add:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(12, 188, 204, 0.35);
}

.tech-card-add.in-cart {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid #25D366;
    color: #4ee88a;
}

.tech-card:has(.tech-card-add.in-cart) {
    border-color: rgba(37, 211, 102, 0.6);
    box-shadow: 0 0 0 1px rgba(37, 211, 102, 0.35), 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* --- COMPARACIÓN DE PLANES EN EL CHECKOUT --------------------------------- */
.plan-suggestion {
    margin: 18px 0 5px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 202, 40, 0.08);
    border: 1px dashed rgba(255, 202, 40, 0.6);
    text-align: left;
}

.plan-suggestion strong {
    display: block;
    margin-bottom: 6px;
    color: #ffca28 !important;
    font-size: 0.95rem;
}

.plan-suggestion strong i {
    margin-right: 4px;
}

.plan-suggestion p {
    margin: 0 0 10px;
    color: #e0e6ed !important;
    font-size: 0.88rem;
    line-height: 1.5;
}

.plan-suggestion-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffca28;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 202, 40, 0.5);
}

.plan-suggestion-link:hover {
    border-bottom-color: #ffca28;
}

/* --- WHATSAPP FLOTANTE ---------------------------------------------------- */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 98;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: bottom 0.35s ease;
}

.wa-float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff !important;
    font-size: 1.9rem;
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease;
}

.wa-float-icon i {
    color: #fff;
}

.wa-float-bubble {
    padding: 8px 14px;
    border-radius: 20px;
    background: #fff;
    color: #1f2d3d !important;
    font-size: 0.82rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.wa-float-bubble b {
    color: #128c4a;
}

.wa-float:hover .wa-float-icon,
.wa-float:focus-visible .wa-float-icon {
    transform: scale(1.08);
}

.wa-float:hover .wa-float-bubble,
.wa-float:focus-visible .wa-float-bubble {
    opacity: 1;
    transform: translateX(0);
}

/* Se aparta del carrito flotante cuando está visible */
body.cart-open .wa-float {
    bottom: 120px;
}

/* --- RESPONSIVE ------------------------------------------------------------ */
@media (max-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-cover {
        /* Portada vertical: alto según la imagen móvil, sin pasar el alto de pantalla */
        --cover-h: clamp(600px, min(177.7vw, 100svh), 900px);
        padding: 64px 16px 24px;
    }

    .hero-cover::after {
        background:
            radial-gradient(ellipse 58% 40% at 50% 52%, rgba(5, 11, 31, 0.78) 0%, rgba(5, 11, 31, 0.35) 70%, rgba(5, 11, 31, 0) 100%),
            linear-gradient(180deg, rgba(5, 11, 31, 0.3) 0%, rgba(5, 11, 31, 0) 15%, rgba(5, 11, 31, 0) 82%, #050b1f 100%);
    }

    .hero-cover-content {
        max-width: min(78vw, 300px);
    }

    body.tech-theme .hero-cover h1 {
        font-size: clamp(1.3rem, 6vw, 1.6rem);
        letter-spacing: 0.5px;
    }

    body.tech-theme .hero-cover h2 {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .lead-long {
        display: none;
    }

    .lead-short {
        display: inline;
    }

    .hero-eyebrow {
        font-size: 0.68rem;
        margin-bottom: 14px;
    }

    .hero-cover-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    .packages-strip {
        padding: 22px 14px;
    }

    .packages-head h3 {
        font-size: 1.2rem;
    }

    .packages-grid {
        gap: 18px 10px;
    }

    .package-price {
        font-size: 1.6rem;
    }

    .wa-float {
        right: 16px;
        bottom: 18px;
    }

    .wa-float-icon {
        width: 54px;
        height: 54px;
        font-size: 1.75rem;
    }

    .wa-float-bubble {
        display: none;
    }

    /* Con el carrito abierto, el carrito tiene prioridad: WhatsApp se oculta */
    body.cart-open .wa-float {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    /* Carrito flotante más compacto en móvil */
    .tech-cart-banner {
        gap: 10px;
        padding: 12px 16px;
        bottom: 12px;
    }

    .tech-cart-info {
        gap: 12px;
    }

    .tech-cart-count-badge {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .tech-cart-text h4 {
        font-size: 0.98rem;
        margin: 0;
    }

    .tech-cart-text p {
        font-size: 0.78rem;
        margin: 0;
        line-height: 1.3;
    }

    .tech-cart-price-tag {
        font-size: 1.2rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.2;
    }

    .tech-cart-price-tag .cart-savings-pill {
        margin: 3px 0 0;
        font-size: 0.68rem;
    }

    .tech-cart-btn-checkout {
        padding: 11px 16px;
        font-size: 0.82rem;
    }
}

.wa-float {
    transition: bottom 0.35s ease, opacity 0.25s ease, visibility 0.25s;
}

/* ==========================================================================
   NOVIEMBRE 2026: ofertas, enlaces a landings y LANDING DE CADA TALLER (tl-)
   ========================================================================== */

.package-note {
    margin-top: 6px;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #b0c4de !important;
}

.cart-plan-pill {
    background: linear-gradient(135deg, #ffca28 0%, #ff8f00 100%);
    color: #1a1200 !important;
}

.tech-card-title-link {
    color: inherit;
    text-decoration: none;
}

.tech-card-title-link:hover {
    color: #0cbccc;
}

.btn-syllabus {
    background: rgba(12, 188, 204, 0.12);
    border-color: #0cbccc;
    color: #0cbccc;
}

.btn-syllabus:hover {
    background: #0cbccc;
    color: #001b1f;
}

.tech-modal-actions {
    flex-wrap: wrap;
}

/* --- Landing de taller ---------------------------------------------------- */
.tl-page {
    --tl-teal: #0cbccc;
    --tl-blue: #107acc;
    --tl-gold: #ffca28;
    --tl-card: rgba(12, 21, 53, 0.85);
    --tl-border: rgba(12, 188, 204, 0.22);
}

.tl-hero {
    padding: 130px 0 70px;
    background:
        radial-gradient(circle at 85% 20%, rgba(16, 122, 204, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 10% 90%, rgba(12, 188, 204, 0.12) 0%, transparent 45%);
}

.tl-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.tl-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #b0c4de;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.tl-back:hover {
    color: var(--tl-teal);
}

.tl-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 6px 14px;
    margin-bottom: 16px;
    border-radius: 30px;
    background: rgba(12, 188, 204, 0.1);
    border: 1px solid rgba(12, 188, 204, 0.4);
    color: #e6fbfd !important;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.tl-hero h1 {
    font-size: clamp(2rem, 3.4vw, 2.9rem);
    line-height: 1.12;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 35%, var(--tl-teal) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: balance;
}

.tl-lead {
    color: #cfdbea !important;
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 22px;
}

.tl-facts {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
}

.tl-facts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: #e0e6ed;
    font-size: 0.95rem;
}

.tl-facts i {
    color: var(--tl-teal);
    width: 18px;
    margin-top: 4px;
    text-align: center;
}

.tl-facts span,
.tl-facts b {
    color: #e0e6ed !important;
}

.tl-buy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--tl-card);
    border: 1px solid var(--tl-border);
}

.tl-price {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.tl-price small {
    font-size: 0.95rem;
    color: #b0c4de;
}

.tl-buy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tl-center {
    justify-content: center;
}

.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.tl-btn:hover {
    transform: translateY(-2px);
}

.tl-btn-primary {
    background: linear-gradient(135deg, var(--tl-teal) 0%, var(--tl-blue) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(12, 188, 204, 0.3);
}

.tl-btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(12, 188, 204, 0.5);
    color: var(--tl-teal);
}

.tl-btn-ghost:hover {
    background: rgba(12, 188, 204, 0.14);
}

.tl-btn-gold {
    background: linear-gradient(135deg, #ffca28 0%, #ff8f00 100%);
    color: #1a1200;
}

.tl-buy-note {
    margin-top: 14px;
    font-size: 0.9rem;
    color: #b0c4de !important;
}

.tl-buy-note i {
    color: var(--tl-gold);
    margin-right: 4px;
}

.tl-buy-note a {
    color: var(--tl-gold);
    font-weight: 700;
}

.tl-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--tl-border);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55), 0 0 30px rgba(12, 188, 204, 0.15);
}

.tl-section {
    padding: 80px 0;
}

.tl-alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tl-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--tl-teal) !important;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.tl-section h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 14px;
}

.tl-heading {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.tl-heading p {
    color: #b0c4de !important;
}

.tl-heading a {
    color: var(--tl-teal);
    font-weight: 700;
}

.tl-text {
    color: #cfdbea !important;
    line-height: 1.7;
    margin-bottom: 14px;
}

.tl-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.tl-card {
    padding: 28px;
    border-radius: 18px;
    background: var(--tl-card);
    border: 1px solid var(--tl-border);
}

.tl-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    margin-bottom: 18px;
}

.tl-card h3 i {
    color: var(--tl-teal);
}

.tl-checks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.tl-checks li {
    display: flex;
    gap: 12px;
    color: #e0e6ed;
    line-height: 1.5;
}

.tl-checks i {
    color: #25D366;
    margin-top: 4px;
}

.tl-checks span {
    color: #e0e6ed !important;
}

.tl-sessions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.tl-session {
    padding: 24px;
    border-radius: 18px;
    background: var(--tl-card);
    border: 1px solid var(--tl-border);
}

.tl-session header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.tl-session-tag {
    padding: 3px 10px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--tl-teal), var(--tl-blue));
    color: #fff !important;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.tl-session-date {
    font-size: 0.82rem;
    color: #b0c4de !important;
}

.tl-session-date i {
    color: var(--tl-teal);
    margin-right: 4px;
}

.tl-session h3 {
    font-size: 1.15rem;
    margin-bottom: 14px;
}

.tl-session ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.tl-session li {
    display: flex;
    gap: 14px;
}

.tl-topic-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(12, 188, 204, 0.12);
    border: 1px solid rgba(12, 188, 204, 0.4);
    color: var(--tl-teal) !important;
    font-weight: 800;
    font-size: 0.85rem;
}

.tl-session li strong {
    display: block;
    color: #fff;
    margin-bottom: 2px;
}

.tl-session li p {
    margin: 0;
    font-size: 0.88rem;
    color: #b0c4de !important;
    line-height: 1.5;
}

.tl-req {
    margin: 0;
    display: grid;
    gap: 6px;
}

.tl-req dt {
    margin-top: 8px;
    color: var(--tl-teal);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.tl-req dd {
    margin: 0;
    color: #e0e6ed;
    line-height: 1.5;
}

.tl-teacher-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tl-avatar {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tl-teal), var(--tl-blue));
    color: #fff !important;
    font-weight: 800;
    font-size: 1.15rem;
}

.tl-teacher-head strong {
    display: block;
    font-size: 1.08rem;
}

.tl-teacher-head a {
    color: var(--tl-teal);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}

.tl-teacher p {
    color: #cfdbea !important;
    line-height: 1.65;
    font-size: 0.94rem;
}

.tl-offers {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.tl-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 28px 20px 22px;
    border-radius: 18px;
    background: var(--tl-card);
    border: 1px solid var(--tl-border);
    text-align: center;
}

.tl-offer.is-popular {
    border: 2px solid var(--tl-teal);
    box-shadow: 0 0 25px rgba(12, 188, 204, 0.2);
}

.tl-offer.is-vip {
    border: 2px solid var(--tl-gold);
    box-shadow: 0 0 25px rgba(255, 202, 40, 0.18);
}

.tl-offer-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 2px 12px;
    border-radius: 20px;
    background: var(--tl-teal);
    color: #001b1f !important;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

.tl-offer.is-vip .tl-offer-badge {
    background: var(--tl-gold);
    color: #1a1200 !important;
}

.tl-offer-name {
    font-size: 0.85rem;
    font-weight: 800;
    color: #b0c4de !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tl-offer-price {
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff !important;
}

.tl-offer-price small {
    font-size: 0.8rem;
    color: #b0c4de;
}

.tl-offer p {
    flex-grow: 1;
    margin: 4px 0 14px;
    font-size: 0.88rem;
    color: #cfdbea !important;
    line-height: 1.5;
}

.tl-final {
    text-align: center;
}

.tl-final p {
    color: #b0c4de !important;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .tl-offers {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .tl-hero {
        padding: 100px 0 50px;
    }
    .tl-hero-grid,
    .tl-two-cols,
    .tl-sessions {
        grid-template-columns: 1fr;
    }
    .tl-hero-img {
        order: -1;
    }
}

@media (max-width: 600px) {
    .tl-section {
        padding: 56px 0;
    }
    .tl-buy {
        padding: 16px;
    }
    .tl-buy-actions,
    .tl-buy-actions .tl-btn {
        width: 100%;
    }
    .tl-offers {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .tl-card,
    .tl-session {
        padding: 20px;
    }
}

/* --- Espacio para el widget de chat "🤖 Chatbot" (abajo a la izquierda, chat.ya.onl) --- */
@media (max-width: 1300px) {
    /* Donde el carrito llega a la esquina izquierda, sube por encima del botón del chat */
    .tech-cart-banner {
        bottom: 92px;
    }

    /* El botón de WhatsApp sube por encima del carrito */
    body.cart-open .wa-float {
        bottom: 190px;
    }
}

@media (max-width: 768px) {
    .tech-cart-banner {
        bottom: 88px;
    }

    body.cart-open .site-footer {
        padding-bottom: 250px;
    }
}
