/* =========================================
   1. VARIABLES Y TEMA
   ========================================= */
:root {
    /* Colores - Nuestra Identidad */
    --primary: #111111;
    /* El tono oscuro y elegante de la tarjeta */
    --accent: #d9252a;
    /* El rojo vibrante que nos da energía */

    /* Colores - Fondos y Textos */
    --bg-white: #ffffff;
    --bg-body: #f5f5f5;
    --bg-section-alt: #ffffff;
    /* Sección blanca para resaltar sobre el gris */
    --footer-bg: #111111;

    --text-main: #333333;
    --text-light: #666666;

    /* Elementos de la Interfaz */
    --card-shadow: rgba(0, 0, 0, 0.1);

    /* Colores del Patrón (Modo Claro) - Detalles sutiles */
    --pattern-1: #f8f8f8;
    --pattern-dot: #e5e5e5;

    /* Tipografía - Nuestra voz visual */
    --font-main: 'Montserrat', sans-serif;
}

[data-theme="dark"] {
    --primary: #ffffff;
    --bg-white: #111111;
    /* Tarjeta en Modo Oscuro - Elegancia nocturna */
    --bg-body: #111111;
    /* Fondo Oscuro - Para descansar la vista */
    --bg-section-alt: #111111;
    /* Manteniendo la coherencia */
    --footer-bg: #111111;

    --text-main: #f0f0f0;
    --text-light: #a0a0a0;
    --card-shadow: rgba(0, 0, 0, 0.5);

    /* Colores del Patrón (Modo Oscuro) - Misterio y profundidad */
    --pattern-1: rgba(255, 255, 255, 0.03);
    /* Blanco sutil con baja opacidad */
    --pattern-dot: rgba(255, 255, 255, 0.05);
}

/* =========================================
   2. REINICIO Y ESTILOS BASE - Cimientos Sólidos
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    font-family: var(--font-main);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
    cursor: none;
    /* Manejo del cursor personalizado - Magia en tus manos */

    /* Fondo Interactivo (Spotlight + Cuadrícula de Puntos) - Un escenario vivo */
    background-image:
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
            rgba(217, 37, 42, 0.15) 0%,
            transparent 50%),
        radial-gradient(var(--text-light) 1px, transparent 1px);
    background-size: 100% 100%, 24px 24px;
    background-repeat: no-repeat, repeat;
    background-attachment: fixed;
    background-position: 0 0, var(--bg-x, 0px) var(--bg-y, 0px);
}

/* El cursor personalizado nos acompaña siempre */
a,
button,
.service-card,
.project-card {
    cursor: none;
}

/* Elementos del Cursor - Nuestra Varita Mágica */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* =========================================
   3. COMPONENTES Y UTILIDADES - Las Piezas del Lego
   ========================================= */
/* Botones - Llamadas a la Acción */
.btn-theme {
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 10px;
    transition: transform 0.3s;
}

.btn-theme:hover {
    transform: rotate(15deg) scale(1.1);
    color: var(--accent);
}

.btn-nav {
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 4px;
}

.btn-nav:hover {
    background: var(--accent);
    color: #fff !important;
    border-color: var(--accent);
}

