/* ============================================================
   VettaIO - Global Stylesheet
   ============================================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3b82f6;
    --secondary-color: #00ffaa;
    --accent-color: #8b5cf6;
    --bg-dark: #0a0e27;
    --bg-dark-alt: #1a1f3a;
    --bg-darker: #0f1229;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --border-color: rgba(0, 191, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #00ffaa 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-green: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================================
   Layout Containers
   ============================================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-small {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   Particle Canvas
   ============================================================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
    text-decoration: none;
}

.logo img {
    height: 25px;
    width: auto;
    max-width: 160px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00ffaa 0%, #3b82f6 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.logo-highlight {
    color: var(--primary-color);
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

/* ============================================================
   Dropdown Menu (Divisiones)
   ============================================================ */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link-group {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-link-group .nav-link {
    display: block; /* override if needed */
}

.dropdown-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.3s;
}

.dropdown-toggle:hover,
.nav-item.open .dropdown-toggle,
.nav-item:hover .dropdown-toggle {
    color: var(--primary-color);
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.nav-item:hover .dropdown-arrow,
.nav-item.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 200px;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2000;
}

/* Bridge invisible que cubre el gap entre el nav-link y el dropdown
   para que el hover no se corte al mover el mouse entre ambos */
.dropdown::before {
    content: '';
    position: absolute;
    top: -0.85rem;   /* cubre el gap de 0.75rem + un poco más */
    left: 0;
    right: 0;
    height: 0.85rem;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.925rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.dropdown-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-primary);
}

.dropdown-link .dd-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dd-dot--core  { background: #3b82f6; }
.dd-dot--flex  { background: #25e99e; }
.dd-dot--mind  { background: #a78bfa; }

/* Dropdown in mobile (stacked) */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-dark-alt);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s;
        align-items: center; /* ← Centrar horizontalmente */
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Centrar cada item del nav */
    .nav-link {
        text-align: center;
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }

    /* Ajustar el nav-item para que ocupe todo el ancho y esté centrado */
    .nav-item {
        flex-direction: column;
        align-items: center; /* ← Centrar contenido */
        width: 100%;
    }

    /* El grupo del link y botón también centrado */
    .nav-link-group {
        width: 100%;
        justify-content: center; /* ← Centrar el contenido */
        gap: 0.75rem;
        position: relative;
    }

    /* El enlace Divisiones centrado */
    .nav-link-group .nav-link {
        text-align: center;
        display: inline-block;
        width: auto;
    }

    /* Botón toggle posicionado relativamente al lado del texto */
    .dropdown-toggle {
        padding: 8px 12px;
        margin: 0;
        position: relative;
    }

    /* Dropdown centrado */
    .dropdown {
        position: static;
        opacity: 1;
        pointer-events: all;
        transform: none;
        background: rgba(26, 31, 58, 0.6);
        border: none;
        border-left: 2px solid var(--border-color);
        border-radius: 0;
        padding: 0.5rem 0;
        margin: 0.5rem auto 0 auto; /* ← Centrar automáticamente */
        min-width: unset;
        width: 90%; /* ← Ancho controlado para centrar */
        max-width: 280px; /* ← Ancho máximo para no ser muy ancho */
        display: none;
    }

    /* Cuando está abierto, mostrarlo */
    .nav-item.open .dropdown {
        display: block;
    }

    /* Links del dropdown centrados */
    .dropdown-link {
        padding: 0.75rem 1rem;
        white-space: normal;
        font-size: 0.95rem;
        text-align: center; /* ← Centrar texto */
        justify-content: center; /* ← Centrar ícono y texto */
        gap: 0.75rem;
    }

    /* Ajuste para el botón toggle en móvil */
    .dropdown-toggle {
        padding: 8px 12px;
        margin: -8px -12px -8px 0;
    }

    /* Logo más pequeño en mobile */
    .logo img {
        height: 18px;
        max-width: 120px;
    }
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s;
}

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

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

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

/* ============================================================
   Hero Section (Index)
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 64px;
    z-index: 10;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo-icon {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.hero-logo-icon img {
    max-width: 80%;
    height: auto;
}

.hero-logo-icon:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(173, 216, 230, 0.5));
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
    line-height: 1;
}

.hero-title-highlight {
    background: linear-gradient(135deg, #00ffaa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.animated-text-container {
    height: 4rem;
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
}

.animated-text {
    position: absolute;
    width: 100%;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: 700;
    background: linear-gradient(135deg, #00ffaa 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-in-out;
}

.animated-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffaa 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 255, 170, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 255, 170, 0.5);
}

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

.btn-secondary:hover {
    background: rgba(0, 255, 170, 0.1);
    transform: scale(1.05);
}

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

/* ============================================================
   Sections — General
   ============================================================ */
section {
    position: relative;
    padding: 6rem 0;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 48rem;
    margin: 0 auto;
}

/* ============================================================
   Text Gradients
   ============================================================ */
.text-gradient {
    background: linear-gradient(135deg, #00ffaa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-core {
    background: linear-gradient(135deg, #3b82f6 0%, #544dda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-flex {
    background: linear-gradient(135deg, #087651 0%, #25e99e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-mind {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   Client Needs Section
   ============================================================ */
.needs-section {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(26, 31, 58, 0.3) 50%, rgba(10, 14, 39, 0) 100%);
    padding: 8rem 0;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.need-card {
    background: linear-gradient(
        135deg,
        rgba(26, 31, 58, 0.5) 0%,
        rgba(15, 18, 41, 0.5) 100%);
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    backdrop-filter: blur(12px);
}

.need-card:hover {
    border-color: rgba(0, 166, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 179, 255, 0.15);
}

.need-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s;
}

.need-card:hover .need-icon {
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.3) 0%, rgba(59, 130, 246, 0.3) 100%);
    transform: scale(1.1);
}

.need-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.need-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.needs-cta {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 170, 0.1);
}

.needs-cta-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

/* ============================================================
   Divisions Section (Index)
   ============================================================ */
.divisions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.division-card {
    background: linear-gradient(to bottom, var(--bg-dark-alt), var(--bg-darker));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.division-card[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease-out forwards;
}

.division-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 183, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 234, 255, 0.2);
}

