/* ========== CSS Variables & Base ========== */
:root {
    --primary-dark-blue: #02457F;
    --secondary-blue: #568FAF;
    --accent-blue: #028FDA;
    --tech-light-blue: #4AAFE2;
    --soft-bg-blue: #AAD0E3;
    --white: #FDFEFE;
    --dark-bg: #0A0E27;
    --card-bg: #1a1f3a;
    --text-primary: #FDFEFE;
    --text-secondary: #AAD0E3;
    --radius: 16px;
    --radius-lg: 24px;
    --max-width: 1200px;
    --shadow-sm: 0 4px 12px rgba(2, 79, 218, 0.1);
    --shadow-md: 0 12px 32px rgba(2, 79, 218, 0.15);
    --glow: 0 0 30px rgba(2, 143, 218, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1428 50%, #1a1f3a 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: 0.4px;
    overflow-x: hidden;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--tech-light-blue);
}

a:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
}

/* ========== Utility Classes ========== */
.container {
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    padding: 0 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
}

/* ========== Header & Navigation ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(2, 143, 218, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    transition: all 0.3s ease;
}

.logo svg {
    width: 32px;
    height: 32px;
    transition: all 0.3s ease;
}

.logo:hover svg {
    filter: drop-shadow(0 0 8px var(--accent-blue));
}

.logo-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-brand:hover .logo-img {
    filter: drop-shadow(0 0 8px var(--accent-blue));
    transform: scale(1.05);
}

.brand-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo-brand:hover .brand-name {
    letter-spacing: 3px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--accent-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem;
        gap: 1rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, visibility 0.3s ease;
        border-bottom: 1px solid rgba(2, 143, 218, 0.1);
        visibility: hidden;
    }

    .nav-menu.active {
        max-height: 400px;
        visibility: visible;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--tech-light-blue), transparent);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(0, 50px);
    }
    75% {
        transform: translate(-30px, -30px);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    background: linear-gradient(135deg, var(--white) 0%, var(--tech-light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    animation: slideUp 0.8s ease-out 0.6s both;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: rgba(2, 143, 218, 0.1);
    border: 1px solid rgba(2, 143, 218, 0.3);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(2, 143, 218, 0.2);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: slideUp 0.8s ease-out 0.8s both;
}

.info-item {
    padding: 1rem;
    background: rgba(2, 143, 218, 0.05);
    border-left: 3px solid var(--accent-blue);
    border-radius: 8px;
    font-size: 0.95rem;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    color: var(--white);
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(2, 143, 218, 0.5);
}

.btn-primary:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 4px;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    background: rgba(2, 143, 218, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* ========== Sections ========== */
section {
    padding: 80px 20px;
    position: relative;
}

@media (max-width: 768px) {
    section {
        padding: 50px 20px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }
}

.why-evok,
.services,
.plans,
.cybersecurity,
.about,
.contact {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(26, 31, 58, 0.5) 100%);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-card {
    padding: 2rem;
    background: rgba(2, 143, 218, 0.05);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.why-card:hover {
    background: rgba(2, 143, 218, 0.1);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.methodology-block {
    background: rgba(2, 143, 218, 0.08);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ========== Services Grid ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.05), rgba(4, 69, 127, 0.05));
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.15), rgba(4, 69, 127, 0.1));
    border-color: var(--accent-blue);
    transform: translateY(-8px);
    box-shadow: var(--glow);
}

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    color: var(--white);
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card h3 {
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== Plans ========== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.1), rgba(4, 69, 127, 0.1));
    border: 2px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    box-shadow: 0 0 30px rgba(2, 143, 218, 0.3), inset 0 0 20px rgba(2, 143, 218, 0.1);
}

.plan-featured {
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.2), rgba(4, 69, 127, 0.15));
    transform: scale(1.05);
}

.plan-featured:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 0 40px rgba(2, 143, 218, 0.5), inset 0 0 25px rgba(2, 143, 218, 0.2);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-header {
    margin-bottom: 2rem;
}

.plan-price {
    color: var(--accent-blue);
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.plan-features {
    list-style: none;
    margin: 2rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(2, 143, 218, 0.1);
}

.plan-card .btn {
    align-self: flex-start;
    margin-top: 1rem;
}

/* ========== Cybersecurity Section ========== */
.cyber-intro {
    background: rgba(2, 143, 218, 0.1);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--accent-blue);
    margin-bottom: 3rem;
    max-width: 800px;
}

