/* ============================================
   JIMAK s.r.o. — Premium Redesign 2026
   Clean, modern, professional dark theme
   ============================================ */

:root {
    /* Core palette - JIMAK Brand Colors */
    --green: #2DBC3F;
    --green-dark: #239a32;
    --green-light: #5cd66a;
    --green-glow: rgba(45, 188, 63, 0.10);
    --green-glow-strong: rgba(45, 188, 63, 0.18);
    --yellow: #F0DE5A;

    /* Surfaces — deep navy progression */
    --charcoal: #06090f;
    --surface: #0c1018;
    --surface-raised: #131923;
    --surface-overlay: #1a2233;
    --slate: #1a2233;
    --slate-mid: #1e2738;
    --slate-light: #253040;
    --slate-lighter: #2d3a4e;

    /* Typography */
    --text: #f0f2f5;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Borders & effects */
    --border: rgba(148, 163, 184, 0.08);
    --border-accent: rgba(45, 188, 63, 0.20);
    --glow: 0 0 40px rgba(45, 188, 63, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.6);

    /* Radii */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--charcoal);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 72px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- Selection ---- */
::selection {
    background: var(--green);
    color: #fff;
}

/* ---- Scroll Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
header {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}



.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    transition: height 0.4s ease;
}

header.scrolled .header-inner {
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.4s ease;
    /* Removed background and padding since header is white now */
}

header.scrolled .logo-img {
    height: 34px;
}

/* Navigation */
#main-nav ul {
    display: flex;
    gap: 2px;
    align-items: center;
}

#main-nav a {
    font-weight: 500;
    font-size: 14px;
    color: var(--surface);
    /* Dark text for white header */
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

#main-nav a:hover {
    color: var(--green);
    background: rgba(0, 0, 0, 0.04);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.header-support-btn:hover {
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.nav-cta {
    background: var(--green) !important;
    color: #021a06 !important;
    font-weight: 600 !important;
    padding: 9px 22px !important;
    border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
    background: var(--green-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--surface);
    /* Dark hamburger menu */
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    background: var(--charcoal);
    padding: 120px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.07) 0%, rgba(34, 197, 94, 0.02) 35%, transparent 65%);
    pointer-events: none;
}

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

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.08);
    color: var(--green);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(34, 197, 94, 0.12);
    margin-bottom: 28px;
    animation: fadeIn 0.8s ease both;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -0.035em;
    animation: fadeIn 0.8s 0.1s ease both;
}

.accent-dot {
    color: var(--green);
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeIn 0.8s 0.2s ease both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    animation: fadeIn 0.8s 0.3s ease both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--green);
    color: #021a06;
    font-weight: 600;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.25);
}

.btn-primary:hover {
    background: var(--green-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(34, 197, 94, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    border: 1.5px solid rgba(148, 163, 184, 0.15);
}

.btn-outline:hover {
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    animation: fadeIn 0.8s 0.4s ease both;
    padding: 0;
    max-width: 520px;
    margin: 0 auto;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(148, 163, 184, 0.12);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--green);
    margin-bottom: 14px;
}

.section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 110px 0;
    background: var(--surface);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.08), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--surface-raised);
    padding: 36px 30px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-lg);
    background: var(--surface-overlay);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: inherit;
    filter: blur(12px);
    z-index: -1;
}

.card-icon .icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    min-height: 24px;
    max-height: 24px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .card-icon .icon {
    transform: scale(1.15) rotate(5deg);
}

.service-card:hover .card-icon {
    transform: scale(1.1) translateY(-2px);
}

.service-card:hover .card-icon::after {
    opacity: 0.5;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(45, 188, 63, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(45, 188, 63, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(45, 188, 63, 0);
    }
}

.card-icon.green {
    background: rgba(45, 188, 63, 0.12);
    color: var(--green);
}

.card-icon.slate {
    background: rgba(148, 163, 184, 0.10);
    color: var(--text-secondary);
}

.card-icon.yellow {
    background: rgba(250, 204, 21, 0.12);
    color: var(--yellow);
}

.card-icon.blue {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
}

.card-icon.red {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.card-icon.purple {
    background: rgba(168, 85, 247, 0.12);
    color: #c084fc;
}

.card-icon.teal {
    background: rgba(20, 184, 166, 0.12);
    color: #2dd4bf;
}

.card-icon.pink {
    background: rgba(236, 72, 153, 0.12);
    color: #f472b6;
}

.card-icon.indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
}

.card-icon.dark {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-secondary);
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.2s ease;
}