.division-icon {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    justify-content: left;
    transition: transform 0.3s;
}

.icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #00ffaa 100%);
}

.icon-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.division-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.division-tagline {
    font-weight: 600;
    margin-bottom: 1rem;
}

.tagline-core { color: #3b99f6; }
.tagline-flex { color: #00ffaa; }
.tagline-mind { color: #ad8dfa; }

.division-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.division-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.division-features li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.division-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.division-btn {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 204, 255, 0.556);
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.division-btn:hover {
    background: rgba(0, 110, 255, 0.1);
    border-color: var(--primary-color);
}

.division-btn svg {
    transition: transform 0.3s;
}

.division-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   Custom Development Section
   ============================================================ */
.custom-dev-card {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(46, 170, 247, 0.3);
    border-radius: 24px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.custom-dev-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.custom-dev-badge svg {
    width: 24px;
    height: 24px;
}

.custom-dev-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.custom-dev-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.custom-dev-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.custom-dev-features {
    list-style: none;
    margin-bottom: 2rem;
}

.custom-dev-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    padding: 0.75rem 0;
}

.custom-dev-features li svg {
    width: 24px;
    height: 24px;
    padding: 4px;
    background: linear-gradient(135deg, #1949b2 0%, #3b82f6 100%);
    border-radius: 6px;
    flex-shrink: 0;
}

.custom-dev-visual {
    position: relative;
}

.code-visual {
    background: linear-gradient(to bottom, var(--bg-dark-alt), var(--bg-darker));
    border: 1px solid rgba(0, 234, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
}

.code-line {
    height: 16px;
    border-radius: 4px;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.line-1 {
    background: linear-gradient(90deg, #00ffaa 0%, #3b82f6 100%);
    width: 75%;
}

.line-2 {
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
    width: 50%;
    animation-delay: 0.15s;
}

.line-3 {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    width: 85%;
    animation-delay: 0.3s;
}

.code-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

.code-block {
    width: 100%;
    height: 96px;
    margin-bottom: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 170, 0.3);
}

/* ===== BLOCK 1 - Binary Animation ===== */
.block-1 {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
}

.binary-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    justify-content: center;
}

.binary-line {
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    color: #0ff;
    text-shadow: 0 0 4px #0ff;
    white-space: nowrap;
    letter-spacing: 2px;
}

.binary-line:nth-child(odd) {
    animation: scrollRight 8s linear infinite;
}

.binary-line:nth-child(even) {
    animation: scrollLeft 8s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

/* ===== BLOCK 2 - Puzzle Pieces ===== */
.block-2 {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.puzzle-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 8px;
}

.puzzle-piece {
    background: rgba(100, 150, 255, 0.6);
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: puzzleCycle 6s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(100, 150, 255, 0.5);
}

/* Formas de puzzle con mask */
.piece-1 {
    mask: radial-gradient(circle at 0% 0%, transparent 8px, black 8px);
    animation-delay: 0s;
}
.piece-2 {
    mask: radial-gradient(circle at 100% 0%, transparent 8px, black 8px);
    animation-delay: 0.2s;
}
.piece-3 {
    mask: radial-gradient(circle at 0% 100%, transparent 8px, black 8px);
    animation-delay: 0.4s;
}
.piece-4 {
    mask: radial-gradient(circle at 100% 100%, transparent 8px, black 8px);
    animation-delay: 0.6s;
}

@keyframes puzzleCycle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(calc(20% * var(--dir-x, 1)), calc(20% * var(--dir-y, 1))) scale(0.95);
        opacity: 1;
    }
}

/* Ajuste de direcciones individuales */
.piece-1 { --dir-x: -1; --dir-y: -1; }
.piece-2 { --dir-x: 1; --dir-y: -1; }
.piece-3 { --dir-x: -1; --dir-y: 1; }
.piece-4 { --dir-x: 1; --dir-y: 1; }

/* ===== BLOCK 3 - Mouse Adjusting UI ===== */
.block-3 {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-adjust {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.slider-track {
    position: relative;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
}

.slider-fill {
    position: absolute;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0ff, #f0f);
    border-radius: 4px;
    animation: fillMove 4s ease-in-out infinite alternate;
}

.slider-thumb {
    position: absolute;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 0%;
    animation: thumbMove 4s ease-in-out infinite alternate;
    box-shadow: 0 0 6px cyan;
}

.ui-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cursor-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: cursorGlow 1s infinite alternate;
    box-shadow: 0 0 6px white;
}

.level-bar {
    flex: 1;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.level-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0ff, #f0f);
    border-radius: 10px;
    animation: levelFill 4s ease-in-out infinite alternate;
}

@keyframes fillMove {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes thumbMove {
    0% { left: 0%; }
    100% { left: 100%; }
}

@keyframes levelFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes cursorGlow {
    0% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1.2); }
}

.visual-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.2;
    z-index: -1;
}

.glow-1 {
    width: 96px;
    height: 96px;
    background: linear-gradient(135deg, #00ffaa, #3b82f6);
    top: -1rem;
    right: -1rem;
}

.glow-2 {
    width: 128px;
    height: 128px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    bottom: -1rem;
    left: -1rem;
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-form-container {
    background: linear-gradient(to bottom, var(--bg-dark-alt), var(--bg-darker));
    border: 1px solid rgba(0, 225, 255, 0.3);
    border-radius: 16px;
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 225, 255, 0.3);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group select option {
    background: var(--bg-dark-alt);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 255, 170, 0.1);
}

.form-group textarea {
    resize: vertical;
}
/* ============================================================
   Estilos para VettaMind mejorado (IA + IoT + PYMES)
   ============================================================ */

/* Sección IA + IoT */
.ai-iot-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.03) 0%, rgba(10, 14, 39, 0) 100%);
    position: relative;
    z-index: 10;
}

.ai-iot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.ai-iot-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(15, 18, 41, 0.6));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.ai-iot-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.ai-iot-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #a78bfa;
    transition: all 0.3s;
}

