html {
    overflow-y: scroll;
}

:root {
    --bg-color: #C4DFE6;
    /* Significantly darker pastel blue for visibility */
    --bg-beige: #E0F2F7;
    /* Light Pastel Blue for about section */
    --feature-bg: #ABC4C9;
    /* Muted pastel blue */
    --text-main: #111111;
    --text-muted: #555555;
    --white: #FFFFFF;
    --black: #000000;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --radius-xl: 40px;
    --radius-pill: 50px;
    --radius-circle: 50%;

    --container-max: 1100px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    /* Revert to single solid pastel blue */
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 400;
    /* Elegant serif look */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 40px;
}

/* --- Header --- */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.logo-circle {
    width: 44px;
    height: 44px;
    border: 2px solid var(--black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-circle svg {
    width: 22px;
    height: 22px;
}

.logo-text {
    font-family: var(--font-body);
    font-size: 2.0rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links li a {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: color 0.2s;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-links li a:hover {
    color: var(--black);
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-round-small {
    background: #CAD8DC;
    /* Muted blue-grey */
    border-radius: var(--radius-pill);
    padding: 8px 16px;
    color: var(--text-main);
    font-size: 0.75rem;
}

.btn-dark-pill {
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    padding: 10px 20px;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.burger div {
    width: 24px;
    height: 2px;
    background-color: var(--black);
}

/* --- Hero Section --- */
.hero-section {
    padding: 20px 0 0 0;
    /* Removed bottom padding */
    position: relative;
}



.hero-card {
    height: 550px;
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    /* Background image removed in favor of img tag */
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: contrast(1.05) saturate(1.05);
    /* Make image clearly sharper */
}

/* Remove overlay to prevent dimness/blur perception */
.hero-card::after {
    display: none;
}

.hero-text-overlay {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-text-overlay h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 40px;
    color: #1a1a1a;
    /* Dark text */
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    /* Ensure readability */
}

.quote-button-wrapper {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    padding: 6px 6px 6px 20px;
    /* Space for text */
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

.icon-circle-small {
    background: var(--black);
    color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-pill {
    background: transparent;
    color: var(--text-main);
    padding: 0 16px 0 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- Features Section --- */
.features-section {
    position: relative;
    /* Removed padding/margin adjustments, handled in wrapper */
    z-index: 10;
}

.features-grid-wrapper {
    position: relative;
    /* Custom padding removed to inherit .container padding (40px) */
    margin-top: -50px;
    /* Pull up to overlap hero bottom slightly or sit flush */
}

/* Remove the single blue block behind features */
.features-grid-wrapper::before {
    display: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* Seamless connection */
    margin: 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* Slightly reduced gap */
    padding: 25px 30px;
    /* Reduced vertical padding (approx 2/3 of 60) */
    border-radius: 0;
    /* Border removed */
}

/* 1st Card: Muted Pastel Blue */
.feature-card:nth-child(1) {
    background-color: #ABC4C9;
    border-bottom-left-radius: 40px;
    /* Rounded bottom left */
}

/* 2nd Card: White */
.feature-card:nth-child(2) {
    background-color: #FFFFFF;
}

/* 3rd Card: Lighter Pastel Blue */
.feature-card:nth-child(3) {
    background-color: #CCE0E5;
    /* Distinct lighter blue as requested */
    border-bottom-right-radius: 40px;
    /* Rounded bottom right */
}

.feature-card .icon-circle {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #4a5a60;
    line-height: 1.5;
}

/* --- About Section --- */
.about-section {
    padding: 50px 0;
    background-color: var(--bg-beige);
}

.about-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    /* Center align vertically for balance */
    justify-content: space-between;
}

.about-text-content {
    flex: 1;
    padding-right: 20px;
    /* Reduced from 60 to shift balance */
    padding-left: 60px;
    /* Added to move text right */
}

.about-text-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-text-content p {
    margin-bottom: 20px;
    max-width: 440px;
    /* Slightly wider */
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.about-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Changed from flex-end to center/left */
    padding-right: 20px;
    /* Reduced padding to fit wider grid */
}

.arch-image-wrapper {
    width: 320px;
    height: 420px;
    overflow: hidden;
    border-radius: 160px 160px 0 0;
    border: 4px solid var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

/* Split Gallery Styles */
.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 800px;
}

.about-gallery-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#karcher .about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    /* Align tops of row cells */
}

#karcher .about-content-wrapper h2 {
    grid-column: 1 / 2;
    grid-row: 1;
    margin-bottom: 30px;
    padding-left: 60px;
    /* Match existing indentation */
    font-size: 2.8rem;
    /* Restore original font size */
    line-height: 1.1;
    /* Restore original line height */
}

#karcher .about-text-content {
    grid-column: 1 / 2;
    grid-row: 2;
    padding-left: 60px;
    /* Restore indentation */
    padding-right: 20px;
}

#karcher .about-image-content {
    grid-column: 2 / 3;
    grid-row: 2;
    padding: 0;
    align-items: start;
    display: block;
    /* Grid item behavior */
}

#karcher .about-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    /* Keep images same height as each other */
    gap: 0;
    /* Remove gap to attach images */
    /* Height 100% removed to avoid stretching to text height */
}

#karcher .about-gallery-grid img {
    width: 100%;
    height: 100%;
    /* Fill the grid height */
    min-height: 250px;
    /* Minimum height ensures visibility */
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    /* Reset radius */
}

#karcher .about-gallery-grid img:first-child {
    border-radius: 20px 0 0 20px;
    /* Round left corners */
}

#karcher .about-gallery-grid img:last-child {
    border-radius: 0 20px 20px 0;
    /* Round right corners */
}

.karcher-machine-wrapper {
    background-color: #FFFFFF;
    padding: 0;
    box-sizing: border-box;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.karcher-machine-wrapper img {
    box-shadow: none !important;
    border-radius: 20px !important;
    mix-blend-mode: normal;
    width: 100%;
    height: auto;
}

.about-charts-wrapper {
    width: 100%;
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.chart-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    /* Crop scaled image */
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.02);
    /* Zoom in slightly to push borders out */
}

.about-gallery-grid img:hover {
    transform: translateY(-4px);
}

.cta-aside-container {
    display: flex;
    justify-content: flex-end;
}

.cta-aside {
    background: #D8E2E5;
    padding: 40px 60px;
    border-radius: var(--radius-pill);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.cta-aside h3 {
    font-size: 1.8rem;
    line-height: 1.2;
}

.btn-primary-caps {
    background: #ABC4C9;
    padding: 12px 32px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header-content {
        justify-content: space-between;
    }

    .nav-links,
    .header-actions {
        display: none;
    }

    .burger {
        display: flex;
    }

    .nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-text-overlay h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .about-content-wrapper {
        display: flex;
        /* Revert to flex for mobile or keep grid 1 col */
        flex-direction: column;
        gap: 40px;
    }

    #karcher .about-content-wrapper {
        display: flex;
        flex-direction: column;
    }

    .about-image-content {
        justify-content: center;
        width: 100%;
    }
}