.card-link:hover {
    gap: 10px;
    color: var(--green-light);
}

/* ============================================
   CERTIFICATIONS
   ============================================ */
.certifications {
    padding: 100px 0;
    background: var(--charcoal);
}

.cert-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

.cert-image img {
    width: 100%;
    display: block;
}

/* ============================================
   PORTFOLIO / NAŠE PRÁCE
   ============================================ */
.portfolio {
    padding: 110px 0;
    background: var(--charcoal);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.portfolio-card {
    background: var(--surface-raised);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(148, 163, 184, 0.12);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 9, 15, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.portfolio-overlay i {
    font-size: 22px;
    color: #fff;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    background: linear-gradient(180deg, transparent 30%, rgba(6, 9, 15, 0.85) 100%);
}

.portfolio-card:hover .portfolio-overlay i {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-info {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.portfolio-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 110px 0;
    text-align: center;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section::after {
    display: none;
}

.cta-pattern {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 40px;
    letter-spacing: -0.015em;
}

/* ============================================
   CLIENTS
   ============================================ */
.clients {
    padding: 100px 0;
    background: var(--charcoal);
}

.clients-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.client-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 130px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.client-item img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-item img.invert-on-light {
    filter: grayscale(100%) invert(1);
    opacity: 1;
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--green);
}

.client-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.client-item:hover img.invert-on-light {
    filter: grayscale(0%) invert(1);
    opacity: 1;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners {
    padding: 90px 0;
    background: var(--surface);
}

.partners-track {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 90px;
    background: #fff;
    border-radius: var(--radius);
    padding: 15px;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.6;
    border: 1px solid var(--border);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(148, 163, 184, 0.15);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* ============================================
   ABOUT / O NÁS
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--charcoal);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 30px;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
}

.info-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card h4 .icon {
    color: var(--green);
}

.info-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 2px 0;
}

.info-card ul li strong {
    color: var(--text);
    font-weight: 600;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-section {
    padding: 100px 0;
    background: var(--surface);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 52px;
}

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--surface-raised);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card .icon {
    width: 24px;
    height: 24px;
    color: var(--green);
    margin-bottom: 14px;
}

.contact-card h3 {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.contact-card a,
.contact-card span {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.contact-card a:hover {
    color: var(--green);
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 740px;
    margin: 0 auto;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 48px;
}

.contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.form-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background: var(--surface);
    border: 1.5px solid rgba(148, 163, 184, 0.1);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: all 0.2s ease;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.08);
    background: var(--surface-raised);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form textarea {
    resize: vertical;
    min-height: 110px;
}

.contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.contact-form select option {
    background: var(--surface);
    color: var(--text);
}

/* Checkbox */
.form-consent {
    margin-bottom: 24px !important;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
    cursor: pointer;
    font-weight: 400 !important;
    text-transform: none !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 1px;
    accent-color: var(--green);
    cursor: pointer;
}

.checkbox-label a {
    color: var(--green);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.checkbox-label a:hover {
    color: var(--green-light);
}

.form-status {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status.error {
    display: block;
    color: #f87171;
    background: rgba(248, 113, 113, 0.06);
    padding: 12px 16px;
    border: 1px solid rgba(248, 113, 113, 0.1);
}

.form-status.success {
    display: block;
    color: var(--green-light);
    background: var(--green-glow);
    padding: 12px 16px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--charcoal);
    color: var(--text-secondary);
    padding: 72px 0 28px;
    border-top: 1px solid var(--border);
}

footer::before {
    display: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand {
    padding-right: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.footer-billing {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-billing a {
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.footer-billing a:hover {
    color: var(--green);
}

.footer-billing .icon {
    color: var(--green);
}

.footer-support-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.12);
    color: #818cf8;
    font-size: 13px;
    font-weight: 500;
    margin: 12px 0;
    transition: all 0.2s ease;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.footer-support-btn:hover {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-color: rgba(99, 102, 241, 0.3);
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.footer-socials a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.footer-socials a:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-gdpr {
    background: rgba(148, 163, 184, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.footer-gdpr p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.65;
}

.footer-gdpr a {
    color: var(--green);
}

.footer-gdpr a:hover {
    color: var(--green-light);
}

.copyright {
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 24px;
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   ICON SYSTEM (SVG Sprite)
   ============================================ */
.icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    flex-grow: 0;
    overflow: hidden;
}

.icon-xs {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    max-width: 12px;
    max-height: 12px;
}

.icon-sm {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    max-width: 16px;
    max-height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    max-width: 24px;
    max-height: 24px;
}

.icon-lg {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
}

.icon-xl {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.has-dropdown {
    position: relative;
}

.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--surface-overlay);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 230px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-secondary) !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: all 0.15s ease;
}

.dropdown li a:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--text) !important;
    padding-left: 24px;
}

/* Active nav */
.nav-active {
    color: var(--green) !important;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
    padding: 14px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb .separator {
    color: var(--text-muted);
    opacity: 0.3;
    font-size: 10px;
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ============================================
   PAGE HERO (subpages)
   ============================================ */
.page-hero {
    background: var(--charcoal);
    padding: 64px 0 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.04) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero .hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, black, transparent);
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero .section-tag {
    margin-bottom: 12px;
}

.page-hero h1 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   PAGE CONTENT (subpages)
   ============================================ */
.page-content {
    padding: 64px 0 100px;
    background: var(--surface);
}

.page-content .container {
    max-width: 1180px;
}

/* Service detail grid */
.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-detail-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-detail-card:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-lg);
}

.service-detail-card:hover::before {
    transform: scaleX(1);
}

.service-detail-card .card-icon-large {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.service-detail-card .card-icon-large::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: inherit;
    filter: blur(12px);
    z-index: -1;
}

.service-detail-card:hover .card-icon-large {
    transform: scale(1.1) translateY(-2px);
}

.service-detail-card:hover .card-icon-large::after {
    opacity: 0.6;
}

.service-detail-card .card-icon-large .icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    max-width: 26px;
    max-height: 26px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-detail-card:hover .card-icon-large .icon {
    transform: scale(1.15) rotate(5deg);
}

.service-detail-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-detail-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.service-detail-card .card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.2s ease;
}

.service-detail-card .card-link:hover {
    gap: 10px;
    color: var(--green-light);
}

/* ============================================
   BLOG LISTING
   ============================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.blog-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-xl);
}

.blog-card-img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 24px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card-meta .blog-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    padding: 3px 9px;
    border-radius: 4px;
}

.blog-card-meta .blog-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.blog-card h3 a {
    transition: color 0.2s ease;
}

.blog-card h3 a:hover {
    color: var(--green);
}

.blog-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 18px;
    flex: 1;
}

.blog-card .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease, color 0.2s ease;
}

.blog-card .read-more:hover {
    gap: 10px;
    color: var(--green-light);
}

/* Blog category filter */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.blog-filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--surface-raised);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    border-color: var(--green);
    color: var(--green);
    background: rgba(34, 197, 94, 0.06);
}

/* ============================================
   BLOG ARTICLE (detail page)
   ============================================ */
.article-header {
    text-align: center;
    margin-bottom: 44px;
}

.article-header .blog-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-hero-img {
    max-width: 800px;
    margin: 0 auto 44px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-xl);
}

