/* ============================================
   DIGITAL INNOVATION GLOBAL - STYLES
   ============================================ */

/* CSS Variables - Colores basados en el logo */
:root {
    --primary-purple: #8b5cf6;
    --primary-purple-dark: #7c3aed;
    --primary-purple-light: #a78bfa;
    --primary-blue: #38bdf8;
    --primary-blue-dark: #0ea5e9;
    --primary-blue-light: #7dd3fc;
    --dark: #1f2937;
    --dark-light: #374151;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --light: #f3f4f6;
    --lighter: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    --gradient-reverse: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 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-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Reset y Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ============================================
   UTILIDADES
   ============================================ */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-light {
    background-color: var(--lighter);
}

.section-dark {
    background-color: var(--dark);
    color: var(--white);
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   BOTONES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-purple-dark);
}

.btn-white:hover {
    background: var(--light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   HEADER Y NAVEGACIÓN
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-purple);
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: 0.75rem 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--dark);
}

.dropdown-menu a:hover {
    background: var(--lighter);
    color: var(--primary-purple);
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--dark) 0%, #111827 50%, var(--dark-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-contact {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-contact a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-contact a:hover {
    color: var(--white);
}

/* Animated shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-purple);
    top: 10%;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-blue);
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-purple-light);
    bottom: 20%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-title-light {
    color: var(--white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray);
}

/* ============================================
   STATS
   ============================================ */

.stats {
    background: var(--gradient);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--white);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* ============================================
   SERVICES CARDS
   ============================================ */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.service-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-purple);
    font-weight: 600;
}

.service-link:hover {
    gap: 0.75rem;
}

/* Service list in cards */
.service-list {
    margin: 1rem 0;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-purple);
    font-weight: bold;
}

/* ============================================
   FEATURES
   ============================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.feature-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   PROCESS STEPS
   ============================================ */

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.3;
}

.process-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.process-description {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   PILARES
   ============================================ */

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.pilar-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
}

.pilar-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.pilar-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
}

.pilar-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.pilar-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.faq-question:hover {
    color: var(--primary-purple);
}

.faq-icon {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.7;
}

/* ============================================
   CONTACTO
   ============================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.contact-info > p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-method-icon {
    width: 56px;
    height: 56px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.contact-method-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.contact-method-content p {
    color: var(--gray);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    display: none;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    display: block;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    display: block;
}

/* ============================================
   COMPANY INFO
   ============================================ */

