/* 
   Maple Leaf Green Clean - Design System
   Intentional Minimalism & Bespoke Layouts
*/

:root {
    /* Color Palette */
    --clr-cream: #F3E4C6;
    --clr-cream-dark: #E6D0A7;
    --clr-forest: #005F25;
    --clr-forest-light: #00993E;
    --clr-accent: #EA9910;
    
    /* Typography */
    --font-heading: 'Fraunces', serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Variables */
    --bg-primary: var(--clr-cream);
    --bg-secondary: var(--clr-cream-dark);
    --bg-nav: rgb(243, 228, 198, 0.95);
    --text-primary: var(--clr-forest);
    --text-secondary: var(--clr-forest-light);
    --border-color: rgb(0, 95, 37, 0.1);
    
    /* Spacing & Layout */
    --space-sm: 1rem;
    --space-md: 2.5rem;
    --space-lg: 6rem;
    --space-xl: 10rem;
    --max-width: 1400px;
}

[data-theme="dark"] {
    --bg-primary: #003d18;
    --bg-secondary: #002e12;
    --bg-nav: rgb(0, 82, 32, 0.95);
    --text-primary: #F3E4C6;
    --text-secondary: #EA9910;
    --border-color: rgb(243, 228, 198, 0.1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.85;
    transition: background-color 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

p {
    margin-bottom: 1.5rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.05;
    font-weight: 400;
}

i {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Typography Utilities */
.text-center { text-align: center; }

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--text-primary);
    color: var(--bg-primary);
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid var(--text-primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-primary);
    opacity: 1;
}

.btn-primary.large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

/* Navigation */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    backdrop-filter: blur(12px);
    background: var(--bg-nav);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-nav);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-mascot-home {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-mascot-home:hover {
    transform: scale(1.1) rotate(-5deg);
}

.nav-mascot-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.main-nav.scrolled .logo-img {
    height: 60px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.theme-btn {
    background: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.theme-btn:hover {
    transform: rotate(15deg);
}

[data-theme="light"] .icon-light,
[data-theme="dark"] .icon-dark {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1001;
}

.hamburger .line {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger .line:nth-child(1) { top: 0; }
.hamburger .line:nth-child(2) { bottom: 0; }

.hamburger.active .line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active .line:nth-child(2) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--space-xl) + 5rem) var(--space-md) var(--space-lg);
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
}

.hero-split {
    grid-template-columns: 1fr 1.3fr;
}

.hero-split .full-mascot {
    transform: scale(2.0) translateY(4rem);
    transform-origin: bottom center;
}

.hero-content {
    max-width: 900px;
}

.hero-location {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
}

.hero-title {
    font-size: clamp(4rem, 9vw, 8rem);
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 2rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Trust Bar */
.trust-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: var(--space-lg) var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    align-items: start;
    overflow: hidden;
}

.trust-bar-item-mascot {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
}

.trust-item {
    text-align: center;
}

.trust-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: 0 var(--space-md) var(--space-xl);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-block {
    margin-bottom: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
}

.service-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-block.alt-block .service-header {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.service-header h3 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.heading-mascot {
    width: 120px;
    height: 120px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.heading-mascot:hover {
    transform: scale(1.05) rotate(5deg);
}

.service-text-full {
    width: 100%;
}

.service-text-full .service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 3rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .service-text-full .service-list {
        grid-template-columns: 1fr;
    }
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .service-block.alt-block .service-header {
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
    }
}

.section-header {
    margin-bottom: 8rem;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-list {
    list-style: none;
    margin-top: 1.5rem;
}

.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.service-list li::before {
    content: "✓";
    color: var(--text-primary);
    font-weight: 700;
    flex-shrink: 0;
}

.service-list li:last-child {
    border-bottom: none;
}

.service-card {
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 24px;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.service-card.alt {
    background: transparent;
    border: 1px solid var(--border-color);
}

/* Formula Split Section */
.formula {
    padding: var(--space-xl) var(--space-md);
    background: var(--text-primary);
    color: var(--bg-primary);
}

.formula .split-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.formula-text h2 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 2rem;
}

.formula-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.benefit-list {
    list-style: none;
}

.benefit-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgb(253, 251, 247, 0.2);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-list li::before {
    content: "✦";
    color: var(--clr-accent);
}

.formula-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.featured-logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgb(0,0,0,0.3));
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Process Section */
.process {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.process-inner {
    width: 100%;
}

.process-mascot-center {
    display: flex;
    justify-content: center;
    margin: 3rem auto 4rem;
    max-width: 560px;
}

.process-mascot-center .full-mascot {
    width: 100%;
    height: auto;
}

.process-steps-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: start;
}

.step-divider {
    width: 1px;
    background: var(--border-color);
    align-self: stretch;
    margin: 0 2rem;
    min-height: 120px;
}

.step {
    position: relative;
    text-align: center;
    padding: 0 1rem;
}

.step-mascot {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.75rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.step:hover .step-mascot {
    transform: translateY(-4px) rotate(-3deg);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 300;
    color: var(--border-color);
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step p {
    color: var(--text-secondary);
}

/* Areas Served */
.areas {
    padding: 0 var(--space-md) var(--space-md);
    background: var(--bg-secondary);
}

.areas-hero-mascot {
    text-align: center;
    margin: 0;
    padding: 0;
}

.areas-hero-mascot img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    animation: floatMascot 6s ease-in-out infinite;
}

.areas-footer-mascots {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 5rem;
}

.areas-footer-mascots img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.areas-footer-mascots img:hover {
    transform: translateY(-10px) scale(1.05);
}

.areas-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.areas-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.map-and-locations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.neighbourhoods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.service-map {
    width: 100%;
    min-height: 450px;
    height: 100%;
    border-radius: 24px;
    border: 2px solid var(--clr-forest);
    overflow: hidden; /* keep for aesthetics; Leaflet handles its own clipping */
    box-shadow: 0 20px 40px rgb(0, 95, 37, 0.15);
    position: relative; /* required for Leaflet internals */
    z-index: 0;         /* isolate stacking context so tiles don't bleed over nav */
}

@media (width <= 1024px) {
    .map-and-locations {
        grid-template-columns: 1fr;
    }
    .service-map {
        height: 350px;
    }
}

.city-col h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.city-col > ul {
    list-style: none;
    columns: 2;
    column-gap: 2rem;
}

.city-col li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1.1rem;
    break-inside: avoid;
}

.city-col strong {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
}

.sub-locations {
    list-style: none;
    padding-left: 1rem;
    margin-top: 0.2rem;
}

.sub-locations li {
    padding: 0.2rem 0;
    font-size: 1rem;
    position: relative;
}

.sub-locations li::before {
    content: "↳";
    position: absolute;
    left: -1rem;
    color: var(--clr-accent);
    opacity: 0.5;
}

/* Testimonials — Carousel */
.testimonials {
    padding: var(--space-xl) var(--space-md) 0;
    max-width: var(--max-width);
    margin: 0 auto;
    overflow: hidden;
}

/* Carousel shell */
.carousel-outer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: var(--space-lg);
}

.carousel-viewport {
    overflow: hidden;
    flex: 1;
    cursor: grab;
    border-radius: 28px;
}

.carousel-viewport:active { cursor: grabbing; }

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Arrow buttons */
.carousel-btn {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    line-height: 1;
}

.carousel-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: scale(1.08);
}