.ai-iot-card:hover .ai-iot-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(139, 92, 246, 0.1));
}

.ai-iot-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.ai-iot-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.impact-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #a78bfa;
}

/* Sección IA para PYMES */
.ia-pymes-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.pymes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pyme-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.5), rgba(15, 18, 41, 0.5));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.pyme-card:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.08);
}

.pyme-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #a78bfa;
}

.pyme-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.pyme-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.pyme-card strong {
    color: #a78bfa;
}

/* Sección Beneficios IA */
.benefits-ia-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(10, 14, 39, 0));
    position: relative;
    z-index: 10;
}

.benefits-ia-header {
    text-align: center;
    margin-bottom: 3rem;
}

.benefits-ia-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.benefits-ia-header p {
    color: var(--text-secondary);
}

.benefits-ia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.benefit-ia-item {
    padding: 1.5rem;
}

.benefit-ia-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.benefit-ia-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Back link mind color */
.back-link--mind {
    color: #a78bfa;
}

/* Responsive */
@media (max-width: 768px) {
    .ai-iot-grid {
        grid-template-columns: 1fr;
    }
    
    .pymes-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-ia-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .benefit-ia-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .benefits-ia-grid {
        grid-template-columns: 1fr;
    }
    
    .pyme-card {
        padding: 1.5rem;
    }
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-icon img {
    width: 150px;
    height: auto;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 900;
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-column h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.footer-contact li {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-contact a:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.footer-contact a:active,
.footer-contact a:visited {
    color: var(--text-muted);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ============================================================
   Subpage — Common Layout
   ============================================================ */

/* Hero area for subpages */
.subpage-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    position: relative;
    z-index: 10;
}

/* Back navigation link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 2rem;
    margin-top: 2rem;
    font-weight: 600;
    transition: all 0.3s;
}

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

/* Override color per division */
.back-link--flex  { color: #25e99e; }
.back-link--mind  { color: #a78bfa; }

/* Subpage icon banner */
.subpage-icon {
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.subpage-icon img {
    width: 500px;
    max-width: 100%;
    height: auto;
}

/* Subpage hero text */
.subpage-lead {
    font-size: 1.5rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 2rem;
}

.subpage-body {
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* ============================================================
   Feature Cards Grid (Subpages)
   ============================================================ */
.features-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.features-section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
}

.features-section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Base feature card */
.feature-item {
    background: linear-gradient(to bottom, var(--bg-dark-alt), var(--bg-darker));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* VettaCore — blue accent */
.feature-item--core {
    border-color: rgba(59, 130, 246, 0.2);
}

.feature-item--core:hover {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.feature-item--core h3 {
    background: linear-gradient(135deg, #3b82f6 0%, #544dda 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* VettaFlex — green accent */
.feature-item--flex {
    border-color: rgba(8, 138, 79, 0.3);
}

.feature-item--flex:hover {
    border-color: rgba(8, 138, 79, 0.6);
    box-shadow: 0 10px 30px rgba(8, 138, 79, 0.1);
}

.feature-item--flex h3 {
    background: linear-gradient(135deg, #5cf6b1 0%, #078136 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* VettaMind — purple accent */
.feature-item--mind {
    border-color: rgba(139, 92, 246, 0.2);
}

.feature-item--mind:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.feature-item--mind h3 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ============================================================
   Estilos para VettaFlex mejorado (IoT + Automation)
   ============================================================ */

/* Use Cases Grid */
.iot-automation-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.3) 0%, rgba(16, 185, 129, 0.05) 100%);
    position: relative;
    z-index: 10;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(15, 18, 41, 0.6));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.use-case-card:hover {
    transform: translateY(-5px);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #25e99e;
    transition: all 0.3s;
}

.use-case-card:hover .use-case-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(16, 185, 129, 0.1));
}

.use-case-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tags span {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 0.25rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #25e99e;
}

/* Arquitectura IoT Section */
.iot-architecture {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.architecture-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.architecture-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.architecture-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.architecture-stack {
    margin-bottom: 2rem;
}

.stack-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(16, 185, 129, 0.5);
}

.stack-item strong {
    display: block;
    color: #25e99e;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.stack-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.architecture-visual {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(10, 14, 39, 0.5));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 24px;
    padding: 2rem;
    min-height: 400px;
    position: relative;
}

.iot-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.iot-node {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
    border: 2px solid #25e99e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.iot-node::before {
    content: '';
    width: 10px;
    height: 10px;
    background: #25e99e;
    border-radius: 50%;
    box-shadow: 0 0 10px #25e99e;
}

.node-1 { top: 10%; left: 10%; animation-delay: 0s; }
.node-2 { top: 60%; left: 20%; animation-delay: 0.5s; }
.node-3 { top: 30%; left: 70%; animation-delay: 1s; }
.node-4 { top: 70%; left: 70%; animation-delay: 1.5s; }

.iot-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.2) 0px, rgba(16, 185, 129, 0.2) 1px, transparent 1px, transparent 20px),
        repeating-linear-gradient(0deg, rgba(16, 185, 129, 0.2) 0px, rgba(16, 185, 129, 0.2) 1px, transparent 1px, transparent 20px);
    pointer-events: none;
}

/* Beneficios Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.02) 0%, rgba(10, 14, 39, 0) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.4), rgba(15, 18, 41, 0.4));
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 16px;
    transition: all 0.3s;
}

.benefit-item:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
}

.benefit-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #25e99e, #087651);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.benefit-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
    
    .architecture-content {
        grid-template-columns: 1fr;
    }
    
    .architecture-visual {
        min-height: 300px;
        order: -1;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .iot-node {
        width: 45px;
        height: 45px;
    }
}
/* ============================================================
   Estilos para VettaCore (Redes y Servidores)
   ============================================================ */

/* Certifications Banner */
.certifications-section {
    padding: 2rem 0 0 0;
    position: relative;
    z-index: 10;
}

.cert-banner {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(26, 31, 58, 0.5));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 60px;
    padding: 1rem 2rem;
    backdrop-filter: blur(10px);
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
}

.cert-item svg {
    width: 24px;
    height: 24px;
}

/* Infra Solutions Grid */
.infra-solutions {
    padding: 5rem 0;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.3) 0%, rgba(59, 130, 246, 0.03) 100%);
    position: relative;
    z-index: 10;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(15, 18, 41, 0.6));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    text-align: center;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #3b82f6;
    transition: all 0.3s;
}

