/* ========================================
   B SIDE Officina Grafica - Styles
   ======================================== */

/* --- Variables & Reset --- */
:root {
    --black: #0a0a0a;
    --white: #fafafa;
    --green: #00A651;
    --green-dark: #008c44;
    --gray: #2a2a2a;
    --gray-light: #e5e5e5;
    --font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* --- Navigation --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10,10,10,0.98);
    padding: 1rem 4rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

nav.menu-open {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background: transparent !important;
}

.logo {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--green);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--green);
    color: var(--black);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--green);
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 20%,
        rgba(255,255,255,0.3) 50%,
        transparent 80%
    );
    transform: translateX(-100%);
}

.nav-cta:hover::before {
    transform: translateX(100%);
    transition: transform 0.6s ease;
}

.nav-cta:hover {
    background: transparent;
    color: var(--green);
    box-shadow: 0 0 25px rgba(0,166,81,0.25);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 4rem;
    overflow: hidden;
}

/* YouTube Video Background */
.hero-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: 177.78vh; /* 16:9 aspect ratio */
    height: 56.25vw; /* 16:9 aspect ratio */
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 0;
}

.hero-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

.hero-video-consent {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    max-width: 320px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
    z-index: 3;
}

.hero-video-consent p {
    max-width: 420px;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

.consent-button {
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: var(--white);
    font-family: var(--font-body);
    padding: 0.75rem 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.consent-button:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.65);
    z-index: 1;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0,166,81,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0,166,81,0.1) 0%, transparent 40%);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 1;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-tagline span {
    color: var(--green);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(to right, var(--white) 50%, var(--green) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: var(--black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeInUp 1s ease 0.6s both;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,166,81,0.25);
}

.hero-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transform: translateX(-100%);
    animation: btnShimmer 4s ease-in-out 2s infinite;
}

.hero-cta:hover {
    background-position: 0 0;
    color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,166,81,0.5);
    letter-spacing: 0.08em;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-cta:hover svg {
    transform: translateX(4px);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator span {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.5;
}

.scroll-indicator svg {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes btnShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

/* --- Services Section --- */
.services {
    padding: 8rem 4rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.05em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--green);
    transition: height 0.4s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0,166,81,0.3);
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.service-card:hover::before {
    height: 100%;
}

.service-slideshow {
    position: relative;
    width: calc(100% + 5rem);
    height: 180px;
    margin: -2.5rem -2.5rem 1.5rem -2.5rem;
    overflow: hidden;
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%) brightness(0.7);
    opacity: 0;
    transition: opacity 1s ease, filter 0.4s ease;
}

.service-img.active {
    opacity: 1;
}

.service-card:hover .service-img {
    filter: grayscale(0%) brightness(0.9);
}


.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    font-weight: 300;
}

/* --- About Section --- */
.about {
    padding: 8rem 4rem;
    background: linear-gradient(to bottom, var(--black), var(--gray));
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.about-text h2 span {
    color: var(--green);
}

.about-text p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--green);
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 2px solid var(--green);
    z-index: 1;
    border-radius: 20px;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80%;
    height: 80%;
    background: rgba(0,166,81,0.1);
    z-index: 0;
    border-radius: 20px;
}

.about-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: grayscale(20%);
}

.about-logo {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 280px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    background: var(--white);
    padding: 1.5rem;
    box-shadow:
        0 0 40px rgba(0,166,81,0.3),
        0 0 80px rgba(0,166,81,0.15),
        0 20px 60px rgba(0,0,0,0.5);
    animation: logoFloat 4s ease-in-out infinite;
    transition: all 0.4s ease;
}

.about-logo:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 60px rgba(0,166,81,0.5),
        0 0 120px rgba(0,166,81,0.2),
        0 25px 70px rgba(0,0,0,0.6);
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

/* --- Quote Form Section --- */
.quote-form-section {
    padding: 8rem 4rem;
    background: linear-gradient(to bottom, var(--gray), var(--black));
    position: relative;
}

