/* ═══════════════════════════════════════════════════════════════════
   INNOTECNICA — Design System
   Inspiração: Stripe + Vercel + IBM
   Paleta: Azul escuro (#0F172A), Ciano, Branco, Cinza neutro
   ═══════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────────── */
:root {
    /* Colors */
    --c-bg:        #050A14;
    --c-surface:   #0F172A;
    --c-surface-2: #1E293B;
    --c-surface-3: #293548;
    --c-border:    rgba(148, 163, 184, 0.12);
    --c-border-h:  rgba(148, 163, 184, 0.25);

    --c-text:      #E2E8F0;
    --c-text-2:    #94A3B8;
    --c-text-3:    #64748B;
    --c-white:     #FFFFFF;

    --c-cyan:      #22D3EE;
    --c-cyan-d:    #06B6D4;
    --c-green:     #34D399;
    --c-green-d:   #10B981;
    --c-blue:      #60A5FA;
    --c-blue-d:    #3B82F6;
    --c-accent:    #22D3EE;

    /* Gradients */
    --g-primary:   linear-gradient(135deg, #22D3EE, #3B82F6);
    --g-green:     linear-gradient(135deg, #34D399, #22D3EE);
    --g-glow:      radial-gradient(600px circle, rgba(34, 211, 238, 0.06), transparent 60%);

    /* Typography */
    --f-body:      'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --f-mono:      'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --s-xs:  0.25rem;
    --s-sm:  0.5rem;
    --s-md:  1rem;
    --s-lg:  1.5rem;
    --s-xl:  2rem;
    --s-2xl: 3rem;
    --s-3xl: 4rem;
    --s-4xl: 6rem;

    /* Radius */
    --r-sm:  6px;
    --r-md:  10px;
    --r-lg:  16px;
    --r-xl:  24px;
    --r-full: 9999px;

    /* Transitions */
    --t-fast:  150ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-base:  250ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow:  400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm:  0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(34, 211, 238, 0.15);
}

/* ─── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--c-text);
    background-color: var(--c-bg);
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Container ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--s-lg);
}

/* ─── Typography ────────────────────────────────────────────────── */
h1, h2, h3, h4 {
    color: var(--c-white);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { color: var(--c-text-2); }

.text-lg {
    font-size: 1.125rem;
    line-height: 1.8;
}

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

.text-gradient {
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

strong { color: var(--c-white); font-weight: 600; }

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    padding: 0.7rem 1.5rem;
    font-family: var(--f-body);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all var(--t-base);
    white-space: nowrap;
}

.btn--primary {
    background: var(--g-primary);
    color: var(--c-bg);
    box-shadow: 0 2px 12px rgba(34, 211, 238, 0.25);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(34, 211, 238, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--c-text);
    border: 1px solid var(--c-border-h);
}
.btn--ghost:hover {
    background: var(--c-surface-2);
    border-color: var(--c-text-3);
}

.btn--lg { padding: 0.85rem 2rem; font-size: 0.95rem; }
.btn--full { width: 100%; justify-content: center; }

/* ─── Link Arrow ────────────────────────────────────────────────── */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: var(--s-xs);
    font-weight: 600;
    color: var(--c-cyan);
    transition: all var(--t-base);
    margin-top: var(--s-lg);
}
.link-arrow:hover { gap: var(--s-sm); }
.link-arrow svg { transition: transform var(--t-base); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ─── Section Tag ───────────────────────────────────────────────── */
.section-tag {
    display: inline-block;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-cyan);
    margin-bottom: var(--s-md);
}

/* ═══════════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--s-md) 0;
    transition: all var(--t-slow);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 10, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-border);
    padding: var(--s-sm) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--s-sm);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--c-white);
}

.logo-icon {
    color: var(--c-cyan);
    font-size: 1.4rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--s-xs);
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--c-text-2);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}

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

.nav-link--cta {
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    color: var(--c-white);
    margin-left: var(--s-sm);
}
.nav-link--cta:hover {
    background: var(--c-surface-3);
    border-color: var(--c-cyan);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--s-sm);
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-text);
    transition: all var(--t-fast);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 80%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.5;
}
.hero-glow--1 {
    width: 600px;
    height: 600px;
    top: -10%;
    right: -5%;
    background: rgba(34, 211, 238, 0.08);
}
.hero-glow--2 {
    width: 500px;
    height: 500px;
    bottom: -10%;
    left: -5%;
    background: rgba(59, 130, 246, 0.06);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--s-sm);
    padding: 0.4rem 1rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-full);
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--c-text-2);
    margin-bottom: var(--s-xl);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--c-green);
    border-radius: 50%;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: var(--s-xl);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--c-text-2);
    max-width: 580px;
    margin-bottom: var(--s-2xl);
}

.hero-actions {
    display: flex;
    gap: var(--s-md);
    flex-wrap: wrap;
    margin-bottom: var(--s-3xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--s-2xl);
    align-items: center;
    padding-top: var(--s-2xl);
    border-top: 1px solid var(--c-border);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-white);
}
.stat-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-cyan);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--c-text-3);
    margin-top: 2px;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--c-border);
}

/* ═══════════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--s-4xl) 0;
}

.section--dark {
    background: var(--c-surface);
}

.section-header {
    margin-bottom: var(--s-3xl);
}
.section-header--center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    margin-bottom: var(--s-md);
}

.section-subtitle {
    color: var(--c-text-2);
    font-size: 1.05rem;
}

/* Split Layout */
.section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3xl);
    align-items: start;
}
.section-split__right p { margin-bottom: var(--s-md); }