.cyber-key-message {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.cyber-card {
    padding: 2rem;
    background: rgba(2, 143, 218, 0.08);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.cyber-card:hover {
    background: rgba(2, 143, 218, 0.15);
    border-color: var(--accent-blue);
    transform: translateY(-4px);
}

.cyber-details {
    margin-top: 1.5rem;
}

.cyber-details p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cyber-verdict {
    font-weight: 600;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(2, 143, 218, 0.2);
}

.cyber-cta-box {
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.15), rgba(4, 69, 127, 0.1));
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(2, 143, 218, 0.3);
    text-align: center;
    margin-top: 3rem;
}

/* ========== About Section ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-values ul {
    list-style: none;
}

.about-values li {
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgba(2, 143, 218, 0.08);
    border-left: 3px solid var(--accent-blue);
    border-radius: 8px;
    color: var(--text-secondary);
}

.mission-vision-block {
    display: grid;
    gap: 2rem;
}

.mission,
.vision {
    padding: 2rem;
    background: rgba(2, 143, 218, 0.1);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(2, 143, 218, 0.2);
    transition: all 0.3s ease;
}

.mission:hover,
.vision:hover {
    border-color: var(--accent-blue);
    background: rgba(2, 143, 218, 0.15);
}

.mission h3,
.vision h3 {
    color: var(--accent-blue);
}

/* ========== Diagnosis Section ========== */
.diagnosis {
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.2) 0%, rgba(4, 69, 127, 0.15) 100%);
    border-top: 2px solid rgba(2, 143, 218, 0.4);
    border-bottom: 2px solid rgba(2, 143, 218, 0.4);
}

.diagnosis-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.diagnosis h2 {
    color: var(--accent-blue);
    margin-bottom: 1.5rem;
}

.diagnosis p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ========== Contact Section ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.info-block {
    padding: 1.5rem;
    background: rgba(2, 143, 218, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(2, 143, 218, 0.2);
}

.info-block h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.contact-form {
    padding: 2rem;
    background: rgba(2, 143, 218, 0.08);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(10, 14, 39, 0.5);
    border: 1px solid rgba(2, 143, 218, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(10, 14, 39, 0.7);
    box-shadow: 0 0 0 3px rgba(2, 143, 218, 0.1);
}

.error-message {
    display: block;
    margin-top: 0.4rem;
    color: #ff6b6b;
    font-size: 0.85rem;
    min-height: 20px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-height: 40px;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4caf50;
}

.form-message.error {
    display: block;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(2, 69, 127, 0.3) 100%);
    border-top: 1px solid rgba(2, 143, 218, 0.2);
    padding: 3rem 20px 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.footer-logo h4 {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 143, 218, 0.1);
    border: 1px solid rgba(2, 143, 218, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(2, 143, 218, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ========== Animations ========== */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 1rem;
    }

    section {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-featured {
        transform: scale(1);
    }

    .plan-featured:hover {
        transform: translateY(-4px);
    }

    .cyber-grid {
        grid-template-columns: 1fr;
    }

    .methodology-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-badges {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========== SERVICIOS PAGE STYLES ========== */

/* Services Grid */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
    animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.8), rgba(26, 31, 58, 0.4));
    border: 1px solid rgba(2, 143, 218, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: auto;
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de borde brillante al hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-blue), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--glow), 0 20px 40px rgba(2, 143, 218, 0.2);
    border-color: var(--accent-blue);
    background: linear-gradient(135deg, rgba(26, 31, 58, 1), rgba(26, 31, 58, 0.7));
}

/* Service Icon */
.service-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.1), rgba(4, 175, 218, 0.15));
    border-radius: 12px;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(2, 143, 218, 0.2);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon img {
    transform: scale(1.08);
}

.service-card:hover .service-icon {
    box-shadow: inset 0 0 20px rgba(2, 143, 218, 0.3);
}

/* Service Title */
.service-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Service Description */
.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-bottom: 18px;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    opacity: 1;
    max-height: 300px;
    margin-bottom: 18px;
    color: var(--white);
}

/* Category Badge */
.category-badge {
    display: inline-block;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
    width: fit-content;
    transition: all 0.3s ease;
}

.service-card:hover .category-badge {
    transform: translateX(8px);
}

/* Badge Colors */
.badge-infraestructura {
    background: rgba(4, 175, 218, 0.2);
    color: #4AAFE2;
    border: 1px solid rgba(4, 175, 218, 0.4);
}

.badge-infraestructura:hover {
    background: rgba(4, 175, 218, 0.3);
    border-color: rgba(4, 175, 218, 0.6);
}

.badge-soporte {
    background: rgba(88, 143, 175, 0.2);
    color: #AAD0E3;
    border: 1px solid rgba(88, 143, 175, 0.4);
}

.badge-soporte:hover {
    background: rgba(88, 143, 175, 0.3);
    border-color: rgba(88, 143, 175, 0.6);
}

