/* =====================================================
   TECS PANAMÁ - LANDING PAGE PREMIUM DARK MODE
   Color Principal: Turquesa/Cian (#06B6D4)
   ===================================================== */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fondos */
    --bg-primary: #000000;
    --bg-secondary: #09090B;
    --bg-tertiary: #18181B;

    /* Color Principal: Turquesa/Cian */
    --primary-50: #ECFEFF;
    --primary-100: #CFFAFE;
    --primary-200: #A5F3FC;
    --primary-300: #67E8F9;
    --primary-400: #22D3EE;
    --primary-500: #06B6D4;
    --primary-600: #0891B2;
    --primary-700: #0E7490;
    --primary-800: #155E75;
    --primary-900: #164E63;

    /* Textos */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
    --text-quaternary: #71717A;

    /* Acentos Secundarios */
    --success: #22C55E;
    --info: #3B82F6;
    --warning: #F59E0B;

    /* Tipografía */
    --font-display: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== PARTICLES BACKGROUND ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-500);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-particle 20s infinite ease-in-out;
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.4;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.8;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.6;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.8;
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    padding: 16px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-400);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-500);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg,
            var(--primary-600) 0%,
            var(--primary-500) 30%,
            var(--primary-400) 60%,
            var(--primary-500) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.5),
        0 4px 24px rgba(6, 182, 212, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 0 2px rgba(6, 182, 212, 0.8),
        0 8px 40px rgba(6, 182, 212, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-400);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 2px solid var(--primary-500);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.1);
    border-color: var(--primary-400);
    transform: translateY(-2px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.btn-nav {
    padding: 12px 24px;
    font-size: 14px;
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(6, 182, 212, 0.5),
            0 4px 24px rgba(6, 182, 212, 0.4),
            0 0 60px rgba(6, 182, 212, 0.3);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(6, 182, 212, 0.8),
            0 8px 40px rgba(6, 182, 212, 0.6),
            0 0 80px rgba(6, 182, 212, 0.5);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    color: var(--primary-300);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 76px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-400) 0%, var(--primary-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 32px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: scale-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-400);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-quaternary);
    margin-top: 8px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere {
    width: 500px;
    height: 500px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.sphere-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.2) 100%);
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.3);
    box-shadow:
        0 0 60px rgba(6, 182, 212, 0.4),
        0 0 120px rgba(6, 182, 212, 0.3),
        inset 0 0 60px rgba(6, 182, 212, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(2deg);
    }

    50% {
        transform: translateY(-10px) rotate(-2deg);
    }

    75% {
        transform: translateY(-30px) rotate(1deg);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fade-in-rotate {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }

    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

/* ===== SOCIAL PROOF ===== */
.social-proof {
    padding: 60px 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.social-proof-text {
    text-align: center;
    color: var(--text-quaternary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.social-proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-item {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-tertiary);
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.proof-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    color: var(--primary-400);
}

/* ===== SECTIONS ===== */
.services,
.about,
.testimonials,
.contact {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-400);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 6px 12px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: linear-gradient(135deg,
            rgba(6, 182, 212, 0.08) 0%,
            rgba(6, 182, 212, 0.04) 50%,
            rgba(6, 182, 212, 0.08) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 32px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.3),
        0 2px 4px -2px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    box-shadow: 0 25px 50px -12px rgba(6, 182, 212, 0.35);
    transform: translateY(-4px);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    perspective: 1000px;
}

/* ===== FLIP CARDS ===== */
.service-card-flip {
    perspective: 1000px;
    height: 400px;
    position: relative;
    z-index: 1;
}

.service-card-flip:hover {
    z-index: 10;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-flip:hover .service-card-inner,
.service-card-flip.flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.service-card-front {
    z-index: 2;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 32px 24px;
}

.service-title-front {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    box-sizing: border-box;
}

.service-title-back {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 10px;
    flex-shrink: 0;
}

.service-description {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    flex-shrink: 1;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-300);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 6px 12px;
    border-radius: 12px;
}

/* ===== DIAGNÓSTICO CTA ===== */
.diagnostico-cta {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
}

.diagnostico-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 48px;
}

.diagnostico-icon {
    font-size: 80px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px rgba(6, 182, 212, 0.6));
}

.diagnostico-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.diagnostico-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.diagnostico-subtitle strong {
    color: var(--primary-400);
}

.diagnostico-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 16px;
    color: var(--text-secondary);
}

.benefit-icon {
    font-size: 24px;
}

.diagnostico-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--warning);
    font-weight: 500;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(6, 182, 212, 0.2) 100%);
    border: 2px solid rgba(6, 182, 212, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.about-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(6, 182, 212, 0.5));
}

.about-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.about-values {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.value-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

.about-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.cert-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-300);
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 8px 16px;
    border-radius: 16px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    padding: 32px;
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(6, 182, 212, 0.2);
    border: 2px solid var(--primary-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.author-info h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-quaternary);
}

/* ===== CTA FINAL ===== */
.cta-final {
    padding: 120px 0;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
    text-align: center;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-tertiary);
    max-width: 800px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-urgency {
    font-size: 16px;
    color: var(--warning);
    font-weight: 600;
}

/* ===== CONTACT ===== */
.contact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.contact-item {
    text-align: center;
    padding: 40px 32px;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-item h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-400);
    margin-bottom: 16px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-400);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--primary-400);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-tertiary);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-400);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social a {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(6, 182, 212, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-quaternary);
    margin-bottom: 8px;
}

/* ===== GLOW EFFECTS ===== */
.glow-primary {
    filter: drop-shadow(0 0 20px rgba(6, 182, 212, 0.6)) drop-shadow(0 0 40px rgba(6, 182, 212, 0.4)) drop-shadow(0 0 60px rgba(6, 182, 212, 0.3));
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1023px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 48px;
    }

    .sphere {
        width: 350px;
        height: 350px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(6, 182, 212, 0.2);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .sphere {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card-flip {
        height: 350px;
    }

    .diagnostico-benefits {
        grid-template-columns: 1fr;
    }

    .diagnostico-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .particle:nth-child(n+20) {
        display: none;
    }
}