/* ===== CSS Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #06b6d4;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px -10px rgba(37, 99, 235, 0.5);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
    
    --font-family: 'Poppins', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 0.9em;
    transition: transform var(--transition);
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Header & Navigation ===== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
}

#header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow);
}

.navbar {
    padding: 0;
    transition: var(--transition);
}

#header.scrolled .navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.logo-img {
    width: 96px;
    height: 96px;
    object-fit: contain;
    border-radius: 8px;
}

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.language-switcher select {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.language-switcher select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(115deg, rgba(8, 17, 34, 0.62) 0%, rgba(8, 17, 34, 0.35) 55%, rgba(8, 17, 34, 0.18) 100%);
    z-index: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    animation: float 30s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 240px;
    height: 240px;
    background: var(--secondary);
    bottom: 10%;
    left: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 160px;
    height: 160px;
    background: var(--accent);
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, 30px) rotate(90deg); }
    50% { transform: translate(0, 60px) rotate(180deg); }
    75% { transform: translate(-30px, 30px) rotate(270deg); }
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin-left: 0;
    margin-right: auto;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.hero-badge i {
    color: var(--warning);
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.hero-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

.hero-image {
    position: relative;
}

.image-container {
    position: relative;
}

.image-bg {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.hero-slider {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08);
    animation: heroSlide 20s infinite;
}

.hero-slide.is-1 { animation-delay: 0s; }
.hero-slide.is-2 { animation-delay: 5s; }
.hero-slide.is-3 { animation-delay: 10s; }
.hero-slide.is-4 { animation-delay: 15s; }

@keyframes heroSlide {
    0% { opacity: 0; transform: scale(1.08); }
    6% { opacity: 1; }
    30% { opacity: 1; transform: scale(1); }
    36% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide {
        animation: none;
        opacity: 1;
        position: absolute;
        transform: none;
    }

    .hero-slide:not(.is-1) {
        display: none;
    }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.875rem;
    animation: bounce 3s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
    color: var(--success);
}

.card-1 {
    top: 30px;
    left: -30px;
}

.card-2 {
    bottom: 30px;
    right: -30px;
    animation-delay: -1.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--gray-400);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== Mini Gallery ===== */
.mini-gallery {
    padding: 70px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: var(--gray-100);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.image-grid img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    height: 250px;
    object-fit: cover;
}