.company-info {
    background: var(--lighter);
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

.company-info h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.company-info p {
    color: var(--gray);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.company-info strong {
    color: var(--dark);
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: var(--gradient);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */

.service-hero {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.service-hero-content {
    max-width: 800px;
}

.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.service-hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.service-detail-content {
    padding: 4rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Zigzag layout - Reverse: Imagen izquierda, Texto derecha */
.service-detail-grid.reverse .service-detail-text {
    order: 2;
}

.service-detail-grid.reverse .service-image-box {
    order: 1;
}

.service-detail-image {
    background: var(--gradient);
    border-radius: var(--radius-lg);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
}

.service-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-detail-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark);
    font-weight: 500;
}

.service-features-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

/* Benefits grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.benefit-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.benefit-label {
    color: var(--gray);
    font-weight: 500;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
    background: var(--dark);
    color: var(--white);
    padding: 8rem 0 4rem;
}

.about-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.about-hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    border-radius: var(--radius-lg);
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    opacity: 0.1;
}

.about-image-icon {
    font-size: 6rem;
    color: var(--primary-purple);
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.target-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.target-tag {
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-purple);
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.875rem;
}

/* ============================================
   SERVICE DETAIL GRID (ZIGZAG LAYOUT)
   ============================================ */

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-image-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    border-radius: 24px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-image-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #8b5cf6, #38bdf8);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 4s ease-in-out infinite;
}

.service-image-box.ai-bg::before {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.service-image-box.data-bg::before {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.service-image-box.bi-bg::before {
    background: linear-gradient(135deg, #7c3aed, #0ea5e9);
}

.service-image-icon {
    font-size: 8rem;
    z-index: 1;
    animation: float3d 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

@keyframes float3d {
    0%, 100% { transform: translateY(0) rotateY(0); }
    50% { transform: translateY(-20px) rotateY(10deg); }
}

.stats-inline {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box {
    background: linear-gradient(135deg, #8b5cf6 0%, #38bdf8 100%);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.stat-box-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
}

.stat-box-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .service-detail-grid.reverse {
        direction: ltr;
    }
    .service-image-box {
        min-height: 300px;
        order: -1;
    }
    .service-image-icon {
        font-size: 6rem;
    }
}

/* ============================================
   INFINITE SLIDER / MARQUEE
   ============================================ */

.slider-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.slider-track {
    display: flex;
    gap: 2rem;
    animation: slideInfinite 20s linear infinite;
    width: max-content;
}

.slider-container:hover .slider-track {
    animation-play-state: paused;
}

.slider-item {
    flex: 0 0 calc(33.333% - 1.33rem);
    min-width: 350px;
    max-width: 400px;
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-purple);
    width: 30px;
    border-radius: 6px;
}

@media (max-width: 1024px) {
    .slider-item {
        flex: 0 0 calc(50% - 1rem);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .slider-item {
        flex: 0 0 100%;
        min-width: 280px;
    }
}

/* ============================================
   LANGUAGE SELECTOR
   ============================================ */

.language-selector {
    position: relative;
    margin-left: 1rem;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary-purple);
}

.language-toggle .globe-icon {
    font-size: 1.25rem;
}

.language-toggle .current-lang-code {
    color: var(--primary-purple);
}

.language-toggle .arrow {
    font-size: 0.625rem;
    transition: transform 0.3s ease;
}

.language-toggle.active .arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark);
    transition: all 0.2s ease;
    text-align: left;
}

.language-option:hover {
    background: rgba(139, 92, 246, 0.1);
}

.language-option.active {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-purple);
    font-weight: 600;
}

.language-option .flag {
    font-size: 1.25rem;
}

.language-option .lang-name {
    font-weight: 500;
}

/* Mobile Language Selector */
@media (max-width: 768px) {
    .language-selector {
        margin-left: auto;
        margin-right: 1rem;
    }
    
    .language-toggle {
        padding: 0.4rem 0.75rem;
    }
    
    .language-toggle .current-lang-code {
        display: none;
    }
    
    .language-menu {
        right: -50px;
        min-width: 140px;
    }
}

/* ============================================
   BLOG STYLES
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    height: 220px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-icon {
    font-size: 5rem;
    animation: float3d 6s ease-in-out infinite;
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray);
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark);
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-link {
    color: var(--primary-purple);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-link:hover {
    gap: 0.75rem;
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

/* Article Page */
.article-header {
    text-align: center;
    padding: 4rem 0;
    background: var(--lighter);
}

.article-category {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: var(--gray);
    font-size: 0.95rem;
}

/* Article Hero Image */
.article-hero {
    background: var(--lighter);
    padding: 0 1.5rem 2rem;
    text-align: center;
}

.article-hero-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    display: block;
    box-shadow: var(--shadow-lg);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem;
    color: var(--dark);
}

.article-content h3 {
    font-size: 1.375rem;
    margin: 2rem 0 1rem;
    color: var(--dark);
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--gray);
}

/* Table of Contents */
.toc {
    background: var(--lighter);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.toc-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.toc-list a:hover {
    text-decoration: underline;
}

/* Tech Stack Cards in History */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tech-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.tech-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.tech-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.tech-card-link {
    color: var(--primary-purple);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Newsletter Form */
.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form > div {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent white;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid,
    .about-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        transform: translateY(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--lighter);
        margin-top: 0.5rem;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-contact {
        position: static;
        margin-top: 2rem;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand img {
        margin: 0 auto 1rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 3rem 0;
    }
    
    .service-card,
    .pilar-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BLOG CARDS - HOME SECTION
   ============================================ */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-purple-light);
}

.blog-image {
    position: relative;
    height: 180px;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-icon {
    font-size: 4rem;
    filter: grayscale(1) brightness(2);
    opacity: 0.9;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--white);
    color: var(--primary-purple);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--dark);
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--primary-purple-dark);
    gap: 0.75rem;
}


/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

/* Page Hero for Legal Pages */
.page-hero {
    background: var(--gradient);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .page-hero p {
        font-size: 1rem;
    }
}

/* Legal Content */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.legal-content h2 {
    font-size: 1.75rem;
    color: var(--dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--primary-purple);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--gray);
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: var(--gray);
}

.legal-content a {
    color: var(--primary-purple);
    text-decoration: underline;
    font-weight: 500;
}

.legal-content a:hover {
    color: var(--primary-purple-dark);
}

.legal-last-update {
    background: var(--lighter);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--gray);
    border-left: 4px solid var(--primary-purple);
}

/* Company Info Box */
.company-info-box {
    background: var(--lighter);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 1.5rem 0;
    border: 1px solid var(--light);
}

.legal-info-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-info-table td {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
}

.legal-info-table td:first-child {
    width: 40%;
    color: var(--dark);
}

.legal-info-table tr:last-child td {
    border-bottom: none;
}

/* Legal Rights Grid */
.legal-rights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.right-item {
    background: var(--lighter);
    padding: 1.5rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-purple);
}

.right-item h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.right-item p {
    margin: 0;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .legal-rights {
        grid-template-columns: 1fr;
    }
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light);
}

.cookie-table th {
    background: var(--lighter);
    font-weight: 600;
    color: var(--dark);
}

.cookie-table tr:hover {
    background: var(--lighter);
}

@media (max-width: 768px) {
    .cookie-table {
        display: block;
        overflow-x: auto;
    }
}

/* Cookie Button Container */
.cookie-button-container {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--lighter);
    border-radius: var(--radius-lg);
}

/* Legal Contact Box */
.legal-contact-box {
    background: var(--gradient);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 3rem;
}

.legal-contact-box h3 {
    color: white;
    margin-top: 0;
}

.legal-contact-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.legal-contact-box a {
    color: white;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
}
