/* ==========================================================================
   Premium Aesthetic Variables & Resets
   ========================================================================== */
:root {
    /* Sophisticated Color Palette */
    --c-brand-blue: #3b4d6b;
    --c-bg: #090c11;
    --c-surface: #121822;
    --c-surface-light: rgba(59, 77, 107, 0.15);
    --c-surface-hover: rgba(59, 77, 107, 0.3);
    --c-border: rgba(59, 77, 107, 0.2);

    --c-gold-primary: #C5A059;
    --c-gold-light: #DFCDA6;
    --c-gold-muted: rgba(197, 160, 89, 0.2);

    --c-text-main: #F4F4F5;
    --c-text-muted: #A1A1AA;

    /* Elegant Typography */
    --f-heading: 'Cormorant Garamond', serif;
    --f-body: 'Outfit', sans-serif;

    /* Layout & Spacing */
    --container: 1400px;
    --nav-height: 100px;
    --section-pad: 140px;

    /* Effects */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.6s var(--ease-out-expo);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--c-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--c-surface-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-gold-muted);
}

/* Selection */
::selection {
    background: var(--c-gold-muted);
    color: var(--c-gold-light);
}

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

html {
    scroll-behavior: initial;
    /* Handled by GSAP usually, but we keep default smooth scrolling off for custom feel */
    background-color: var(--c-bg);
}

body {
    font-family: var(--f-body);
    background-color: var(--c-bg);
    color: var(--c-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.loading {
    overflow: hidden;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    display: none;
    /* Only show on desktop via JS */
}

@media (pointer: fine) {
    .cursor-dot {
        width: 6px;
        height: 6px;
        background: var(--c-gold-primary);
        display: block;
    }

    .cursor-outline {
        width: 40px;
        height: 40px;
        border: 1px solid var(--c-gold-muted);
        transition: width 0.2s, height 0.2s, background 0.2s;
        display: block;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s var(--ease-out-expo);
}

.loader-text {
    font-family: var(--f-heading);
    font-size: 3rem;
    color: var(--c-gold-primary);
    letter-spacing: 10px;
    animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        filter: blur(0);
    }
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-heading);
    font-weight: 400;
    line-height: 1.1;
    color: var(--c-text-main);
}

i,
em {
    font-style: italic;
    color: var(--c-gold-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
    display: block;
}

/* Structural */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 4vw;
    /* Responsive padding */
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
}

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

/* Elegant UI Elements */
.eyebrow {
    display: inline-block;
    font-family: var(--f-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-gold-primary);
    margin-bottom: 24px;
    font-weight: 500;
    position: relative;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1px;
    background: var(--c-gold-primary);
    vertical-align: middle;
    margin-right: 12px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 30px;
    word-spacing: 0.1em;
}

.huge-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 40px;
    line-height: 1;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gold-primary);
    margin-top: 30px;
    position: relative;
    transition: var(--transition-smooth);
}

.btn-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 1px;
    background: currentColor;
    transition: var(--transition-smooth);
}

.btn-link:hover {
    gap: 20px;
}

.btn-link:hover::after {
    width: 100%;
}