.quote-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(0,166,81,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.quote-form {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-row.formato-row {
    grid-template-columns: 1fr;
}

.form-row.formato-row.show-custom {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.is-hidden {
    display: none;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.form-group label span {
    color: var(--green);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: #ff6b6b;
    background: rgba(255,107,107,0.08);
}

.form-error {
    min-height: 1rem;
    font-size: 0.78rem;
    color: #ff6b6b;
    letter-spacing: 0.02em;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(0,166,81,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300A651' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
}

.form-group select option {
    background: var(--black);
    color: var(--white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-consent .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    text-transform: none;
    letter-spacing: 0.02em;
}

.form-consent .checkbox-label input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    accent-color: var(--green);
}

.form-consent .checkbox-label a {
    color: var(--green);
    text-decoration: none;
}

.form-consent .checkbox-label a:hover {
    text-decoration: underline;
}

.form-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    background: linear-gradient(to right, var(--white) 50%, var(--green) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    color: var(--black);
    padding: 1.25rem 2.5rem;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,166,81,0.2);
}

.form-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transform: translateX(-100%);
}

.form-submit:hover::after {
    transform: translateX(350%);
    transition: transform 0.8s ease;
}

.form-submit:hover {
    background-position: 0 0;
    color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(0,166,81,0.4);
    letter-spacing: 0.08em;
}

.form-submit svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.form-submit:hover svg {
    transform: scale(1.15);
}

.form-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.form-note svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
    color: var(--green);
}

/* --- Contact Section --- */
.contact {
    padding: 8rem 4rem;
    background: var(--black);
    position: relative;
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    padding-left: 1rem;
    border-color: var(--green);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--green);
}

.contact-item a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--green);
    border-color: var(--green);
}

.social-link svg {
    width: 22px;
    height: 22px;
    color: var(--white);
    transition: color 0.3s ease;
}

.social-link:hover svg {
    color: var(--black);
}

.contact-map {
    position: relative;
}

.map-wrapper {
    background: var(--gray);
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    filter: grayscale(100%) invert(92%) contrast(90%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-wrapper iframe.is-active {
    opacity: 1;
}

.map-consent {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(10, 10, 10, 0.65);
    text-align: center;
}

.map-consent p {
    max-width: 320px;
    color: rgba(255,255,255,0.85);
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background: var(--black);
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--green);
    z-index: 3;
}

.map-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.map-overlay p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* --- Footer --- */
footer {
    background: var(--gray);
    padding: 3rem 4rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 40px;
    opacity: 0.8;
}

.footer-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.footer-text a {
    color: var(--green);
    text-decoration: none;
}

.footer-cookie-link {
    background: none;
    border: none;
    color: var(--green);
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.footer-cookie-link:hover {
    text-decoration: underline;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    max-width: 420px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    z-index: 1001;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner__content p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}

.cookie-banner__content a {
    color: var(--green);
    text-decoration: none;
}

.cookie-banner__content a:hover {
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cookie-btn {
    border: 1px solid var(--green);
    background: var(--green);
    color: var(--black);
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.cookie-btn:hover {
    filter: brightness(1.05);
}

.cookie-banner__settings {
    margin-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    display: none;
    gap: 0.75rem;
}

.cookie-banner__settings.show {
    display: flex;
    flex-direction: column;
}

.cookie-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.cookie-setting__title {
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.cookie-setting__desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.6);
}

.cookie-setting__status {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cookie-setting input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}

/* --- Legal Pages --- */
.legal-hero {
    padding: 8rem 4rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(0,166,81,0.1), transparent);
}

.legal-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.08em;
}

.legal-section {
    padding: 3rem 4rem 6rem;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2.5rem;
}

.legal-container h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.05em;
    margin: 2rem 0 1rem;
}

.legal-container p,
.legal-container li {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    font-size: 0.98rem;
}

.legal-container ul {
    padding-left: 1.25rem;
    margin: 1rem 0;
}

