:root {
    /* Colors */
    --color-bg: #0B0D12;
    --color-surface: #121624;
    --color-surface-alt: #171B2D;
    --color-accent: #3B82F6;
    --color-accent-hover: #2563EB;
    --color-text: #F2F4F8;
    --color-text-muted: #AAB1C3;
    --color-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-main: 'Inter', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 90px;
    --radius: 16px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Responsive Scaling for Laptops/Smaller Desktops */
@media (max-width: 1440px) {
    :root {
        font-size: 15px;
        /* Slight scale down */
        --container-width: 1100px;
    }
}

@media (max-width: 1280px) {
    :root {
        font-size: 14px;
        /* More significant scale down */
        --header-height: 80px;
        /* Smaller header */
        --container-width: 1000px;
    }

    .logo img {
        height: 65px;
        /* Adjust logo for smaller header */
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* Fixed Global Background */
    background-image: url('./assets/pozadi web modre.png');
    background-position: center top;
    background-size: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Global Dark Overlay to ensure text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 13, 18, 0.7);
    /* Dark overlay for readability */
    z-index: -1;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.hidden {
    display: none !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn--primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.btn--outline {
    background-color: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
}

.btn--outline:hover {
    border-color: var(--color-text);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn--lg {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(11, 13, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 100;
    display: flex;
    align-items: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 78px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav__link:hover {
    color: var(--color-accent);
}

.header__cta {
    display: inline-flex;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 102;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Local hero background removed in favor of global background */

.hero__container {
    position: relative;
    z-index: 1;
    width: 100%;
}

/* .hero__content max-width removed to allow grid expansion */
.hero__content {
    width: 100%;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
}

.hero__grid-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__crash-logo {
    width: 100%;
    max-width: none;
    height: auto;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--color-accent);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero__title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.hero__benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero__benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #fff;
}

.icon-check {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.section--dark {
    background-color: rgba(18, 22, 36, 0.4);
    /* More transparent surface */
    backdrop-filter: blur(10px);
}

.section--dark-alt {
    background-color: rgba(23, 27, 45, 0.4);
    /* More transparent surface alt */
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
}

/* Cards & Glid */
.insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: var(--radius);
    transition: 0.3s;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-card--consultation {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--consultation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/konzultace po telefonu.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--consultation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--consultation:hover::before {
    transform: scale(1.03);
}

.feature-card--scope {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--scope::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/Kontrola rozsahu.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--scope::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--scope:hover::before {
    transform: scale(1.03);
}

.feature-card--docs {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--docs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/podklady.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--docs::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--docs:hover::before {
    transform: scale(1.03);
}

.feature-card--communication {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--communication::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/komunikace s pojistovnou.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--communication::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--communication:hover::before {
    transform: scale(1.03);
}

.feature-card--repair {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--repair::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/oprava + lakovani.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--repair::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--repair:hover::before {
    transform: scale(1.03);
}

.feature-card--handover {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card--handover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/predani vozu.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: transform 0.5s ease;
}

.feature-card--handover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.feature-card--handover:hover::before {
    transform: scale(1.03);
}


.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
}

.faq__question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.125rem;
    padding: 1.5rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

.faq__question .icon-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s;
}

.faq__item.active .icon-chevron {
    transform: rotate(180deg);
}

.faq__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq__answer p {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: linear-gradient(145deg, #161a2b 0%, #121524 100%);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-accent);
    opacity: 0;
    transition: 0.3s;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-card--premium {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: none;
    /* Override default gradient */
    min-height: 300px;
    /* Maintain height without text */
}

.service-card--premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/premium.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    opacity: 1;
    /* Override default opacity 0 from service-card::before */
    transition: transform 0.5s ease;
}

.service-card--premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

.service-card--premium:hover::before {
    transform: scale(1.03);
}



/* Process */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-border);
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
}

.step__number {
    width: 80px;
    height: 80px;
    background-color: var(--color-surface);
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--color-text-muted);
    max-width: 300px;
    margin: 0 auto;
}



/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: var(--color-bg);
    padding: 2rem;
    border-radius: var(--radius);
}

.stars {
    color: #FBBF24;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.review-author {
    font-weight: 600;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.icon-box svg {
    width: 20px;
    height: 20px;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: var(--color-surface);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
}

.contact-form-container {
    background-color: var(--color-surface);
    padding: 1.5rem;
    /* Further reduced padding */
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 0.75rem;
    /* Further reduced margin */
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    /* Tighter label spacing */
    font-weight: 500;
    font-size: 0.85rem;
    /* Slightly smaller label */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 8px 12px;
    /* Further reduced padding */
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    /* Slightly smaller text */
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.file-upload {
    position: relative;
    overflow: hidden;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-drop-area {
    background-color: var(--color-bg);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
    padding: 0.5rem;
    /* Minimal padding */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: 0.3s;
}

.file-drop-area svg {
    width: 24px;
    height: 24px;
}

.file-input:hover+.file-drop-area,
.file-input:focus+.file-drop-area {
    border-color: var(--color-accent);
    background-color: rgba(59, 130, 246, 0.05);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    background-color: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #22c55e;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    display: none;
    /* Hidden on desktop by default */
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 90;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero__title {
        font-size: 3rem;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__bg-overlay {
        background: linear-gradient(0deg, #0B0D12 0%, rgba(11, 13, 18, 0.8) 50%, rgba(11, 13, 18, 0.6) 100%);
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__grid-left {
        align-items: center;
    }

    .hero__benefits {
        /* Reset to default stack behavior if needed, but grid handles layout now */
        margin-bottom: 2rem;
    }

    .hero__actions {
        justify-content: center;
    }

    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero__title {
        font-size: 2.25rem;
        margin-top: 3rem;
        /* Added spacing from top */
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .btn--lg {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }


}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-surface);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 99;
    border-bottom: 1px solid var(--color-border);
}

.mobile-menu.active {
    height: calc(100vh - var(--header-height));
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
}

.mobile-menu__link {
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--color-accent);
}

/* Insurance Partners */
.insurance-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    /* Reduced gap slightly */
    flex-wrap: wrap;
    margin-top: 3rem;
    padding-bottom: 2rem;
}

.partner-logo {
    width: 140px;
    /* Increased from 80px (was 280px originally) */
    height: 70px;
    /* Increased from 50px (was 120px originally) */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    /* Restored opacity behavior without grayscale */
    transition: 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo svg,
.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    /* Increased from 40px */
    object-fit: contain;
}

@media (max-width: 768px) {

    /* Global Mobile Adjustments */
    :root {
        --header-height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .section {
        padding: 40px 0;
        /* Reduced padding */
    }

    .hero__title {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Partner Logos Mobile */
    .insurance-partners {
        gap: 1rem;
    }

    .partner-logo {
        width: 140px;
        height: 60px;
    }

    /* Fix "Too Wide" and Resize Cards for Mobile */
    /* Fix "Too Wide" and Resize Cards for Mobile */
    .insurance-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns side-by-side */
        gap: 0.5rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        /* Keep reviews single column */
        gap: 1rem;
    }

    .feature-card,
    .service-card {
        padding: 0.5rem;
        /* Ultra compact padding */
    }

    .feature-card h3,
    .service-card h3 {
        font-size: 0.75rem;
        /* Tiny headings */
        margin-bottom: 0.25rem;
    }

    .feature-card p,
    .service-card p {
        font-size: 0.65rem;
        /* Tiny text */
        line-height: 1.2;
    }

    .service-card--premium {
        min-height: 150px;
        /* Further reduced height */
    }

    .container {
        padding: 0 15px;
        /* Ensure small padding on edges */
    }

    /* Hide form and badge on mobile */
    .contact-form-container,
    .badge {
        display: none;
    }

    /* Mobile Hero Actions */
    .hero__actions .btn--primary {
        display: none;
    }

    .hero__actions .btn--outline {
        background-color: var(--color-accent);
        border-color: var(--color-accent);
        color: #fff;
        /* width: 100%; removed to keep original size */
    }


}

/* Map */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--color-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: invert(90%) hue-rotate(180deg);
    /* Dark mode map styling */
}

/* Technology Section - ZigZag Layout */
/* Technology Section - ZigZag Layout */
.tech-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* Medium gap */
}

.tech-row {
    position: relative;
    /* Setup for absolute positioning of separator */
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Gap between image and text - restored to 2rem */
    padding: 1.5rem 0;
    /* Increased padding slightly to make room for separator */
}

/* Gradient Separator Line */
.tech-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    box-shadow: 0 0 10px var(--color-accent);
    /* Glow effect */
    opacity: 0.6;
}

.tech-row:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-content {
    flex: 1.2;
    /* Text takes more space */
    padding: 0.5rem;
}

.tech-image {
    flex: 0.8;
    /* Image takes less space */
    position: relative;
    display: flex;
    justify-content: center;
    /* Center smaller image */
}

.tech-image img {
    width: auto;
    /* Allow narrower width if height constrained */
    max-width: 100%;
    /* Don't overflow container */
    max-height: 250px;
    /* Constrain height to match others */
    height: auto;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.tech-row:hover .tech-image img {
    transform: translateY(-5px);
}

.tech-number {
    display: inline-block;
    font-size: 1.25rem;
    /* Smaller number */
    font-weight: 700;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    width: 32px;
    /* Smaller circle */
    height: 32px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.tech-content h3 {
    font-size: 1.5rem;
    /* Smaller header */
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
}

.tech-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 1rem;
    /* Smaller text */
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.25rem;
    /* Tighter list */
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.tech-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Mobile Responsiveness for Tech Section */
@media (max-width: 900px) {

    .tech-row,
    .tech-row:nth-child(even) {
        flex-direction: column-reverse;
        /* Image on top, Content below */
        gap: 2rem;
        text-align: center;
    }

    .tech-list li {
        text-align: left;
        display: inline-block;
        /* Center aligned but text left */
        margin-right: 1rem;
    }

    .tech-list {
        text-align: center;
    }

    .tech-content h3 {
        font-size: 1.5rem;
    }
}

/* Footer Adjustments */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
}