/* ============================================================
   NovaAFYS Tech Solutions — Hoja de Estilos Principal
   styles.css
   ============================================================ */

/* ── Variables globales ── */
:root {
    /* Paleta NovaAFYS — Azul VS Code #007ACC sobre dark */
    --bg-primary: #0A0F1E;
    --bg-secondary: #0D1525;
    --bg-card: #111827;
    --bg-card-hover: #1A2540;
    --bg-light: #e8edf5;
    --bg-light-card: #eef2fa;

    --text-primary: #E5E7EB;
    --text-secondary: #9CA3AF;
    --text-dark: #0a0f1e;
    --text-muted: #6B7280;

    /* Acentos — Azul #007ACC — VS Code Blue */
    --accent-primary: #007ACC;
    --accent-secondary: #1A9FFF;
    --accent-dark: #005A9E;
    --accent-light: #A8D8FF;
    --accent-glow: rgba(0, 122, 204, 0.12);

    /* Gradientes NovaAFYS */
    --gradient-primary: linear-gradient(135deg, #005A9E 0%, #007ACC 100%);
    --gradient-hero: linear-gradient(180deg, #060C1A 0%, #0D1525 50%, #111827 100%);
    --gradient-card: linear-gradient(145deg, rgba(0, 122, 204, 0.08) 0%, rgba(0, 122, 204, 0.3) 100%);

    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 30px rgba(0, 122, 204, 0.25);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --border-subtle: 1px solid rgba(0, 122, 204, 0.3);

    /*color nav para responsive */
    --nav-media : rgba(22, 36, 56, 0.98);
}

/* ── Reset y base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-dark); border-radius: 4px; }

/* ── NAVIGATION ── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}
.navbar.scrolled {
    background: var( --gradient-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    border-bottom: var(--border-subtle);
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}
.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 122, 204, 0.4));
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition-smooth);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}
.nav-links a:hover { color: var(--accent-primary); }
.nav-links a:hover::after { width: 100%; }
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ── HERO ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 120px 2rem 80px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 90, 158, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 122, 204, 0.07) 0%, transparent 50%);
    pointer-events: none;
}
.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 20s infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}
.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.hero-text h1 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 90, 158, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: var(--border-subtle);
}
.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: var(--accent-glow);
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-logo-container {
    position: relative;
    width: 400px;
    height: 400px;
}
.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 122, 204, 0.35));
    animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 40px rgba(0, 122, 204, 0.3)); }
    50% { filter: drop-shadow(0 0 60px rgba(0, 122, 204, 0.55)); }
}
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(0, 122, 204, 0.15);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.orbit-ring:nth-child(2) {
    width: 500px;
    height: 500px;
    animation: orbit-rotate 25s linear infinite;
}
.orbit-ring:nth-child(3) {
    width: 600px;
    height: 600px;
    border-color: rgba(0, 90, 158, 0.1);
    animation: orbit-rotate 35s linear infinite reverse;
}
@keyframes orbit-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── SECTIONS COMUNES ── */
.section {
    padding: 100px 2rem;
    position: relative;
}
.section-container {
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.section-tag {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ── ABOUT ── */
.about {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-image { position: relative; }
.about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: var(--shadow-glow);
}
.about-image::before {
    content: '';
    position: absolute;
    top: -15px; left: -15px;
    right: 15px; bottom: 15px;
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: 16px;
    opacity: 0.5;
}
.about-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: var(--border-subtle);
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ── SERVICES ── */
.services { background: var(--bg-secondary); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-smooth);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 122, 204, 0.3);
    background: var(--bg-card-hover);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 90, 158, 0.3);
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── CLIENTS CAROUSEL ── */
.clients {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
}
.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.client-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    min-width: 280px;
    max-width: 280px;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}
.client-card:hover {
    border-color: rgba(0, 122, 204, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}
.client-logo {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}
.client-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}
.client-type {
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}
.client-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.client-service-tag {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: var(--accent-glow);
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--accent-primary);
    font-weight: 500;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 122, 204, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.carousel-dot.active {
    background: var(--accent-primary);
    width: 24px;
    border-radius: 4px;
}

/* ── VALUE PROPOSITION ── */
.value-prop {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    position: relative;
    overflow: hidden;
}
.value-prop::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0, 90, 158, 0.04) 0%, transparent 70%);
    animation: rotate-slow 40s linear infinite;
}
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}
.value-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
}
.value-card:hover {
    transform: scale(1.03);
    border-color: rgba(0, 122, 204, 0.3);
    box-shadow: var(--shadow-glow);
}
.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 90, 158, 0.3);
}
.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.value-card p { color: var(--text-secondary); line-height: 1.7; }