.btn-solid {
    display: inline-block;
    padding: 18px 40px;
    background: var(--c-gold-primary);
    color: var(--c-bg);
    font-family: var(--f-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    border-radius: 2px;
    transition: var(--transition-smooth);
    margin-top: 40px;
}

.btn-solid:hover {
    background: var(--c-gold-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.15);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: background 0.4s ease, height 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(9, 12, 17, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    border-bottom: 1px solid var(--c-border);
}

.navbar.menu-open,
.navbar.menu-open.scrolled {
    z-index: 120;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 70px;
    width: auto;
    transition: height 0.4s ease, transform var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 55px;
    /* Shrinks slightly on scroll */
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.link-num {
    font-family: var(--f-heading);
    color: var(--c-gold-muted);
    font-size: 0.9rem;
    font-style: italic;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: var(--c-gold-primary);
}

.nav-links a:hover .link-num {
    color: var(--c-gold-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 102;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle .line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--c-text-main);
    transition: var(--transition-smooth);
}

.menu-toggle .line:nth-child(1) {
    top: 0;
}

.menu-toggle .line:nth-child(2) {
    top: 50%;
    width: 70%;
    right: 0;
    left: auto;
}

.menu-toggle .line:nth-child(3) {
    top: 100%;
}

.menu-toggle.active .line:nth-child(1) {
    top: 50%;
    transform: rotate(45deg);
}

.menu-toggle.active .line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .line:nth-child(3) {
    top: 50%;
    transform: rotate(-45deg);
}

/* Fullscreen Mobile Menu */
.fs-menu {
    position: fixed;
    inset: 0;
    background: var(--c-bg);
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 4vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.45s var(--ease-out-expo), transform 0.45s var(--ease-out-expo), visibility 0.45s;
}

.fs-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fs-menu-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 60px;
}

.fs-link {
    font-family: var(--f-heading);
    font-size: clamp(3rem, 10vw, 5rem);
    color: var(--c-text-main);
    position: relative;
    width: fit-content;
    overflow: hidden;
}

.fs-link::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--c-gold-primary);
    width: 0;
    overflow: hidden;
    transition: width 0.4s var(--ease-out-expo);
    white-space: nowrap;
}

.fs-link:hover::after {
    width: 100%;
}

.fs-contact {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--c-border);
    padding-top: 30px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: flex-end;
    /* Content pushed bottom */
    padding-bottom: 80px;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 12, 17, 0.2) 0%, rgba(9, 12, 17, 0.8) 60%, var(--c-bg) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.subtitle {
    font-family: var(--f-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--c-gold-primary);
    margin-bottom: 20px;
    display: block;
}

.main-title {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.95;
    margin-bottom: 60px;
    max-width: 900px;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--c-border);
    padding-top: 30px;
}

.hero-desc {
    max-width: 450px;
    font-size: 1.1rem;
    color: var(--c-text-muted);
}

.categories {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--f-heading);
    font-style: italic;
    color: var(--c-gold-light);
    font-size: 1.2rem;
}

.menu-docs {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--c-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-section .menu-docs {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.menu-docs .eyebrow {
    margin-bottom: 0;
}

.menu-docs-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.menu-doc-btn {
    margin-top: 0;
    padding: 14px 22px;
    font-size: 0.78rem;
}

.menu-doc-btn i {
    margin-left: 8px;
}

.menu-doc-empty {
    font-size: 0.95rem;
    color: var(--c-text-muted);
}

.separator {
    width: 30px;
    height: 1px;
    background: var(--c-gold-muted);
}

.scroll-indicator {
    position: absolute;
    right: 4vw;
    bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--c-text-muted);
}

.mouse {
    width: 20px;
    height: 30px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 4px;
    background: var(--c-gold-primary);
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 10px);
        opacity: 0;
    }
}

/* ==========================================================================
   Grids & Layouts
   ========================================================================== */
.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
}

.grid-split.align-center {
    align-items: center;
}

/* Image Reveal Wrapper */
.image-reveal-wrapper {
    position: relative;
    overflow: hidden;
    /* Aspect ratio container */
    aspect-ratio: 3/4;
}

.image-reveal-block {
    position: absolute;
    inset: 0;
    background: var(--c-bg);
    z-index: 10;
    /* Animated via GSAP */
}

.image-reveal-wrapper img {
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    object-fit: cover;
}

.glow-effect::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* ==========================================================================
   Philosophy
   ========================================================================== */
.negative-statements {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 1px solid var(--c-border);
}

.negative-statements span {
    font-family: var(--f-heading);
    font-size: 1.4rem;
    color: var(--c-text-muted);
    font-style: italic;
}

