/* ============================
   DESIGN SYSTEM — MINIMAL
   ============================ */
:root {
    --bg: #F8FAF9;
    --bg-dark: #0A1A18;
    /* Deeper, richer dark green */
    --bg-card: #F1F5F3;
    --bg-elevated: #F7F9F8;
    --accent: #2DD4A8;
    --accent-hover: #26C49B;
    --accent-dim: rgba(45, 212, 168, 0.15);
    --accent-border: rgba(45, 212, 168, 0.3);
    --text-primary: #0D1413;
    --text-secondary: #4A5D5A;
    --text-tertiary: #8A9A97;
    --text-inverse: #FFFFFF;
    --text-inverse-dim: rgba(255, 255, 255, 0.65);
    --border: rgba(0, 0, 0, 0.08);
    --border-dark: rgba(255, 255, 255, 0.1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.h-p-field {
    display: none !important;
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Hide reCAPTCHA badge - disclosure added to forms */
.grecaptcha-badge { 
    visibility: hidden; 
}

.section-title {
    font-size: clamp(2.2rem, 3.8vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: clamp(30px, 5vw, 60px);
    text-align: center;
}

/* ============================
   RESET
   ============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 1. FOCUS STATES FOR KEYBOARD NAV (A11Y) */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 2. REDUCED MOTION (A11Y) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================
   NAVIGATION — ultra clean
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 31, 29, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 0 24px;
}

.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 30px;
    }

    .nav-container {
        height: 60px;
    }
}

.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
}

.nav-links a {
    padding: 6px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-inverse-dim);
    border-radius: 6px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.65) 45%, 
        rgba(255, 255, 255, 1) 50%, 
        rgba(255, 255, 255, 0.65) 55%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: navShimmer 16s linear infinite;
}

.nav-links a:hover, 
.nav-dropdown-toggle:hover {
    color: var(--text-inverse);
    -webkit-text-fill-color: var(--text-inverse);
    background-clip: border-box;
    -webkit-background-clip: border-box;
    background: none;
}

.nav-links a::before, 
.nav-dropdown-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: transparent;
    transition: var(--transition);
    z-index: -1;
}

.nav-links a:hover::before, 
.nav-dropdown-toggle:hover::before {
    background: rgba(255, 255, 255, 0.06);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-block;
    cursor: pointer;
    padding: 6px 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-inverse-dim);
    border-radius: 6px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
    -webkit-font-smoothing: antialiased;

    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0.65) 45%, 
        #ffffff 50%, 
        rgba(255, 255, 255, 0.65) 55%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: navShimmer 16s linear infinite;
}

/* Shimmer Keyframes (Right to Left) */
@keyframes navShimmer {
    0% { background-position: 200% center; }
    40% { background-position: -200% center; }
    100% { background-position: -200% center; }
}

/* Stagger delay for desktop items to sweep right to left */
@media (min-width: 769px) {
    .nav-links > li:nth-child(5) > a { animation-delay: 0s; }
    .nav-links > li:nth-child(4) > a { animation-delay: 0.3s; }
    .nav-links > li:nth-child(3) > a { animation-delay: 0.6s; }
    .nav-links > li:nth-child(2) > a { animation-delay: 0.9s; }
    .nav-links > li:nth-child(1) > .nav-dropdown-toggle { animation-delay: 1.2s; }
}

.nav-dropdown-toggle::after {
    content: "▾";
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--bg-dark); /* Fully opaque */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    color: var(--text-inverse-dim);
}

.nav-dropdown-menu a:hover {
    background: rgba(45, 212, 168, 0.1);
    color: var(--accent);
}




.nav-links a.nav-gdpr {
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    padding: 5px 12px;
}

.nav-links a.nav-gdpr:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 1.5px;
    background: var(--text-inverse);
    border-radius: 2px;
}

/* ============================
   HERO — cinematic minimal
   ============================ */
.hero {
    background: var(--bg-dark);
    padding: clamp(100px, 10vw, 140px) 0 clamp(24px, 3vw, 50px) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: clamp(520px, 60vh, 780px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(45, 212, 168, 0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-slider {
    width: 100%;
    position: relative;
    min-height: clamp(340px, 32vh, 480px);
    /* Space for the largest slide text */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        min-height: 450px;
        padding: 100px 0 20px 0;
    }

    .hero-slider {
        min-height: 280px;
    }

    .hero-slide h1 {
        font-size: 1.8rem !important;
    }

    .hero h1 span[style*="display: block"] {
        margin-top: 10px !important;
    }
}

/* Slide Animations */
.hero-slide .hero-content {
    transform: translateY(20px);
    transition: transform 0.8s ease;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
}

.hero-dots {
    display: none;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--accent-dim);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.bg-saying {
    position: absolute;
    color: rgba(45, 212, 168, 0.45);
    font-style: italic;
    white-space: normal;
    max-width: 180px;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(45, 212, 168, 0.3);
    animation: sayingAnimation 8s ease-in-out forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: clamp(0.7rem, 1vw, 1.2rem);
    /* Dynamic font size that scales with window width */
}

@media (max-width: 1170px) {
    .bg-saying {
        display: none !important;
        /* Hide reviews entirely below 1170px */
    }
}

.bg-saying-name {
    font-size: 1.1em;
    /* Scales based on .bg-saying font size */
    font-weight: 700;
    font-style: normal;
    color: rgba(45, 212, 168, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    margin-bottom: 2px;
}

.bg-saying-pos {
    font-size: 0.75em;
    font-weight: 500;
    opacity: 0.7;
    margin-top: 1px;
}

@keyframes sayingAnimation {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.6);
    }

    20%,
    80% {
        opacity: 0.45;
        filter: blur(0px);
        transform: scale(1);
    }

    100% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(0.6);
    }
}