.img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.img-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 40px;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    padding: 25px 35px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.about-content > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.feature-text h4 {
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Services Section ===== */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.service-card.featured::before {
    display: none;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    color: var(--gray-500);
    margin-bottom: 20px;
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features li i {
    color: var(--success);
    font-size: 0.75rem;
}

.service-card.featured .service-features li i {
    color: var(--white);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary);
}

.service-card.featured .service-link {
    color: var(--white);
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== Included Section ===== */
.included {
    padding: 100px 0;
    background: var(--gray-100);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.included-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.included-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.included-card h3 {
    margin-bottom: 16px;
}

.included-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.included-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--gray-600);
}

.included-list li i {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 4px;
}

.included-cta {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.included-cta p {
    font-weight: 600;
    color: var(--dark);
}

/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background: var(--gray-100);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: var(--gradient-primary);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 20px;
}

.step-content {
    background: var(--white);
    padding: 40px 25px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-content:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 2rem;
    color: var(--white);
}

.step-content h3 {
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Testimonials Section ===== */
.testimonials {
    padding: 100px 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.testimonial-rating {
    margin-bottom: 25px;
}

.testimonial-rating i {
    color: var(--warning);
    font-size: 1.25rem;
    margin: 0 2px;
}

.testimonial-text {
    font-size: 1.25rem;
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.control-btn:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

.testimonials-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gradient-primary);
    transform: scale(1.2);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 100px 0;
    background: var(--gray-100);
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.toggle-label {
    font-weight: 500;
    color: var(--gray-500);
    transition: var(--transition);
}

.toggle-label.active {
    color: var(--dark);
}

.toggle-label .discount {
    background: var(--success);
    color: var(--white);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    margin-left: 5px;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--gradient-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(30px);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.05);
    border: none;
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warning);
    color: var(--dark);
    padding: 8px 25px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.pricing-card.featured .pricing-header h3 {
    color: var(--white);
}

.pricing-header p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 30px;
}

.pricing-card.featured .pricing-header p {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-price {
    margin-bottom: 30px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    vertical-align: top;
}

.pricing-price .amount {
    font-size: clamp(2.25rem, 3.5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
}

.pricing-price .period {
    font-size: 1rem;
    color: var(--gray-500);
}

.pricing-card.featured .pricing-price .period {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li i {
    font-size: 0.875rem;
}

.pricing-features li .fa-check {
    color: var(--success);
}

.pricing-card.featured .pricing-features li .fa-check {
    color: var(--white);
}

.pricing-features li .fa-times {
    color: var(--gray-400);
}

.pricing-features li.disabled {
    color: var(--gray-400);
}

.pricing-card.featured .pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-card.featured .btn-primary {
    background: var(--white);
    color: var(--primary);
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content .gradient-text {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.info-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.info-content h4 {
    margin-bottom: 5px;
}

.info-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
    overflow-wrap: anywhere;
    word-break: break-word;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    transition: var(--transition);
    background: var(--gray-100);
}

.form-group textarea {
    padding-left: 20px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.input-icon {
    position: absolute;
    left: 18px;
    bottom: 17px;
    color: var(--gray-400);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--radius-md);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Checkbox styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-text {
    flex: 1;
    font-size: 0.813rem;
    color: var(--gray-600);
}

.checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-text a:hover {
    color: var(--primary-dark);
}

/* ===== Footer ===== */
.footer {
    background: #dfe8f1;
    color: #223040;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #223040;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 6px;
}

.footer-about p {
    margin-bottom: 25px;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(34, 48, 64, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

.footer-links h4 {
    color: #223040;
    font-size: 1.125rem;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter h4 {
    color: #223040;
    font-size: 1.125rem;
    margin-bottom: 25px;
}

.footer-newsletter p {
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--white);
    color: #223040;
    border: 1px solid rgba(34, 48, 64, 0.15);
}

.newsletter-form input::placeholder {
    color: var(--gray-600);
}

.newsletter-form input:focus {
    outline: none;
    background: var(--white);
    border-color: rgba(34, 48, 64, 0.3);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
}

.reviews-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(34, 48, 64, 0.1);
    overflow-y: auto;
    max-height: 450px;
}

.testimonials-reviews {
    margin-top: 2rem;
    text-align: center;
}

.testimonials-reviews h3 {
    color: #223040;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(34, 48, 64, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 30px;
}

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

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ===== SMS Button ===== */
.sms-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #2196f3;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
    z-index: 999;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(33, 150, 243, 0); }
    100% { box-shadow: 0 0 0 0 rgba(33, 150, 243, 0); }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 200px;
    }
    .logo-img {
        width: 112px;
        height: 112px;
    }

    .footer-logo .logo-img {
        width: 84px;
        height: 84px;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .hero-image {
        display: none;
    }
    
    .about .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }

    .logo-img {
        width: 88px;
        height: 88px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid img {
        height: 170px;
    }

    .footer-logo .logo-img {
        width: 76px;
        height: 76px;
    }

    .navbar {
        padding: 4px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 40px 40px;
        gap: 25px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }

    .included-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer {
        overflow-x: hidden;
    }

    .footer-grid {
        justify-items: center;
    }

    .footer-about,
    .footer-links,
    .footer-newsletter {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo .logo-img {
        margin: 0 auto;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
    }
    
    .reviews-container {
        max-height: 350px;
    }
    
    .footer-social,
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo-img {
        width: 72px;
        height: 72px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 200px;
    }

    .footer-logo .logo-img {
        width: 68px;
        height: 68px;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .pricing-card {
        padding: 36px 28px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .img-2 {
        margin-top: 0;
    }
    
    .experience-badge {
        position: relative;
        bottom: 0;
        margin-top: 30px;
    }
}

/* ===== Legal Pages Styles ===== */

/* Legal Hero Section */
.legal-hero {
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.legal-hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.05;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.legal-hero-content {
    max-width: 700px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--white);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
}

.legal-hero h1 {
    margin-bottom: 1rem;
}

.legal-hero > .container > .legal-hero-content > p {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legal-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.legal-meta i {
    color: var(--primary);
}

/* Table of Contents - CORREGIDO: Ya no es sticky */
.legal-toc {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    /* Removido: position: sticky; top: 70px; z-index: 100; */
}

.toc-card {
    background: var(--gray-100);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.toc-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.125rem;
}

.toc-card h3 i {
    color: var(--primary);
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.toc-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 0.9rem;
    transition: var(--transition);
}

.toc-list li a:hover {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.toc-list li a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

/* Legal Content */
.legal-content {
    padding: 60px 0 100px;
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: start;
}

.legal-article {
    max-width: 100%;
}

.legal-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
}

.legal-section:last-child {
    border-bottom: none;
}

.section-number {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    z-index: -1;
}

.legal-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    color: var(--dark);
}

.legal-section h3 {
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.legal-section h4 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
    color: var(--dark);
}

.legal-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
}

.legal-section a {
    color: var(--primary);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--primary-dark);
}

/* Legal Lists */
.legal-list {
    margin: 1.5rem 0;
}

.legal-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    color: var(--gray-600);
}

.legal-list li i {
    margin-top: 4px;
    font-size: 0.875rem;
}

.legal-list li .fa-check-circle {
    color: var(--success);
}

.legal-list li .fa-times-circle {
    color: var(--danger);
}

.legal-list li .fa-exclamation-circle {
    color: var(--warning);
}

.legal-numbered-list {
    counter-reset: legal-counter;
    margin: 1.5rem 0;
    padding-left: 0;
}

.legal-numbered-list li {
    counter-increment: legal-counter;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 0;
    color: var(--gray-600);
}

.legal-numbered-list li::before {
    content: counter(legal-counter);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
}

/* Info & Warning Boxes */
.info-box,
.warning-box {
    display: flex;
    gap: 20px;
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.info-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-left: 4px solid var(--primary);
}

.warning-box {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-left: 4px solid var(--warning);
}

.info-icon,
.warning-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.info-icon {
    background: var(--gradient-primary);
    color: var(--white);
}

.warning-icon {
    background: var(--warning);
    color: var(--white);
}

.info-icon i,
.warning-icon i {
    font-size: 1.25rem;
}

.info-content h4,
.warning-content h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.info-content p,
.warning-content p {
    margin: 0;
    font-size: 0.9rem;
}

.info-content ul,
.warning-content ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.info-content li,
.warning-content li {
    font-size: 0.9rem;
    padding: 3px 0;
}

/* Legal Cards Grid */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.legal-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.legal-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.legal-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.legal-card-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.legal-card h4 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.legal-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* Cookie Table */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th,
.cookie-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.cookie-table th {
    background: var(--gray-100);
    font-weight: 600;
    color: var(--dark);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-table td {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.cookie-badge.essential {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.cookie-badge.functional {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
}

.cookie-badge.analytics {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent);
}

.cookie-badge.marketing {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

/* Security Features */
.security-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.security-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.security-item i {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.security-item h4 {
    margin: 0 0 5px;
    font-size: 0.95rem;
}

.security-item p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.right-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.right-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.right-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.right-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.right-item h4 {
    margin: 0 0 10px;
    font-size: 1rem;
}

.right-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Version History */
.version-history {
    background: var(--gray-100);
    padding: 25px;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.version-history h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 15px;
}

.version-history h4 i {
    color: var(--primary);
}

.version-history ul {
    margin: 0;
    padding: 0;
}

.version-history li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-300);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.version-history li:last-child {
    border-bottom: none;
}

/* Contact Legal Card */
.contact-legal-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.contact-legal-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    margin: 0 0 20px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    margin: 8px 0;
    font-size: 0.95rem;
}

.contact-details i {
    width: 20px;
    text-align: center;
}

.contact-details a {
    color: var(--white);
    text-decoration: underline;
}

.contact-legal-cta .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.contact-legal-cta .btn-primary:hover {
    background: var(--gray-100);
}

/* Services Terms Grid */
.services-terms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.service-term-item {
    text-align: center;
    padding: 25px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.service-term-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.service-term-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-term-item h4 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.service-term-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Pricing Terms Table */
.pricing-terms-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.pricing-terms-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pricing-terms-table th,
.pricing-terms-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-terms-table th {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-terms-table td {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 1.5rem 0;
}

.payment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
}

.payment-item i {
    color: var(--primary);
    font-size: 1.125rem;
}

/* Cancellation Policy */
.cancellation-policy {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 2rem 0;
}

.cancel-tier {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    border-left: 4px solid;
}

.cancel-tier.good {
    background: rgba(16, 185, 129, 0.05);
    border-color: var(--success);
}

.cancel-tier.warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: var(--warning);
}

.cancel-tier.danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: var(--danger);
}

.cancel-icon {
    font-size: 1.5rem;
}

.cancel-tier.good .cancel-icon {
    color: var(--success);
}

.cancel-tier.warning .cancel-icon {
    color: var(--warning);
}

.cancel-tier.danger .cancel-icon {
    color: var(--danger);
}

.cancel-content {
    flex: 1;
}

.cancel-content h4 {
    margin: 0 0 5px;
    font-size: 1rem;
}

.cancel-content p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.cancel-fee {
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

.cancel-tier.good .cancel-fee {
    background: var(--success);
    color: var(--white);
}

.cancel-tier.warning .cancel-fee {
    background: var(--warning);
    color: var(--white);
}

.cancel-tier.danger .cancel-fee {
    background: var(--danger);
    color: var(--white);
}

/* Obligations Grid */
.obligations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.obligation-item {
    padding: 25px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition);
}

.obligation-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.obligation-number {
    position: absolute;
    top: -15px;
    left: 20px;
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.obligation-item h4 {
    margin: 10px 0 8px;
    font-size: 1rem;
}

.obligation-item p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Guarantee Box */
.guarantee-box {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    margin: 2rem 0;
}

.guarantee-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.guarantee-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.guarantee-content h3 {
    color: var(--white);
    margin: 0 0 10px;
}

.guarantee-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Legal Sidebar */
.legal-sidebar {
    position: relative;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 30px;
}

.sidebar-card.sticky {
    position: sticky;
    top: 100px;
}

.sidebar-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    font-size: 1rem;
}

.sidebar-card h4 i {
    color: var(--primary);
}

.sidebar-links {
    margin-bottom: 30px;
}

.sidebar-links li {
    margin-bottom: 10px;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    color: var(--gray-600);
    transition: var(--transition);
}

.sidebar-links li a:hover,
.sidebar-links li.active a {
    background: var(--gradient-primary);
    color: var(--white);
}

.sidebar-links li a i {
    font-size: 1rem;
}

.sidebar-help {
    padding: 25px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-help h4 {
    justify-content: center;
    margin-bottom: 10px;
}

.sidebar-help p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 15px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.sidebar-download {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--gray-600);
    font-size: 0.875rem;
    transition: var(--transition);
}

.download-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

/* ===== Responsive Legal Pages ===== */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }
    
    .legal-sidebar {
        order: -1;
    }
    
    .sidebar-card.sticky {
        position: relative;
        top: 0;
    }
    
    .legal-grid,
    .rights-grid,
    .services-terms-grid,
    .obligations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .security-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 140px 0 60px;
    }
    
    .toc-list {
        grid-template-columns: 1fr;
    }
    
    .legal-grid,
    .rights-grid,
    .services-terms-grid,
    .obligations-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-legal-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details p {
        justify-content: center;
    }
    
    .guarantee-box {
        flex-direction: column;
        text-align: center;
    }
    
    .info-box,
    .warning-box {
        flex-direction: column;
        text-align: center;
    }
    
    .cancel-tier {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .section-number {
        font-size: 3rem;
    }
    
    .sidebar-card {
        padding: 20px;
    }
    
    .toc-card {
        padding: 20px;
    }
}

/* ===== Cookie Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-top: 3px solid var(--primary);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cookie-icon {
    font-size: 3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: color var(--transition-fast);
}

.cookie-text a:hover {
    color: var(--primary-dark);
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-accept,
.btn-reject {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-accept {
    background: var(--primary);
    color: var(--white);
}

.btn-accept:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-reject {
    background: var(--gray-200);
    color: var(--gray-700);
}

.btn-reject:hover {
    background: var(--gray-300);
}

/* Cookie Banner Responsive */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-icon {
        font-size: 2.5rem;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-accept,
    .btn-reject {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-content {
        gap: 1rem;
    }
    
    .cookie-text h3 {
        font-size: 1.1rem;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
}