.solution-card:hover .solution-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.1));
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tech Stack Section */
.tech-stack-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
}

.tech-stack-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-stack-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tech-stack-header p {
    color: var(--text-secondary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.4), rgba(15, 18, 41, 0.4));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.tech-category:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-3px);
}

.tech-category h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
}

.tech-category ul {
    list-style: none;
}

.tech-category li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-category li::before {
    content: '▹';
    color: #3b82f6;
    font-size: 0.7rem;
}

/* Benefits Core Section */
.benefits-section-core {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(10, 14, 39, 0));
    position: relative;
    z-index: 10;
}

.benefits-core-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.benefit-core-item {
    padding: 1.5rem;
}

.benefit-core-number {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.benefit-core-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Back link core color */
.back-link--core {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 768px) {
    .cert-banner {
        flex-direction: column;
        align-items: center;
        border-radius: 24px;
        gap: 1rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-core-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .benefits-core-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-item {
        font-size: 0.8rem;
    }
}
/* ============================================================
   Carrusel de Logos - Estilo Minimalista
   ============================================================ */

.tech-stack-section {
    padding: 5rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    background: transparent;
}

.tech-stack-header {
    text-align: center;
    margin-bottom: 3rem;
}

.tech-stack-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.tech-stack-header p {
    color: var(--text-secondary);
}

/* Carrusel - Sin bordes, sin fondos */
.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

/* Efecto fade en los bordes (opcional, para mejor experiencia) */
.logo-carousel::before,
.logo-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}

/*.logo-carousel::before {
    left: 0;
    background: linear-gradient(to right, #0a0e27, transparent);
}

.logo-carousel::after {
    right: 0;
    background: linear-gradient(to left, #0a0e27, transparent);
}*/

.logo-track {
    display: flex;
    gap: 3rem;
    animation: scrollLogos 30s linear infinite;
    width: fit-content;
    align-items: center;
}

.logo-track:hover {
    animation-play-state: paused;
}

/* Logo item - Solo la imagen y texto, sin marcos */
.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(59, 130, 246, 0.5));
}