.online-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: transparent;
    border: 1px solid rgba(45, 212, 168, 0.2);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--accent);
    margin-bottom: 36px;
    letter-spacing: -0.01em;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-inverse);
    letter-spacing: -0.04em;
    line-height: 1.12;
    margin-bottom: 20px;
}

.hero h1 .highlight {
    color: var(--accent);
}

.subpage-hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-inverse);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 768px) {
    .subpage-hero-title {
        font-size: 1.8rem !important;
    }
}

.stats-animated-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 15px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-align: center;
}

.counter-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
}

.hero-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ============================
   PARTNERS STRIPE (INFINITE SCROLL)
   ============================ */
.partners-stripe {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 10px 0 40px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-stripe::before,
.partners-stripe::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.partners-stripe::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark) 0%, transparent 100%);
}

.partners-stripe::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark) 0%, transparent 100%);
}

.partners-track {
    display: inline-flex;
    align-items: center;
    gap: 110px;
    padding-left: 110px;
    animation: scroll-partners 25s linear infinite;
    white-space: nowrap;
}

.partners-track img {
    height: 74px;
    object-fit: contain;
    filter: brightness(0) invert(1) opacity(0.5);
    transition: filter 0.3s;
}

.partners-track img.logo-csob {
    height: 102px;
}

.partners-track img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 60px));
    }
}

/* ============================
   BUTTONS — clean & sharp
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.84rem;
    font-weight: 600;
    font-family: var(--font);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: #26C49B;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 212, 168, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(45, 212, 168, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-inverse);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-calculate {
    width: 100%;
    padding: 14px;
    font-size: 0.92rem;
    margin-top: 4px;
    border-radius: var(--radius);
}

/* ============================
   SECTION defaults
   ============================ */
.section {
    padding: clamp(60px, 6vw, 100px) 0;
    scroll-margin-top: 80px;
}

.section-slim {
    padding: 40px 0;
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-inverse);
}

.section-light {
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(36px, 4vw, 60px);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.section-dark .section-header p {
    color: var(--text-inverse-dim);
}

/* ============================
   STATS — clean typographic strip
   ============================ */
.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 32px 12px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: var(--border);
}

.section-dark .stat-item:not(:last-child)::after {
    background: rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.section-dark .stat-label {
    color: var(--text-inverse-dim);
}

/* ============================
   CALCULATOR FORM
   ============================ */
.contact-layout {
    max-width: clamp(520px, 46vw, 760px);
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-section {
    background: rgba(15, 38, 35, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 3vw, 44px);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    letter-spacing: -0.02em;
}

.slider-group {
    margin-bottom: 24px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.slider-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

.dp-euro {
    font-weight: 500;
    color: var(--text-tertiary);
    font-size: 0.84rem;
    margin-left: 4px;
}

.slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    cursor: pointer;
    transition: background 0.2s;
}

.slider:hover {
    background: rgba(0, 0, 0, 0.08);
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    background: var(--accent);
    cursor: pointer;
    border: 3px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(45, 212, 168, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(45, 212, 168, 0.5);
}

.slider-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 8px;
    font-weight: 500;
}

.result-box {
    background: #112F2A;
    /* Darker inset green */
    border: 1px solid rgba(45, 212, 168, 0.2);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    margin-top: 10px;
}

.rate-info {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.rate-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent-dim);
    border: 1px solid var(--accent-border);
    border-radius: 50px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent);
}