.text-block p {
    margin-bottom: 20px;
    color: var(--c-text-main);
    font-weight: 300;
}

.text-block .stronger {
    font-size: 1.2rem;
    color: var(--c-gold-light);
    font-weight: 400;
}

.split-media {
    position: relative;
}

.quote-card {
    position: absolute;
    bottom: -30px;
    left: -40px;
    background: rgba(18, 24, 34, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--c-border);
    padding: 30px;
    max-width: 300px;
    font-family: var(--f-heading);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--c-gold-primary);
    z-index: 5;
}

/* ==========================================================================
   Environments
   ========================================================================== */
.environments {
    position: relative;
    z-index: 1;
}

.section-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--f-heading);
    font-size: 25vw;
    color: rgba(255, 255, 255, 0.01);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}

.cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 80px;
}

/* Glassmorphism Card */
.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--c-border);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}

.glass-card:hover {
    border-color: rgba(197, 160, 89, 0.3);
    transform: translateY(-10px);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--c-surface);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--c-gold-primary);
}

.icon-circle.outline {
    background: transparent;
    border: 1px solid var(--c-border);
}

.card-label {
    font-family: var(--f-heading);
    color: var(--c-text-muted);
    font-size: 1.2rem;
}

.card-title {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.card-subtitle {
    font-family: var(--f-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gold-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-desc {
    color: var(--c-text-muted);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.feature-list {
    position: relative;
    z-index: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--c-border);
    color: var(--c-text-main);
    font-size: 0.9rem;
}

.feature-list li span {
    width: 6px;
    height: 6px;
    background: var(--c-gold-primary);
    border-radius: 50%;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services-box {
    border: 1px solid var(--c-border);
    padding: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--c-surface);
    position: relative;
}

.services-box::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-gold-primary), transparent);
}

.services-content .quote {
    font-family: var(--f-heading);
    font-style: italic;
    color: var(--c-gold-primary);
    font-size: 1.3rem;
    margin-top: 30px;
}

.services-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border);
}

.s-icon {
    font-size: 2rem;
    color: var(--c-gold-muted);
    transition: var(--transition-smooth);
}

.service-item:hover .s-icon {
    color: var(--c-gold-primary);
    transform: translateX(10px);
}

.s-text {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Aperitivo
   ========================================================================== */
.subtitle-text {
    font-size: 1.2rem;
    color: var(--c-text-muted);
    margin-bottom: 40px;
}

/* Accordion */
.accordion {
    border-top: 1px solid var(--c-border);
}

.acc-item {
    border-bottom: 1px solid var(--c-border);
}

.acc-header {
    display: flex;
    align-items: center;
    padding: 25px 0;
    cursor: pointer;
}

.acc-num {
    font-family: var(--f-heading);
    color: var(--c-gold-primary);
    margin-right: 30px;
    font-style: italic;
    width: 20px;
}

.acc-header h4 {
    font-size: 1.5rem;
    margin: 0;
    transition: var(--transition-smooth);
    flex-grow: 1;
}

.acc-header i {
    color: var(--c-text-muted);
    transition: transform 0.4s ease;
}

.acc-header:hover h4 {
    color: var(--c-gold-light);
    transform: translateX(10px);
}

.acc-item.active .acc-header h4 {
    color: var(--c-gold-primary);
}

.acc-item.active .acc-header i {
    transform: rotate(180deg);
    color: var(--c-gold-primary);
}

.acc-body {
    padding-left: 50px;
    padding-bottom: 25px;
    display: none;
    color: var(--c-text-muted);
}

/* ==========================================================================
   Location & Footer
   ========================================================================== */
.final-cta {
    max-width: 800px;
    margin: 0 auto;
}

.address-text {
    font-size: 1.2rem;
    color: var(--c-text-muted);
    margin-bottom: 40px;
}

.flow-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    font-family: var(--f-heading);
    font-style: italic;
    font-size: 1.4rem;
}

