:root {
    /* Palette - Sunny Ibiza Terrace (Image Inspo) */

    /* Sunlit & Airy Backgrounds */
    --color-sun-white: #F9F7F2;
    /* Brightest white (Parasols/Sky glare) */
    --color-stone-warm: #EBE6D8;
    /* Warm paved stone (Terrace floor) */

    /* Deep Contrast (The Window Frame) */
    --color-frame-dark: #1A1A18;
    /* Nearly black, soft charcoal */

    /* Natural Accents */
    --color-eucalyptus: #7C7F70;
    /* Valspar Warm Eucalyptus (8004-28F) */
    --color-hedge-green: var(--color-eucalyptus);
    /* Lush, vibrant but deep green */
    --color-rattan: #C9A676;
    /* Honey/Gold from the chairs */

    /* Mapping */
    --color-bg: var(--color-sun-white);
    --color-text: var(--color-frame-dark);
    --color-text-light: #666055;
    /* Warm grey */

    --color-primary: var(--color-eucalyptus);
    --color-primary-dark: #5C5E53;

    --color-dark: var(--color-frame-dark);
    --color-charred: var(--color-frame-dark);
    /* Added missing variable */
    --color-light: var(--color-stone-warm);
    --color-white: #ffffff;

    --color-accent: var(--color-rattan);
    /* Use for highlights/buttons/borders */

    --color-border: rgba(201, 166, 118, 0.3);
    /* Subtle rattan tone */

    /* Typography */
    /* Updated to Outfit as per new design request */
    --font-heading: 'Cardo', serif;
    --font-body: 'Hanken Grotesk', sans-serif;

    --scale-base: 1rem;
    --scale-lg: 1.25rem;
    --scale-xl: 2rem;
    --scale-xxl: 3rem;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
    --radius: 2px;
    /* Sharper, more architectural */
    --trans-fast: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    /* Limestone */
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    /* Olive Moss Headlines */
    font-weight: 600;
    /* Bold/Bold-ish */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    margin-bottom: 1.5em;
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--trans-fast);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.narrow {
    max-width: 800px;
}

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

.text-white {
    color: var(--color-limestone);
    /* Warmer white */
}

.bg-light {
    background-color: rgba(255, 255, 255, 0.4);
    /* Subtle wash over limestone */
}

.bg-dark {
    background-color: var(--color-dark);
    color: var(--color-limestone);
}

.margin-top {
    margin-top: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1em 2.5em;
    /* Larger touch targets */
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--trans-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    /* Green Buttons */
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: #786c5e;
    /* User specified hover color */
    color: #ffffff;
    /* Ensure readable text */
    border-color: #786c5e;
}

.btn-outline {
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-outline:hover {
    background-color: #786c5e;
    /* User specified hover color */
    color: #ffffff;
    border-color: #786c5e;
}

.btn-white {
    background-color: var(--color-limestone);
    color: var(--color-dark);
}

.btn-white:hover {
    background-color: #786c5e;
    /* User specified hover color */
    color: #ffffff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--color-primary);
    /* Match button color */
    backdrop-filter: blur(10px);
    border-bottom: none;
    padding: 1.5rem 0;
    transition: all 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: var(--color-sun-white);
    gap: 1rem;
}


.brand-logo img {
    height: 60px;
    /* Increased for visibility */
    width: auto;
    display: block;
}



.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    color: var(--color-sun-white);
    transition: color 0.3s;
    white-space: nowrap;
    /* Prevent wrapping */
}



.nav-list a:hover {
    opacity: 1;
    color: var(--color-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero */
/* Hero */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-sun-white);
    /* Use defined light color */
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-dark);
    background-image: url('../img/hero.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Darker overlay for better legibility */
    z-index: -1;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 2rem;
    color: var(--color-sun-white);
    /* Ensure Title is Light */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    color: #ffffff;
    /* Pure white for better contrast */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    /* Added shadow for readability */
}

.hero-hook {
    font-style: italic;
    font-family: var(--font-heading);
    color: var(--color-clay);
    /* Burnt Clay Accent */
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

/* Section General */
/* Section General */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    display: block;
    /* Changed from inline-block to block for proper centering */
    color: var(--color-primary);
    text-align: center;
    /* Centering */
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-clay);
    /* Accent line */
    margin: 1.5rem auto 0;
}

.section-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-dark);
    max-width: 800px;
    margin: 0 auto;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
}

/* Intro Icons */
.icon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.icon-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.icon-wrap {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.icon-text {
    font-size: 0.95rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-concrete);
    font-weight: 600;
}

/* How We Work */
.how-col {
    padding: 3rem;
    border: 1px solid var(--color-concrete);
    /* Concrete borders */
    background: transparent;
}