.result-amount {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.result-prefix {
    font-size: 0.72rem;
    color: var(--text-inverse-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.result-number {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.result-suffix {
    font-size: 0.78rem;
    color: var(--text-inverse-dim);
}

.result-disclaimer {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 10px;
    font-style: italic;
}

/* ============================
   INFO CARDS -> PREMIUM SERVICES LAYOUT
   ============================ */
.tabs-container {
    max-width: 900px;
    margin: 50px auto 0;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    position: relative;
}

.tab-btn {
    background: #FFFFFF;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.97rem;
    font-weight: 700;
    padding: 15px 35px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.tab-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(45, 212, 168, 0.08);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent);
    color: var(--bg-dark);
    border-color: var(--accent);
    box-shadow: 0 12px 24px rgba(45, 212, 168, 0.25);
    transform: translateY(-2px);
}

.tabs-content-wrapper {
    position: relative;
    min-height: 480px;
}

.tab-pane {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.service-grid-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-item {
    background: var(--bg);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none;
}

.service-item:hover {
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 32px rgba(45, 212, 168, 0.12), 0 4px 8px rgba(0, 0, 0, 0.02);
}

.service-icon-wrap {
    width: 140px;
    height: 140px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mask-image: radial-gradient(circle, black 65%, transparent 98%);
    -webkit-mask-image: radial-gradient(circle, black 65%, transparent 98%);
    mix-blend-mode: multiply;
}

.service-item:hover .service-icon-wrap {
    transform: translateY(-5px) scale(1.05);
}

.service-item-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.3;
    margin-bottom: 6px;
}

.service-item-subtext {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* old-mq */
@media (max-width: 992px) {
    .service-grid-bento {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-column {
        padding: 24px;
    }
}


/* ============================
   CLIENTS — dark grid
   ============================ */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.client-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: var(--transition);
}

.client-card:hover {
    border-color: rgba(45, 212, 168, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.client-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    color: var(--accent);
}

.client-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-inverse);
    letter-spacing: -0.02em;
}

.client-card p {
    font-size: 0.78rem;
    color: var(--text-inverse-dim);
    line-height: 1.55;
}

/* ============================
   TEAM — editorial
   ============================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 24px 28px;
    transition: var(--transition);
}

.team-card:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
}

.team-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 2px solid var(--bg-elevated);
    filter: grayscale(30%) contrast(1.05);
    transition: var(--transition);
}

.team-card:hover .team-photo {
    filter: grayscale(0%) contrast(1);
    border-color: var(--accent);
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.team-role {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ============================
   ACCORDION (FAQ)
   ============================ */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.accordion-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--accent-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.accordion-item.active {
    background: var(--bg-elevated);
    border-color: var(--accent);
}

.accordion-header {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 20px;
}

.accordion-header-content {
    flex-grow: 1;
}

.accordion-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s;
}

.accordion-item.active .accordion-header h3 {
    color: var(--accent);
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-tertiary);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-inner {
    padding: 0 24px 24px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================
   MINI FOOTER
   ============================ */
.mini-footer {
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    color: var(--text-tertiary);
    font-size: 0.75rem;
    background: var(--bg);
}

.mini-footer p {
    margin: 0;
}

.mini-footer a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.mini-footer a:hover {
    color: var(--accent);
}

/* ============================
   CONTACT SECTION (REDESIGN)
   ============================ */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0 40px;
}

.contact-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-inverse);
    letter-spacing: -0.03em;
}

.contact-header p {
    font-size: 1.05rem;
    color: var(--text-inverse-dim);
    line-height: 1.6;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 212, 168, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.contact-card:hover {
    border-color: rgba(45, 212, 168, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card>* {
    position: relative;
    z-index: 1;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent);
    color: var(--bg-dark);
    transform: scale(1.1) rotate(5deg);
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--text-inverse-dim);
    margin-bottom: 16px;
    line-height: 1.5;
}

.contact-link {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: #FFF;
}

.company-info {
    grid-column: span 1;
}

.company-address {
    font-size: 0.95rem;
    color: var(--text-inverse-dim);
    line-height: 1.6;
    margin-bottom: 16px;
}

.company-address strong {
    color: var(--text-inverse);
}

.company-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
}

/* ============================
   GDPR PAGE
   ============================ */
.gdpr-page-content {
    max-width: 700px;
    margin: 0 auto;
}

.gdpr-block {
    margin-bottom: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
}

.gdpr-block h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.gdpr-block p {
    color: var(--text-inverse-dim);
    line-height: 1.65;
    font-size: 0.88rem;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 32px 24px;
        border-top: 1px solid var(--border-dark);
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 8px;
    }

    .nav-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-dropdown-toggle {
        font-size: 1.1rem;
        padding: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile Dropdown */
    .nav-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-top: 8px;
    }

    .nav-dropdown-menu a {
        font-size: 1rem;
        padding: 10px;
        text-align: center;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }


    .hero {
        padding: 130px 24px 80px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-row {
        flex-direction: column;
        gap: 0;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item {
        border-bottom: 1px solid var(--border);
        padding: 20px 12px;
    }

    .stat-item:last-child {
        border-bottom: none;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .result-number {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }
}

/* ============================
   MODAL & POPUP FORM
   ============================ */
body.modal-open {
    overflow: hidden;
}

body.modal-open>*:not(#leadModalOverlay):not(script) {
    filter: blur(8px);
    transition: filter 0.3s ease;
}

body>*:not(#leadModalOverlay):not(script) {
    transition: filter 0.3s ease;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px;
    margin: 20px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-tertiary);
    line-height: 1;
    z-index: 100;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-form-inner {
    padding: 32px 32px 24px;
    overflow-y: auto;
}

/* ============================
   MODAL LOADING / SUCCESS OVERLAY
   ============================ */
.modal-loading-overlay {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(10, 26, 24, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
    border-radius: inherit;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.modal-loading-overlay.active {
    display: flex;
}

/* --- Spinner state --- */
.modal-loading-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.3s ease;
}

.modal-loading-box.hidden { display: none; }

.modal-spinner {
    width: 56px;
    height: 56px;
    border: 4px solid rgba(45, 212, 168, 0.18);
    border-top-color: #2DD4A8;
    border-radius: 50%;
    animation: spinnerRotate 0.8s linear infinite;
}

@keyframes spinnerRotate {
    to { transform: rotate(360deg); }
}

.modal-loading-text {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: -0.01em;
}

/* --- Success state --- */
.modal-success-box {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeInUp 0.4s ease;
    text-align: center;
}

.modal-success-box.visible { display: flex; }

.modal-success-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(45, 212, 168, 0.15);
    border: 2px solid #2DD4A8;
    color: #2DD4A8;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successPop {
    0%   { transform: scale(0.4); opacity: 0; }
    70%  { transform: scale(1.12); }
    100% { transform: scale(1); opacity: 1; }
}

.modal-success-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}

.modal-success-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Comprehensive lead form styling matching the screenshot */
.lead-form-group {
    margin-bottom: 20px;
}

.lead-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.lead-form-group label span.req {
    color: #E02A20;
}

.lead-form-group input[type="text"],
.lead-form-group input[type="email"],
.lead-form-group select,
.lead-form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1D1D1;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: var(--font);
    background: #FFFFFF;
    transition: border-color var(--transition);
}