.badge-cloud {
    background: rgba(2, 69, 127, 0.3);
    color: #AAD0E3;
    border: 1px solid rgba(2, 69, 127, 0.5);
}

.badge-cloud:hover {
    background: rgba(2, 69, 127, 0.4);
    border-color: rgba(2, 69, 127, 0.7);
}

.badge-seguridad {
    background: rgba(239, 68, 68, 0.15);
    color: #FF9A8B;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-seguridad:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

.badge-productividad {
    background: rgba(251, 146, 60, 0.15);
    color: #FBAE42;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

.badge-productividad:hover {
    background: rgba(251, 146, 60, 0.25);
    border-color: rgba(251, 146, 60, 0.5);
}

/* Legend/Category Section */
.legend-section {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.6), rgba(26, 31, 58, 0.3));
    border: 1px solid rgba(2, 143, 218, 0.3);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-top: 60px;
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s ease-out 0.3s both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.legend-section h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--accent-blue);
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    background: rgba(2, 143, 218, 0.05);
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(2, 143, 218, 0.15);
    transform: translateX(8px);
}

.legend-badge {
    flex-shrink: 0;
}

.legend-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Stagger Animation */
.service-card {
    opacity: 0;
    animation: stagger 0.6s ease-out forwards;
}

@keyframes stagger {
    to {
        opacity: 1;
    }
}

.services-container > .service-card:nth-child(1) { animation-delay: 0.05s; }
.services-container > .service-card:nth-child(2) { animation-delay: 0.1s; }
.services-container > .service-card:nth-child(3) { animation-delay: 0.15s; }
.services-container > .service-card:nth-child(4) { animation-delay: 0.2s; }
.services-container > .service-card:nth-child(5) { animation-delay: 0.25s; }
.services-container > .service-card:nth-child(6) { animation-delay: 0.3s; }
.services-container > .service-card:nth-child(7) { animation-delay: 0.35s; }
.services-container > .service-card:nth-child(8) { animation-delay: 0.4s; }
.services-container > .service-card:nth-child(9) { animation-delay: 0.45s; }
.services-container > .service-card:nth-child(10) { animation-delay: 0.5s; }
.services-container > .service-card:nth-child(11) { animation-delay: 0.55s; }
.services-container > .service-card:nth-child(12) { animation-delay: 0.6s; }

/* Filter Section Styles */
.filter-section {
    background: transparent;
    border: none;
    padding: 32px 0;
    margin-bottom: 40px;
    backdrop-filter: none;
}