/* ── MISSION VISION ── */
.mvo {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.mvo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.mvo-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.mvo-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}
.mvo-card:hover { transform: translateY(-5px); border-color: rgba(0, 122, 204, 0.3); }
.mvo-card:hover::after { opacity: 0.04; }
.mvo-card > * { position: relative; z-index: 1; }
.mvo-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; }
.mvo-card h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}
.mvo-card p { color: var(--text-secondary); line-height: 1.8; }

/* ── OBJECTIVES ── */
.objectives { background: var(--bg-secondary); }
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.objective-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.objective-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 122, 204, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.objective-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.objective-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-primary);
}
.objective-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ── CONTACT ── */
.contact {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}
.contact-info-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.contact-info-centered h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.contact-info-centered p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: var(--border-subtle);
    text-align: left;
}
.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: #fff;
}
.contact-item div strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}
.contact-item div span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ── FOOTER ── */
.footer {
    background: var(--bg-primary);
    padding: 60px 2rem 30px;
    border-top: var(--border-subtle);
}
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.footer-brand img { height: 50px; }
.footer-brand h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.footer-links h5 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent-primary); padding-left: 5px; }
.footer-bottom {
    border-top: var(--border-subtle);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── UTILITIES ── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 122, 204, 0.1);
    border: 1px solid rgba(0, 122, 204, 0.2);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.85rem;
    font-weight: 600;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: var(--border-subtle);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
}
.loading-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 90, 158, 0.4);
    z-index: 9998;
    padding: 1.5rem 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.4);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.cookie-text {
    flex: 3;
    min-width: 240px;
}
.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}
.cookie-text a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}
.cookie-text a:hover { text-decoration: underline; }
.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.cookie-btn {
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    background: transparent;
}
.cookie-btn-accept {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 12px rgba(0, 90, 158, 0.4);
}
.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.cookie-btn-settings {
    background: rgba(0, 122, 204, 0.15);
    border: 1px solid rgba(0, 122, 204, 0.5);
    color: var(--accent-primary);
}
.cookie-btn-settings:hover { background: rgba(0, 122, 204, 0.3); }
.cookie-btn-decline {
    border: 1px solid rgba(156, 163, 175, 0.5);
    color: var(--text-secondary);
}
.cookie-btn-decline:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 2rem; }
    .hero-buttons { justify-content: center; }
    .hero-visual { order: -1; }
    .hero-logo-container { width: 300px; height: 300px; }
    .about-grid { grid-template-columns: 1fr; }
    .mvo-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .carousel-container { padding: 0 40px; }
    .client-card { min-width: 260px; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--nav-media);
        flex-direction: column;
        padding: 2rem;
        backdrop-filter: blur(20px);
        border-bottom: var(--border-subtle);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 100px 1rem 60px; }
    .section { padding: 60px 1rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .carousel-container { padding: 0 30px; }
    .client-card { min-width: 240px; padding: 1.5rem; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
    .orbit-ring:nth-child(2) { width: 350px; height: 350px; }
    .orbit-ring:nth-child(3) { width: 420px; height: 420px; }
    .cookie-banner { padding: 1rem 1.5rem; }
    .cookie-buttons { width: 100%; justify-content: flex-end; }
}
@media (max-width: 480px) {
    .client-card { min-width: 200px; }
    .carousel-container { padding: 0 20px; }
}

/* ── PROTECCIÓN DE CONTENIDO (Anti-copia) ── */
body {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Permite selección solo en inputs y textarea (útil para formularios) */
input, textarea, [contenteditable="true"] {
    user-select: text;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
}

/* Evita selección de texto en botones */
button, .btn {
    user-select: none;
    -webkit-user-select: none;
}

/* ── COPY BUTTON ── */
.copyable-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn {
    background: none;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 6px;
    padding: 2px 7px;
    cursor: pointer;
    font-size: 0.75rem;
    line-height: 1.6;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: var(--accent-primary);
    color: #fff;
}

.copy-btn.copied {
    background: #16a34a;
    border-color: #16a34a;
    color: var(--gradient-hero);
}

/* ── TEXTO JUSTIFICADO ── */
p {
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}