.lead-form-group input[type="text"]::placeholder,
.lead-form-group input[type="email"]::placeholder,
.lead-form-group textarea::placeholder {
    color: #A0A0A0;
}

.lead-form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20viewBox%3D%220%200%2012%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M1.41%200.589844L6%205.16984L10.59%200.589844L12%201.99984L6%207.99984L0%201.99984L1.41%200.589844Z%22%20fill%3D%22%23111111%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.lead-form-group input:focus,
.lead-form-group select:focus,
.lead-form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.lead-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.lead-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.lead-form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
}

.lead-form-checkbox label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

.lead-form-checkbox label span.req {
    color: #E02A20;
}

.lead-legal-text {
    font-size: 0.65rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* ============================
   SCROLL REVEAL ANIMATIONS
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    visibility: hidden;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ============================
   ABOUT SECTION (O NÁS) - PREMIUM BENTO
   ============================ */
.about-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-text-content {
    text-align: left;
}

.about-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(45, 212, 168, 0.1);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 168, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-text-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-inverse);
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.about-lead {
    font-size: 1.15rem;
    color: var(--text-inverse);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text-content p {
    font-size: 1rem;
    color: var(--text-inverse-dim);
    margin-bottom: 20px;
    line-height: 1.65;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-inverse);
    font-size: 1.05rem;
    font-weight: 500;
}

.about-feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    background: rgba(45, 212, 168, 0.1);
    border-radius: 50%;
    padding: 4px;
}

.about-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.bento-card {
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.bento-card:hover {
    border-color: rgba(45, 212, 168, 0.25);
    background: rgba(255, 255, 255, 0.05);
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
}

.bento-dark:hover {
    border-color: rgba(45, 212, 168, 0.3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.bento-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #1A9272 100%);
    color: var(--bg-dark);
    animation: bento-pulse 3s infinite ease-in-out;
}

@keyframes bento-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(45, 212, 168, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(45, 212, 168, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(45, 212, 168, 0);
    }
}

.bento-accent h4,
.bento-accent p {
    color: var(--bg-dark);
}

.bento-accent .bento-icon {
    background: rgba(0, 0, 0, 0.1);
    color: var(--bg-dark);
}

.bento-glass {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(45, 212, 168, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.bento-icon svg {
    width: 24px;
    height: 24px;
}

.bento-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-inverse);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.bento-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.bento-stat-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.bento-stat-prefix {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-inverse-dim);
    font-weight: 500;
}

.bento-stat-number {
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 0 30px rgba(45, 212, 168, 0.3);
}

.bento-stat-suffix {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-inverse);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-stat-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.about-stat p {
    font-size: 0.85rem;
    color: var(--text-inverse-dim);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ============================
   BLOG SECTION
   ============================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-border);
}

.blog-image {
    width: 100%;
    height: 180px;
    background: #e5e7eb;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-tag {
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: auto;
    transition: color 0.2s;
}

.blog-link:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================
   BLOG GRID & MODAL
   ============================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-border);
}

.blog-card .blog-tag {
    background: var(--accent-dim);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.blog-card .blog-title {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-card .blog-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card .blog-read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.blog-card:hover .blog-read-more {
    gap: 12px;
}

/* Modals */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 26, 24, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 24px;
}

.blog-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.blog-modal-content {
    background: var(--bg-card);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.98);
    transition: transform 0.3s ease;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

.blog-modal.active .blog-modal-content {
    transform: translateY(0) scale(1);
}

.blog-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.blog-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--accent);
}

.blog-modal-body {
    padding: 48px;
    overflow-y: auto;
    color: var(--text-primary);
}

.blog-modal-body::-webkit-scrollbar {
    width: 8px;
}

.blog-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.blog-modal-body::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}

.blog-modal-body p {
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.blog-modal-body ul,
.blog-modal-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
    font-size: 1.05rem;
}

.blog-modal-body li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .blog-modal {
        padding: 16px;
    }

    .blog-modal-body {
        padding: 32px 24px;
    }
}

/* ============================
   FLOATING BUTTONS (WHATSAPP & PHONE)
   ============================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20BA5A;
    color: #FFF;
}

@keyframes flipCoin {
    0%, 90% { transform: rotateY(0); }
    95% { transform: rotateY(180deg); }
    100% { transform: rotateY(360deg); }
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
    animation: flipCoin 6s infinite ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.phone-float {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 60px;
    height: 60px;
    background-color: var(--bg-dark);
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border-dark);
}

.phone-float:hover {
    transform: scale(1.1);
    background-color: #1a2f2c;
    color: #FFF;
}

.phone-icon {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: flipCoin 6s infinite ease-in-out;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .phone-float {
        bottom: 20px;
        right: 80px;
        width: 50px;
        height: 50px;
    }

    .phone-icon {
        width: 22px;
        height: 22px;
    }
}

#sluzby {
    background: #FFFFFF;
}

.bento-accent:hover {
    background: linear-gradient(135deg, #3df2c3 0%, var(--accent) 100%) !important;
    box-shadow: 0 12px 40px rgba(45, 212, 168, 0.4) !important;
    transform: scale(1.03) !important;
    color: var(--bg-dark) !important;
}

.bento-dark:hover,
.bento-glass:hover {
    border-color: rgba(45, 212, 168, 0.25) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ====================================================
   ORBITAL SERVICES — PREMIUM MULTI-RING SYSTEM
   ==================================================== */

