:root {
            --primary-color: #f5c61c;
            --secondary-color: #fdcf28;
            --dark-color: #1a1a1a;
            --text-color: #333;
            --light-bg: #ffffff;
            --section-bg: #f8f9fa;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --border-radius: 12px;
        }

        [data-theme="dark"] {
            --text-color: #ffffff;
            --light-bg: #2d2d2d;
            --section-bg: #1a1a1a;
            --shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
        }

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

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-color);
            background-color: var(--light-bg);
            transition: all 0.3s ease;
        }

        /* Header */
        header {
            background: var(--light-bg);
            box-shadow: var(--shadow);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 5%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            height: 60px;
            transition: opacity 0.3s ease;
        }

        .logo-dark {
            display: none;
        }

        [data-theme="dark"] .logo-light {
            display: none;
        }

        [data-theme="dark"] .logo-dark {
            display: block;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .theme-toggle {
            background: none;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 0.5rem;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            background: var(--primary-color);
            color: var(--light-bg);
        }

        .mobile-menu {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.25rem;
        }

        .mobile-menu span {
            width: 25px;
            height: 3px;
            background: var(--text-color);
            margin: 3px 0;
            transition: 0.3s;
        }

        /* Main Content */
        .main-content {
            max-width: 1000px;
            margin: 120px auto 2rem;
            padding: 0 2rem;
        }

        .page-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem 0;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            border-radius: var(--border-radius);
        }

        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
        }

        .page-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }

        .terms-content {
            background: var(--section-bg);
            padding: 3rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            margin-bottom: 2rem;
        }

        .terms-content h2 {
            color: var(--primary-color);
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            margin-top: 3rem;
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 0.5rem;
        }

        .terms-content h2:first-child {
            margin-top: 0;
        }

        .terms-content h3 {
            color: var(--dark-color);
            font-size: 1.4rem;
            margin-bottom: 1rem;
            margin-top: 2rem;
        }

        .terms-content h4 {
            color: var(--text-color);
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            margin-top: 1.5rem;
            font-weight: 700;
        }

        [data-theme="dark"] .terms-content h3 {
            color: var(--text-color);
        }

        .terms-content p {
            margin-bottom: 1rem;
            text-align: justify;
            font-size: 1rem;
        }

        .terms-content ul {
            margin-bottom: 1rem;
            padding-left: 2rem;
        }

        .terms-content li {
            margin-bottom: 0.5rem;
        }

        /* Estilos para Tablas */
        .table-responsive {
            overflow-x: auto;
            margin-bottom: 1.5rem;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            background-color: var(--light-bg);
        }

        th, td {
            padding: 12px;
            border: 1px solid #ddd;
            text-align: left;
        }

        th {
            background-color: var(--primary-color);
            color: var(--dark-color);
            font-weight: bold;
        }

        [data-theme="dark"] table {
            background-color: #2d2d2d;
        }
        
        [data-theme="dark"] td {
            border-color: #444;
        }

        [data-theme="dark"] th {
            color: #1a1a1a;
        }

        /* Enlaces dentro del texto */
        .terms-content a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .terms-content a:hover {
            text-decoration: underline;
        }

        .back-button {
            display: inline-block;
            background: var(--primary-color);
            color: white;
            padding: 1rem 2rem;
            text-decoration: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            transition: all 0.3s ease;
            margin-bottom: 2rem;
        }

        .back-button:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            color: white;
        }

        .back-button i {
            margin-right: 0.5rem;
        }

        /* Footer */
        footer {
            background: var(--dark-color);
            color: white;
            padding: 2rem 5%;
            text-align: center;
            margin-top: 3rem;
        }

        /* WhatsApp Button */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 40px;
            right: 40px;
            background-color: #25d366;
            color: white;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 3px #999;
            z-index: 100;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            color: white;
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                position: relative;
            }

            .nav-links {
                display: none;
                position: absolute;
                top: calc(100% - 5px);
                left: 0;
                right: 0;
                flex-direction: column;
                gap: 0;
                background: var(--light-bg);
                border-radius: 0 0 var(--border-radius) var(--border-radius);
                box-shadow: var(--shadow);
                overflow: hidden;
                z-index: 1002;
            }

            .nav-links.mobile-open {
                display: flex;
            }

            .nav-links li {
                width: 100%;
                border-bottom: 1px solid rgba(0, 0, 0, 0.08);
            }

            [data-theme="dark"] .nav-links li {
                border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            }

            .nav-links li:last-child {
                border-bottom: none;
            }

            .nav-links a {
                display: block;
                padding: 0.85rem 1rem;
            }

            .mobile-menu {
                display: flex;
            }

            .mobile-menu.active span:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }

            .mobile-menu.active span:nth-child(2) {
                opacity: 0;
            }

            .mobile-menu.active span:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
            }

            .main-content {
                margin: 100px auto 2rem;
                padding: 0 1rem;
            }

            .terms-content {
                padding: 2rem 1.5rem;
            }

            .page-header h1 {
                font-size: 2rem;
            }

            .page-header {
                margin-top: 8rem;
            }

            .page-header p {
                font-size: 1rem;
            }

            .whatsapp-float {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 25px;
            }
        }