.legal-container a {
    color: var(--green);
    text-decoration: none;
}

.legal-container a:hover {
    text-decoration: underline;
}

.is-hidden {
    display: none !important;
}

/* --- Mobile Menu --- */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }

    nav.scrolled {
        padding: 1rem 2rem;
    }

    .hero, .services, .about, .quote-form-section, .contact {
        padding: 6rem 2rem;
    }

    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* --- Mobile Navigation --- */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 101;
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.3rem;
        letter-spacing: 0.15em;
    }

    .nav-cta {
        display: none;
    }

    .nav-cta.mobile-visible {
        display: inline-flex;
        position: fixed;
        bottom: 6rem;
        left: 50%;
        transform: translateX(-50%);
        z-index: 102;
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 102;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* --- Mobile Hero --- */
    .hero {
        padding: 5rem 1.5rem 4rem;
        min-height: 100svh;
    }

    .hero-tagline {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-cta {
        padding: 0.9rem 2rem;
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }

    /* --- Mobile Sections General --- */
    .services, .about, .quote-form-section, .contact {
        padding: 4rem 1.25rem;
    }

    .section-header {
        margin-bottom: 3rem;
    }

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

    .section-label {
        font-size: 0.75rem;
    }

    /* --- Mobile Services --- */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-slideshow {
        width: calc(100% + 3rem);
        height: 160px;
        margin: -1.5rem -1.5rem 1.25rem -1.5rem;
    }


    .service-title {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .service-desc {
        font-size: 0.9rem;
    }

    /* --- Mobile About --- */
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: row;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .about-img {
        height: 280px;
    }

    .about-logo {
        width: 200px;
        height: 200px;
        padding: 1rem;
        border-radius: 16px;
    }

    .about-image-wrapper {
        padding: 1rem;
        min-height: 280px;
    }

    /* --- Mobile Quote Form --- */
    .quote-form {
        padding: 1.5rem 1.25rem;
        border: 1px solid rgba(255,255,255,0.06);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input:not([type="checkbox"]),
    .form-group select,
    .form-group textarea {
        width: 100%;
        min-width: 0;
        padding: 0.9rem;
        font-size: 16px; /* Prevents iOS zoom on focus */
        border-radius: 0;
        -webkit-appearance: none;
    }

    .form-group select {
        padding-right: 2.5rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .form-submit {
        padding: 1.1rem 2rem;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .form-note {
        font-size: 0.8rem;
        margin-top: 1rem;
    }

    /* --- Mobile Contact --- */
    .contact-info h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .contact-info p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-item {
        padding: 0.75rem 0;
    }

    .contact-item a {
        font-size: 0.95rem;
        word-break: break-word;
    }

    .social-links {
        justify-content: center;
    }

    .social-link {
        width: 46px;
        height: 46px;
    }

    .map-wrapper {
        min-height: 280px;
    }

    .map-wrapper iframe {
        min-height: 280px;
    }

    .map-overlay {
        bottom: 1rem;
        left: 1rem;
        padding: 1rem 1.25rem;
    }

    .map-overlay h3 {
        font-size: 1.1rem;
    }

    .map-overlay p {
        font-size: 0.85rem;
    }

    .cookie-banner {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: none;
    }

    .legal-hero {
        padding: 7rem 1.5rem 3rem;
    }

    .legal-section {
        padding: 2rem 1.5rem 4rem;
    }

    .legal-container {
        padding: 1.75rem;
    }

    .hero-video-consent p {
        font-size: 0.95rem;
    }

    .hero-video-consent {
        right: 1rem;
        left: 1rem;
        bottom: 1.5rem;
        max-width: none;
    }

    /* --- Mobile Footer --- */
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    footer {
        padding: 2rem 1.5rem;
    }

    .footer-text {
        font-size: 0.8rem;
        text-align: center;
    }

}

/* Very small screens */
@media (max-width: 380px) {

    .hero-tagline {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .about-stats {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}