/* 8. Ambient glow sekcia */
.section-orbital {
    overflow: hidden;
    padding: 20px 0 75px;
    position: relative;
    /* 3. Dot-grid pattern */
    background-color: #f8fbfa;
    background-image: radial-gradient(circle, rgba(26, 146, 114, 0.18) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

/* Wrapper — kompaktná veľkosť, dekoratívny kruh presahuje cez overflow:hidden sekcie */
.orbital-wrapper {
    position: relative;
    width: 600px;
    height: 560px;
    margin: 0 auto 10px auto;
    transform: scale(0.88);
    transform-origin: top center;
    overflow: visible;
    z-index: 1;
    isolation: isolate;
}



/* 8. Dýchajúci ambient glow */
.orbital-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 820px;
    height: 820px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45,212,168,0.1) 0%, rgba(26,146,114,0.04) 40%, transparent 70%);
    animation: glowBreathe 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowBreathe {
    0%   { transform: translate(-50%, -50%) scale(1);    background: radial-gradient(circle, rgba(45,212,168,0.12) 0%, rgba(26,146,114,0.05) 40%, transparent 70%); }
    33%  { transform: translate(-50%, -50%) scale(1.08); background: radial-gradient(circle, rgba(45,212,168,0.18) 0%, rgba(26,146,114,0.08) 40%, transparent 70%); }
    66%  { transform: translate(-50%, -50%) scale(1.04); background: radial-gradient(circle, rgba(10,26,24,0.08)  0%, rgba(45,212,168,0.05) 40%, transparent 70%); }
    100% { transform: translate(-50%, -50%) scale(1);    background: radial-gradient(circle, rgba(45,212,168,0.12) 0%, rgba(26,146,114,0.05) 40%, transparent 70%); }
}

/* 6. SVG Lúče z centra */
.orbital-rays {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.ray {
    stroke: rgba(45, 212, 168, 0.18);
    stroke-width: 1;
    stroke-dasharray: 4 8;
}

/* 2. Viditeľné orbitálne dráhy */
.orbit-track {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(45, 212, 168, 0.2);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}
/* 4. Tretí dekoratívny kruh — veľký, iba vizuálny */
.orbit-track-decorative {
    width: 820px;
    height: 820px;
    border: 1px dashed rgba(45, 212, 168, 0.1);
    box-shadow:
        0 0 30px rgba(45, 212, 168, 0.06) inset,
        0 0 30px rgba(45, 212, 168, 0.06);
}
.orbit-track-outer {
    width: 520px;
    height: 520px;
    border-color: rgba(45, 212, 168, 0.22);
    box-shadow: 0 0 20px rgba(45, 212, 168, 0.05) inset,
                0 0 20px rgba(45, 212, 168, 0.05);
}
.orbit-track-inner {
    width: 340px;
    height: 340px;
    border-color: rgba(26, 146, 114, 0.18);
}

/* 4. Centrálne logo s aurou */
.orbital-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: #0A1A18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    box-shadow:
        0 0 0 12px rgba(45, 212, 168, 0.08),
        0 0 0 24px rgba(45, 212, 168, 0.04),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Rotujúca aura okolo loga */
.orbital-aura {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        rgba(45, 212, 168, 0.5) 20%,
        transparent 40%,
        rgba(26, 146, 114, 0.3) 60%,
        transparent 80%,
        rgba(45, 212, 168, 0.4) 100%
    );
    animation: auraRotate 4s linear infinite;
    filter: blur(4px);
}
.orbital-center::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #0A1A18;
    border-radius: 50%;
    z-index: 1;
}
.orbital-logo-green {
    width: 110px;
    position: relative;
    z-index: 2;
    filter: brightness(0) invert(1); /* Biele logo */
}

@keyframes auraRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* OUTER RING kontajner */
.orbital-items {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.outer-items {
    animation: orbitCW 100s linear infinite;
}

.inner-items {
    animation: orbitCCW 70s linear infinite;
}

@keyframes orbitCW  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes orbitCCW { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }

/* Polohovanie orbitálnych kariet */
.orbit-item {
    position: absolute;
    top: 50%; left: 50%;
    transform: rotate(var(--angle)) translateX(260px) rotate(calc(-1 * var(--angle)));
    margin-left: -75px;
    margin-top: -45px;
    z-index: 10;
}

.inner-item {
    transform: rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
    margin-left: -60px;
    margin-top: -38px;
}

/* 3. Glassmorphism karty */
.orbit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 150px;
    padding: 14px 16px;
    background: #0A1A18;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(45, 212, 168, 0.3);
    border-radius: 14px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(45, 212, 168, 0.1) inset;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* Outer items rotate CW (60s), so cards counter-rotate CCW (60s) to stay upright */
    animation: orbitCCW 100s linear infinite;
}
/* Inner ring rotates CCW (70s), so its cards counter-rotate CW (70s) */
.orbit-card-inner {
    width: 125px;
    padding: 10px 13px;
    animation: orbitCW 70s linear infinite;
}