.how-col h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--color-charred);
}

.how-col p {
    color: var(--color-dark);
    opacity: 0.8;
}

/* Pillars */
.pillar-card {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid var(--color-concrete);
    transition: border-color 0.3s;
}

.pillar-card:hover {
    border-color: var(--color-clay);
}

.pillar-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--color-charred);
}

.pillar-text {
    font-size: 0.95rem;
    color: var(--color-concrete);
    line-height: 1.6;
}

/* Packages */
.package-card {
    background: #b9c7c8;
    /* Pale Blue as requested */
    padding: 3rem 2.5rem;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.package-card:hover {
    transform: translateY(-3px);
    background: #a9b7b8;
    /* Slightly darker pale blue on hover */
}

.pkg-name {
    font-size: 1.6rem;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    color: #ffffff;
    /* Changed to white as requested */
}

.pkg-price {
    color: var(--color-charred);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.pkg-list {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pkg-list li {
    margin-bottom: 1rem;
    padding-left: 0;
    position: relative;
    font-size: 0.95rem;
    color: var(--color-dark);
    display: flex;
    gap: 10px;
}

.pkg-list li::before {
    content: '—';
    color: var(--color-clay);
}

.pkg-perfect {
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--color-charred);
    font-family: var(--font-heading);
}

.pkg-note {
    font-size: 0.8rem;
    color: var(--color-concrete);
    margin-bottom: 2rem;
}

/* Values */
.list-grid {
    display: grid;
    gap: 2rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.value-icon {
    color: var(--color-clay);
    font-size: 1.2rem;
    margin-top: 2px;
}

.value-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-charred);
}

.value-content p {
    font-size: 1rem;
    color: var(--color-concrete);
    margin: 0;
}

/* About Me */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: top;
    /* Ensure head is not cropped */
    /* aspect-ratio removed to allow natural height if needed, or keep if grid requires it. 
       User said "still cropping top". Top alignment is key. Arrays are strict. 
       Let's try removing aspect-ratio to let it flow naturally or be controlled by grid/image natural dim. */
    min-height: 500px;
    /* Ensure visual weight */
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    text-align: center;
    /* Centered as requested */
}

.about-text p {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-limestone);
    opacity: 0.7;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 1px solid rgba(227, 218, 199, 0.3);
    /* Limestone border */
    background: transparent;
    color: var(--color-limestone);
    font-family: inherit;
    font-size: 1.1rem;
    border-radius: 0;
}

.input-dark {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2) !important;
    color: var(--color-dark) !important;
}

.input-dark::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.text-dark {
    color: var(--color-dark) !important;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary) !important;
    outline: none;
    background: rgba(0, 0, 0, 0.02);
}

.select-wrapper {
    position: relative;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
    flex-direction: column;
    gap: 1rem;
}

.form-message {
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #7c7f70;
    padding: 5rem 0;
    font-size: 0.9rem;
    color: #fff;
    /* Improved contrast for new background */
    border-top: none;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-nav {
    color: var(--color-limestone);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    text-align: center;
}

/* Remove old link styles if specific */
.footer-nav a {
    color: inherit;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--color-limestone);
    opacity: 0.5;
}

.footer-social a:hover {
    opacity: 1;
}

.copyright {
    opacity: 0.3;
    font-size: 0.8rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        /* Full width for better experience */
        height: 100vh;
        background: #b9c7c8;
        /* Updated to Pale Blue */
        /* Ensure contrast */
        padding: 6rem 2rem;
        transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        /* High z-index */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        display: flex;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-list a {
        color: var(--color-charred);
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
        z-index: 1001;
        position: relative;
        padding: 0.5rem;
    }

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--color-charred);
        margin: 6px 0;
        transition: 0.3s;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 140px;
        padding-bottom: 4rem;
        align-items: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .header-inner {
        padding: 0 1rem;
    }

    .package-card {
        padding: 2rem;
    }

    /* Mobile Spacing Optimizations */
    .section {
        padding: 4rem 0;
        /* Reduced from 8rem */
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
        /* Reduced from 4rem */
    }

    .margin-top {
        margin-top: 2.5rem;
        /* Reduced from 4rem */
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 2rem;
        /* Reduced from 3rem */
    }

    .about-grid {
        gap: 2rem;
    }
}

/* Separator Images */
.separator-section {
    padding: 0;
    overflow: hidden;
}