.article-hero-img img {
    width: 100%;
    display: block;
}

.article-content {
    max-width: 720px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 16px;
    letter-spacing: -0.02em;
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 32px 0 12px;
}

.article-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 6px;
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

/* Article gallery */
.article-gallery {
    margin: 48px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-gallery h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-grid img:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-grid img:hover {
    border-color: rgba(148, 163, 184, 0.2);
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    position: relative;
}

/* Article nav */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.article-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    max-width: 45%;
}

.article-nav a.btn-primary {
    color: #021a06;
}

.article-nav a.btn-primary:hover {
    color: #fff;
}

.article-nav a.btn-outline {
    color: var(--text-secondary);
}

.article-nav a.btn-outline:hover {
    color: var(--text);
}

.article-nav .prev {
    text-align: left;
}

.article-nav .next {
    text-align: right;
    margin-left: auto;
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
    max-width: 780px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 16px;
    letter-spacing: -0.02em;
}

.legal-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin: 28px 0 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 18px;
}

.legal-content a {
    color: var(--green);
}

.legal-content a:hover {
    color: var(--green-light);
}

.legal-content ul,
.legal-content ol {
    padding-left: 24px;
    margin-bottom: 18px;
}

.legal-content li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-content strong {
    color: var(--text);
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.legal-content th,
.legal-content td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
    font-size: 14px;
    color: var(--text-secondary);
}

.legal-content th {
    background: var(--surface-raised);
    font-weight: 600;
    color: #fff;
}

/* ============================================
   CAREER PAGE
   ============================================ */
.job-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.job-card:hover {
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
}

