/* ========== CSS Variables & Base ========== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-dark-blue: #02457F;
    --secondary-blue: #568FAF;
    --accent-blue: #028FDA;
    --tech-light-blue: #4AAFE2;
    --soft-bg-blue: #AAD0E3;
    --accent-green: #00D68F;
    --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: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 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;
}

.section-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    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-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;
    padding: 0.5rem 0;
}

.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%;
}

/* Active nav link */
.nav-link.active {
    color: var(--accent-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
}

.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;
    }

    .nav-link {
        padding: 0.75rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

/* ========== 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;
}

@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);
    color: var(--white);
}

.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-accent {
    background: linear-gradient(135deg, var(--accent-green), #00b377);
    color: var(--white);
    box-shadow: 0 0 30px rgba(0, 214, 143, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 214, 143, 0.5);
    color: var(--white);
}

.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,
.about,
.contact {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(26, 31, 58, 0.5) 100%);
}

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    padding: 120px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.08) 0%, rgba(10, 14, 39, 0.9) 100%);
    border-bottom: 1px solid rgba(2, 143, 218, 0.15);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(2, 143, 218, 0.06) 0%, transparent 50%);
    pointer-events: none;
}


.page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    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: 1rem;
    animation: slideUp 0.6s ease-out;
    position: relative;
    z-index: 1;
}

.page-hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
    animation: slideUp 0.6s ease-out 0.15s both;
    position: relative;
    z-index: 1;
}

/* ========== Why Evok Section ========== */
.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 Preview (Homepage) ========== */
.services-preview {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(26, 31, 58, 0.5) 100%);
}

.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.preview-card {
    padding: 1.8rem;
    background: rgba(2, 143, 218, 0.05);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.preview-card:hover {
    background: rgba(2, 143, 218, 0.12);
    border-color: var(--accent-blue);
    transform: translateY(-6px);
    box-shadow: var(--glow);
}

.preview-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.preview-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.preview-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.services-preview .btn {
    display: inline-flex;
    margin: 0 auto;
}

.services-preview .container {
    text-align: center;
}

/* ========== Trust Section (Homepage) ========== */
.trust-section {
    background: linear-gradient(135deg, rgba(2, 143, 218, 0.06) 0%, rgba(10, 14, 39, 0.6) 100%);
    text-align: center;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-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;
}

.stat-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ========== Services Grid (servicios.html) ========== */
.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: stagger 0.6s ease-out forwards;
    opacity: 0;
}

@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;
}

/* Glowing border on 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 — ALWAYS VISIBLE */
.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.service-card:hover .service-description {
    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-soporte {
    background: rgba(88, 143, 175, 0.2);
    color: #AAD0E3;
    border: 1px solid rgba(88, 143, 175, 0.4);
}

.badge-cloud {
    background: rgba(2, 69, 127, 0.3);
    color: #AAD0E3;
    border: 1px solid rgba(2, 69, 127, 0.5);
}

.badge-seguridad {
    background: rgba(239, 68, 68, 0.15);
    color: #FF9A8B;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-productividad {
    background: rgba(251, 146, 60, 0.15);
    color: #FBAE42;
    border: 1px solid rgba(251, 146, 60, 0.3);
}

/* Service Card Display Toggle */
.service-card.hidden {
    display: none;
    animation: none;
}

/* ========== Filter Section ========== */
.filter-section {
    background: transparent;
    border: none;
    padding: 32px 0;
    margin-bottom: 40px;
}

.filter-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-blue);
    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: transparent;
    border: 2px solid rgba(2, 143, 218, 0.3);
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    color: var(--accent-blue);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(2, 143, 218, 0.2);
    transform: translateY(-2px);
}

.filter-btn-active {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0263C0 100%);
    color: white;
    border-color: var(--accent-blue);
    box-shadow: 0 6px 20px rgba(2, 143, 218, 0.35);
}

.filter-btn-active:hover {
    box-shadow: 0 8px 28px rgba(2, 143, 218, 0.45);
    transform: translateY(-3px);
}

/* Color-specific filter buttons */
.filter-btn[data-filter="infraestructura"]:not(.filter-btn-active) {
    border-color: rgba(74, 175, 226, 0.35);
    color: #4AAFE2;
}

.filter-btn[data-filter="soporte"]:not(.filter-btn-active) {
    border-color: rgba(170, 208, 227, 0.35);
    color: #AAD0E3;
}

.filter-btn[data-filter="cloud"]:not(.filter-btn-active) {
    border-color: rgba(170, 208, 227, 0.35);
    color: #AAD0E3;
}

.filter-btn[data-filter="seguridad"]:not(.filter-btn-active) {
    border-color: rgba(255, 154, 139, 0.35);
    color: #FF9A8B;
}

.filter-btn[data-filter="productividad"]:not(.filter-btn-active) {
    border-color: rgba(251, 174, 66, 0.35);
    color: #FBAE42;
}

.filter-badge {
    font-weight: 600;
    display: inline-block;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.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);
}

.filter-btn-active .filter-count {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* ========== Plans ========== */
.plans .methodology-block {
    margin-bottom: 2.5rem;
}

.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;
}

/* ========== 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;
}

.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);
    transition: all 0.3s ease;
}

.info-block:hover {
    background: rgba(2, 143, 218, 0.15);
    border-color: var(--accent-blue);
}

.info-block h3 {
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    margin-top: 0;
}

.info-block h3:not(:first-child) {
    margin-top: 1rem;
}

.info-block p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Youform Embed Styling */
.youform-embed {
    width: 100%;
    background: rgba(2, 143, 218, 0.05);
    border: 1px solid rgba(2, 143, 218, 0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-sizing: border-box;
}

.youform-embed iframe {
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
}

/* Responsive Contact */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .youform-embed iframe {
        min-height: 700px;
    }
}

@media (max-width: 480px) {
    .contact-wrapper {
        gap: 1.5rem;
    }

    .info-block {
        padding: 1.2rem;
    }

    .info-block h3 {
        font-size: 0.9rem;
    }

    .youform-embed {
        padding: 15px;
    }

    .youform-embed iframe {
        min-height: 800px;
    }
}

/* ========== 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(200px, 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;
    color: var(--text-secondary);
}

.social-links a:hover {
    background: var(--accent-blue);
    color: var(--white);
    border-color: var(--accent-blue);
}

.social-links a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.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;
}

/* ========== Scroll to Top Button ========== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--tech-light-blue));
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 40px rgba(2, 143, 218, 0.5);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========== 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) {
    .plans-grid {
        grid-template-columns: 1fr;
    }

    .plan-featured {
        transform: scale(1);
    }

    .plan-featured:hover {
        transform: translateY(-4px);
    }

    .methodology-steps {
        grid-template-columns: 1fr;
    }

    .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;
    }

    .service-card {
        min-height: auto;
        padding: 24px 18px;
    }

    .service-icon {
        height: 160px;
        margin-bottom: 16px;
        border-radius: 10px;
    }

    .service-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .service-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .category-badge {
        padding: 6px 12px;
        font-size: 0.7rem;
        margin-top: auto;
    }

    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero {
        padding: 100px 20px 40px;
    }
}

@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;
    }

    .services-container {
        gap: 16px;
    }

    .filter-section {
        padding: 16px 0;
        margin-bottom: 20px;
    }

    .filter-btn {
        padding: 10px 14px;
        font-size: 12px;
        min-height: 40px;
    }

    .service-card {
        padding: 18px 14px;
    }

    .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;
    }

    .category-badge {
        padding: 5px 10px;
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
    }

    .trust-stats {
        grid-template-columns: 1fr;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }
}