/* ═══════════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ═══════════════════════════════════════════════════════════════════ */
.page-header {
    position: relative;
    padding: 10rem 0 4rem;
    overflow: hidden;
}
.page-header--compact { padding: 9rem 0 3rem; }

.page-header__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--s-md);
}
.page-header__subtitle {
    font-size: 1.1rem;
    color: var(--c-text-2);
    max-width: 560px;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE CARDS (Home)
   ═══════════════════════════════════════════════════════════════════ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-lg);
}

.card--service {
    position: relative;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-2xl);
    transition: all var(--t-slow);
}

.card--service:hover {
    border-color: var(--c-border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card--featured {
    border-color: rgba(34, 211, 238, 0.25);
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.04), transparent 50%);
}

.card-badge {
    position: absolute;
    top: var(--s-lg);
    right: var(--s-lg);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-cyan);
    padding: 3px 10px;
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: var(--r-full);
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    margin-bottom: var(--s-lg);
}
.card-icon--cyan  { background: rgba(34, 211, 238, 0.1); color: var(--c-cyan); }
.card-icon--green { background: rgba(52, 211, 153, 0.1); color: var(--c-green); }
.card-icon--blue  { background: rgba(96, 165, 250, 0.1); color: var(--c-blue); }

.card-title {
    font-size: 1.2rem;
    margin-bottom: var(--s-sm);
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: var(--s-lg);
}

.card-list {
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}
.card-list li {
    font-size: 0.85rem;
    color: var(--c-text-2);
    padding-left: 1.2rem;
    position: relative;
}
.card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    background: var(--c-cyan);
    border-radius: 50%;
}

/* ═══════════════════════════════════════════════════════════════════
   DIFFERENTIALS
   ═══════════════════════════════════════════════════════════════════ */
.diff-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-lg);
}

.diff-item {
    padding: var(--s-2xl);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    transition: all var(--t-slow);
}

.diff-item:hover {
    border-color: var(--c-border-h);
    background: var(--c-surface);
}

.diff-number {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-cyan);
    margin-bottom: var(--s-md);
}

.diff-item h3 {
    font-size: 1.15rem;
    margin-bottom: var(--s-sm);
}

.diff-item p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   MVV (Mission, Vision, Values)
   ═══════════════════════════════════════════════════════════════════ */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-lg);
}

.mvv-card {
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-2xl);
    text-align: center;
    transition: all var(--t-slow);
}

.mvv-card:hover {
    border-color: var(--c-border-h);
    transform: translateY(-4px);
}

.mvv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(34, 211, 238, 0.08);
    border-radius: var(--r-md);
    color: var(--c-cyan);
    margin-bottom: var(--s-lg);
}

.mvv-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--s-sm);
}

.mvv-card p {
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE BLOCKS (Services Page)
   ═══════════════════════════════════════════════════════════════════ */
.service-block {
    max-width: 900px;
}

.service-block__header {
    display: flex;
    gap: var(--s-xl);
    align-items: flex-start;
    margin-bottom: var(--s-2xl);
}

.service-block__icon {
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-lg);
}
.service-block__icon--cyan  { background: rgba(34, 211, 238, 0.1); color: var(--c-cyan); }
.service-block__icon--green { background: rgba(52, 211, 153, 0.1); color: var(--c-green); }
.service-block__icon--blue  { background: rgba(96, 165, 250, 0.1); color: var(--c-blue); }

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s-lg);
}

.feature-card {
    padding: var(--s-xl);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    transition: all var(--t-slow);
}

.feature-card:hover {
    border-color: var(--c-border-h);
    background: rgba(255, 255, 255, 0.02);
}

.feature-card h4 {
    margin-bottom: var(--s-sm);
}

.feature-card p {
    font-size: 0.875rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--s-3xl);
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--s-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--s-xs);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--c-text);
}

.required { color: var(--c-cyan); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: var(--f-body);
    font-size: 0.9rem;
    color: var(--c-white);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-md);
    outline: none;
    transition: all var(--t-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--c-text-3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.form-group.error input,
.form-group.error textarea {
    border-color: #F87171;
}

.form-error {
    font-size: 0.78rem;
    color: #F87171;
    display: none;
}
.form-error.visible { display: block; }

.form-group textarea { resize: vertical; min-height: 120px; }

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--s-lg);
}

.contact-info-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: var(--s-xl);
}
.contact-info-card--dark {
    background: var(--c-surface-2);
}