.logo-item span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    transition: color 0.3s;
    letter-spacing: 0.5px;
}

.logo-item:hover span {
    color: #3b82f6;
}

/* Animación del scroll */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-track {
        gap: 2rem;
    }
    
    .logo-item img {
        width: 40px;
        height: 40px;
    }
    
    .logo-item span {
        font-size: 0.6rem;
    }
    
    .logo-carousel::before,
    .logo-carousel::after {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .logo-track {
        gap: 1.5rem;
    }
    
    .logo-item img {
        width: 32px;
        height: 32px;
    }
    
    .logo-item span {
        font-size: 0.55rem;
    }
}

/* ============================================================
   Estilos para la Sección IoT
   ============================================================ */
.iot-solutions {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.5) 0%, rgba(0, 20, 40, 0.3) 100%);
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

.iot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.iot-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.7) 0%, rgba(15, 18, 41, 0.7) 100%);
    border: 1px solid rgba(0, 255, 170, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    text-align: center;
}

.iot-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 170, 0.6);
    box-shadow: 0 20px 35px -15px rgba(0, 255, 170, 0.2);
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.9) 0%, rgba(15, 18, 41, 0.9) 100%);
}

.iot-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(0, 255, 170, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #00ffaa;
    transition: all 0.3s ease;
}