/* 7. Zelené ikony v kartách */
.orbit-card-icon {
    width: 30px;
    height: 30px;
    background: rgba(45, 212, 168, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2DD4A8;
    margin-bottom: 2px;
    flex-shrink: 0;
}
.orbit-card-icon svg { width: 16px; height: 16px; }

.orbit-card-inner .orbit-card-icon {
    width: 26px;
    height: 26px;
}
.orbit-card-inner .orbit-card-icon svg { width: 14px; height: 14px; }

.orbit-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
    line-height: 1.2;
}
.orbit-card-inner .orbit-title { font-size: 0.72rem; }

.orbit-desc {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    line-height: 1.3;
}

/* MOBILE */
@media (max-width: 960px) {
    .orbital-wrapper {
        width: 500px;
        height: 500px;
    }
    .orbit-track-decorative { width: 480px; height: 480px; }
}
@media (max-width: 700px) {
    .orbital-wrapper {
        width: 340px;
        height: 340px;
    }
    .orbit-track-decorative { display: none; }
    .orbit-track-outer { width: 300px; height: 300px; }
    .orbit-track-inner { width: 190px; height: 190px; }
    .orbital-center { width: 90px; height: 90px; }
    .orbital-logo-green { width: 65px; }
    .orbit-item {
        transform: rotate(var(--angle)) translateX(148px) rotate(calc(-1 * var(--angle)));
        margin-left: -50px;
        margin-top: -32px;
    }
    .inner-item {
        transform: rotate(var(--angle)) translateX(93px) rotate(calc(-1 * var(--angle)));
        margin-left: -40px;
        margin-top: -28px;
    }
    .orbit-card { width: 100px; padding: 8px 10px; }
    .orbit-card-inner { width: 82px; padding: 6px 8px; }
    .orbit-desc { display: none; }
    .orbit-title { font-size: 0.65rem; }
    .orbital-bg-glow { width: 300px; height: 300px; }
    .orbital-rays { display: none; }
}

#ponuka { background: #f8fbfa; }


/* ===========================
   CONTACT RESPONSIVENESS FIX
   =========================== */
.contact-cards {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.contact-card {
    display: flex !important;
    flex-direction: column !important;
    padding: 32px 30px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
}

.contact-card .contact-link,
.contact-card .company-meta {
    margin-top: auto !important;
    padding-top: 20px;
}


@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr !important;
    }

    .contact-card {
        padding: 32px 24px !important;
    }



    .contact-header h2 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 480px) {
    .contact-header h2 {
        font-size: 1.8rem !important;
    }
}

/* ABOUT SECTION RESPONSIVENESS */
@media (max-width: 992px) {
    .about-grid-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .about-bento {
        grid-template-columns: 1fr !important;
    }

    .bento-span-2 {
        grid-column: span 1 !important;
    }

    .about-text-content {
        text-align: center !important;
    }

    .about-features {
        justify-content: center !important;
    }
}

.section-dark .section-header h2 {
    color: var(--text-inverse) !important;
}

.section-dark .section-header p {
    color: var(--text-inverse-dim) !important;
}

/* HEADER COLORS SYNC */
.section-dark .section-header h2,
.section-dark .section-header h3,
.section-dark .section-header h4 {
    color: var(--text-inverse) !important;
    letter-spacing: -0.04em !important;
}

.section-dark .section-header p {
    color: var(--text-inverse-dim) !important;
}

/* O NAS RESPONSIVENESS REFINEMENT */
@media (max-width: 992px) {
    .about-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important;
        text-align: center !important;
    }

    .about-text-content {
        text-align: center !important;
    }

    .about-features {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .about-bento {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .bento-span-2 {
        grid-column: span 1 !important;
    }

    .about-text-content h2 {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 576px) {
    .about-text-content h2 {
        font-size: 1.8rem !important;
    }

    .bento-card {
        padding: 24px 20px !important;
    }
}

/* SERVICES SECTION HEADER HIERARCHY */
#ponuka .section-header h2 {
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}

#ponuka .category-title {
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    margin-top: 40px !important;
    margin-bottom: 30px !important;
}

@media (max-width: 768px) {
    #ponuka .section-header h2 {
        font-size: 2.2rem !important;
    }

    #ponuka .category-title {
        font-size: 1.5rem !important;
    }
}

/* EXPLICIT WHITE COLOR FOR DARK SECTIONS */
#kalkulacka .section-header h2,
#klienti .section-header h2,
#kontakt .contact-header h2,
.section-dark .section-header h2,
.section-dark .section-header h3,
.section-dark h2 {
    color: #FFFFFF !important;
}

#kalkulacka .section-header p,
#klienti .section-header p,
.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* FINAL OVERRIDE FOR WHITE TEXT IN DARK SECTIONS */
.section-dark .section-header h2,
.section-header .section-dark h2,
#kalkulacka h2,
#klienti h2,
#faq-preview h2,
#kontakt h2,
.section-dark h2,
.section-dark h3 {
    color: #FFFFFF !important;
}