.flow-steps .line {
    width: 40px;
    height: 1px;
    background: var(--c-gold-muted);
}

.manifesto {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 0px;
}

.manifesto .gold {
    color: var(--c-gold-primary);
    font-weight: 400;
    display: block;
    margin-top: 20px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--c-border);
    padding: 80px 0 30px;
    background: var(--c-surface);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--c-border);
}

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

.footer-logo-img:hover {
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--c-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--c-text-main);
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--c-gold-primary);
    border-color: var(--c-gold-primary);
    color: var(--c-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.f-col h5 {
    font-family: var(--f-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--c-gold-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.f-col p {
    color: var(--c-text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.f-col a {
    color: var(--c-text-muted);
    transition: var(--transition-smooth);
}

.f-col a:hover {
    color: var(--c-gold-primary);
}

.footer-note {
    font-size: 0.8rem !important;
    color: var(--c-text-muted);
    opacity: 0.6;
    margin-top: 10px;
}

.footer-closed {
    color: var(--c-gold-primary);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--c-text-muted);
    font-size: 0.8rem;
}

.copyright-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.credits {
    color: var(--c-text-muted);
}

.credits a {
    color: var(--c-gold-primary);
    transition: var(--transition-smooth);
}

.credits a:hover {
    color: var(--c-gold-light);
}

.legal-links {
    display: flex;
    gap: 30px;
}

.legal-links a {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    transition: var(--transition-smooth);
}

.legal-links a:hover {
    color: var(--c-gold-primary);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .grid-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .layout-reverse .split-content {
        order: -1;
    }

    /* Text first on mobile for Aperitivo */

    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .menu-docs {
        flex-direction: column;
        align-items: flex-start;
    }

    .scroll-indicator {
        display: none;
    }

    .services-box {
        grid-template-columns: 1fr;
        padding: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .fs-menu {
        justify-content: flex-start;
        padding: calc(var(--nav-height) + 24px) 6vw 36px;
        overflow-y: auto;
    }

    .fs-menu-content {
        gap: 14px;
        margin-bottom: 40px;
    }

    .fs-link {
        font-size: clamp(2.1rem, 10vw, 3.6rem);
        line-height: 1.05;
    }

    .cards-wrapper {
        grid-template-columns: 1fr;
    }

    .quote-card {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -30px;
        width: 100%;
        max-width: none;
    }

    .flow-steps {
        flex-direction: column;
        gap: 10px;
    }

    .flow-steps .line {
        width: 1px;
        height: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        text-align: center;
    }

    .footer-top {
        justify-content: center;
    }

    .footer-logo {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .f-col h5,
    .f-col p,
    .f-col a,
    .footer-note {
        text-align: center;
    }

    .copyright-info {
        justify-content: center;
        text-align: center;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }

    .menu-docs-buttons {
        width: 100%;
    }

    .menu-doc-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Generic Pages & Cookie Banner
   ========================================================================== */
.generic-page h1,
.generic-page h2,
.generic-page h3 {
    color: var(--c-gold-primary);
    margin-bottom: 20px;
    margin-top: 40px;
}

.generic-page p {
    margin-bottom: 20px;
}

.generic-page a {
    color: var(--c-gold-primary);
    text-decoration: underline;
}

.generic-page .text-block {
    color: var(--c-text-muted);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 24, 34, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--c-border);
    padding: 20px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

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

.cookie-content {
    max-width: 800px;
}

.cookie-content p {
    font-size: 0.9rem;
    color: var(--c-text-muted);
    margin: 0;
}

.cookie-content a {
    color: var(--c-gold-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cookie-buttons .btn-small {
    padding: 10px 20px;
    font-size: 0.8rem;
    margin-top: 0;
}

.cookie-buttons .btn-link.reject {
    color: var(--c-text-muted);
    margin-top: 0;
}

.cookie-buttons .btn-link.reject::after {
    background: var(--c-text-muted);
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }
}