.job-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.job-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.job-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--green);
    background: rgba(34, 197, 94, 0.08);
    padding: 5px 14px;
    border-radius: 50px;
    border: 1px solid rgba(34, 197, 94, 0.15);
}

.job-details h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 24px 0 12px;
}

.job-details ul {
    list-style: none;
    padding: 0;
}

.job-details li {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 3px 0 3px 20px;
    position: relative;
}

.job-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}

.job-card-preparing {
    opacity: 0.45;
    border-style: dashed;
}

.job-card-preparing h3::after {
    content: 'Připravujeme';
    font-size: 11px;
    font-weight: 600;
    color: var(--yellow);
    background: rgba(250, 204, 21, 0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    vertical-align: middle;
}

/* ============================================
   PAYMENT / PRICING CARDS
   ============================================ */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.payment-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.payment-card:hover {
    border-color: rgba(148, 163, 184, 0.12);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.payment-card .card-icon-large {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    background: rgba(34, 197, 94, 0.08);
    color: var(--green);
}

.payment-card .card-icon-large .icon,
.payment-card .icon {
    width: 20px;
    height: 20px;
    color: var(--green);
}

.payment-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.payment-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ============================================
   CERTIFICATION CARDS
   ============================================ */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.cert-card {
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
}

.cert-card:hover {
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: var(--shadow-md);
}

.cert-card .card-icon-large {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: rgba(34, 197, 94, 0.08);
    color: var(--green);
}

.cert-card .card-icon-large .icon {
    width: 20px;
    height: 20px;
}

.cert-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

    .services-grid,
    .services-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .header-support-btn span {
        display: none;
    }

    .header-support-btn {
        padding: 8px;
        font-size: 0;
        gap: 0;
    }

    .header-support-btn .icon {
        font-size: initial;
    }

    .hamburger {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--charcoal);
        border-left: 1px solid var(--border);
        padding: 90px 24px 40px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
        overflow-y: auto;
    }

    #main-nav.open {
        right: 0;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 2px;
    }

    #main-nav a {
        display: block;
        padding: 12px 16px;
        font-size: 15px;
        border-radius: var(--radius-sm);
        color: var(--text-secondary);
    }

    #main-nav a:hover {
        color: var(--text);
        background: rgba(255, 255, 255, 0.04);
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
    }

    /* Dropdown on mobile */
    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        background: transparent;
    }

    .dropdown li a {
        color: var(--text-muted) !important;
        font-size: 13px;
        padding: 8px 16px;
    }

    .dropdown li a:hover {
        color: var(--text) !important;
        background: rgba(255, 255, 255, 0.04) !important;
    }

    /* Hero */
    .hero {
        padding: 80px 0 70px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-sub {
        font-size: 16px;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        max-width: 100%;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    /* Page hero */
    .page-hero {
        padding: 44px 0 36px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    /* Services */
    .services {
        padding: 80px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio */
    .portfolio {
        padding: 80px 0;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Certifications */
    .certifications {
        padding: 80px 0;
    }

    /* About */
    .about {
        padding: 80px 0;
    }

    /* Contact */
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .contact-form-wrapper {
        padding: 28px 24px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form .form-row .form-group {
        margin-bottom: 16px;
    }

    /* CTA */
    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 20px;
    }

    /* Clients */
    .clients-grid {
        gap: 8px;
    }

    .client-item {
        min-width: 140px;
        padding: 20px 18px;
    }

    /* Partners */
    .partners-track {
        gap: 8px;
    }

    .partner-logo {
        height: 64px;
        min-width: 100px;
        padding: 14px 18px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }


    .footer-socials {
        justify-content: center;
    }

    .footer-contact-line {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col a:hover {
        padding-left: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 160px;
    }

    .gallery-grid img:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .header-inner {
        height: 60px;
    }

    .logo-img {
        height: 32px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero-badge {
        font-size: 11px;
        padding: 6px 14px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .stat-num {
        font-size: 24px;
    }

    .clients-grid {
        flex-direction: column;
        align-items: center;
    }

    .client-item {
        width: 100%;
        max-width: 260px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }
}

/* ============================================
   CERTIFICATES
   ============================================ */
.certificates-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    width: 140px;
    /* Smaller width */
}

.cert-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    margin-bottom: 8px;
    /* Smaller margin */
    border: 1px solid #f0f0f0;
}

.cert-caption {
    font-size: 11px;
    /* Smaller font */
    font-weight: 500;
    color: var(--surface);
    text-align: center;
    line-height: 1.2;
}

.cert-item:hover {
    transform: translateY(-3px);
    /* Subtle lift */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--green);
}