.section-dark .section-header p,
.section-dark p {
    color: rgba(255, 255, 255, 0.7) !important;
}



.contact-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Ensure consistent spacing inside cards */
/* Consolidated contact styles up at line 2750 */

#faq-preview .section-header h2 {
    color: var(--text-primary) !important;
}

#faq-preview .section-header p {
    color: var(--text-secondary) !important;
}

/* ============================
   SERVICES — FLAT LAYOUT (NEW)
   ============================ */
#ponuka {
    background: #FFFFFF;
}

.category-block {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    letter-spacing: -0.04em;
}

.flat-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    gap: 8px !important;
    transform: none !important;
}

.flat-item:hover {
    transform: translateY(-5px) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

.flat-icon {
    width: 200px !important;
    height: 120px !important;
    margin-bottom: 15px;
}

.flat-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    mix-blend-mode: multiply !important;
}

.service-line {
    width: 30px;
    height: 3px;
    background: #1A9272;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* ============================
   BENTO CARD HOVER EFFECTS
   ============================ */
.bento-accent:hover {
    background: linear-gradient(135deg, #3df2c3 0%, var(--accent) 100%) !important;
    box-shadow: 0 12px 40px rgba(45, 212, 168, 0.4) !important;
    transform: scale(1.03) !important;
    color: var(--bg-dark) !important;
}

.bento-dark:hover,
.bento-glass:hover {
    border-color: rgba(45, 212, 168, 0.25) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* ============================
   SECTION HEADER — DARK/LIGHT COLORS
   ============================ */
#ponuka .section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

/* Dark sections — white headings */
.section-dark .section-header h2,
#kalkulacka .section-header h2,
#klienti .section-header h2 {
    color: #FFFFFF !important;
}

.section-dark .section-header p,
#kalkulacka .section-header p,
#klienti .section-header p {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* FAQ section — dark/black headings (light bg) */
#faq-preview .section-header h2 {
    color: var(--text-primary) !important;
}

#faq-preview .section-header p {
    color: var(--text-secondary) !important;
}

/* Removed redundant contact card rules — consolidated above around line 2750 */

/* ============================
   O NAS + CONTACT — RESPONSIVE
   ============================ */
@media (max-width: 992px) {
    .about-grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 50px !important;
    }

    .about-text-content {
        text-align: center !important;
    }

    .about-features {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    .about-bento {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .bento-span-2 {
        grid-column: span 1 !important;
    }

    .about-text-content h2 {
        font-size: 2.2rem !important;
    }

    /* Removed redundant rules — consolidated above around line 2750 */
}

@media (max-width: 576px) {
    .about-text-content h2 {
        font-size: 1.8rem !important;
    }

    .bento-card {
        padding: 24px 20px !important;
    }

    .contact-card {
        padding: 24px 20px !important;
    }

    .contact-header h2 {
        font-size: 1.8rem !important;
    }

    #ponuka .section-header h2 {
        font-size: 2rem !important;
    }

    .category-title {
        font-size: 1.5rem !important;
    }

    .service-grid-bento.flat-layout {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 400px) {
    .service-grid-bento.flat-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Centering Bento Icons below 990px */
@media (max-width: 990px) {
    .bento-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .bento-icon {
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }
}

/* ============================
   CALCULATOR — MOBILE COMPACT
   ============================ */
@media (max-width: 768px) {
    /* Kalkulačka na mobile — kompaktnejšia */
    #kalkulacka {
        padding: 50px 0 !important;
    }

    /* Zmenšíme nadpis sekcie */
    #kalkulacka .section-header {
        margin-bottom: 18px;
    }
    #kalkulacka .section-header h2 {
        font-size: 1.35rem;
        margin-bottom: 4px;
    }
    #kalkulacka .section-header p {
        font-size: 0.8rem;
    }

    /* Menej paddingu v karte formulára */
    .form-section {
        padding: 16px 14px;
    }

    /* Zmenšíme nadpis "Finančné informácie" */
    .form-section-title {
        font-size: 0.82rem;
        margin-bottom: 10px;
        padding-bottom: 8px;
    }

    /* Slider skupiny — menej medzery dole */
    .slider-group {
        margin-bottom: 10px;
    }

    /* Label slidera menší */
    .slider-label {
        font-size: 0.78rem;
        margin-bottom: 6px;
    }

    /* Hodnota slidera menšia */
    .slider-value {
        font-size: 0.86rem;
    }

    /* Skryjeme euro v zátvorkách pri akontácii — šetrí miesto */
    .dp-euro {
        display: inline-block;
        font-size: 0.72rem;
        opacity: 0.8;
    }

    /* Min/max popisky slidera menšie */
    .slider-range {
        font-size: 0.64rem;
        margin-top: 4px;
    }

    /* Rate badge kompaktnejší */
    .rate-info {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .rate-badge {
        padding: 5px 12px;
        font-size: 0.76rem;
    }

    /* Výsledkový box kompaktnejší */
    .result-box {
        padding: 12px;
        margin-top: 6px;
    }
    .result-number {
        font-size: 1.9rem;
    }
    .result-prefix,
    .result-suffix {
        font-size: 0.66rem;
    }

    /* Tlačidlo kompaktnejšie */
    .btn-calculate {
        padding: 11px;
        font-size: 0.84rem;
        margin-top: 4px;
    }
}