.carousel-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none;
}

/* Dot indicators */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--text-primary);
    width: 24px;
    border-radius: 4px;
}

/* Review card */
.review-card {
    flex: 0 0 calc((100% - 4rem) / 3);
    padding: 2.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    position: relative;
    box-sizing: border-box;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgb(0, 95, 37, 0.08);
}

@media (max-width: 900px) {
    .review-card { flex: 0 0 calc((100% - 2rem) / 2); }
}

@media (max-width: 600px) {
    .review-card { flex: 0 0 100%; }
    .carousel-btn { width: 40px; height: 40px; font-size: 1rem; }
    .carousel-outer { gap: 0.75rem; }
}

.testimonial-mascots {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    overflow: hidden;
}

.testimonial-mascots img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.testimonial-mascots img:hover {
    transform: scale(1.1) rotate(5deg);
}

.review-card .stars {
    color: var(--clr-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
    font-size: 1.1rem;
}

.review-card p {
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.review-card .author {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.review {
    padding: 2rem;
    border-left: 1px solid var(--text-primary);
}

.stars {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.2em;
}

.review p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.author {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* FAQ Section */
.faq-section {
    padding: var(--space-md) var(--space-md) var(--space-xl);
    background: var(--bg-primary);
}

.faq-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: var(--space-lg);
}

.faq-item {
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-secondary);
    border-left: 3px solid var(--clr-forest-light);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.faq-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgb(0, 95, 37, 0.08);
}

.faq-item h3 {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 0;
}

@media (width <= 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.cta {
    padding: var(--space-xl) var(--space-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.cta-box {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 5rem 3rem;
    border-radius: 32px;
    text-align: center;
}

.placeholder-box {
    width: 100%;
    max-width: 400px;
    height: 300px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgb(0,95,37,0.05) 0%, rgb(234,153,16,0.05) 100%);
    border: 2px dashed rgb(0, 95, 37, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-box::after {
    content: 'Image Placeholder';
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.5;
}

/* Full Mascot Styles */
.full-mascot {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.full-mascot:hover {
    transform: scale(1.03);
}

.float-anim {
    animation: floatMascot 6s ease-in-out infinite;
}

/* Decor Mascots */
.decor-mascot {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    filter: drop-shadow(0 20px 40px rgb(0, 95, 37, 0.2));
}

.hero-decor {
    top: -10%;
    left: -10%;
    width: 50%;
    max-width: 600px;
}

.map-decor {
    top: -5%;
    right: -5%;
    width: 30%;
    max-width: 400px;
}

/* Gallery — Spotlight Layout */
.gallery-section {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-primary);
    max-width: var(--max-width);
    margin: 0 auto;
}

.gallery-spotlight {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: var(--space-lg);
    padding: var(--space-md) 0;
}

.spotlight-item {
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(0,95,37,0.04) 0%, rgb(234,153,16,0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.spotlight-item:hover {
    box-shadow: 0 24px 48px rgb(0, 95, 37, 0.1);
}

.spotlight-center {
    flex: 0 0 35%;
    transform: scale(1.1);
    z-index: 1;
    background: linear-gradient(135deg, rgb(0,95,37,0.08) 0%, rgb(234,153,16,0.08) 100%);
}

.spotlight-center:hover {
    transform: scale(1.15) translateY(-8px);
}

.spotlight-side {
    flex: 0 0 25%;
    opacity: 0.8;
}

.spotlight-side:hover {
    opacity: 1;
    transform: scale(1.05) translateY(-6px);
}

.spotlight-item img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgb(0, 95, 37, 0.15));
    transition: filter 0.5s ease, transform 0.5s ease;
}

.spotlight-item:hover img {
    filter: drop-shadow(0 16px 32px rgb(0, 95, 37, 0.25));
}

/* Section Decorative Mascots */
.section-decor {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    width: 220px;
    height: auto;
    object-fit: contain;
    opacity: 0.08;
    filter: drop-shadow(0 20px 40px rgb(0, 95, 37, 0.2));
    transition: opacity 0.6s ease;
}

.section-decor--left {
    left: 2%;
    bottom: 5%;
}

.section-decor--right {
    right: 2%;
    top: 10%;
}

.formula,
.areas,
.cta {
    position: relative;
    overflow: hidden;
}

@keyframes floatMascot {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

/* Split Layout Utilities */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.alt-row {
    direction: rtl;
}

.alt-row > * {
    direction: ltr;
}

.large-list li {
    font-size: 1.2rem;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
}

.large-list li::before {
    width: 14px;
    height: 14px;
    top: 0.6rem;
}

@media (width <= 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }

    .hero {
        padding: 7.5rem 1.5rem 1rem;
    }

    .hero-location {
        justify-content: center;
    }

    .hero-subtitle {
        margin: 0 auto 3rem;
    }

    .hero-actions {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-split {
        gap: 0;
        margin-bottom: 2rem;
    }

    .hero-split .hero-content {
        order: 2;
    }
    
    .hero-split .hero-visual {
        order: 1;
        margin-bottom: -1rem;
        overflow: hidden;
    }
    
    .hero-split .full-mascot {
        transform: scale(1) translateY(0);
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    .alt-row {
        direction: ltr;
    }
    
    .large-list li {
        text-align: left;
    }
    
    .trust-bar {
        grid-template-columns: 1fr;
    }

    .testimonial-mascots {
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .testimonial-mascots img {
        max-width: 200px;
    }
    
    .gallery-spotlight {
        flex-direction: column;
        gap: 2rem;
    }
    
    .spotlight-center,
    .spotlight-side {
        flex: 0 0 auto;
        width: 70%;
        max-width: 300px;
    }
    
    .spotlight-center {
        transform: none;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-decor {
        display: none;
    }
}
.results {
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-primary);
    max-width: var(--max-width);
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    place-items: center center;
    margin-top: var(--space-lg);
}

.result-card {
    text-align: center;
    width: 100%;
}

.result-card h3 {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    font-size: 1.5rem;
}

.responsive-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgb(0, 95, 37, 0.2));
    transition: transform 0.4s ease;
    border-radius: 12px;
}

.responsive-img:hover {
    transform: scale(1.02);
}

.cta-box h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-link {
    font-size: 1.2rem;
    font-family: var(--font-heading);
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgb(253, 251, 247, 0.3);
}

.contact-link:hover {
    border-color: var(--bg-primary);
}

/* Footer */
footer {
    padding: var(--space-lg) var(--space-md) 2rem;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

.footer-mascot-home {
    flex-shrink: 0;
    display: block;
    line-height: 0;
    transition: transform 0.3s ease;
}

.footer-mascot-home:hover {
    transform: scale(1.08) rotate(-4deg);
}

.footer-mascot-img {
    width: 180px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-brand-text h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    line-height: 1.2;
}

.footer-brand-text p {
    color: var(--text-secondary);
    max-width: 260px;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact {
    padding-top: 0.25rem;
}

.footer-contact h4 {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0 0 0.6rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    padding-top: 0.25rem;
}

.link-group {
    display: flex;
    flex-direction: column;
}

.link-group h4 {
    font-size: 1.1rem;
    margin: 0 0 1.5rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-group a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

@media (width <= 960px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (width <= 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        grid-column: auto;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        gap: 2.5rem;
    }
}

/* Utilities & Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (width <= 1024px) {
    .formula .split-layout {
        grid-template-columns: 1fr;
    }
    .formula-visual {
        min-height: 300px;
    }
}

@media (width <= 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .nav-links.active { right: 0; }
    
    .service-category-grid { grid-template-columns: 1fr; }
    
    .process-steps-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-divider { display: none; }
    
    .cta-box { padding: 3rem 1.5rem; }
    .contact-methods { flex-direction: column; align-items: center; }

    .areas-hero-mascot img {
        max-width: 280px;
    }

    .step-mascot-large {
        max-width: 200px;
    }

    .trust-bar-item-mascot {
        max-width: 220px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 10vw, 4rem);
    }
}

/* Forms */
.contact-page-header {
    padding: 6rem var(--space-md) 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-page-header h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.quote-form {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.quote-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.quote-form input, 
.quote-form select, 
.quote-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quote-form input:focus, 
.quote-form select:focus, 
.quote-form textarea:focus {
    outline: none;
    border-color: var(--clr-forest-light);
    box-shadow: 0 0 0 3px rgb(0, 153, 62, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

@media (width <= 768px) {
    .form-row { grid-template-columns: 1fr; }
    .quote-form { padding: 2rem 1.5rem; }
}

/* Utilities extracted from inline styles */
.service-description {
    color: var(--text-secondary);
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.step-mascot-large {
    max-width: 360px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1.5rem;
}

.areas-mascot-img {
    max-width: 420px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.areas-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.areas-lead {
    color: var(--text-secondary);
    margin-bottom: 10rem;
    font-size: 1.05rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.9;
}

.mascot-divider {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 5rem;
}

.divider-mascot-img {
    max-width: 760px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cta-box-wide {
    max-width: 1000px;
    margin: 0 auto;
}

.btn-cta-inverse {
    color: var(--bg-primary);
    border-color: var(--bg-primary);
}


/* -- Cookie Consent Banner -- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeSlideUp 0.5s ease;
}

[data-theme="dark"] .cookie-banner {
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.cookie-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* -- A11y Focus Outlines -- */
*:focus-visible {
    outline: 3px solid var(--clr-forest-light);
    outline-offset: 3px;
}

