/* =====================================================
   NIROAI LIGHT MODE - Fondo Blanco
   ===================================================== */

/* Para activar este tema:
   1. En index.html, reemplaza:
      <link rel="stylesheet" href="styles.css">
   Por:
      <link rel="stylesheet" href="styles-light.css">
*/

/* =====================================================
   VARIABLES - LIGHT MODE
   ===================================================== */
:root {
    /* Colors - Electric Blue (mantiene el mismo azul) */
    --primary-300: #93C5FD;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;

    /* Backgrounds - LIGHT MODE */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;

    /* Text - LIGHT MODE */
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-tertiary: #64748B;
    --text-quaternary: #94A3B8;

    /* Fonts */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
}

/* =====================================================
   BASE STYLES
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =====================================================
   PARTICLE BACKGROUND - LIGHT MODE
   ===================================================== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.15;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(100px, -100px);
    }

    50% {
        transform: translate(-50px, -200px);
    }

    75% {
        transform: translate(50px, -150px);
    }
}

/* =====================================================
   NAVBAR - LIGHT MODE
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-500);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* =====================================================
   BUTTONS - LIGHT MODE
   ===================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: #FFFFFF;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-500) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary>* {
    position: relative;
    z-index: 1;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-600);
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid var(--primary-500);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-500);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-small {
    padding: 12px 24px;
    font-size: 14px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* =====================================================
   HERO SECTION - LIGHT MODE
   ===================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-600);
    margin-bottom: 24px;
}

.label-icon {
    font-size: 18px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-500);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Hero Visual - LIGHT MODE */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fade-in-rotate 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.sphere-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.sphere {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 300px;
    height: 300px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.25) 100%);
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.4);
    box-shadow:
        0 0 60px rgba(59, 130, 246, 0.3),
        0 0 120px rgba(59, 130, 246, 0.2),
        inset 0 0 60px rgba(59, 130, 246, 0.15);
}

.sphere-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 2px solid rgba(59, 130, 246, 0.25);
    border-radius: 50%;
    transform-origin: center;
}

.ring-1 {
    width: 350px;
    height: 350px;
    margin-left: -175px;
    margin-top: -175px;
    animation: rotate-ring-1 20s linear infinite;
}

.ring-2 {
    width: 420px;
    height: 420px;
    margin-left: -210px;
    margin-top: -210px;
    animation: rotate-ring-2 15s linear infinite reverse;
}

.ring-3 {
    width: 480px;
    height: 480px;
    margin-left: -240px;
    margin-top: -240px;
    animation: rotate-ring-3 25s linear infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.float-element {
    position: absolute;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.element-1 {
    top: 10%;
    left: 10%;
    animation: float-element-1 8s ease-in-out infinite;
}

.element-2 {
    top: 20%;
    right: 15%;
    animation: float-element-2 10s ease-in-out infinite;
}

.element-3 {
    bottom: 15%;
    left: 20%;
    animation: float-element-3 12s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes rotate-ring-1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ring-2 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate-ring-3 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes float-element-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(20px, -30px) rotate(10deg);
    }
}

@keyframes float-element-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-30px, 20px) rotate(-15deg);
    }
}

@keyframes float-element-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(25px, -20px) rotate(8deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* =====================================================
   SOCIAL PROOF - LIGHT MODE
   ===================================================== */
.social-proof {
    padding: 60px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.social-proof-text {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-quaternary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.client-logo:hover {
    color: var(--primary-500);
    transform: scale(1.1);
}

/* =====================================================
   SECTIONS - LIGHT MODE
   ===================================================== */
section {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-600);
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* =====================================================
   SERVICES SECTION - LIGHT MODE
   ===================================================== */
.services {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Flip Card - LIGHT MODE */
.service-card-flip {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(-180deg);
    /* Sentido horario suele ser más suave */
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
    transform: translateZ(0);
    /* Mejor renderizado */
}

.service-card-front {
    background: #FFFFFF;
    border: 1px solid rgba(59, 130, 246, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-card-front:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card-front:hover .service-icon {
    transform: scale(1.1) rotateY(15deg);
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.5));
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.service-card-back {
    transform: rotateY(-180deg);
    /* Coincide con el sentido de giro */
}

.glass-card {
    background: #FFFFFF;
    /* Fondo sólido para evitar transparencias del frente */
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.glass-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.2);
    transform: translateY(-4px);
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-600);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* =====================================================
   SOLUTIONS SECTION - LIGHT MODE
   ===================================================== */
.solutions {
    padding: 120px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.solution-card {
    position: relative;
    padding: 40px;
}

.solution-number {
    font-family: var(--font-display);
    font-size: 72px;
    font-weight: 800;
    color: rgba(59, 130, 246, 0.12);
    line-height: 1;
    margin-bottom: 16px;
}

.solution-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.solution-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.solution-metrics {
    display: flex;
    gap: 32px;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-500);
    line-height: 1;
    margin-bottom: 8px;
}

.metric-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* =====================================================
   TESTIMONIALS - LIGHT MODE
   ===================================================== */
.testimonials {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 40px;
    position: relative;
}

.quote-icon {
    font-size: 72px;
    color: var(--primary-500);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-role {
    font-size: 14px;
    color: var(--text-tertiary);
}

.rating {
    display: flex;
    gap: 4px;
}

.star {
    color: var(--primary-500);
    font-size: 18px;
}

/* =====================================================
   ABOUT SECTION - LIGHT MODE
   ===================================================== */
.about {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
}

.about-content {
    text-align: left;
}

.about-content .section-label {
    margin-bottom: 16px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.about-text {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 16px;
}

.about-feature svg {
    flex-shrink: 0;
}

/* =====================================================
   CONTACT FORM SECTION - LIGHT MODE
   ===================================================== */
.contact-section {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 120px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--primary-500);
}

.contact-benefits {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 32px;
}

.benefits-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 12px;
}

.benefit-item:last-child {
    margin-bottom: 0;
}

.benefit-item svg {
    flex-shrink: 0;
}

.contact-form-container {
    position: relative;
}

.contact-form {
    background: #FFFFFF;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hidden {
    display: none;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: var(--bg-secondary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-quaternary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #FFFFFF;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%233B82F6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--primary-500);
}

.form-link {
    color: var(--primary-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.form-link:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-note {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 14px;
    margin-top: 16px;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.form-success p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 400px;
}


/* =====================================================
   FOOTER - LIGHT MODE
   ===================================================== */
.footer {
    background: #f1f5f9;
    /* Color de fondo distinguible */
    border-top: 1px solid #e2e8f0;
    padding: 100px 0 40px;
    display: block;
    width: 100%;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .logo {
    width: 48px;
    height: 48px;
}

.footer-brand .brand-name {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.footer-description {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-500);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    color: var(--primary-500);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-500);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--text-tertiary);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }

    .services-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sphere-container {
        width: 400px;
        height: 400px;
    }

    .sphere-inner {
        width: 240px;
        height: 240px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-visual {
        order: -1;
    }

    .sphere-container {
        width: 300px;
        height: 300px;
    }

    .sphere-inner {
        width: 180px;
        height: 180px;
    }

    .services-grid,
    .solutions-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 36px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
}