.contact-info-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--s-lg);
}

.contact-info-card p {
    font-size: 0.9rem;
    margin-bottom: var(--s-xs);
}

.contact-info-item {
    display: flex;
    gap: var(--s-md);
    align-items: flex-start;
    margin-bottom: var(--s-lg);
}
.contact-info-item:last-child { margin-bottom: 0; }

.contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 211, 238, 0.08);
    border-radius: var(--r-sm);
    color: var(--c-cyan);
}

.contact-info-label {
    display: block;
    font-size: 0.75rem;
    color: var(--c-text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.contact-info-value {
    display: block;
    font-size: 0.9rem;
    color: var(--c-text);
    margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════ */
.section--cta {
    padding: var(--s-3xl) 0;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-2xl);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--r-xl);
    padding: var(--s-3xl);
}

.cta-content h2 {
    font-size: 1.6rem;
    margin-bottom: var(--s-sm);
}
.cta-content p {
    font-size: 0.95rem;
    max-width: 480px;
}

/* ═══════════════════════════════════════════════════════════════════
   THANKS & 404
   ═══════════════════════════════════════════════════════════════════ */
.section--center-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 6rem;
}

.thanks-box,
.error-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: 50%;
    color: var(--c-green);
    margin-bottom: var(--s-xl);
}

.thanks-box h1,
.error-box h1 {
    margin-bottom: var(--s-md);
}

.thanks-box p,
.error-box p {
    margin-bottom: var(--s-2xl);
}

.thanks-actions {
    display: flex;
    gap: var(--s-md);
    justify-content: center;
    flex-wrap: wrap;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: var(--g-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--s-lg);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════════════
   FLASH MESSAGES
   ═══════════════════════════════════════════════════════════════════ */
.flash-container {
    position: fixed;
    top: 80px;
    right: var(--s-lg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--s-sm);
}

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-md);
    padding: 0.8rem 1.2rem;
    border-radius: var(--r-md);
    font-size: 0.875rem;
    font-weight: 500;
    animation: flash-in 0.3s ease;
    min-width: 280px;
}

.flash--success {
    background: rgba(52, 211, 153, 0.15);
    color: var(--c-green);
    border: 1px solid rgba(52, 211, 153, 0.3);
}
.flash--error {
    background: rgba(248, 113, 113, 0.15);
    color: #F87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.flash-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.7;
}
.flash-close:hover { opacity: 1; }

@keyframes flash-in {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.footer {
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    padding: var(--s-3xl) 0 var(--s-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-2xl);
    margin-bottom: var(--s-3xl);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-top: var(--s-md);
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-text-3);
    margin-bottom: var(--s-lg);
}

.footer-col ul { display: flex; flex-direction: column; gap: var(--s-sm); }
.footer-col li {
    font-size: 0.875rem;
    color: var(--c-text-2);
}
.footer-col a:hover { color: var(--c-white); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--s-xl);
    border-top: 1px solid var(--c-border);
}
.footer-bottom p { font-size: 0.8rem; color: var(--c-text-3); }

.footer-bottom-links {
    display: flex;
    gap: var(--s-lg);
}
.footer-bottom-links a {
    font-size: 0.8rem;
    color: var(--c-text-3);
    transition: color var(--t-fast);
}
.footer-bottom-links a:hover { color: var(--c-text); }

/* ═══════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.45s; }

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal (JS-driven) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cards-grid       { grid-template-columns: 1fr; }
    .diff-grid        { grid-template-columns: 1fr; }
    .mvv-grid         { grid-template-columns: 1fr; }
    .section-split    { grid-template-columns: 1fr; gap: var(--s-xl); }
    .service-features { grid-template-columns: 1fr; }
    .footer-grid      { grid-template-columns: 1fr 1fr; }
    .contact-grid     { grid-template-columns: 1fr; }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: var(--s-2xl);
    }
    .cta-content p { margin: 0 auto var(--s-lg); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--c-surface);
        border-left: 1px solid var(--c-border);
        flex-direction: column;
        padding: 5rem var(--s-xl) var(--s-xl);
        gap: var(--s-sm);
        transition: right var(--t-slow);
        z-index: 999;
    }

    .nav-menu.open { right: 0; }

    .nav-link { width: 100%; padding: 0.8rem 0; }
    .nav-link--cta {
        margin-left: 0;
        margin-top: var(--s-md);
        text-align: center;
        justify-content: center;
    }

    .hero { padding: 7rem 0 3rem; min-height: auto; }
    .hero-title { font-size: clamp(2rem, 7vw, 2.8rem); }
    .hero-stats { flex-direction: column; gap: var(--s-lg); align-items: flex-start; }
    .stat-divider { width: 40px; height: 1px; }

    .footer-grid { grid-template-columns: 1fr; gap: var(--s-xl); }
    .footer-bottom { flex-direction: column; gap: var(--s-md); text-align: center; }

    .service-block__header { flex-direction: column; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .btn--lg { width: 100%; justify-content: center; }
}