.filter-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark-blue, #02457F);
    margin: 0 0 20px 0;
    letter-spacing: 0.3px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(2, 141, 218, 0.1) 0%, rgba(2, 141, 218, 0.05) 100%);
    border: 2px solid rgba(2, 141, 218, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark-blue, #02457F);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.filter-btn:hover {
    background: linear-gradient(135deg, rgba(2, 141, 218, 0.15) 0%, rgba(2, 141, 218, 0.1) 100%);
    border-color: var(--accent-blue, #028FDA);
    box-shadow: 0 4px 12px rgba(2, 141, 218, 0.2);
    transform: translateY(-2px);
}

.filter-btn-active {
    background: linear-gradient(135deg, var(--accent-blue, #028FDA) 0%, #0263C0 100%);
    color: white;
    border-color: var(--accent-blue, #028FDA);
    box-shadow: 0 6px 20px rgba(2, 141, 218, 0.35);
}

.filter-btn-active:hover {
    box-shadow: 0 8px 28px rgba(2, 141, 218, 0.45);
    transform: translateY(-3px);
}

/* Color-specific filter buttons */
.filter-btn[data-filter="infraestructura"]:not(.filter-btn-active) {
    background: linear-gradient(135deg, rgba(74, 175, 226, 0.12) 0%, rgba(74, 175, 226, 0.06) 100%);
    border: 2px solid rgba(74, 175, 226, 0.35);
    color: #4AAFE2;
}

.filter-btn[data-filter="infraestructura"]:not(.filter-btn-active):hover {
    background: linear-gradient(135deg, rgba(74, 175, 226, 0.18) 0%, rgba(74, 175, 226, 0.1) 100%);
    border-color: #4AAFE2;
    box-shadow: 0 4px 12px rgba(74, 175, 226, 0.25);
}

.filter-btn[data-filter="soporte"]:not(.filter-btn-active) {
    background: linear-gradient(135deg, rgba(170, 208, 227, 0.12) 0%, rgba(170, 208, 227, 0.06) 100%);
    border: 2px solid rgba(170, 208, 227, 0.35);
    color: #AAD0E3;
}

.filter-btn[data-filter="soporte"]:not(.filter-btn-active):hover {
    background: linear-gradient(135deg, rgba(170, 208, 227, 0.18) 0%, rgba(170, 208, 227, 0.1) 100%);
    border-color: #AAD0E3;
    box-shadow: 0 4px 12px rgba(170, 208, 227, 0.25);
}

.filter-btn[data-filter="cloud"]:not(.filter-btn-active) {
    background: linear-gradient(135deg, rgba(170, 208, 227, 0.12) 0%, rgba(170, 208, 227, 0.06) 100%);
    border: 2px solid rgba(170, 208, 227, 0.35);
    color: #AAD0E3;
}

.filter-btn[data-filter="cloud"]:not(.filter-btn-active):hover {
    background: linear-gradient(135deg, rgba(170, 208, 227, 0.18) 0%, rgba(170, 208, 227, 0.1) 100%);
    border-color: #AAD0E3;
    box-shadow: 0 4px 12px rgba(170, 208, 227, 0.25);
}

.filter-btn[data-filter="seguridad"]:not(.filter-btn-active) {
    background: linear-gradient(135deg, rgba(255, 154, 139, 0.12) 0%, rgba(255, 154, 139, 0.06) 100%);
    border: 2px solid rgba(255, 154, 139, 0.35);
    color: #FF9A8B;
}

.filter-btn[data-filter="seguridad"]:not(.filter-btn-active):hover {
    background: linear-gradient(135deg, rgba(255, 154, 139, 0.18) 0%, rgba(255, 154, 139, 0.1) 100%);
    border-color: #FF9A8B;
    box-shadow: 0 4px 12px rgba(255, 154, 139, 0.25);
}

.filter-btn[data-filter="productividad"]:not(.filter-btn-active) {
    background: linear-gradient(135deg, rgba(251, 174, 66, 0.12) 0%, rgba(251, 174, 66, 0.06) 100%);
    border: 2px solid rgba(251, 174, 66, 0.35);
    color: #FBAE42;
}

.filter-btn[data-filter="productividad"]:not(.filter-btn-active):hover {
    background: linear-gradient(135deg, rgba(251, 174, 66, 0.18) 0%, rgba(251, 174, 66, 0.1) 100%);
    border-color: #FBAE42;
    box-shadow: 0 4px 12px rgba(251, 174, 66, 0.25);
}

.filter-badge {
    font-weight: 600;
    display: inline-block;
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    background: rgba(2, 141, 218, 0.15);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-blue, #028FDA);
}

.filter-btn-active .filter-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Service Card Display Toggle */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card.hidden {
    display: none;
    animation: none;
}

/* Responsive - Servicios */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .filter-section {
        padding: 24px 0;
        margin-bottom: 24px;
    }

    .filter-section h3 {
        font-size: 16px;
        margin-bottom: 16px;
        font-weight: 700;
    }

    .filter-buttons {
        gap: 10px;
        justify-content: flex-start;
    }

    .filter-btn {
        padding: 11px 16px;
        font-size: 13px;
        font-weight: 600;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .filter-badge {
        white-space: nowrap;
    }

    .filter-count {
        min-width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .service-card {
        min-height: auto;
        padding: 24px 18px;
        display: flex;
        flex-direction: column;
    }

    .service-icon {
        height: 160px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .service-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .service-card:hover .service-description {
        max-height: 400px;
        margin-bottom: 12px;
    }

    .category-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
        margin-top: auto;
    }

    .legend-section {
        padding: 25px;
    }
}

/* Extra small devices - Servicios */
@media (max-width: 480px) {
    .services-container {
        gap: 16px;
    }

    .filter-section {
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .filter-section h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .filter-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 40px;
        flex: 0 1 auto;
    }

    .filter-badge {
        font-size: 12px;
    }

    .filter-count {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }

    .service-card {
        padding: 18px 14px;
        min-height: unset;
    }

    .service-icon {
        height: 140px;
        margin-bottom: 12px;
    }

    .service-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .service-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .service-card:hover .service-description {
        max-height: 500px;
    }

    .category-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }
}

/* Touch Devices - Servicios */
@media (hover: none) and (pointer: coarse) {
    .service-card {
        min-height: auto;
    }

    .service-description {
        opacity: 1 !important;
        max-height: 300px !important;
        margin-bottom: 18px;
        color: var(--white);
        display: block;
    }

    .service-card:hover .service-description {
        opacity: 1;
        max-height: 300px;
    }

    .service-card::before {
        display: none;
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 28px rgba(2, 143, 218, 0.2);
    }

    .service-icon img {
        transform: scale(1.04);
    }

    .service-card:hover .service-icon img {
        transform: scale(1.04);
    }
}