.separator-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Icon Styles */
.pillar-icon-wrap {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.icon-svg {
    width: 48px;
    height: 48px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* Accordion Styles */
.accordion-list {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 4rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color 0.3s;
}

.accordion-header:hover .pillar-title {
    color: var(--color-clay) !important;
}

.accordion-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Vision Read More Button */
.btn-text {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    text-decoration: underline;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-text:hover {
    color: var(--color-clay);
}

/* Carousel Section */
.carousel-section {
    padding: 140px 0 1rem;
    /* Clear header + minimal bottom space + 20px requested */
    overflow: hidden;
    position: relative;
    background: var(--color-bg);
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 50px 20px;
    /* Moved top padding to bottom for shadow space only */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-item {
    flex: 0 0 auto;
    width: 320px;
    /* Mobile width - Horizontal */
    height: 200px;
    scroll-snap-align: center;
    border-radius: 4px;
    /* Slightly more rounded */
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    touch-action: pan-y;
    /* Prevent browser zoom on double tap */
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:hover {
    transform: translateY(-2px);
}

/* Landscape/Desktop adjustments */
@media (min-width: 768px) {
    .carousel-item {
        width: 500px;
        /* More horizontal */
        height: 300px;
    }
}

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    touch-action: manipulation;
    /* Prevent double-tap zoom */
    user-select: none;
    /* Prevent highlighting */
    -webkit-user-select: none;
}

.carousel-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.05);
}

/* Hero Text Section (Replays old hero content) */
.hero-text-section {
    padding-top: 2rem;
    /* Reduced from spacing-lg */
    padding-bottom: var(--spacing-lg);
    background-color: var(--color-bg);
    /* Ensure standard background */
}

.hero-headline {
    font-family: 'Cardo', serif;
    /* Explicitly use Cardo */
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--color-primary);
    /* Dark Green */
    margin-bottom: 2rem;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-hook {
    font-family: 'Cardo', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* New Layout Styles */
/* New Layout Styles */
.full-width-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 0;
    /* Removed spacing */
}

.separator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 400px;
    width: 100%;
    margin: 0;
    /* Removed spacing */
    gap: 2px;
    /* Slight gap for visual separation */
}

.separator-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .separator-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        height: auto;
    }

    .separator-grid img {
        height: 250px;
    }

    .full-width-image {
        height: 300px;
        /* Smaller on mobile */
    }
}

@media (min-width: 769px) {

    .full-width-image,
    .separator-grid {
        height: 900px;
        /* Requested 600px on desktop */
    }
}

.package-card h3 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    /* white-space: nowrap; - Removed to prevent overflow on mobile */
}

/* Ensure button text allows wrapping on mobile */
.package-card .btn {
    white-space: normal;
}

.package-card .price {
    font-size: 1rem;
    font-family: var(--font-body);
    /* Match text below */
    color: var(--color-text);
    /* Match text color */
    font-weight: 400;
    /* Regular weight */
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.package-card p {
    margin-bottom: 2rem;
    color: var(--color-text);
}

.full-width-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clean-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.clean-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text);
}

.clean-list li:last-child {
    border-bottom: none;
}

.section-subtitle {
    font-family: var(--font-heading);
    /* Cardo */
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.section-text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Adjustments for Opening Section */
#opening-section {
    padding-top: 4rem;
}

/* Ensure sections are opaque */
.section {
    position: relative;
    background-color: var(--color-bg);
    z-index: 2;
}

.section.bg-light {
    background-color: var(--color-light);
    /* Fallback/Override */
}

/* Split Layout (1/3 Image - 2/3 Text) */
.split-section {
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    /* Reset standard section padding */
    width: 100%;
    margin-bottom: var(--spacing-lg);
    /* Maintain vertical rhythm between sections */
}

.split-image {
    width: 100%;
    height: 300px;
    /* Mobile height */
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-content {
    width: 100%;
    padding: var(--spacing-lg) 1.5rem;
    /* Vertical padding + side gutters */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 769px) {
    .split-section {
        display: grid;
        grid-template-columns: 1fr 2fr;
        /* 1/3 Image - 2/3 Content */
        min-height: 600px;
        margin-bottom: 0;
        /* Flush on desktop if desired, or keep spacing */
    }

    .split-image {
        height: 100%;
        /* Full height of grid */
        order: 1;
        /* Ensure image is first (left) */
    }

    .split-content {
        order: 2;
        /* Text on right */
        padding: var(--spacing-lg) 4rem;
        /* More generous side padding on desktop */
    }

    /* Reverse Split (Image Right, Text Left) */
    .split-section.reverse {
        grid-template-columns: 2fr 1fr;
        /* 2/3 Content - 1/3 Image */
    }

    .split-section.reverse .split-image {
        order: 2;
        /* Image on right */
    }

    .split-section.reverse .split-content {
        order: 1;
        /* Content on left */
    }
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #2c3e30;
    /* Dark Green hardcoded to ensure visibility */
    color: #fff;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#cookie-consent-banner.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-actions {
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }

    .cookie-content p {
        padding-right: 2rem;
    }
}