.iot-card:hover .iot-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 255, 170, 0.25), rgba(59, 130, 246, 0.25));
    box-shadow: 0 0 15px rgba(0, 255, 170, 0.4);
}

.iot-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #a0c0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.iot-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.iot-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid rgba(0, 255, 170, 0.2);
}

.iot-cta-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* Ajustes responsivos para la sección IoT */
@media (max-width: 768px) {
    .iot-grid {
        gap: 1.5rem;
    }
    .iot-card {
        padding: 1.5rem;
    }
    .iot-cta-text {
        font-size: 1.2rem;
    }
}

/* ============================================================
   CTA Banner (Subpages)
   ============================================================ */
.cta-section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.cta-box {
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
}

.cta-box--core {
    background: linear-gradient(135deg, rgba(0, 89, 255, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.cta-box--flex {
    background: linear-gradient(135deg, rgba(92, 246, 187, 0.1) 0%, rgba(14, 91, 100, 0.1) 100%);
    border: 1px solid rgba(37, 233, 158, 0.3);
}

.cta-box--mind {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.cta-box h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1; }
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg-dark-alt);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid var(--border-color);
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .custom-dev-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

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

    .subpage-icon img {
        width: 100%;
        max-width: 320px;
    }

    .features-section-title {
        font-size: 2rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container,
    .container-small {
        padding: 0 1rem;
    }

    .custom-dev-card {
        padding: 1.5rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }

    .subpage-lead {
        font-size: 1.2rem;
    }
}

/* ============================================================
   Contact Page — Full Layout
   ============================================================ */

/* Page hero */
.contact-page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.contact-page-hero .container {
    width: 100%;
}

.contact-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

/* Info cards row */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(15, 18, 41, 0.6));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s;
    backdrop-filter: blur(12px);
}

.contact-info-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 179, 255, 0.1);
}