/* ============================
   LEAD FORM — VALIDATION ERROR STYLES
   ============================ */

/* Error border on invalid input/select */
.lead-form-group input.input-error,
.lead-form-group select.input-error,
.lead-form-group textarea.input-error {
    border-color: #E02A20 !important;
    background-color: rgba(224, 42, 32, 0.04) !important;
    animation: field-shake 0.35s ease;
}

@keyframes field-shake {
    0%   { transform: translateX(0); }
    20%  { transform: translateX(-5px); }
    40%  { transform: translateX(5px); }
    60%  { transform: translateX(-4px); }
    80%  { transform: translateX(3px); }
    100% { transform: translateX(0); }
}

/* Error message below the field */
.lead-field-error {
    display: block;
    color: #E02A20;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
    padding-left: 2px;
    line-height: 1.3;
}

/* Smooth reveal for conditional fields */
#rodneCisloGroup,
#icoGroup {
    animation: field-slide-in 0.25s ease;
}

@keyframes field-slide-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================
   HERO GRID FOR CALC & 2K/4K OPTIMIZATION
   ============================ */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 60px;
    }
}
/* 2K and 4K optimization (refined for elegant sizing) */
@media (min-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    .hero-grid {
        gap: 80px;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1600px !important;
    }
    .hero {
        padding: 140px 0 80px 0;
    }
    .hero h1 {
        font-size: 3.5rem !important;
    }
}

.hero-calc-side .contact-form {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.hero-calc-side .form-section-title {
    color: var(--text-inverse) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}
.hero-calc-side .slider-label span:first-child {
    color: var(--text-inverse-dim) !important;
}
.hero-calc-side .slider-value {
    color: var(--text-inverse) !important;
}
.hero-calc-side .result-box {
    background: rgba(45,212,168,0.08) !important;
    border: 1px solid rgba(45,212,168,0.2) !important;
    border-radius: 12px !important;
    margin-top: 24px !important;
}
.hero-calc-side .result-prefix, .hero-calc-side .result-suffix {
    color: var(--text-inverse-dim) !important;
}
.hero-calc-side .result-number {
    color: var(--accent) !important;
}
.hero-calc-side .btn-calculate {
    margin-top: 24px !important;
    height: 54px !important;
    font-size: 1.05rem !important;
}

@media (max-width: 768px) {
    .hero-calc-side {
        padding: 24px !important;
    }
    .calc-summary {
        flex-direction: row;
    }
    .calc-summary .rate-badge {
        min-width: 48%;
    }
}

/* Zmenšenie medzier a paddingov na mobile pre Hero sekciu, aby bola kalkulačka hneď viditeľná */
@media (max-width: 768px) {
    .hero {
        padding-top: 85px !important; 
        padding-bottom: 20px !important;
        min-height: auto !important;
    }
    .hero-grid {
        gap: 15px !important;
    }
    .hero-text-wrapper {
        margin-bottom: 0px !important;
    }
    .hero-text-side h1 {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
        line-height: 1.15 !important;
    }
    .hero-text-side p {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }
    .hero-text-side p.highlight {
        font-size: 0.95rem !important;
    }
    .hero-buttons {
        margin-top: 10px !important;
    }
    .online-badge {
        display: none !important;
    }
    .hero-calc-side {
        width: 100vw !important;
        margin-left: -50vw !important;
        left: 50% !important;
        position: relative !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        padding: 24px 20px !important;
        box-sizing: border-box !important;
    }
}

/* Skrytie partnerského logového pásu na mobile */
@media (max-width: 768px) {
    .partners-stripe {
        display: none !important;
    }
}
\n


/* NORMALIZACIA A RESPONZIVITA (FINAL) */
.container {
    max-width: 1200px; 
    margin: 0 auto;
    width: 100%;
}
@media (min-width: 1920px) {
    .container { max-width: 1400px; } 
}

/* SANE BUTTONS */
.btn {
    min-height: 52px; 
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-dark);
}

.btn-submit-massive {
    width: 100%;
    min-height: 56px; 
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(45, 212, 168, 0.2);
}

/* FINAL FORM STYLES */
.form-final {
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.05); 
    padding: 40px; 
    border-radius: 20px; 
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.form-final .form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-final label {
    color: #fff; 
    margin-bottom: 8px; 
    display: block; 
    font-weight: 500; 
    font-size: 1.05rem;
}
.form-final label .opt {
    opacity: 0.5;
    font-size: 0.85em;
    font-weight: 400;
}

.form-final input {
    height: 52px;
    font-size: 1rem;
    padding: 0 16px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    display: block;
}
.form-final input:focus {
    border-color: var(--accent);
}

.form-footer-info {
    font-size: 0.85rem; 
    opacity: 0.6; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 24px; 
    color: #fff;
    flex-wrap: wrap;
}
.form-footer-info .dot {
    font-size: 0.6em;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
    .btn {
        min-height: 44px; /* Zmenšené pre mobily, aby nevyzerali obrovské */
        padding: 0 20px;
        font-size: 0.95rem;
    }
    
    .btn-submit-massive {
        min-height: 48px;
    }

    .form-final {
        padding: 24px 20px;
    }
    
    .form-final input {
        height: 44px;
        font-size: 0.95rem;
    }
    
    .nav-links .btn {
        width: auto !important; 
    }
    
    .nav-phone {
        display: none !important;
    }
}