.btn-corporate {
    display: inline-block;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff4d4d 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 5px;
    /* Radio unificado para armonía */
    box-shadow: 0 10px 20px rgba(217, 37, 42, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(217, 37, 42, 0.5);
    background: linear-gradient(135deg, #ff4d4d 0%, var(--accent) 100%);
    /* Invertimos el degradado */
    color: #fff;
}

.btn-corporate {
    /* Latido del Botón - ¡Hazme click! */
    animation: pulse-shadow 3s infinite 2s;
    border-radius: 50px;
    /* Forma de píldora - Suave y moderno */
}

/* Utilidades de Diseño - Estructura y Orden */
.section-padding {
    padding: 100px 20px;
}

.container-width {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
}

[data-theme="dark"] .title-line {
    background: rgba(255, 255, 255, 0.2);
}

.divider {
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 0 40px;
    align-self: stretch;
}

[data-theme="dark"] .divider {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   4. NAVEGACIÓN - Tu Guía en el Camino
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: var(--bg-white);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.nav-brand {
    /* Eliminamos estilos de fuente específicos ya que .font-logo se encarga de ello */
    display: flex;
    align-items: center;
}

.nav-brand .font-logo {
    font-size: 40px;
    /* Ajuste de tamaño para la barra de navegación */
    height: auto;
    margin-bottom: 0;
    animation: none;
    /* Desactivamos la animación flotante aquí */
}



.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Orden en Escritorio - Reorganizando para pantallas grandes */
@media (min-width: 769px) {
    .nav-controls {
        order: 3;
    }

    .nav-links {
        order: 2;
        margin-left: auto;
        margin-right: 20px;
    }
}

/* Menú Hamburguesa - Para cuando falta espacio */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 2000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

/* =========================================
   5. SECCIONES: HÉROE Y TARJETA - La Primera Impresión
   ========================================= */
.card-section {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
}

/* Decoraciones - Detalles que enamoran */
.dots-pattern {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: 0;
    /* Ajuste de visibilidad - Para que nada se esconda */
}

.top-right {
    top: 50px;
    right: -50px;
}

.bottom-left {
    bottom: -50px;
    left: -50px;
}

@media (max-width: 768px) {
    .dots-pattern {
        width: 120px;
        height: 120px;
        background-size: 15px 15px;
        opacity: 0.15;
    }

    .top-right {
        top: 20px;
        right: -20px;
    }

    .bottom-left {
        bottom: -20px;
        left: -20px;
    }
}

/* Contenedor Principal de la Tarjeta */
.card-container {
    background-color: var(--bg-white);
    transition: background-color 0.3s;
    /* Patrón Geométrico Complejo - Sofisticación */
    background-image:
        linear-gradient(135deg, transparent 93%, var(--accent) 93%),
        linear-gradient(135deg, transparent 95%, rgba(217, 37, 42, 0.3) 95%),
        linear-gradient(135deg, transparent 80%, var(--pattern-1) 80%),
        linear-gradient(135deg, var(--pattern-1) 20%, transparent 20%),
        radial-gradient(var(--pattern-dot) 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 15px 15px;
    background-position: center;
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;

    max-width: 1000px;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    display: flex;
    padding: 60px;
    position: relative;
    z-index: 10;
    min-height: 500px;
    overflow: hidden;

    /* Propiedades 3D - Dándole profundidad */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    will-change: transform;
}

/* Visual de la Tarjeta (Izquierda) - Nuestra Imagen */
.card-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-right: 40px;
}

/* Lógica del Divisor Visual */
[data-theme="dark"] .card-visual {
    border-right-color: rgba(255, 255, 255, 0.2) !important;
    /* Asegurando visibilidad si existe borde */
}

/* Logo y Animación - Vida a la Marca */
/* --- Logo Personalizado (Tipografía Real) --- */
.font-logo {
    font-family: 'Merkur', sans-serif;
    font-size: 400px;
    line-height: 1;
    display: grid;
    place-items: center;
    position: relative;
    height: 400px;
    margin-bottom: 30px;
    animation: floatingLogo 4s ease-in-out infinite;
}

.char-f,
.char-c {
    grid-column: 1;
    grid-row: 1;
}

.char-f {
    color: var(--primary);
    z-index: 2;
    position: relative;
    /* Limpieza - Menos es más */
}

.char-c {
    color: var(--accent);
    z-index: 1;
    position: relative;
    left: 0;
    top: 0;
}

/* Eliminamos .text-red, agregamos .char-dot */
.char-dot {
    color: var(--accent);
    position: absolute;
    bottom: 60px;
    /* Ajuste basado en la línea base */
    right: 40px;
    /* Ajuste basado en el ancho */
    font-size: 400px;
    /* Coincidiendo con el padre para perfecta alineación */
    z-index: 3;
    pointer-events: none;
    line-height: 1;
}

/* Información de la Tarjeta (Derecha) - Lo que necesitas saber */
.card-info {
    flex: 1.5;
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.name {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 300;
    letter-spacing: -1px;
    margin-bottom: 10px;
    white-space: nowrap;
}

@font-face {
    font-family: 'Merkur';
    src: url('../fonts/Merkur.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.roles {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 500;
    white-space: nowrap;
}

/* Insignia - Estado Actual */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 20px;
    color: #25D366;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    align-self: flex-start;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.3);
    animation: blink 2s infinite;
}

/* Lista de Contacto - Estemos Conectados */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s, transform 0.2s;
}

.contact-item:hover {
    color: var(--accent);
    transform: translateX(10px);
}

.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
}

.icon-box.green,
.icon-box.dark {
    background: var(--primary);
    color: var(--bg-white);
    /* Alto contraste - Para mejor legibilidad */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-container {
    margin-top: 40px;
}

/* =========================================
   6. SECCIONES: SERVICIOS Y PORTAFOLIO - Lo que hacemos mejor
   ========================================= */
.services-grid,
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h4 {
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.project-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-img {
    height: 200px;
    background: #ddd;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block;
}

.project-card:hover .placeholder-img {
    transform: scale(1.1);
}

.project-info {
    padding: 25px;
}

.project-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.project-info span {
    font-size: 0.8rem;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.project-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

/* --- Próximamente - Grandes cosas en camino --- */
.coming-soon-container {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Sombra suave - Un toque delicado */
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .coming-soon-container {
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.launch-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    opacity: 0.8;
}

.coming-soon-container h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.coming-soon-container p {
    color: var(--text-light);
}

/* =========================================
   7. SECCIÓN DE CONTACTO (REDISEÑO PRO) - Hablemos
   ========================================= */
.contact-footer {
    background: var(--footer-bg);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Efecto de Fondo - Ambiente y Atmósfera */
.contact-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(217, 37, 42, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info-col h3 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 400px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: var(--accent);
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.email-link:hover {
    gap: 25px;
}

/* Formulario de Contacto - Tu mensaje nos importa */
.contact-form-col {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s ease all;
}

/* Etiqueta Flotante - Interacción Moderna */
.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--accent);
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

/* =========================================
   8. PIE DE PÁGINA - El Cierre Perfecto
   ========================================= */
.main-footer {
    padding: 40px 50px;
    background: var(--footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

[data-theme="dark"] .main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    /* Centrado en el pie - Protagonismo justo */
    margin-bottom: 20px;
}

.footer-brand .font-logo {
    font-size: 40px;
    height: auto;
    margin-bottom: 0;
    animation: none;
    line-height: 1;
}

.footer-brand .font-logo .char-f {
    color: #ffffff;
}

.copyright {
    color: var(--text-light);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.footer-socials a {
    color: var(--text-light);
    font-size: 1.2rem;
    transition: 0.3s;
}

.footer-socials a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* =========================================
   9. ANIMACIONES Y KEYFRAMES - Magia en Movimiento
   ========================================= */
@keyframes floatingLogo {
    0% {
        transform: translateY(0);
        filter: drop-shadow(0 10px 10px rgba(26, 30, 44, 0.2));
    }

    50% {
        transform: translateY(-15px);
        filter: drop-shadow(0 25px 20px rgba(26, 30, 44, 0.4));
    }

    100% {
        transform: translateY(0);
        filter: drop-shadow(0 10px 10px rgba(26, 30, 44, 0.2));
    }
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 10px 20px rgba(217, 37, 42, 0.3);
    }

    50% {
        box-shadow: 0 10px 30px rgba(217, 37, 42, 0.6);
        transform: translateY(-1px);
    }

    100% {
        box-shadow: 0 10px 20px rgba(217, 37, 42, 0.3);
    }
}

@keyframes menuSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Estados Iniciales GSAP - Preparando el Escenario */
.card-container,
.logo-wrapper,
.status-badge,
.name,
.roles,
.contact-item,
.divider,
.btn-corporate {
    visibility: hidden;
}

/* =========================================
   10. DISEÑO RESPONSIVO - Nos adaptamos a ti
   ========================================= */

/* Escritorio / Pantallas Grandes - Espacio para respirar */
@media (max-width: 1200px) {

    .name,
    .roles {
        white-space: normal;
        text-align: center;
    }

    .card-info {
        padding-left: 20px;
    }
}

/* Tablets y Móviles (Menos de 768px) - Compacto y Funcional */
@media (max-width: 768px) {

    /* Navegación Móvil */
    .navbar {
        padding: 20px;
    }

    .nav-controls {
        gap: 15px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        /* Menú Móvil Oculto - Esperando tu llamada */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid #eee;
    }

    [data-theme="dark"] .nav-links {
        background: #111;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
        /* Mostramos */
        animation: menuSlide 0.3s ease-out forwards;
    }

    /* Marca en el Pie - Nuestra Firma */
    .footer-brand {
        display: flex;
        justify-content: center;
        /* Centrado para destacar */
        margin-bottom: 20px;
    }

    .footer-brand .font-logo {
        font-size: 30px;
        /* Reducido para mantener la esencia original */
        height: auto;
        margin-bottom: 0;
        animation: none;
    }

    .footer-brand .font-logo .char-f {
        color: #ffffff;
        /* Blanco, como pidió el usuario */
    }

    /* Tarjeta Móvil - Adaptándose */
    .card-container {
        flex-direction: column;
        padding: 40px 20px;
        align-items: center;
        height: auto;
    }

    .divider {
        width: 100%;
        height: 1px;
        margin: 30px 0;
        background: rgba(0, 0, 0, 0.1);
    }

    .card-visual,
    .card-info {
        padding: 0;
        width: 100%;
        text-align: center;
        border-right: none;
        /* Sin bordes verticales aquí */
    }

    .name {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.2;
    }

    .roles {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Insignia Centrada - Equilibrio Visual */
    .status-badge {
        align-self: center;
    }

    /* Grillas - Ordenando el Contenido */
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info-col h3 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Móviles Pequeños (Menos de 480px) - Todo cabe si se sabe acomodar */
@media (max-width: 480px) {
    .section-padding {
        padding: 60px 15px;
    }

    .card-container {
        padding: 30px 15px;
    }

    .font-logo {
        font-size: 160px;
        height: 160px;
        margin-bottom: 20px;
    }

    .name {
        font-size: 1.5rem;
    }

    .roles {
        font-size: 0.75rem;
    }

    .contact-item {
        font-size: 0.9rem;
        gap: 10px;
        justify-content: center;
    }

    .btn-corporate {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    .title-line {
        width: 40px;
    }

    .section-title h3 {
        font-size: 1.5rem;
    }
}

/* =========================================
   8. OPTIMIZACIÓN MÓVIL (TÁCTIL)
   ========================================= */
@media (hover: none) and (pointer: coarse) {

    /* Restauramos el cursor nativo */
    body,
    a,
    button,
    .service-card,
    .project-card,
    input,
    textarea {
        cursor: auto !important;
    }

    /* Ocultamos el cursor personalizado */
    .cursor-dot,
    .cursor-outline {
        display: none !important;
    }
}