.contact-info-card .card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.15), rgba(59, 130, 246, 0.15));
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    transition: all 0.3s;
}

.contact-info-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.25), rgba(59, 130, 246, 0.25));
    transform: scale(1.1);
}

.contact-info-card h3 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
    display: block;
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* Two-column layout: form + sidebar */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
    align-items: start;
}

/* Big form */
.contact-big-form-container {
    background: linear-gradient(to bottom, var(--bg-dark-alt), var(--bg-darker));
    border: 1px solid rgba(0, 225, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
}

.contact-big-form-container h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-big-form-container > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(15, 18, 41, 0.6));
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(12px);
}

.sidebar-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.sidebar-card .sidebar-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-card .sidebar-item:last-child {
    margin-bottom: 0;
}

.sidebar-item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(0, 234, 255, 0.12), rgba(59, 130, 246, 0.12));
    border: 1px solid var(--border-color);
    color: var(--primary-color);
}

/* Social links row */
.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.social-link:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.08);
}

/* Divisions quick nav */
.divisions-quick-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.division-quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.division-quick-link:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--border-color);
    color: var(--text-primary);
}

.division-quick-link .dql-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Form success message */
.form-success {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-success.visible {
    display: block;
}

.form-success .success-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #00ffaa, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.form-success p {
    color: var(--text-secondary);
}
/* Estilos para mensajes del formulario */
.form-success,
.form-error {
    margin-bottom: 2rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.3s ease-out;
}

.form-success {
    border-left: 4px solid #10b981;
}

.form-error {
    border-left: 4px solid #ef4444;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ============================================================
   Botón Flotante de WhatsApp con Transición Fluida
   ============================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    pointer-events: none; /* Asegura que el contenedor no intercepte clics accidentalmente */
}

.whatsapp-float .whatsapp-button {
    pointer-events: all;
}

/* Estado inicial - dentro del hero */
.whatsapp-float.large {
    bottom: 30px;
    right: 30px;
    top: auto;
}

.whatsapp-float.large .whatsapp-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.whatsapp-float.large .whatsapp-icon {
    width: 65px;
    height: 65px;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Estado sticky - fuera del hero */
.whatsapp-float.small {
    bottom: auto;
    top: 80px;
    right: 30px;
}

.whatsapp-float.small .whatsapp-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.whatsapp-float.small .whatsapp-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Botón base */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}



/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: linear-gradient(135deg, #00ffaa, #3b82f6);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.9);
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Efecto hover del botón */
.whatsapp-button:hover {
    transform: scale(1.08) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Animación de pulso solo en estado grande (dentro del hero) */
.whatsapp-float.large .whatsapp-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Efecto de entrada suave al cargar la página */
.whatsapp-float.initial {
    animation: floatIn 0.6s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Efecto de "rebote" al cambiar de posición -> ahora Teletransportación */
.whatsapp-float.teleporting-out {
    animation: teleportOut 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}
.whatsapp-float.teleporting-in {
    animation: teleportIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes teleportOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes teleportIn {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) rotate(-10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}
/* Responsive */
@media (max-width: 900px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }
    .whatsapp-float {
        z-index: 9999;
    }
    
    .whatsapp-float.large .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float.large .whatsapp-icon {
        width: 55px;
        height: 55px;
        margin: 0;
    }
    
    .whatsapp-float.small {
        top: auto !important;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float.large {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float.small .whatsapp-button {
        width: 44px;
        height: 44px;
    }
    
    .whatsapp-float.small .whatsapp-icon {
        width: 44px;
        height: 44px;
        margin: 0;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-big-form-container {
        padding: 1.5rem;
    }
    .whatsapp-float.small, .whatsapp-float.large {
        bottom: 15px;
        right: 15px;
    }
}

/* Form error message */
.form-error {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
}

.form-error.visible {
    display: block;
}

.form-error .error-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.form-error h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.form-error p {
    color: var(--text-secondary);
}

.form-error a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Spinning loader for submit button */
@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}