/* ========================================
   H2O MULTISERVIZI - DESIGN SYSTEM
   ======================================== */

/* ========== SELF-HOSTED FONTS ========== */

/* Inter - latin-ext */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter - latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lato 300 - latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 300 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/lato-300-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 400 - latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 400 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/lato-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Lato 700 - latin-ext */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Lato 700 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/lato-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Playfair Display - latin-ext */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Playfair Display - latin */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Poppins 400 - latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 400 - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/poppins-400-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 500 - latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 500 - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/poppins-500-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 600 - latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 600 - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/poppins-600-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 700 - latin-ext */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 700 - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ========== CSS VARIABLES ========== */
:root {
    /* Primary Colors - Extracted from Logo */
    --primary: #2AAFBB;
    --primary-dark: #1A8A95;
    --primary-light: #7DD0D8;
    --primary-pale: #E8F7F9;

    /* Accent Colors */
    --accent: #E31C5F;
    --accent-dark: #C01850;
    --accent-light: #FF4081;

    /* Secondary Colors */
    --gold: #CCAB3D;
    --gold-light: #E5C964;

    /* Neutral Colors */
    --dark: #1F3B4D;
    --dark-light: #3D5A6C;
    --gray-900: #1a1a2e;
    --gray-700: #4a4a5a;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --light: #FFFFFF;
    --bg-section: #F5F7FA;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Poppins', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 30px rgba(42, 175, 187, 0.3);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-modal: 300;
    --z-splash: 400;
    --z-whatsapp: 350;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
    overflow: hidden;
}

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

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

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-accent {
    color: var(--accent);
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-xl);
    }
}

.section {
    padding: var(--space-3xl) 0;
}

@media (min-width: 768px) {
    .section {
        padding: var(--space-4xl) 0;
    }
}

.section-alt {
    background-color: var(--bg-section);
}

/* ========== SPLASH SCREEN ========== */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--light);
    z-index: var(--z-splash);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    animation: splashEntrance 1s ease-out;
}

.splash-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    animation: logoReveal 1.5s ease-out 0.3s forwards;
    filter: drop-shadow(0 10px 30px rgba(42, 175, 187, 0.2));
}

@media (min-width: 768px) {
    .splash-logo {
        width: 300px;
    }
}

@media (min-width: 1024px) {
    .splash-logo {
        width: 400px;
    }
}

.splash-progress {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gray-300);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.splash-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    animation: loadProgress 2s ease-out forwards;
}

/* Water droplet animation */
.splash-droplets {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.droplet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0;
    animation: dropletFall 2s ease-in infinite;
}

.droplet:nth-child(1) {
    left: 20%;
    animation-delay: 0.2s;
}

.droplet:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.droplet:nth-child(3) {
    left: 60%;
    animation-delay: 0.8s;
}

.droplet:nth-child(4) {
    left: 80%;
    animation-delay: 1.1s;
}

@keyframes splashEntrance {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logoReveal {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes loadProgress {
    to {
        width: 100%;
    }
}

@keyframes dropletFall {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    20% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-sticky);
    transition: var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) 0;
    gap: var(--space-md);
}

/* Header transparent state (at top of page) */
.header:not(.scrolled) .nav-link {
    color: var(--light);
}

.header:not(.scrolled) .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header:not(.scrolled) .nav-link::after {
    background: var(--light);
}

/* Header scrolled state (white background) */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--dark);
}

.header.scrolled .nav-link:hover {
    color: var(--primary);
}


.header.scrolled .hamburger span {
    background: var(--dark);
}

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

.header-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition-base);
}

@media (min-width: 768px) {
    .header-logo img {
        height: 60px;
    }
}

/* CTA Button in Header */
.header-cta.btn {
    display: inline-flex;
    font-size: 0.75rem !important;
    padding: 0.5rem 0.7rem !important;
    min-width: auto;
    height: auto;
    gap: 5px;
}

.header-cta i {
    display: none;
}

.header-cta-label {
    display: inline;
}

@media (min-width: 768px) {
    .header-cta.btn {
        font-size: 0.95rem !important;
        padding: var(--space-md) var(--space-xl) !important;
    }

    .header-cta i {
        display: inline;
    }
}

/* Navigation */
.nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .nav-desktop {
        display: flex;
        align-items: center;
        gap: var(--space-xl);
    }
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    padding: var(--space-sm) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary);
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    cursor: pointer;
}

@media (min-width: 1024px) {
    .hamburger {
        display: none;
    }

    /* Ensure mobile menu AND mobile home are hidden on desktop */
    .mobile-menu,
    .mobile-home {
        display: none !important;
    }
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition-base);
    border-radius: 2px;
}

/* Transparent header state */
.header:not(.scrolled) .hamburger span {
    background: var(--light);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

/* Desktop navigation revamp */
@media (min-width: 1024px) {
    .header {
        padding: var(--space-sm) 0;
        background: transparent;
        box-shadow: none;
    }

    .header-inner {
        position: relative;
        padding: 0.75rem 1.25rem;
        gap: var(--space-2xl);
        border-radius: var(--radius-full);
        background: linear-gradient(120deg,
                rgba(26, 138, 149, 0.9) 0%,
                rgba(42, 175, 187, 0.82) 55%,
                rgba(227, 28, 95, 0.22) 100%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    }

    .header.scrolled {
        background: transparent;
        box-shadow: none;
    }

    .header.scrolled .header-inner {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(26, 138, 149, 0.18);
        box-shadow: 0 16px 40px rgba(26, 138, 149, 0.18);
    }

    .nav-desktop {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.2rem;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: var(--radius-full);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), var(--shadow-glow);
        transition: left var(--transition-slow), transform var(--transition-slow), background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
        will-change: left, transform;
    }

    .header.hero-nav:not(.scrolled) .nav-desktop {
        left: var(--hero-nav-left);
        transform: translateY(-50%);
    }

    .header.scrolled .nav-desktop {
        background: rgba(42, 175, 187, 0.08);
        border-color: rgba(26, 138, 149, 0.2);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-md);
    }

    .nav-link {
        padding: 0.65rem 1rem;
        border-radius: var(--radius-full);
        color: var(--light);
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: var(--transition-slow);
    }

    .header:not(.scrolled) .nav-link {
        color: rgba(255, 255, 255, 0.95);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--dark);
        background: var(--light);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
        transform: translateY(-1px);
    }

    .header:not(.scrolled) .nav-link:hover,
    .header:not(.scrolled) .nav-link.active {
        color: var(--primary-dark);
        background: var(--light);
        box-shadow: 0 14px 30px rgba(42, 175, 187, 0.25);
    }

    .header.scrolled .nav-link {
        color: var(--dark);
    }

    .header.scrolled .nav-link:hover,
    .header.scrolled .nav-link.active {
        background: var(--primary-pale);
        color: var(--primary-dark);
        box-shadow: 0 14px 30px rgba(42, 175, 187, 0.25);
    }

    .header-cta.btn {
        padding: 0.85rem 1.8rem !important;
        border-radius: var(--radius-full);
        font-weight: 700;
        box-shadow: 0 18px 40px rgba(227, 28, 95, 0.35);
        transform: translateY(0);
    }

    .header-cta.btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 24px 48px rgba(227, 28, 95, 0.45);
    }

    .header.scrolled .header-cta.btn {
        width: 50px;
        height: 50px;
        padding: 0 !important;
        border-radius: 50%;
        display: grid !important;
        place-items: center !important;
        gap: 0;
        overflow: hidden;
        box-shadow: 0 11px 24px rgba(31, 59, 77, 0.34);
        margin-right: 1.5rem;
    }

    .header.scrolled .header-cta .header-cta-label {
        font-size: 0;
        color: transparent;
    }

    .header.scrolled .header-cta.btn i {
        display: block !important;
        color: var(--light) !important;
        font-size: 1.5rem !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: relative;
        z-index: 1;
        transform: translate(1.5px, -1px);
    }

    .header.scrolled .header-cta.btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 16px 32px rgba(31, 59, 77, 0.45);
    }
}

/* Mobile Menu - Premium Dark Style (like homepage) */
.mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    background: linear-gradient(180deg, #0B1D24 0%, #0F2830 100%) !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: space-evenly !important;
    gap: 0 !important;
    padding: 80px 24px 40px !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.mobile-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-menu .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 300px !important;
    padding: 16px 24px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 16px !important;
    font-family: 'Inter', 'Poppins', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.2s ease !important;
}

/* Hide underline effect in mobile menu */
.mobile-menu .nav-link::after {
    display: none !important;
}

.mobile-menu .nav-link:active {
    background: rgba(42, 175, 187, 0.2) !important;
    border-color: rgba(42, 175, 187, 0.35) !important;
}

.mobile-menu .nav-link.active {
    background: rgba(42, 175, 187, 0.15) !important;
    border-color: rgba(42, 175, 187, 0.3) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

.mobile-menu.active .nav-link {
    animation: menuItemFade 0.5s ease forwards;
}

.mobile-menu.active .nav-link:nth-of-type(1) {
    animation-delay: 0.1s;
}

.mobile-menu.active .nav-link:nth-of-type(2) {
    animation-delay: 0.15s;
}

.mobile-menu.active .nav-link:nth-of-type(3) {
    animation-delay: 0.2s;
}

.mobile-menu.active .nav-link:nth-of-type(4) {
    animation-delay: 0.25s;
}

.mobile-menu.active .nav-link:nth-of-type(5) {
    animation-delay: 0.3s;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    font-size: 1.25rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-close:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile Menu CTA Button - Blu Scuro Opaco */
.mobile-menu .btn.btn-accent,
.mobile-menu .btn.btn-preventivo {
    width: 100%;
    max-width: 300px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #1E3A5F 0%, #2C4A6E 100%) !important;
    color: white !important;
    border-radius: 16px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.4) !important;
    margin-top: var(--space-lg);
}

.mobile-menu .btn.btn-accent:active,
.mobile-menu .btn.btn-preventivo:active {
    transform: scale(0.98);
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.5) !important;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--light);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-accent {
    background: #2AAFBB;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(42, 175, 187, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(42, 175, 187, 0.4);
}

.btn.btn-preventivo {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--light);
    box-shadow: 0 8px 20px rgba(31, 59, 77, 0.35);
}

.btn.btn-preventivo:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(31, 59, 77, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

.btn-white {
    background: var(--light);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--primary-pale);
}

/* Shimmer effect */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-shimmer:hover::before {
    left: 100%;
}

/* ========== CARDS ========== */
.card {
    background: var(--light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.08);
}

.card-content {
    padding: var(--space-lg);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background: var(--light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition-slow);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    background: var(--primary-pale);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon img {
    width: 50px;
    height: 50px;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.service-card-text {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* ========== BENTO GRID ========== */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    grid-auto-rows: minmax(180px, auto);
}

@media (min-width: 640px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (min-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 200px);
        gap: var(--space-lg);
    }
}

/* Bento Item Base */
.bento-item {
    position: relative;
    background: var(--light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.bento-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg,
            rgba(42, 175, 187, 0.3) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(42, 175, 187, 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-item:hover::before {
    opacity: 1;
}

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(42, 175, 187, 0.15),
        0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Bento Glow Effect */
.bento-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
            rgba(42, 175, 187, 0.15) 0%,
            transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.bento-item:hover .bento-glow {
    opacity: 1;
    animation: glowMove 3s ease-in-out infinite;
}

@keyframes glowMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10%, 10%);
    }
}

/* Bento Content */
.bento-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
}

/* Bento Icon */
.bento-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    box-shadow: 0 8px 20px rgba(42, 175, 187, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s ease;
}

.bento-icon i {
    font-size: 1.5rem;
    color: var(--light);
}

.bento-item:hover .bento-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(42, 175, 187, 0.4);
}

/* Icon Variants */
.bento-icon-bnb {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    box-shadow: 0 8px 20px rgba(204, 171, 61, 0.3);
}

.bento-item:hover .bento-icon-bnb {
    box-shadow: 0 12px 30px rgba(204, 171, 61, 0.4);
}

.bento-icon-extra {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    box-shadow: 0 8px 20px rgba(31, 59, 77, 0.3);
}

.bento-item:hover .bento-icon-extra {
    box-shadow: 0 12px 30px rgba(31, 59, 77, 0.4);
}

/* Bento Title */
.bento-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

/* Bento Text */
.bento-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Bento Tags */
.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.bento-tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--primary-pale);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

.bento-item:hover .bento-tag {
    background: var(--primary);
    color: var(--light);
}

/* Bento Arrow */
.bento-arrow {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 40px;
    height: 40px;
    background: var(--primary-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-arrow i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.bento-item:hover .bento-arrow {
    background: var(--primary);
    color: var(--light);
    transform: scale(1.1);
}

.bento-item:hover .bento-arrow i {
    transform: translateX(3px);
}

/* Bento Decoration */
.bento-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-pale) 0%, transparent 60%);
    border-radius: 50%;
    opacity: 0.5;
    z-index: 1;
}

/* Large Item (2x2 on desktop) */
.bento-large {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(232, 247, 249, 0.5) 100%);
}

@media (min-width: 1024px) {
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .bento-large .bento-content {
        padding: var(--space-2xl);
    }

    .bento-large .bento-icon {
        width: 80px;
        height: 80px;
    }

    .bento-large .bento-icon i {
        font-size: 2rem;
    }

    .bento-large .bento-title {
        font-size: 1.75rem;
    }

    .bento-large .bento-text {
        font-size: 1.05rem;
        max-width: 90%;
    }
}

/* Medium Items */
.bento-medium {
    background: var(--light);
}

@media (min-width: 1024px) {
    .bento-medium {
        grid-column: span 1;
        grid-row: span 1;
    }

    .bento-medium .bento-content {
        padding: var(--space-lg);
    }

    .bento-medium .bento-title {
        font-size: 1.15rem;
    }

    .bento-medium .bento-text {
        font-size: 0.85rem;
    }

    .bento-medium .bento-icon {
        width: 50px;
        height: 50px;
    }

    .bento-medium .bento-icon i {
        font-size: 1.25rem;
    }

    .bento-medium .bento-arrow {
        width: 32px;
        height: 32px;
        bottom: var(--space-lg);
        right: var(--space-lg);
    }
}

/* Accent Variant */
.bento-accent {
    background: linear-gradient(135deg,
            var(--dark) 0%,
            var(--dark-light) 100%);
}

.bento-accent .bento-title,
.bento-accent .bento-text {
    color: var(--light);
}

.bento-accent .bento-text {
    opacity: 0.85;
}

.bento-accent .bento-icon-extra {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.bento-accent .bento-arrow {
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.bento-accent:hover .bento-arrow {
    background: var(--light);
    color: var(--dark);
}

/* Stats Item */
.bento-stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.bento-stats::before {
    display: none;
}

.bento-stats:hover {
    transform: translateY(-4px);
}

.bento-stat {
    text-align: center;
    color: var(--light);
}

.bento-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bento-stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
    .bento-stats {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* CTA Item */
.bento-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.bento-cta::before {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.2) 100%);
}

.bento-cta:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 40px rgba(204, 171, 61, 0.3);
}

.bento-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--dark);
    text-align: center;
}

.bento-cta-content i {
    font-size: 1.75rem;
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10% {
        transform: rotate(-15deg);
    }

    20% {
        transform: rotate(15deg);
    }

    30% {
        transform: rotate(-10deg);
    }

    40% {
        transform: rotate(10deg);
    }

    50%,
    100% {
        transform: rotate(0deg);
    }
}

.bento-cta-content span {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

@media (min-width: 1024px) {
    .bento-cta {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Mobile Optimizations */
@media (max-width: 639px) {
    .bento-grid {
        gap: var(--space-md);
    }

    .bento-item {
        min-height: 200px;
    }

    .bento-content {
        padding: var(--space-lg);
    }

    .bento-title {
        font-size: 1.25rem;
    }

    .bento-text {
        font-size: 0.9rem;
    }

    .bento-arrow {
        bottom: var(--space-lg);
        right: var(--space-lg);
    }

    .bento-stats,
    .bento-cta {
        min-height: 140px;
    }

    .bento-stat-number {
        font-size: 2.5rem;
    }
}

/* Contact Cards */
.contact-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.contact-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-card-text {
    font-weight: 500;
    color: var(--dark);
}

/* ========== HERO SECTION WITH CURVED IMAGE ========== */
.hero-curved {
    position: relative;
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    overflow: hidden;
}

.hero-curved-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 120px var(--space-xl) var(--space-3xl);
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.hero-curved-text {
    max-width: 600px;
    margin-left: auto;
    padding-right: var(--space-2xl);
}

.hero-curved .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light);
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.hero-curved .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    color: var(--light);
}

.hero-curved .hero-title .text-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-curved .hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero-curved .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-curved .btn-outline {
    border-color: var(--light);
    color: var(--light);
}

.hero-curved .btn-outline:hover {
    background: var(--light);
    color: var(--primary);
}

.hero-scroll-indicator {
    margin-top: var(--space-3xl);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* Curved Image Container */
.hero-curved-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 45%;
    height: 100%;
    overflow: hidden;
    clip-path: ellipse(100% 100% at 100% 50%);
}

.hero-curved-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 80% center;
}

/* Mobile Responsive - HERO STYLES DISABLED (moved to luxury design)
@media (max-width: 1023px) {
    -- hero-curved styles moved to end of file --
}
*/

/* Keep only non-hero mobile styles */
@media (max-width: 1023px) {
    .hero-scroll-indicator {
        display: none;
    }

    .hero-curved-image-placeholder {
        /* placeholder */
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-curved-image {
        height: 280px;
    }

    .hero-curved .hero-title {
        font-size: 2rem;
    }
}

/* Legacy hero styles for other pages */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--light) 100%);
    overflow: hidden;
    padding-top: 100px;
}

.hero>.container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .hero>.container {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-3xl);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--light);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-text {
    font-size: 1.1rem;
    color: var(--gray-700);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.section h2 {
    margin-bottom: var(--space-lg);
}

.section .hero-text {
    margin-bottom: 0;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 20px 40px rgba(42, 175, 187, 0.2));
}

@media (max-width: 1023px) {
    .hero {
        text-align: center;
        padding-top: 120px;
        padding-bottom: var(--space-3xl);
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 350px;
    }

    .hero-buttons {
        justify-content: center;
    }
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.1;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.hero-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: 20%;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: var(--light);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
    filter: none !important;
    box-shadow: none;
    margin: 0 auto;
}

/* Mobile Header Logo Fix */
@media (max-width: 1023px) {
    .header-logo img {
        background: transparent;
        border-radius: 0;
        padding: 0;
        width: auto;
        height: 50px;
        object-fit: contain;
        box-shadow: none;
    }
}

/* Old rule ignored due to override above, but keep selector for safety */
.footer-logo-ignored {
    height: 60px;
    filter: brightness(0) invert(1);
}

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

.footer-copyright {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-engineered {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2));
    transition: all var(--transition-base);
}

.footer-engineered:hover {
    filter: drop-shadow(0px 0px 8px rgba(229, 201, 100, 0.5));
    transform: translateY(-1px);
}

.footer-privacy-link {
    display: inline-block;
    margin-top: var(--space-xs);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-privacy-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: var(--dark, #1a2332);
    border-top: 1px solid rgba(42, 175, 187, 0.3);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    animation: cookieSlideUp 0.4s ease-out;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner__text {
    flex: 1;
    min-width: 250px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    line-height: 1.5;
    font-family: 'Poppins', 'Lato', sans-serif;
}

.cookie-banner__text a {
    color: var(--primary, #2AAFBB);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Poppins', 'Lato', sans-serif;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.cookie-banner__btn--accept {
    background: var(--primary, #2AAFBB);
    color: #fff;
}

.cookie-banner__btn--accept:hover {
    background: var(--primary-dark, #1A8A95);
    transform: translateY(-1px);
}

.cookie-banner__btn--reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-banner__btn--reject:hover {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        padding: 16px 18px;
        gap: 12px;
        text-align: center;
    }

    .cookie-banner__text {
        font-size: 0.8rem;
        min-width: unset;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-banner__btn {
        padding: 10px 18px;
        font-size: 0.8rem;
        flex: 1;
    }
}

/* ========== WHATSAPP BUTTON ========== */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: var(--z-whatsapp);
    transition: var(--transition-base);
    animation: pulse 2s infinite;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
    }
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--light);
    border-radius: var(--radius-xl);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-slow);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--gray-100);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--gray-500);
    transition: var(--transition-base);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--dark);
}

.modal-body {
    padding: var(--space-lg);
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--space-md);
    font-size: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    background: var(--light);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-pale);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-500);
}

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

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

.form-required::after {
    content: ' *';
    color: var(--accent);
}

/* Conditional fields */
.conditional-fields {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows 0.35s ease, opacity 0.35s ease;
}

.conditional-fields>* {
    overflow: hidden;
}

.conditional-fields.visible {
    grid-template-rows: 1fr;
    opacity: 1;
}

/* Label transition for dynamic updates */
.form-label {
    transition: color 0.2s ease;
}

/* Enhanced focus states for form elements */
#preventivo-form .form-select:focus,
#preventivo-form .form-input:focus,
#preventivo-form .form-textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-pale);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-left {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-right {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animations */
.stagger-children>* {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible>*:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.visible>*:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.visible>*:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.visible>*:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.visible>*:nth-child(5) {
    transition-delay: 0.5s;
}

.stagger-children.visible>*:nth-child(6) {
    transition-delay: 0.6s;
}

.stagger-children.visible>* {
    opacity: 1;
    transform: translateY(0);
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

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

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

.text-muted {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-sm);
}

.mb-2 {
    margin-bottom: var(--space-md);
}

.mb-3 {
    margin-bottom: var(--space-lg);
}

.mb-4 {
    margin-bottom: var(--space-xl);
}

.mb-5 {
    margin-bottom: var(--space-2xl);
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-sm);
}

.mt-2 {
    margin-top: var(--space-md);
}

.mt-3 {
    margin-top: var(--space-lg);
}

.mt-4 {
    margin-top: var(--space-xl);
}

.mt-5 {
    margin-top: var(--space-2xl);
}

.py-0 {
    padding-top: 0;
    padding-bottom: 0;
}

.py-1 {
    padding-top: var(--space-sm);
    padding-bottom: var(--space-sm);
}

.py-2 {
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.py-3 {
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.py-4 {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.py-5 {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.align-start {
    align-items: flex-start;
}

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

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: var(--space-sm);
}

.gap-2 {
    gap: var(--space-md);
}

.gap-3 {
    gap: var(--space-lg);
}

.gap-4 {
    gap: var(--space-xl);
}

/* Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

@media (min-width: 640px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========== PAGE SPECIFIC ========== */

/* Features List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.feature-icon i {
    font-size: 1.2rem;
    color: var(--primary);
}

.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 var(--space-xs) 0;
    line-height: 1.4;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

/* Services page grid */
.services-grid {
    display: grid;
    gap: var(--space-xl);
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Contact page map */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: var(--space-2xl);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Social links */
.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
}

/* Page header */
.page-header {
    padding: 110px 0 60px;
    background: linear-gradient(135deg, var(--primary-pale) 0%, var(--light) 100%);
    text-align: center;
}

.page-header-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--space-md);
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 1023px) {
    .page-header {
        padding: 95px 0 50px;
    }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--gray-500);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray-300);
}

.page-secondary {
    background: radial-gradient(circle at 20% 20%, rgba(42, 175, 187, 0.08), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(227, 28, 95, 0.06), transparent 28%),
        #f7fbfd;
    padding-top: 120px;
}

.page-secondary .container {
    max-width: 1140px;
}

.page-secondary .header .container {
    max-width: 1280px;
}

.page-secondary .page-header {
    display: none;
}

.page-secondary .page-header .container {
    background: #ffffff;
    border-radius: 28px;
    padding: 28px 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid #e7f1f4;
}

.page-secondary .breadcrumb {
    justify-content: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--gray-500);
}

.page-secondary .breadcrumb a {
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-pale);
    color: var(--primary-dark);
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.page-secondary .breadcrumb-separator {
    color: var(--gray-400);
}

.page-secondary .page-header-title {
    text-align: left;
    margin-bottom: var(--space-sm);
}

.page-secondary .page-header-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.page-secondary .section {
    padding: var(--space-2xl) 0;
}

@media (min-width: 1024px) {
    .page-secondary .section {
        padding: calc(var(--space-3xl) - 0.5rem) 0;
    }
}

@media (max-width: 1023px) {
    .page-secondary .page-header {
        display: none;
    }

    .page-secondary {
        padding-top: 110px;
    }
}

.page-secondary .section>.container {
    max-width: 1140px;
}

.page-secondary .section+.section {
    margin-top: -10px;
}

.page-secondary .section.section-alt {
    background: linear-gradient(180deg, rgba(231, 241, 244, 0.55), rgba(247, 251, 253, 0.9));
}

.page-secondary .grid {
    gap: var(--space-2xl);
}

.page-secondary .grid-2 {
    align-items: center;
}

.page-secondary .card,
.page-secondary .service-card,
.page-secondary .contact-card {
    background: #ffffff;
    border: 1px solid #e7f1f4;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
}

.page-secondary .contact-card {
    padding: var(--space-lg);
    gap: var(--space-md);
}

.page-secondary .service-card {
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: left;
    align-items: flex-start;
}

.page-secondary .map-container iframe {
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    border: 1px solid #e7f1f4;
}

.page-secondary form {
    background: #ffffff;
    border-radius: var(--radius-xl);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
    border: 1px solid #e7f1f4;
    padding: var(--space-2xl);
}

.page-secondary .form-group {
    margin-bottom: var(--space-lg);
}

.page-secondary .btn {
    box-shadow: var(--shadow-md);
}

.contact-hero {
    padding-top: var(--space-2xl);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

@media (min-width: 960px) {
    .contact-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-3xl);
    }
}

.contact-hero-text h1 {
    margin-bottom: var(--space-md);
}

.breadcrumb-lite {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    background: rgba(42, 175, 187, 0.12);
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.breadcrumb-lite a:hover {
    color: var(--primary);
}

.contact-pills {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

@media (min-width: 720px) {
    .contact-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-pill:nth-child(3) {
        grid-column: 1 / -1;
    }
}

.contact-pill {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid #e7f1f4;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.04);
}

.contact-pill small {
    display: block;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.pill-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(42, 175, 187, 0.12);
    display: grid;
    place-items: center;
    color: var(--primary-dark);
    font-size: 1rem;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.contact-hero-card {
    background: #fff;
    border-radius: 28px;
    padding: var(--space-2xl);
    border: 1px solid #e7f1f4;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-hero-card .card-header h3 {
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.85rem;
}

.chip-soft {
    background: rgba(42, 175, 187, 0.12);
    color: var(--primary-dark);
}

.contact-list {
    list-style: none;
    display: grid;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
}

.contact-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-md);
    align-items: center;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid #eef3f6;
}

.contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contact-list i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(31, 59, 77, 0.08);
    display: grid;
    place-items: center;
    color: var(--dark);
}

.contact-list strong {
    display: block;
    color: var(--dark);
}

.contact-list small {
    color: var(--gray-500);
}

.contact-pill>div,
.contact-card>div,
.contact-list li>div {
    min-width: 0;
}

.contact-pill strong,
.contact-card-text,
.contact-card small,
.contact-list strong,
.contact-list small {
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

.contact-map-mini iframe {
    border-radius: var(--radius-lg);
    width: 100%;
    border: 1px solid #e7f1f4;
}

/* Map Cookie Consent Placeholder */
.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-lg);
    min-height: 220px;
    background: linear-gradient(135deg, #1a2332 0%, #2a3a4a 100%);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(42, 175, 187, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.map-placeholder-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    opacity: 0.7;
}

.map-placeholder-text {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.65);
    max-width: 280px;
}

.map-placeholder-address {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-md);
}

.map-placeholder-address i {
    color: var(--primary);
    margin-right: 4px;
}

.map-placeholder-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.map-placeholder-actions .btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.map-placeholder-link {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.map-placeholder-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.contact-card-label {
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.3;
}

.contact-card-text {
    font-size: 1.05rem;
    color: var(--dark);
    line-height: 1.4;
}

.contact-card small {
    color: var(--gray-500);
}

.contact-card.highlight {
    border-color: rgba(42, 175, 187, 0.35);
    box-shadow: 0 18px 38px rgba(42, 175, 187, 0.12);
}

/* Desktop styles for dual phone card */
.contact-card-dual {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl);
}

.contact-card-dual .contact-card-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-md);
}

.contact-card-dual.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-dual-numbers {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-number-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-number-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

.contact-number-item i {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-number-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

/* Desktop styles for English support card */
.contact-card-english .english-flag {
    width: 28px;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.social-links.compact {
    gap: var(--space-sm);
}

.social-links.compact .social-link {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
}

@media (max-width: 1023px) {
    .contact-hero {
        padding-top: var(--space-xl);
    }

    .contact-hero-grid {
        gap: var(--space-xl);
    }

    .contact-hero-card {
        padding: var(--space-xl);
        border-radius: var(--radius-xl);
    }

    .contact-pills {
        margin: var(--space-md) 0;
    }

    .contact-cards-grid {
        gap: var(--space-md);
    }

    .contact-map-mini iframe {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-pill {
        padding: var(--space-sm) var(--space-md);
    }

    .contact-card {
        padding: var(--space-md);
    }

    .contact-card-icon {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }

    .social-card {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .social-links.compact .social-link {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }
}

.page-secondary .service-card-icon {
    width: 88px;
    height: 88px;
    margin: 0 0 var(--space-lg);
    background: rgba(42, 175, 187, 0.12);
    border-radius: var(--radius-lg);
    border: 1px solid #e7f1f4;
}

.page-secondary .service-card-icon img {
    width: 52px;
    height: 52px;
}

.page-secondary .service-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.page-secondary .service-card-text {
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.page-secondary .service-card .service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--primary-dark);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--gray-300);
}

/* Mobile header refresh - DISABLED (moved to new luxury design)
@media (max-width: 767px) {
    -- old blur styles removed --
}
*/

/* FIX FOR MENU ICON VISIBILITY */
@media (min-width: 1024px) {
    .header.scrolled .header-cta.btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header.scrolled .header-cta.btn i {
        display: inline-block !important;
        font-size: 1.4rem !important;
        color: var(--light) !important;
        width: auto !important;
        height: auto !important;
        line-height: 1 !important;
        margin: 0 !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }
}

/* ========================================
   MOBILE HOMEPAGE REDESIGN - ELEGANT MINIMAL
   Professional, clean, modern design
   Desktop (1024px+) remains UNCHANGED
   ======================================== */

/* ========== 1. GLOBAL MOBILE STYLES ========== */
@media (max-width: 1023px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .container {
        padding: 0 20px;
    }
}

/* ========== 2. HEADER MOBILE - CLEAN & PROFESSIONAL ========== */
/* OLD MOBILE HEADER STYLES - COMMENTED OUT (replaced by luxury design below)
@media (max-width: 767px) {
    .header {
        padding: 12px 16px;
        background: transparent;
        transition: background 0.3s ease;
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    }

    .header-inner {
        padding: 0;
        background: none;
        border: none;
        box-shadow: none;
        border-radius: 0;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .header-logo img {
        height: 44px;
    }

    .hamburger {
        width: 44px;
        height: 44px;
        padding: 12px 10px;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .hamburger span {
        width: 24px;
        height: 1.5px;
        background: var(--light);
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .header.scrolled .hamburger span {
        background: var(--dark);
    }

    .hamburger:active {
        opacity: 0.7;
    }
*/

/* These rules still need the media query context for non-homepage pages */
@media (max-width: 767px) {

    /* CTA Button - icon only on mobile */
    .header-cta.btn {
        width: 44px;
        height: 44px;
        padding: 0 !important;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

    .header-cta.btn i {
        display: flex !important;
        font-size: 1.1rem;
        color: var(--light);
    }

    .header-cta .header-cta-label {
        display: none;
    }
}

/* ========== 3. MOBILE MENU - FULLSCREEN DARK GRADIENT ========== */
@media (max-width: 1023px) {

    /* ===== MENU CONTAINER ===== */
    .mobile-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        /* Gradient scuro elegante */
        background: linear-gradient(160deg,
                #0a0f1a 0%,
                #0d1421 25%,
                #111827 50%,
                #0f172a 75%,
                #020617 100%) !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        z-index: 9999 !important;
        opacity: 0;
        visibility: hidden;
        transform: scale(1.02);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }

    /* Overlay pattern sottile */
    .mobile-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(ellipse at 30% 20%,
                rgba(42, 175, 187, 0.08) 0%,
                transparent 50%),
            radial-gradient(ellipse at 70% 80%,
                rgba(227, 28, 95, 0.05) 0%,
                transparent 50%);
        pointer-events: none;
        z-index: 0;
    }

    .mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    /* ===== CLOSE BUTTON ===== */
    .mobile-menu-close {
        position: absolute !important;
        top: 24px !important;
        right: 24px !important;
        width: 48px !important;
        height: 48px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 1.25rem !important;
        z-index: 10;
        opacity: 0;
        transform: rotate(-90deg) scale(0.8);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: 0.2s;
        cursor: pointer;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-menu.active .mobile-menu-close {
        opacity: 1;
        transform: rotate(0) scale(1);
    }

    .mobile-menu-close:hover,
    .mobile-menu-close:active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
        transform: rotate(90deg) scale(1.05) !important;
    }

    /* ===== NAVIGATION LINKS ===== */
    .mobile-menu .nav-link {
        position: relative;
        display: block !important;
        padding: 24px 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        font-family: var(--font-display) !important;
        font-size: clamp(2rem, 8vw, 3rem) !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        letter-spacing: -0.03em;
        line-height: 1.2;
        text-align: center !important;
        text-decoration: none !important;
        z-index: 1;
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            color 0.3s ease;
    }

    /* Hover underline animata */
    .mobile-menu .nav-link::after {
        content: '' !important;
        display: block !important;
        position: absolute;
        bottom: 8px;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
        border-radius: 2px;
        transform: translateX(-50%);
        transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .mobile-menu .nav-link:hover::after,
    .mobile-menu .nav-link:active::after,
    .mobile-menu .nav-link.active::after {
        width: 60%;
    }

    .mobile-menu .nav-link:hover,
    .mobile-menu .nav-link:active {
        color: #ffffff !important;
    }

    .mobile-menu .nav-link.active {
        color: var(--primary) !important;
    }

    /* Animazione staggered sui link */
    .mobile-menu.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .mobile-menu.active .nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .mobile-menu.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .mobile-menu.active .nav-link:nth-child(4) {
        transition-delay: 0.25s;
    }

    .mobile-menu.active .nav-link:nth-child(5) {
        transition-delay: 0.3s;
    }

    .mobile-menu.active .nav-link:nth-child(6) {
        transition-delay: 0.35s;
    }

    /* ===== CTA BUTTON ===== */
    .mobile-menu .btn {
        position: relative;
        margin-top: 40px !important;
        margin-bottom: calc(40px + env(safe-area-inset-bottom)) !important;
        padding: 18px 40px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        letter-spacing: 0.02em;
        text-align: center !important;
        border-radius: 50px !important;
        background: linear-gradient(135deg, var(--accent) 0%, #FF6B35 100%) !important;
        color: #ffffff !important;
        border: none !important;
        box-shadow: 0 8px 32px rgba(227, 28, 95, 0.35),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset !important;
        z-index: 1;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.35s;
        overflow: hidden;
    }

    /* Glow effect animato */
    .mobile-menu .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg,
                transparent,
                rgba(255, 255, 255, 0.2),
                transparent);
        transition: left 0.5s ease;
    }

    .mobile-menu.active .btn:hover::before,
    .mobile-menu.active .btn:active::before {
        left: 100%;
    }

    .mobile-menu.active .btn {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu .btn:hover,
    .mobile-menu .btn:active {
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 12px 40px rgba(227, 28, 95, 0.45),
            0 0 0 1px rgba(255, 255, 255, 0.15) inset !important;
    }

    .mobile-menu .btn i {
        color: #ffffff !important;
        margin-right: 10px;
    }
}

/* ========== 4. HERO SECTION MOBILE - DISABLED (moved to luxury design at end of file) ========== */
/*
@media (max-width: 1023px) {
    -- OLD HERO STYLES REMOVED --
}
*/

/* Placeholder to maintain file structure */
@media (max-width: 1023px) {
    .hero-curved .btn-outline {
        background: rgba(255, 255, 255, 0.1);
        border: 1.5px solid rgba(255, 255, 255, 0.4);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .hero-curved .btn-outline:hover,
    .hero-curved .btn-outline:active {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.6);
    }

    /* Scroll indicator - nascosto su mobile */
    .hero-scroll-indicator {
        display: none;
    }
}

/* OLD hero mobile rules - DISABLED
@media (max-width: 767px) {
    .hero-curved-content { padding: 100px 20px 50px; }
}
@media (max-width: 374px) {
    .hero-curved .hero-title { font-size: 1.75rem; }
}
*/

/* ========== 5. SERVICES CARDS MOBILE ========== */
@media (max-width: 1023px) {
    .services-grid {
        gap: 16px;
    }

    .service-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 20px;
        border-radius: 12px;
        gap: 16px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        border: 1px solid var(--gray-100);
        transition: box-shadow 0.2s ease;
    }

    .service-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .service-card:active {
        opacity: 0.9;
    }

    .service-card-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        margin: 0;
        background: var(--primary-pale);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card-icon img {
        width: 28px;
        height: 28px;
        display: block;
    }

    .service-card-title {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 4px;
        letter-spacing: -0.01em;
    }

    .service-card-text {
        font-size: 0.875rem;
        line-height: 1.5;
        color: var(--gray-500);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Remove arrow indicator */
    .service-card::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .service-card {
        padding: 16px;
    }

    .service-card-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 10px;
    }

    .service-card-icon img {
        width: 24px;
        height: 24px;
    }

    .service-card-title {
        font-size: 1rem;
    }

    .service-card-text {
        font-size: 0.8rem;
    }
}

/* ========== 6. WHY CHOOSE US MOBILE ========== */
@media (max-width: 1023px) {
    .section .grid-2 {
        gap: 40px;
    }

    .section .grid-2 .hero-image,
    .section .grid-2>div:has(img) {
        order: -1;
    }

    .features-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 24px;
    }

    .feature-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        background: var(--primary-pale);
        border-radius: 10px;
    }

    .feature-icon i {
        font-size: 1rem;
        color: var(--primary);
    }

    .feature-content h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 4px;
        color: var(--dark);
    }

    .feature-content p {
        font-size: 0.875rem;
        line-height: 1.5;
        color: var(--gray-500);
    }

    .section .hero-buttons {
        justify-content: flex-start;
        margin-top: 32px;
    }

    .section .hero-buttons .btn {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 767px) {
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .feature-content h4 {
        font-size: 0.95rem;
    }

    .feature-content p {
        font-size: 0.8rem;
    }

    .section .hero-buttons {
        justify-content: center;
    }

    .section .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== 7. CTA SECTION MOBILE ========== */
@media (max-width: 1023px) {
    .section.section-alt {
        padding: 56px 0;
    }

    .section.section-alt .text-center h2 {
        font-size: 1.625rem;
        letter-spacing: -0.02em;
    }

    .section.section-alt .text-center p {
        font-size: 0.95rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .section.section-alt .btn {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .section.section-alt {
        padding: 48px 0;
    }

    .section.section-alt .text-center h2 {
        font-size: 1.5rem;
    }

    .section.section-alt .text-center p {
        font-size: 0.9rem;
    }

    .section.section-alt .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========== 8. FOOTER MOBILE ========== */
@media (max-width: 1023px) {
    .footer {
        padding: 48px 0 32px;
    }

    .footer-logo img {
        height: 48px;
    }

    .footer-text {
        font-size: 0.85rem;
        max-width: 300px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .social-links {
        gap: 12px;
        margin-top: 24px;
    }

    .social-link {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 1.1rem;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        backdrop-filter: none;
    }

    .social-link:active {
        background: var(--primary);
    }

    .footer-copyright {
        font-size: 0.75rem;
        margin-top: 32px;
        padding-top: 24px;
        opacity: 0.6;
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 40px 0 24px;
    }

    .footer-logo img {
        height: 42px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========== 9. WHATSAPP BUTTON MOBILE ========== */
@media (max-width: 1023px) {
    .whatsapp-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        bottom: 24px;
        right: 24px;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }

    .whatsapp-btn svg {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 767px) {
    .whatsapp-btn {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ========== 10. SPLASH SCREEN MOBILE ========== */
@media (max-width: 1023px) {
    .splash-logo {
        width: 180px;
    }

    .splash-progress {
        width: 60px;
        height: 2px;
        bottom: 48px;
    }
}

@media (max-width: 767px) {
    .splash-logo {
        width: 150px;
    }

    .splash-progress {
        width: 48px;
        bottom: 40px;
    }
}

/* ========== 11. SMALL MOBILE (max-width: 640px) ========== */
@media (max-width: 640px) {
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .section {
        padding: 40px 0;
    }

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

/* ========== 12. EXTRA SMALL MOBILE (max-width: 374px) ========== */
@media (max-width: 374px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
    }

    .header {
        padding: 10px 12px;
    }

    .header-logo img {
        height: 40px;
    }

    .header-cta.btn {
        height: 32px;
        padding: 0 12px !important;
        font-size: 0.75rem !important;
    }

    /* Mobile menu font size now handled in main @media (max-width: 1023px) with clamp() */

    .service-card {
        padding: 14px;
    }

    .service-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
}

/* ========== 13. TOUCH & ACCESSIBILITY ========== */
@media (max-width: 1023px) {

    .btn,
    .nav-link,
    .social-link,
    .hamburger,
    .mobile-menu-close {
        min-height: 44px;
        min-width: 44px;
    }

    @media (hover: none) {

        .card:hover,
        .service-card:hover,
        .btn:hover {
            transform: none;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }
    }

    .btn:focus-visible,
    .nav-link:focus-visible,
    .social-link:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }

    @media (prefers-reduced-motion: reduce) {

        *,
        *::before,
        *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
        }
    }
}

/* ========== BENTO GRID EQUAL ========== */
.bento-grid-equal {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .bento-grid-equal {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-xl);
    }
}

/* Bento Card Base */
.bento-card {
    position: relative;
    background: var(--light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
    min-height: 380px;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 2px;
    background: linear-gradient(135deg,
            rgba(42, 175, 187, 0.4) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(42, 175, 187, 0.3) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.bento-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(42, 175, 187, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.1);
}

.bento-card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
}

/* Gold Variant (B&B) */
.bento-card-gold {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(204, 171, 61, 0.08) 100%);
}

.bento-card-gold::before {
    background: linear-gradient(135deg,
            rgba(204, 171, 61, 0.5) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(204, 171, 61, 0.3) 100%);
}

.bento-card-gold:hover {
    box-shadow: 0 30px 60px rgba(204, 171, 61, 0.2),
        0 15px 30px rgba(0, 0, 0, 0.1);
}

.bento-card-gold .bento-tag {
    background: rgba(204, 171, 61, 0.15);
    color: var(--gold);
}

.bento-card-gold:hover .bento-tag {
    background: var(--gold);
    color: var(--light);
}

/* Dark Variant (Multiservizi) */
.bento-card-dark {
    background: linear-gradient(145deg,
            var(--dark) 0%,
            var(--dark-light) 100%);
}

.bento-card-dark::before {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.3) 0%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.2) 100%);
}

.bento-card-dark .bento-title,
.bento-card-dark .bento-text {
    color: var(--light);
}

.bento-card-dark .bento-text {
    opacity: 0.85;
}

.bento-card-dark .bento-icon-extra {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.bento-card-dark .bento-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.bento-card-dark:hover .bento-tag {
    background: var(--light);
    color: var(--dark);
}

.bento-card-dark .bento-arrow {
    background: rgba(255, 255, 255, 0.15);
    color: var(--light);
}

.bento-card-dark:hover .bento-arrow {
    background: var(--light);
    color: var(--dark);
}

.bento-card-dark:hover {
    box-shadow: 0 30px 60px rgba(31, 59, 77, 0.35),
        0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Stats Bar */
.bento-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    text-align: center;
}

.bento-stat-item {
    color: var(--light);
}

.bento-stats-bar .bento-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: var(--space-xs);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.bento-stats-bar .bento-stat-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.02em;
}

@media (max-width: 767px) {
    .bento-card {
        min-height: 320px;
    }

    .bento-card-inner {
        padding: var(--space-xl);
    }

    .bento-stats-bar {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        padding: var(--space-lg);
    }

    .bento-stats-bar .bento-stat-number {
        font-size: 2rem;
    }
}


/* ========== BENTO MODERN COLORS ========== */
/* Override for modern, cohesive design */

.bento-card {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 1) 0%,
            rgba(248, 250, 252, 1) 100%);
    border: 1px solid rgba(42, 175, 187, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04),
        0 1px 2px rgba(0, 0, 0, 0.02);
}

.bento-card:hover {
    border-color: rgba(42, 175, 187, 0.3);
    box-shadow: 0 24px 48px rgba(42, 175, 187, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.06);
}

/* Card variant 1 - Teal gradient */
.bento-card:first-child {
    background: linear-gradient(145deg,
            rgba(42, 175, 187, 0.03) 0%,
            rgba(255, 255, 255, 1) 100%);
}

.bento-card:first-child .bento-icon {
    background: linear-gradient(135deg, #0EA5E9 0%, #06B6D4 100%);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.bento-card:first-child:hover .bento-icon {
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.45);
}

.bento-card:first-child .bento-tag {
    background: rgba(14, 165, 233, 0.1);
    color: #0284C7;
}

.bento-card:first-child:hover .bento-tag {
    background: #0EA5E9;
    color: white;
}

.bento-card:first-child .bento-arrow {
    background: rgba(14, 165, 233, 0.1);
    color: #0EA5E9;
}

.bento-card:first-child:hover .bento-arrow {
    background: #0EA5E9;
    color: white;
}

/* Card variant 2 - Purple gradient (B&B) */
.bento-card-gold {
    background: linear-gradient(145deg,
            rgba(139, 92, 246, 0.03) 0%,
            rgba(255, 255, 255, 1) 100%) !important;
    border-color: rgba(139, 92, 246, 0.1) !important;
}

.bento-card-gold:hover {
    border-color: rgba(139, 92, 246, 0.3) !important;
    box-shadow: 0 24px 48px rgba(139, 92, 246, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.06) !important;
}

.bento-card-gold .bento-icon-bnb {
    background: linear-gradient(135deg, #8B5CF6 0%, #A78BFA 100%) !important;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35) !important;
}

.bento-card-gold:hover .bento-icon-bnb {
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.45) !important;
}

.bento-card-gold .bento-tag {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #7C3AED !important;
}

.bento-card-gold:hover .bento-tag {
    background: #8B5CF6 !important;
    color: white !important;
}

.bento-card-gold .bento-arrow {
    background: rgba(139, 92, 246, 0.1) !important;
    color: #8B5CF6 !important;
}

.bento-card-gold:hover .bento-arrow {
    background: #8B5CF6 !important;
    color: white !important;
}

/* Card variant 3 - Emerald gradient (Multiservizi) */
.bento-card-dark {
    background: linear-gradient(145deg,
            rgba(16, 185, 129, 0.03) 0%,
            rgba(255, 255, 255, 1) 100%) !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}

.bento-card-dark:hover {
    border-color: rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 24px 48px rgba(16, 185, 129, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.06) !important;
}

.bento-card-dark .bento-title,
.bento-card-dark .bento-text {
    color: var(--dark) !important;
    opacity: 1 !important;
}

.bento-card-dark .bento-icon-extra {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%) !important;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35) !important;
}

.bento-card-dark:hover .bento-icon-extra {
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.45) !important;
}

.bento-card-dark .bento-tag {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #059669 !important;
}

.bento-card-dark:hover .bento-tag {
    background: #10B981 !important;
    color: white !important;
}

.bento-card-dark .bento-arrow {
    background: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
}

.bento-card-dark:hover .bento-arrow {
    background: #10B981 !important;
    color: white !important;
}

/* Modern glassmorphism effect on hover */
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.4) 0%,
            rgba(255, 255, 255, 0) 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.bento-card:hover::after {
    opacity: 1;
}

/* Update stats bar with modern gradient */
.bento-stats-bar {
    background: linear-gradient(135deg, #0EA5E9 0%, #8B5CF6 50%, #10B981 100%) !important;
}


/* ================================================================
   OLD MOBILE 2026 DESIGN - REMOVED (conflicts with new design)
   ================================================================ */

@media (max-width: 767px) {

    /* OLD MOBILE MENU STYLES - DISABLED (using new unified design in @media max-width: 1023px)
    .mobile-menu .nav-link { ... }
    */

    /* ========== SECONDARY PAGES HEADER ========== */
    /* OLD STYLES REMOVED - Now using unified header design for ALL pages */
    /* Header CTA is hidden on mobile, hamburger style is unified */

    /* ========== HERO SECTION - DISABLED (moved to luxury design at end) ========== */
    /* All hero styles removed - see end of file for new luxury design */

    /* ========== BENTO CARDS MOBILE - VERTICAL STACK ========== */
    .bento-grid-equal {
        display: flex !important;
        flex-direction: column !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        scroll-snap-type: none !important;
        gap: var(--space-md);
        padding: 0;
        margin: 0;
    }

    .bento-grid-equal::-webkit-scrollbar {
        display: none;
    }

    .bento-grid-equal .bento-card {
        flex: none;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        border-radius: var(--radius-xl);
        transform: none;
        margin: 0 !important;
    }

    .bento-card-inner {
        padding: var(--space-lg) !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Glassmorphism effect on mobile cards */
    .bento-card {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.08),
            0 2px 8px rgba(0, 0, 0, 0.04),
            inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    }

    .bento-card::before {
        opacity: 0 !important;
    }

    /* Icon centered */
    .bento-icon {
        width: 56px !important;
        height: 56px !important;
        margin-bottom: var(--space-md) !important;
        animation: none !important;
    }

    .bento-icon i {
        font-size: 1.4rem !important;
    }

    .bento-title {
        font-size: 1.15rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    .bento-text {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: var(--space-md) !important;
    }

    .bento-tags {
        margin-top: auto !important;
        padding-top: var(--space-sm);
        justify-content: center;
    }

    .bento-tag {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .bento-arrow {
        position: absolute;
        width: 36px !important;
        height: 36px !important;
        bottom: var(--space-md) !important;
        right: var(--space-md) !important;
    }

    /* ========== STATS BAR MOBILE ========== */
    .bento-stats-bar {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0 !important;
        padding: 0 !important;
        margin-top: var(--space-lg) !important;
        border-radius: var(--radius-xl) !important;
        background: linear-gradient(135deg,
                #0EA5E9 0%,
                #8B5CF6 50%,
                #10B981 100%) !important;
    }

    .bento-stat-item {
        flex: 0 0 33.333%;
        min-width: 33.333%;
        scroll-snap-align: center;
        padding: var(--space-lg) var(--space-sm);
        text-align: center;
    }

    .bento-stats-bar .bento-stat-number {
        font-size: 1.75rem !important;
    }

    .bento-stats-bar .bento-stat-label {
        font-size: 0.7rem !important;
        line-height: 1.3;
    }

    /* ========== WHY CHOOSE US MOBILE ========== */
    .section .grid.grid-2 {
        gap: var(--space-xl) !important;
    }

    .section .grid.grid-2>.fade-right {
        display: none;
        /* Hide image on mobile */
    }

    /* Center the fade-up content and button */
    .section .grid.grid-2>.fade-up {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Center the CTA button in Why Choose Us section */
    .section .grid.grid-2 .btn-preventivo {
        margin: var(--space-lg) auto 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .features-list {
        gap: var(--space-md) !important;
        margin-top: var(--space-lg) !important;
        width: 100%;
    }

    .feature-item {
        background: rgba(255, 255, 255, 0.8);
        padding: var(--space-md);
        border-radius: var(--radius-lg);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(42, 175, 187, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .feature-item:active {
        transform: scale(0.98);
    }

    .feature-icon {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        border-radius: var(--radius-md) !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    }

    .feature-icon i {
        color: white !important;
        font-size: 1rem !important;
    }

    .feature-content h4 {
        font-size: 1rem !important;
        margin-bottom: 0.15rem !important;
    }

    .feature-content p {
        font-size: 0.85rem !important;
        color: var(--gray-500) !important;
    }

    /* ========== CTA SECTION MOBILE - FLOATING DESIGN ========== */
    .section[style*="background: linear-gradient"] {
        background: linear-gradient(160deg,
                #0EA5E9 0%,
                #8B5CF6 50%,
                #10B981 100%) !important;
        padding: var(--space-2xl) var(--space-md) !important;
        position: relative;
        overflow: hidden;
    }

    .section[style*="background: linear-gradient"]::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 70%,
                rgba(255, 255, 255, 0.1) 0%,
                transparent 50%);
        animation: meshFloat 8s ease-in-out infinite;
    }

    @keyframes meshFloat {

        0%,
        100% {
            transform: translate(0, 0) rotate(0deg);
        }

        50% {
            transform: translate(5%, 5%) rotate(5deg);
        }
    }

    .section[style*="background: linear-gradient"] h2 {
        font-size: 1.5rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    .section[style*="background: linear-gradient"] p {
        font-size: 0.9rem !important;
        margin-bottom: var(--space-lg) !important;
        opacity: 0.95 !important;
    }

    /* Floating CTA Button */
    .section[style*="background: linear-gradient"] .btn {
        position: relative;
        padding: 1rem 2rem !important;
        font-size: 0.95rem !important;
        background: white !important;
        color: var(--primary-dark) !important;
        border-radius: var(--radius-full) !important;
        box-shadow:
            0 10px 40px rgba(0, 0, 0, 0.2),
            0 4px 12px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 1) !important;
        animation: floatButton 3s ease-in-out infinite;
        z-index: 2;
    }

    @keyframes floatButton {

        0%,
        100% {
            transform: translateY(0);
            box-shadow:
                0 10px 40px rgba(0, 0, 0, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.1);
        }

        50% {
            transform: translateY(-5px);
            box-shadow:
                0 20px 50px rgba(0, 0, 0, 0.25),
                0 8px 20px rgba(0, 0, 0, 0.12);
        }
    }

    .section[style*="background: linear-gradient"] .btn i {
        color: var(--primary) !important;
        transition: transform 0.3s ease;
    }

    .section[style*="background: linear-gradient"] .btn:active {
        transform: scale(0.96) !important;
        animation: none;
    }

    .section[style*="background: linear-gradient"] .btn:active i {
        transform: translateX(4px);
    }

    /* ========== FOOTER MOBILE ========== */
    .footer {
        padding: var(--space-xl) 0 !important;
    }

    .footer-logo img {
        height: 50px !important;
    }

    .footer-text {
        font-size: 0.85rem !important;
    }

    .social-links {
        gap: var(--space-md) !important;
    }

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

    .social-link:active {
        transform: scale(0.9);
        background: rgba(255, 255, 255, 0.2);
    }

    /* ========== CONTATTI PAGE MOBILE - MODERN ACTION STYLE ========== */

    /* Contact Hero */
    .contact-hero {
        padding: var(--space-lg) 0 var(--space-md) !important;
    }

    .contact-hero-grid {
        display: block !important;
    }

    .contact-hero-text h1 {
        font-size: 1.75rem !important;
        text-align: center;
        margin-bottom: var(--space-xs) !important;
        background: linear-gradient(135deg, var(--gray-800) 0%, var(--primary-dark) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .contact-hero-text .hero-text {
        text-align: center;
        font-size: 0.9rem !important;
        color: var(--gray-500);
        margin-bottom: var(--space-xl) !important;
    }

    /* Contact Pills - Compact horizontal layout */
    .contact-pills {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-bottom: var(--space-lg) !important;
    }

    .contact-pill {
        padding: 12px 16px !important;
        border-radius: 16px !important;
        background: white !important;
        border: 1px solid rgba(42, 175, 187, 0.15) !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
    }

    .contact-pill .pill-icon {
        width: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    }

    .contact-pill .pill-icon i {
        color: white !important;
        font-size: 0.9rem !important;
    }

    .contact-pill small {
        font-size: 0.7rem !important;
        color: var(--gray-400) !important;
    }

    .contact-pill strong {
        font-size: 0.85rem !important;
        color: var(--dark) !important;
    }

    /* Contact Actions - Simplified 2 buttons */
    .contact-actions {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        margin-bottom: var(--space-lg);
    }

    .contact-actions .btn {
        flex-direction: column !important;
        gap: 6px !important;
        padding: var(--space-md) !important;
        font-size: 0.8rem !important;
        border-radius: 16px !important;
        min-height: 70px;
    }

    .contact-actions .btn i {
        font-size: 1.3rem !important;
    }

    .contact-actions .btn-primary {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        box-shadow: 0 6px 20px rgba(42, 175, 187, 0.3) !important;
    }

    .contact-actions .btn-preventivo {
        background: linear-gradient(135deg, var(--accent) 0%, #FF6B7A 100%) !important;
        box-shadow: 0 6px 20px rgba(227, 28, 95, 0.25) !important;
        color: white !important;
    }

    /* Show hero card with compact design */
    .contact-hero-card {
        display: flex !important;
        padding: var(--space-lg) !important;
        border-radius: 20px !important;
        margin-top: var(--space-md) !important;
        background: white !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    }

    .contact-hero-card .card-header {
        margin-bottom: var(--space-sm) !important;
    }

    .contact-hero-card .card-header .chip {
        font-size: 0.7rem !important;
        padding: 4px 10px !important;
    }

    .contact-hero-card .card-header h3 {
        font-size: 1.1rem !important;
        margin-top: var(--space-xs) !important;
    }

    .contact-hero-card .contact-list {
        gap: var(--space-sm) !important;
    }

    .contact-hero-card .contact-list li {
        padding-bottom: var(--space-xs) !important;
    }

    .contact-hero-card .contact-list i {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
        border-radius: 10px !important;
    }

    .contact-hero-card .contact-list strong {
        font-size: 0.9rem !important;
    }

    .contact-hero-card .contact-list small {
        font-size: 0.75rem !important;
    }

    /* Map on mobile - styled to match */
    .contact-map-mini {
        display: block !important;
        margin-top: var(--space-md);
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    }

    .contact-map-mini iframe {
        width: 100% !important;
        height: 180px !important;
        border-radius: 16px;
        display: block;
    }

    /* Contact Cards Grid - Modern Icon Grid */
    .contact-cards-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .contact-card {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 10px !important;
        padding: var(--space-lg) var(--space-sm) !important;
        background: white !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        border-radius: 20px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
        text-decoration: none;
        transition: all 0.3s ease;
        min-height: 130px;
    }

    .contact-card:active {
        transform: scale(0.97);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }

    .contact-card.highlight {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        border: none !important;
        box-shadow: 0 8px 24px rgba(42, 175, 187, 0.3) !important;
    }

    /* ===== DUAL PHONE CARD ===== */
    .contact-card-dual {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: var(--space-md) !important;
        min-height: 160px !important;
    }

    .contact-card-dual .contact-card-label {
        font-size: 0.65rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: rgba(255, 255, 255, 0.7) !important;
        margin-bottom: 10px !important;
        text-align: center !important;
    }

    .contact-dual-numbers {
        display: flex;
        flex-direction: column;
        gap: 8px;
        flex: 1;
    }

    .contact-number-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.2s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-number-item:active {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(0.97);
    }

    .contact-number-item i {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        width: 20px;
        text-align: center;
    }

    .contact-number-item span {
        font-size: 0.75rem;
        font-weight: 600;
        color: white;
        letter-spacing: -0.01em;
        white-space: nowrap;
    }

    /* ===== ENGLISH SUPPORT CARD ===== */
    .contact-card-english {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: var(--space-md) !important;
        min-height: 160px !important;
        background: white !important;
        border: 2px solid rgba(42, 175, 187, 0.2) !important;
    }

    .contact-card-english .contact-card-icon {
        width: 50px !important;
        height: 50px !important;
        background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%) !important;
        border-radius: 14px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    .contact-card-english .english-flag {
        width: 24px;
        height: auto;
        border-radius: 2px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }

    .contact-card-english .contact-card-label {
        font-size: 0.65rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        color: var(--gray-400) !important;
        margin-bottom: 4px !important;
    }

    .contact-card-english .contact-card-text {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: var(--primary-dark) !important;
    }

    .contact-card-english small {
        display: block !important;
        font-size: 0.7rem !important;
        color: var(--gray-400) !important;
        margin-top: 4px !important;
    }

    .contact-card.highlight .contact-card-icon {
        background: rgba(255, 255, 255, 0.2) !important;
    }

    .contact-card.highlight .contact-card-label,
    .contact-card.highlight .contact-card-text,
    .contact-card.highlight small {
        color: white !important;
    }

    .contact-card.highlight .contact-card-label {
        opacity: 0.8;
    }

    .contact-card-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        background: linear-gradient(135deg, #E6F7F8 0%, #D4F1F4 100%) !important;
        border-radius: 16px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 4px;
    }

    .contact-card-icon i {
        font-size: 1.2rem !important;
        color: var(--primary-dark) !important;
    }

    .contact-card.highlight .contact-card-icon i {
        color: white !important;
    }

    .contact-card-label {
        font-size: 0.7rem !important;
        color: var(--gray-400) !important;
        margin: 0 !important;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .contact-card-text {
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        color: var(--gray-700) !important;
        margin: 0 !important;
        word-break: break-word;
        line-height: 1.3;
    }

    .contact-card small {
        display: none !important;
    }

    /* Full width cards (Email, Line) */
    .contact-card-fullwidth {
        grid-column: 1 / -1 !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        gap: var(--space-md) !important;
        padding: var(--space-md) var(--space-lg) !important;
        min-height: 80px !important;
    }

    .contact-card-fullwidth .contact-card-icon {
        margin-bottom: 0 !important;
    }

    .contact-card-fullwidth .contact-card-text {
        font-size: 0.9rem !important;
    }

    /* Social card - full width */
    .social-card {
        grid-column: 1 / -1 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        min-height: auto !important;
        padding: var(--space-lg) !important;
        gap: var(--space-md) !important;
    }

    .social-card .social-links.compact {
        display: flex;
        gap: 10px;
    }

    .social-card .social-link {
        width: 44px;
        height: 44px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: white;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-card .social-link i {
        font-size: 1.1rem;
    }

    /* ========== WHATSAPP BUTTON MOBILE ========== */
    .whatsapp-btn {
        width: 56px !important;
        height: 56px !important;
        bottom: 20px !important;
        right: 20px !important;
        box-shadow:
            0 8px 24px rgba(37, 211, 102, 0.4),
            0 4px 8px rgba(0, 0, 0, 0.1) !important;
    }

    .whatsapp-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    /* ========== GENERAL MOBILE POLISH ========== */
    .section {
        padding: var(--space-2xl) 0 !important;
    }

    .section-alt {
        background: linear-gradient(180deg,
                var(--bg-section) 0%,
                rgba(248, 250, 252, 0.5) 100%);
    }

    h2 {
        font-size: 1.5rem !important;
        text-align: center;
    }

    .section .hero-text {
        font-size: 0.9rem !important;
        text-align: center;
    }

    /* Smooth scroll behavior */
    html {
        scroll-behavior: smooth;
    }

    /* Touch-friendly tap targets */
    a,
    button {
        min-height: 44px;
        min-width: 44px;
    }

    /* ========== SECONDARY PAGES - PREMIUM MOBILE DESIGN 2026 ========== */

    /* Page Header - Elegant minimal */
    .page-header {
        padding: calc(80px + var(--space-xl)) var(--space-md) var(--space-xl) !important;
        text-align: center;
    }

    .page-header-title {
        font-size: 1.75rem !important;
        font-weight: 700 !important;
        margin-bottom: var(--space-sm) !important;
    }

    .page-header-subtitle {
        font-size: 0.9rem !important;
        opacity: 0.85;
        line-height: 1.5;
        max-width: 300px;
        margin: 0 auto;
    }

    .breadcrumb {
        font-size: 0.75rem !important;
        margin-bottom: var(--space-md) !important;
        justify-content: center;
        opacity: 0.7;
    }

    /* ========== CHI SIAMO - QUOTE STYLE DESIGN ========== */

    /* Storia section */
    .page-secondary .section:first-of-type {
        padding: var(--space-xl) 0 !important;
    }

    .page-secondary .grid.grid-2 {
        display: block !important;
    }

    .page-secondary .grid.grid-2>.fade-left,
    .page-secondary .grid.grid-2>.fade-right {
        display: none !important;
    }

    .page-secondary .grid.grid-2>.fade-up {
        position: relative;
        text-align: left;
        padding-left: 20px;
        border-left: 3px solid linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
        border-image: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%) 1;
    }

    /* Decorative quote mark */
    .page-secondary .grid.grid-2>.fade-up::before {
        content: '"';
        position: absolute;
        top: -20px;
        left: -5px;
        font-size: 5rem;
        font-family: Georgia, serif;
        color: var(--primary);
        opacity: 0.15;
        line-height: 1;
        pointer-events: none;
    }

    .page-secondary .grid.grid-2>.fade-up h2 {
        font-size: 1.4rem !important;
        margin-bottom: var(--space-md) !important;
        color: var(--primary-dark);
        text-align: left !important;
    }

    .page-secondary .grid.grid-2>.fade-up .hero-text {
        font-size: 0.95rem !important;
        line-height: 1.8;
        color: var(--gray-600);
        margin-bottom: var(--space-md);
        font-style: italic;
    }

    .page-secondary .grid.grid-2>.fade-up .hero-text:last-child {
        margin-bottom: 0;
        padding-bottom: var(--space-sm);
    }

    /* ========== VALORI - PREMIUM BENTO GRID ========== */
    .page-secondary .section-alt {
        padding: var(--space-xl) 0 !important;
        background: linear-gradient(180deg, #F8FFFE 0%, #EEF9FA 100%) !important;
    }

    .page-secondary .section-alt .text-center.mb-5 {
        margin-bottom: var(--space-lg) !important;
    }

    .page-secondary .section-alt .text-center.mb-5 h2 {
        font-size: 1.4rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    .page-secondary .section-alt .text-center.mb-5 .hero-text {
        font-size: 0.85rem !important;
        color: var(--gray-500);
    }

    /* Premium Bento Grid */
    .grid.grid-3.stagger-children {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-auto-rows: auto !important;
        gap: 12px !important;
    }

    /* Base card style */
    .service-card {
        position: relative;
        padding: var(--space-lg) var(--space-md) !important;
        border-radius: 20px !important;
        border: none !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:active {
        transform: scale(0.98);
    }

    /* Card 1 - Qualità: Full width, gradient teal */
    .grid.grid-3.stagger-children .service-card:nth-child(1) {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, #2AAFBB 0%, #1E8A94 100%) !important;
        color: white;
        min-height: 140px;
        box-shadow: 0 10px 40px rgba(42, 175, 187, 0.3) !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(1) .service-card-icon {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .grid.grid-3.stagger-children .service-card:nth-child(1) .service-card-icon i {
        color: white !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(1) .service-card-title {
        color: white !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(1) .service-card-text {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    /* Card 2 & 3 - White elegant */
    .grid.grid-3.stagger-children .service-card:nth-child(2),
    .grid.grid-3.stagger-children .service-card:nth-child(3) {
        background: white !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
        min-height: 160px;
    }

    /* Card 4 - Sostenibilità: Full width, soft green */
    .grid.grid-3.stagger-children .service-card:nth-child(4) {
        grid-column: 1 / -1;
        background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%) !important;
        min-height: 130px;
        box-shadow: 0 4px 20px rgba(76, 175, 80, 0.15) !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(4) .service-card-icon {
        background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%) !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(4) .service-card-title {
        color: #2E7D32 !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(4) .service-card-text {
        color: #558B2F !important;
    }

    /* Card 5 & 6 - Subtle backgrounds */
    .grid.grid-3.stagger-children .service-card:nth-child(5) {
        background: linear-gradient(135deg, #FFF8E1 0%, #FFECB3 100%) !important;
        box-shadow: 0 4px 20px rgba(255, 193, 7, 0.15) !important;
        min-height: 160px;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(5) .service-card-icon {
        background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%) !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(5) .service-card-title {
        color: #E65100 !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(5) .service-card-text {
        color: #BF360C !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(6) {
        background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%) !important;
        box-shadow: 0 4px 20px rgba(33, 150, 243, 0.15) !important;
        min-height: 160px;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(6) .service-card-icon {
        background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%) !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(6) .service-card-title {
        color: #1565C0 !important;
    }

    .grid.grid-3.stagger-children .service-card:nth-child(6) .service-card-text {
        color: #1976D2 !important;
    }

    /* Service card elements */
    .service-card-icon {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        margin: 0 0 var(--space-md) 0 !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        border-radius: 14px !important;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card-icon i {
        font-size: 1.2rem !important;
        color: white !important;
    }

    .service-card-title {
        font-size: 1rem !important;
        font-weight: 700 !important;
        margin-bottom: 6px !important;
        color: var(--gray-800);
    }

    .service-card-text {
        font-size: 0.82rem !important;
        line-height: 1.5 !important;
        color: var(--gray-500);
        margin: 0;
    }

    /* ========== MISSIONE - ELEGANT ========== */
    .page-secondary .section:not(.section-alt):not([style*="background"]):last-of-type {
        padding: var(--space-xl) 0 !important;
        background: white;
    }

    .page-secondary .section:not(.section-alt):not([style*="background"]):last-of-type h2 {
        font-size: 1.4rem !important;
        margin-bottom: var(--space-md) !important;
    }

    .page-secondary .section:not(.section-alt):not([style*="background"]):last-of-type .hero-text {
        font-size: 1rem !important;
        font-style: italic;
        line-height: 1.7;
        color: var(--gray-600);
        position: relative;
        padding: 0 var(--space-sm);
    }

    .page-secondary .section:not(.section-alt):not([style*="background"]):last-of-type .hero-text::before {
        content: '"';
        position: absolute;
        top: -10px;
        left: 0;
        font-size: 3rem;
        color: var(--primary);
        opacity: 0.2;
        font-family: Georgia, serif;
    }

    /* Mission buttons - Premium style */
    .page-secondary .mt-5 {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: var(--space-xl) !important;
    }

    .page-secondary .mt-5 .btn {
        margin: 0 !important;
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-radius: var(--radius-full) !important;
    }

    .page-secondary .mt-5 .btn-accent {
        background: linear-gradient(135deg, var(--accent) 0%, #FF8A50 100%) !important;
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.35) !important;
    }

    .page-secondary .mt-5 .btn-outline {
        background: transparent !important;
        border: 2px solid var(--primary) !important;
        color: var(--primary) !important;
    }

    /* ========== SERVIZI PAGE - PREMIUM ========== */

    .page-secondary .section[style*="background: linear-gradient"] {
        padding: var(--space-2xl) var(--space-md) !important;
        background: linear-gradient(135deg, var(--primary) 0%, #0D7377 50%, var(--primary-dark) 100%) !important;
        position: relative;
        overflow: hidden;
    }

    .page-secondary .section[style*="background: linear-gradient"]::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
        pointer-events: none;
    }

    .page-secondary .section[style*="background: linear-gradient"] h2 {
        font-size: 1.4rem !important;
        margin-bottom: var(--space-sm) !important;
        position: relative;
        z-index: 1;
    }

    .page-secondary .section[style*="background: linear-gradient"] p {
        font-size: 0.9rem !important;
        margin-bottom: var(--space-lg) !important;
        line-height: 1.6;
        opacity: 0.95;
        position: relative;
        z-index: 1;
    }

    .page-secondary .section[style*="background: linear-gradient"] .btn {
        position: relative;
        z-index: 1;
        padding: 14px 28px !important;
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        border-radius: var(--radius-full) !important;
        background: white !important;
        color: var(--primary-dark) !important;
    }

    /* ========== GESTIONE B&B PAGE - MOBILE OPTIMIZED ========== */

    /* Show page header on B&B page - Clean Minimal Design */
    body.page-secondary .page-header {
        display: block !important;
        padding: calc(70px + var(--space-xl)) var(--space-lg) var(--space-xl) !important;
        background: linear-gradient(180deg, #ffffff 0%, var(--primary-pale) 100%) !important;
        text-align: center;
        margin-bottom: 0;
    }

    body.page-secondary .page-header .container {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Hide breadcrumb for cleaner mobile look */
    body.page-secondary .page-header .breadcrumb {
        display: none !important;
    }

    body.page-secondary .page-header-title {
        font-size: 1.8rem !important;
        text-align: center !important;
        color: var(--dark) !important;
        margin-bottom: var(--space-sm) !important;
        font-weight: 700 !important;
        font-family: var(--font-display) !important;
    }

    body.page-secondary .page-header-subtitle {
        font-size: 0.95rem !important;
        text-align: center !important;
        color: var(--gray-500) !important;
        max-width: 280px !important;
        margin: 0 auto !important;
        line-height: 1.5 !important;
    }

    /* B&B Services Grid - Single column on mobile */
    body.page-secondary .section .grid.grid-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: var(--space-md) !important;
    }

    /* B&B Service Cards - Unified style - Override colorful bento styles */
    body.page-secondary .section .grid.grid-3 .service-card,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(1),
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(2),
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(3),
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(4),
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(5),
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(6) {
        background: white !important;
        border-radius: 20px !important;
        padding: var(--space-lg) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(42, 175, 187, 0.1) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        min-height: auto !important;
        grid-column: auto !important;
        color: var(--dark) !important;
    }

    body.page-secondary .section .grid.grid-3 .service-card .service-card-icon,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(1) .service-card-icon,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(4) .service-card-icon,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(5) .service-card-icon,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(6) .service-card-icon {
        width: 60px !important;
        height: 60px !important;
        margin: 0 0 var(--space-md) 0 !important;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
        border-radius: 16px !important;
        border: none !important;
    }

    body.page-secondary .section .grid.grid-3 .service-card .service-card-icon i,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(1) .service-card-icon i {
        color: white !important;
        font-size: 1.5rem !important;
    }

    body.page-secondary .section .grid.grid-3 .service-card .service-card-title,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(1) .service-card-title,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(4) .service-card-title,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(5) .service-card-title,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(6) .service-card-title {
        font-size: 1.1rem !important;
        font-weight: 700 !important;
        color: var(--dark) !important;
        margin-bottom: var(--space-sm) !important;
    }

    body.page-secondary .section .grid.grid-3 .service-card .service-card-text,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(1) .service-card-text,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(4) .service-card-text,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(5) .service-card-text,
    body.page-secondary .section .grid.grid-3 .service-card:nth-child(6) .service-card-text {
        font-size: 0.88rem !important;
        line-height: 1.6 !important;
        color: var(--gray-600) !important;
        margin-bottom: var(--space-md) !important;
    }

    body.page-secondary .section .grid.grid-3 .service-card .btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        border-radius: var(--radius-full) !important;
        pointer-events: auto !important;
    }

    /* B&B Section Title */
    body.page-secondary .section .text-center.mb-5 {
        margin-bottom: var(--space-lg) !important;
    }

    body.page-secondary .section .text-center.mb-5 h2 {
        font-size: 1.4rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    body.page-secondary .section .text-center.mb-5 .hero-text {
        font-size: 0.88rem !important;
        line-height: 1.5 !important;
        color: var(--gray-600) !important;
        padding: 0 var(--space-sm) !important;
    }

    /* B&B CTA Section */
    body.page-secondary .section[style*="background: linear-gradient"] {
        margin: var(--space-lg) var(--space-md) !important;
        border-radius: 24px !important;
        padding: var(--space-xl) var(--space-lg) !important;
    }

    /* B&B Modals - Mobile optimized */
    .modal-overlay {
        padding: var(--space-md) !important;
        align-items: flex-end !important;
    }

    .modal {
        max-height: 85vh !important;
        border-radius: 24px 24px 0 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-header {
        padding: var(--space-lg) var(--space-md) var(--space-md) !important;
        border-bottom: 1px solid var(--gray-100) !important;
    }

    .modal-title {
        font-size: 1.2rem !important;
    }

    .modal-close {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.5rem !important;
    }

    .modal-body {
        padding: var(--space-md) !important;
        overflow-y: auto !important;
    }

    .modal-body ul li {
        font-size: 0.9rem !important;
        margin-bottom: var(--space-sm) !important;
    }

    .modal-body .btn {
        width: 100% !important;
        justify-content: center !important;
        margin-top: var(--space-md) !important;
    }

}


/* ================================================================
   HOMEPAGE MOBILE LUXURY REDESIGN 2026
   Premium, Minimal, Elegant - Agency-Level Design
   Affects ONLY screens < 768px on HOMEPAGE
   ================================================================ */

@media (max-width: 767px) {

    /* ========== DESIGN TOKENS 2026 ========== */
    :root {
        --luxury-dark: #0D1117;
        --luxury-charcoal: #161B22;
        --luxury-slate: #21262D;
        --luxury-mist: #F6F8FA;
        --luxury-pearl: #FFFFFF;
        --luxury-accent: #2AAFBB;
        --luxury-gold: #C9A962;
        --luxury-coral: #FF6B35;
        --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
        --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    /* ========== 1. HERO SECTION - CINEMATIC FULLSCREEN ========== */
    body:not(.page-secondary) .hero-curved {
        position: relative !important;
        min-height: 100svh !important;
        min-height: 100dvh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        /* Content at BOTTOM */
        align-items: stretch !important;
        overflow: hidden !important;
        background: var(--luxury-dark) !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Fullscreen image with Ken Burns effect */
    body:not(.page-secondary) .hero-curved-image {
        position: absolute !important;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        clip-path: none !important;
        animation: kenBurns 20s ease-in-out infinite alternate;
    }

    @keyframes kenBurns {
        0% {
            transform: scale(1) translateX(0);
        }

        100% {
            transform: scale(1.08) translateX(-2%);
        }
    }

    body:not(.page-secondary) .hero-curved-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 70% center;
        filter: brightness(0.85) saturate(1.1);
    }

    /* Sophisticated gradient overlay */
    body:not(.page-secondary) .hero-curved::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
                rgba(13, 17, 23, 0.3) 0%,
                rgba(13, 17, 23, 0.1) 30%,
                rgba(13, 17, 23, 0.2) 60%,
                rgba(13, 17, 23, 0.95) 100%);
        z-index: 2;
    }

    /* Subtle noise texture overlay */
    body:not(.page-secondary) .hero-curved::after {
        content: '';
        position: absolute;
        inset: 0;
        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;
        z-index: 3;
        pointer-events: none;
    }

    /* Content container - positioned at BOTTOM of hero */
    body:not(.page-secondary) .hero-curved-content {
        position: relative !important;
        z-index: 3 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: auto !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 20px !important;
        padding-bottom: calc(90px + env(safe-area-inset-bottom)) !important;
        text-align: center !important;
    }

    body:not(.page-secondary) .hero-curved-text {
        max-width: 100% !important;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        animation: fadeSlideUp 1s var(--ease-luxury) 0.3s both;
    }

    @keyframes fadeSlideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

    /* Premium badge - Minimal style */
    body:not(.page-secondary) .hero-curved .hero-badge {
        display: inline-flex !important;
        align-items: center;
        gap: 6px;
        padding: 6px 14px;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: none;
        border-radius: 100px;
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 12px;
        animation: fadeSlideUp 1s var(--ease-luxury) 0.4s both;
    }

    body:not(.page-secondary) .hero-curved .hero-badge i {
        font-size: 0.55rem;
        color: #FFD700;
    }

    /* Title - Clean Typography */
    body:not(.page-secondary) .hero-curved .hero-title {
        font-size: 1.9rem;
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: -0.02em;
        color: white;
        margin-bottom: 16px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
        text-align: center !important;
        width: 100% !important;
        animation: fadeSlideUp 1s var(--ease-luxury) 0.5s both;
    }

    body:not(.page-secondary) .hero-curved .hero-title .text-gradient {
        background: linear-gradient(135deg, #80DEEA 0%, #4DD0E1 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Description text - HIDDEN on mobile for cleaner look */
    body:not(.page-secondary) .hero-curved .hero-text {
        display: none !important;
    }

    /* CTA Buttons - Compact Row Layout */
    body:not(.page-secondary) .hero-curved .hero-buttons {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
        animation: fadeSlideUp 1s var(--ease-luxury) 0.7s both;
    }

    /* Primary CTA - Compact Pill */
    body:not(.page-secondary) .hero-curved .hero-buttons .btn-accent,
    body:not(.page-secondary) .hero-curved .hero-buttons .btn-primary {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto !important;
        flex: 0 0 auto;
        padding: 12px 20px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        letter-spacing: 0;
        border-radius: 100px !important;
        background: #1E3A5F !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 16px rgba(30, 58, 95, 0.4) !important;
        transition: all 0.25s ease;
        animation: none !important;
    }

    body:not(.page-secondary) .hero-curved .hero-buttons .btn-accent i {
        font-size: 0.75rem;
    }

    body:not(.page-secondary) .hero-curved .hero-buttons .btn-accent:active {
        transform: scale(0.96);
    }

    /* Secondary CTA - Minimal Ghost */
    body:not(.page-secondary) .hero-curved .hero-buttons .btn-outline {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        width: auto !important;
        flex: 0 0 auto;
        padding: 12px 18px !important;
        font-size: 0.8rem !important;
        font-weight: 500 !important;
        border-radius: 100px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        color: white !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        transition: all 0.25s ease;
    }

    body:not(.page-secondary) .hero-curved .hero-buttons .btn-outline i {
        font-size: 0.7rem;
    }

    body:not(.page-secondary) .hero-curved .hero-buttons .btn-outline:active {
        background: rgba(255, 255, 255, 0.25) !important;
    }

    /* Scroll indicator - minimal line */
    body:not(.page-secondary) .hero-scroll-indicator {
        display: none !important;
    }

    /* ========== 2. SERVICES SECTION - LUXURY EDITORIAL ========== */
    body:not(.page-secondary) .section.section-alt {
        position: relative;
        padding: 64px 0 68px !important;
        background: linear-gradient(180deg, #F9FBFC 0%, #F2F6F8 100%) !important;
        overflow: hidden;
    }

    body:not(.page-secondary) .section.section-alt::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(circle at 12% 0%, rgba(42, 175, 187, 0.08), transparent 45%),
            radial-gradient(circle at 88% 10%, rgba(201, 169, 98, 0.1), transparent 40%),
            linear-gradient(90deg, rgba(13, 17, 23, 0.03) 1px, transparent 1px),
            linear-gradient(180deg, rgba(13, 17, 23, 0.03) 1px, transparent 1px);
        background-size: auto, auto, 28px 28px, 28px 28px;
        opacity: 0.6;
        pointer-events: none;
    }

    body:not(.page-secondary) .section.section-alt .container {
        position: relative;
        z-index: 1;
    }

    /* Section header */
    body:not(.page-secondary) .section.section-alt .text-center.mb-5 {
        margin-bottom: 36px !important;
        padding: 0 22px;
    }

    body:not(.page-secondary) .section.section-alt .text-center.mb-5 h2 {
        font-size: 1.7rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em;
        color: var(--luxury-dark);
        margin-bottom: 10px !important;
        text-align: center;
    }

    body:not(.page-secondary) .section.section-alt .text-center.mb-5 h2::after {
        content: '';
        display: block;
        width: 48px;
        height: 2px;
        margin: 12px auto 0;
        border-radius: 2px;
        background: linear-gradient(90deg, var(--luxury-accent), var(--luxury-gold));
        opacity: 0.9;
    }

    body:not(.page-secondary) .section.section-alt .text-center.mb-5 .hero-text {
        font-size: 0.9rem !important;
        color: #5C6B7A;
        max-width: 290px;
        margin: 0 auto;
        text-align: center;
    }

    /* Bento Grid - Editorial stack */
    body:not(.page-secondary) .bento-grid-equal {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        padding: 0 20px !important;
        overflow: visible !important;
    }

    /* Bento Cards - Refined tiles */
    body:not(.page-secondary) .bento-grid-equal .bento-card {
        position: relative;
        width: 100% !important;
        min-width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 22px !important;
        background: linear-gradient(160deg, #FFFFFF 0%, #F7FAFC 100%) !important;
        border: 1px solid rgba(13, 17, 23, 0.08) !important;
        box-shadow: 0 10px 24px rgba(13, 17, 23, 0.06) !important;
        overflow: hidden;
        transition: transform 0.35s var(--ease-luxury), box-shadow 0.35s var(--ease-luxury);
        animation: fadeSlideUp 0.6s var(--ease-luxury) both;
    }

    body:not(.page-secondary) .bento-grid-equal .bento-card:nth-child(2) {
        animation-delay: 0.08s;
    }

    body:not(.page-secondary) .bento-grid-equal .bento-card:nth-child(3) {
        animation-delay: 0.16s;
    }

    body:not(.page-secondary) .bento-grid-equal .bento-card:active {
        transform: translateY(1px) scale(0.99);
        box-shadow: 0 6px 18px rgba(13, 17, 23, 0.08) !important;
    }

    body:not(.page-secondary) .bento-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 18px;
        bottom: 18px;
        width: 3px;
        border-radius: 3px;
        background: linear-gradient(180deg, var(--luxury-accent), rgba(42, 175, 187, 0.1));
        opacity: 0.95;
    }

    body:not(.page-secondary) .bento-card::after {
        display: none !important;
    }

    body:not(.page-secondary) .bento-card-gold {
        background: linear-gradient(160deg, #FFFFFF 0%, #FCF7EA 100%) !important;
    }

    body:not(.page-secondary) .bento-card-gold::before {
        background: linear-gradient(180deg, var(--luxury-gold), rgba(201, 169, 98, 0.2));
    }

    body:not(.page-secondary) .bento-card-dark {
        background: linear-gradient(160deg, #FFFFFF 0%, #F5F8FB 100%) !important;
    }

    body:not(.page-secondary) .bento-card-dark::before {
        background: linear-gradient(180deg, #1F3B4D, rgba(31, 59, 77, 0.2));
    }

    body:not(.page-secondary) .bento-card-inner {
        position: relative;
        display: grid !important;
        grid-template-columns: 52px 1fr;
        grid-template-rows: auto auto auto;
        gap: 6px 14px !important;
        padding: 22px 44px 20px 22px !important;
        text-align: left !important;
        align-items: start !important;
    }

    body:not(.page-secondary) .bento-icon {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        border-radius: 14px !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(13, 17, 23, 0.06) !important;
        border: 1px solid rgba(13, 17, 23, 0.08) !important;
        animation: none !important;
        grid-row: 1 / span 3;
    }

    body:not(.page-secondary) .bento-icon i {
        font-size: 1.2rem !important;
        color: var(--luxury-accent) !important;
    }

    body:not(.page-secondary) .bento-card-gold .bento-icon-bnb {
        background: rgba(201, 169, 98, 0.18) !important;
        border-color: rgba(201, 169, 98, 0.35) !important;
    }

    body:not(.page-secondary) .bento-card-gold .bento-icon-bnb i {
        color: #8A6B2D !important;
    }

    body:not(.page-secondary) .bento-card-dark .bento-icon-extra {
        background: rgba(31, 59, 77, 0.12) !important;
        border-color: rgba(31, 59, 77, 0.25) !important;
    }

    body:not(.page-secondary) .bento-card-dark .bento-icon-extra i {
        color: #1F3B4D !important;
    }

    body:not(.page-secondary) .bento-card .bento-title {
        font-family: var(--font-display);
        font-size: 1.05rem !important;
        font-weight: 700 !important;
        color: var(--luxury-dark) !important;
        margin-bottom: 2px !important;
        letter-spacing: -0.01em;
        grid-column: 2;
    }

    body:not(.page-secondary) .bento-card .bento-text {
        font-size: 0.83rem !important;
        line-height: 1.5 !important;
        color: #536072 !important;
        margin-bottom: 0 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        grid-column: 2;
    }

    body:not(.page-secondary) .bento-tags {
        display: flex !important;
        gap: 6px !important;
        margin-top: 8px !important;
        grid-column: 2;
    }

    body:not(.page-secondary) .bento-tags span {
        display: none;
    }

    body:not(.page-secondary) .bento-tags span:first-child {
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        border-radius: 999px;
        border: 1px solid rgba(13, 17, 23, 0.1);
        font-size: 0.6rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #6B7280;
        background: rgba(255, 255, 255, 0.7);
    }

    body:not(.page-secondary) .bento-arrow {
        position: absolute !important;
        right: 16px !important;
        top: 18px !important;
        transform: none !important;
        width: 26px !important;
        height: 26px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        border-radius: 999px !important;
        border: 1px solid rgba(13, 17, 23, 0.12) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        transition: all 0.3s var(--ease-luxury);
    }

    body:not(.page-secondary) .bento-arrow i {
        font-size: 0.65rem !important;
        color: #6B7280 !important;
    }

    body:not(.page-secondary) .bento-card:active .bento-arrow {
        background: var(--luxury-accent) !important;
        border-color: transparent !important;
    }

    body:not(.page-secondary) .bento-card:active .bento-arrow i {
        color: white !important;
    }

    /* ========== 3. STATS BAR - ELEGANT HORIZONTAL ========== */
    body:not(.page-secondary) .bento-stats-bar {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0 !important;
        margin-top: 32px !important;
        padding: 26px 14px !important;
        background: linear-gradient(145deg, #0D1117 0%, #111B23 55%, #102B2D 100%) !important;
        border-radius: 22px !important;
        overflow: hidden;
        position: relative;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 34px rgba(13, 17, 23, 0.28);
    }

    body:not(.page-secondary) .bento-stats-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 18px;
        right: 18px;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.8), transparent);
        opacity: 0.9;
    }

    body:not(.page-secondary) .bento-stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 6px;
        position: relative;
    }

    /* Dividers between stats */
    body:not(.page-secondary) .bento-stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 42px;
        background: rgba(255, 255, 255, 0.12);
    }

    body:not(.page-secondary) .bento-stats-bar .bento-stat-number {
        font-size: 1.45rem !important;
        font-weight: 700 !important;
        color: var(--luxury-gold) !important;
        letter-spacing: -0.02em;
        line-height: 1;
        margin-bottom: 4px;
    }

    body:not(.page-secondary) .bento-stats-bar .bento-stat-label {
        font-size: 0.62rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.65) !important;
        text-transform: uppercase;
        letter-spacing: 0.12em;
        text-align: center;
    }

    /* ========== 4. WHY CHOOSE US - CURATED LIST ========== */
    body:not(.page-secondary) .section:not(.section-alt):not([style*="background"]) {
        padding: 60px 0 !important;
        background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFC 100%) !important;
    }

    body:not(.page-secondary) .section .grid.grid-2 {
        display: flex !important;
        flex-direction: column !important;
        gap: 28px !important;
        padding: 0 22px;
    }

    /* Hide image on mobile */
    body:not(.page-secondary) .section .grid.grid-2>.fade-right {
        display: none !important;
    }

    body:not(.page-secondary) .section .grid.grid-2>.fade-up {
        text-align: left;
    }

    body:not(.page-secondary) .section .grid.grid-2>.fade-up h2 {
        font-family: var(--font-display);
        font-size: 1.65rem !important;
        font-weight: 700 !important;
        color: var(--luxury-dark);
        margin-bottom: 12px !important;
        letter-spacing: -0.02em;
    }

    body:not(.page-secondary) .section .grid.grid-2>.fade-up .hero-text {
        font-size: 0.9rem !important;
        color: #5C6B7A;
        margin-bottom: 28px !important;
        max-width: 320px;
        margin-left: 0;
        margin-right: auto;
    }

    /* Features list - refined tiles */
    body:not(.page-secondary) .features-list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        margin-top: 0 !important;
        width: 100%;
    }

    body:not(.page-secondary) .feature-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 18px 14px 16px !important;
        background: #FFFFFF !important;
        border-radius: 18px !important;
        border: 1px solid rgba(13, 17, 23, 0.08) !important;
        box-shadow: 0 12px 22px rgba(13, 17, 23, 0.06);
        transition: transform 0.3s var(--ease-luxury), box-shadow 0.3s var(--ease-luxury);
    }

    body:not(.page-secondary) .feature-item:active {
        transform: translateY(1px) scale(0.99);
        box-shadow: 0 8px 18px rgba(13, 17, 23, 0.08);
    }

    body:not(.page-secondary) .feature-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        border-radius: 12px !important;
        background: rgba(42, 175, 187, 0.12) !important;
        border: 1px solid rgba(42, 175, 187, 0.2) !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 10px !important;
    }

    body:not(.page-secondary) .feature-icon i {
        font-size: 0.95rem !important;
        color: var(--luxury-accent) !important;
    }

    body:not(.page-secondary) .feature-content {
        text-align: left;
    }

    body:not(.page-secondary) .feature-content h4 {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        color: var(--luxury-dark) !important;
        margin-bottom: 4px !important;
        letter-spacing: -0.01em;
    }

    body:not(.page-secondary) .feature-content p {
        font-size: 0.74rem !important;
        color: #6B7280 !important;
        line-height: 1.45;
    }

    /* CTA Button */
    body:not(.page-secondary) .section .grid.grid-2 .btn-preventivo {
        margin: 24px 0 0 !important;
        padding: 14px 26px !important;
        font-size: 0.88rem !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, #0D1117 0%, #1E2A32 100%) !important;
        color: #FDFBF7 !important;
        border: 1px solid rgba(201, 169, 98, 0.4) !important;
        box-shadow: 0 12px 26px rgba(13, 17, 23, 0.25) !important;
    }

    body:not(.page-secondary) .section .grid.grid-2 .btn-preventivo i {
        color: var(--luxury-gold) !important;
    }

    /* ========== 5. CTA SECTION - SIGNATURE PANEL ========== */
    body:not(.page-secondary) .section[style*="background: linear-gradient"] {
        padding: 60px 24px !important;
        background:
            radial-gradient(circle at 20% 0%, rgba(42, 175, 187, 0.18) 0%, transparent 45%),
            linear-gradient(160deg, #0B1118 0%, #111A24 55%, #0F2D2E 100%) !important;
        position: relative;
        overflow: hidden;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"]::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
            linear-gradient(180deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
        background-size: 26px 26px;
        opacity: 0.12;
        pointer-events: none;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"]::after {
        content: '';
        position: absolute;
        bottom: -60px;
        right: -60px;
        width: 220px;
        height: 220px;
        background: radial-gradient(circle, rgba(201, 169, 98, 0.18) 0%, transparent 70%);
        pointer-events: none;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] .text-center {
        position: relative;
        z-index: 1;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] h2 {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: white !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.02em;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] h2::before {
        content: '';
        display: block;
        width: 44px;
        height: 2px;
        margin: 0 auto 12px;
        border-radius: 2px;
        background: var(--luxury-gold);
        opacity: 0.9;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] p {
        font-size: 0.9rem !important;
        color: rgba(255, 255, 255, 0.78) !important;
        margin-bottom: 28px !important;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] .btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 16px 32px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        background: #FDFBF7 !important;
        color: #0D1117 !important;
        border: 1px solid rgba(201, 169, 98, 0.5) !important;
        box-shadow: 0 16px 30px rgba(13, 17, 23, 0.35) !important;
        animation: none !important;
        transition: all 0.3s var(--ease-luxury);
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] .btn:active {
        transform: scale(0.98);
        box-shadow: 0 10px 22px rgba(13, 17, 23, 0.4) !important;
    }

    body:not(.page-secondary) .section[style*="background: linear-gradient"] .btn i {
        color: var(--luxury-gold) !important;
        transition: transform 0.3s ease;
    }

    /* ========== 6. FOOTER - ULTRA MINIMAL ========== */
    body:not(.page-secondary) .footer {
        padding: 42px 0 32px !important;
        background: linear-gradient(180deg, #F7F9FB 0%, #FFFFFF 100%) !important;
        border-top: 1px solid rgba(13, 17, 23, 0.06);
    }

    body:not(.page-secondary) .footer-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    body:not(.page-secondary) .footer-logo img {
        height: 42px !important;
        opacity: 0.9;
    }

    body:not(.page-secondary) .footer-text {
        font-size: 0.8rem !important;
        color: #6B7280 !important;
        text-align: center;
    }

    body:not(.page-secondary) .social-links {
        display: flex;
        gap: 12px !important;
        margin-top: 8px;
    }

    body:not(.page-secondary) .social-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent !important;
        border-radius: 12px !important;
        border: 1px solid rgba(13, 17, 23, 0.12);
        box-shadow: none;
        transition: all 0.3s var(--ease-luxury);
    }

    body:not(.page-secondary) .social-link i {
        font-size: 1rem;
        color: #6B7280 !important;
    }

    body:not(.page-secondary) .social-link:active {
        transform: scale(0.95);
        background: var(--luxury-accent) !important;
        border-color: var(--luxury-accent);
    }

    body:not(.page-secondary) .social-link:active i {
        color: white !important;
    }

    body:not(.page-secondary) .footer-copyright {
        margin-top: 24px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        font-size: 0.7rem !important;
        color: #9AA5B1 !important;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    /* ========== 7. WHATSAPP BUTTON - PREMIUM ========== */
    body:not(.page-secondary) .whatsapp-btn {
        width: 56px !important;
        height: 56px !important;
        bottom: 24px !important;
        right: 24px !important;
        border-radius: 16px !important;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
        box-shadow:
            0 4px 20px rgba(37, 211, 102, 0.4),
            0 0 0 4px rgba(37, 211, 102, 0.1) !important;
        transition: all 0.3s var(--ease-luxury);
    }

    body:not(.page-secondary) .whatsapp-btn:active {
        transform: scale(0.95);
    }

    body:not(.page-secondary) .whatsapp-btn svg {
        width: 26px !important;
        height: 26px !important;
    }

    /* ========== 8. HEADER MOBILE - ULTRA CLEAN LUXURY ========== */

    /* Reset ALL blur effects on header */
    .header,
    .header *,
    .header::before,
    .header::after,
    .header-inner,
    .header.scrolled,
    .header.scrolled * {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* ===== HEADER MOBILE - UNIFIED DESIGN FOR ALL PAGES ===== */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 16px 20px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    /* Scrolled state - FLOATING PILL DESIGN */
    .header.scrolled {
        top: 12px !important;
        left: 16px !important;
        right: 16px !important;
        width: calc(100% - 32px) !important;
        padding: 12px 16px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 16px !important;
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    }

    /* Header inner */
    .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    /* Logo */
    .header-logo img {
        height: 44px !important;
        width: auto !important;
        transition: height 0.3s ease;
    }

    /* Logo smaller when scrolled */
    .header.scrolled .header-logo img {
        height: 34px !important;
    }

    /* ===== HAMBURGER - Minimal 2 lines (same on all pages) ===== */
    .hamburger {
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: center !important;
        gap: 8px !important;
        cursor: pointer;
    }

    .hamburger span {
        display: block !important;
        height: 2px !important;
        background: #0D1117 !important;
        border-radius: 0 !important;
        transition: all 0.3s ease;
    }

    /* Homepage hamburger is white (dark hero background) */
    body:not(.page-secondary) .hamburger span {
        background: #FFFFFF !important;
    }

    .hamburger span:nth-child(1) {
        width: 24px !important;
    }

    .hamburger span:nth-child(2) {
        width: 18px !important;
    }

    .hamburger span:nth-child(3) {
        display: none !important;
    }

    /* Hamburger when scrolled - always dark */
    .header.scrolled .hamburger span {
        background: #0D1117 !important;
    }

    .hamburger:active {
        opacity: 0.5;
    }

    /* ===== CTA BUTTON - Hidden on mobile ===== */
    .header-cta.btn {
        display: none !important;
    }

    .header-cta-label {
        display: none !important;
    }

    /* ========== 9. MOBILE MENU ========== */
    /* OLD STYLES REMOVED - Now using unified design in @media (max-width: 1023px) section */
    /* This ensures consistent menu across ALL pages (both home and secondary) */

    /* ========== 10. GENERAL POLISH ========== */

    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Safe area padding for notch devices */
    body:not(.page-secondary) .hero-curved-content {
        padding-bottom: calc(48px + env(safe-area-inset-bottom));
    }

    /* Touch targets */
    body:not(.page-secondary) a,
    body:not(.page-secondary) button {
        min-height: 44px;
    }

    /* Remove any remaining animations for performance */
    @media (prefers-reduced-motion: reduce) {
        body:not(.page-secondary) * {
            animation: none !important;
            transition: none !important;
        }
    }

}

/* ========== AEO FAQ SECTION ========== */
.aeo-faq {
    background: var(--bg-section);
}

.faq-grid {
    display: grid;
    gap: var(--space-md);
}

@media (min-width: 900px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.faq-item {
    background: var(--light);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.faq-item[open] {
    border-color: rgba(42, 175, 187, 0.25);
    box-shadow: var(--shadow-md);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    padding-right: 32px;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--primary);
    transition: transform var(--transition-base);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    margin-top: var(--space-sm);
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .aeo-faq .faq-item {
        padding: var(--space-md);
    }

    .faq-item summary {
        font-size: 1rem;
    }
}

/* ========== FAQ PAGE (ANSWER-FIRST) ========== */
.faq-page .page-header {
    display: block;
}

.answer-grid {
    display: grid;
    gap: var(--space-xl);
}

@media (min-width: 1024px) {
    .answer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.answer-card {
    background: #ffffff;
    border: 1px solid #e7f1f4;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.06);
}

.answer-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: var(--space-sm);
}

.answer-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: var(--primary-pale);
    color: var(--primary-dark);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    width: fit-content;
}

.answer-card h3 {
    margin: 0;
    font-size: 1.2rem;
}

.answer-lead {
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 var(--space-md);
    line-height: 1.6;
}

.answer-block {
    margin-bottom: var(--space-md);
}

.answer-block h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.answer-block ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.answer-summary {
    margin: 0;
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-pale);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .answer-card {
        padding: var(--space-lg);
    }

    .answer-card h3 {
        font-size: 1.05rem;
    }

    .answer-lead {
        font-size: 0.95rem;
    }
}

/* FAQ decision section - mobile list style */
@media (max-width: 767px) {
    .faq-page .faq-decision .decision-grid {
        gap: 0;
    }

    .faq-page .faq-decision .service-card {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 0;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(42, 175, 187, 0.12);
        box-shadow: none;
        border-radius: 0;
    }

    .faq-page .faq-decision .service-card:last-child {
        border-bottom: none;
    }

    .faq-page .faq-decision .service-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
        background: rgba(42, 175, 187, 0.12);
        box-shadow: none;
        margin: 0;
    }

    .faq-page .faq-decision .service-card-title {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .faq-page .faq-decision .service-card-text {
        font-size: 0.9rem;
        line-height: 1.5;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
        overflow: visible;
    }
}

/* ========== MOBILE MENU — MATCH HOMEPAGE (SECONDARY PAGES) ========== */
@media (max-width: 1023px) {
    body.page-secondary .mobile-menu {
        background: linear-gradient(180deg, #0B1D24 0%, #0F2830 100%) !important;
        padding: 88px 24px 24px !important;
        justify-content: flex-start !important;
        align-items: stretch !important;
        gap: 8px !important;
        transform: none !important;
    }

    body.page-secondary .mobile-menu::before {
        content: none !important;
    }

    body.page-secondary .mobile-menu::after {
        content: '';
        position: absolute;
        top: 24px;
        left: 24px;
        width: 140px;
        height: 40px;
        background: url('../../Logo/logo-nobackground-500.png') no-repeat left center / contain;
        pointer-events: none;
        z-index: 1;
    }

    body.page-secondary .mobile-menu.active {
        transform: none !important;
    }

    body.page-secondary .mobile-menu-close {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        font-size: 1.25rem !important;
        color: #FFFFFF !important;
        opacity: 1 !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.page-secondary .mobile-menu .nav-link {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: none !important;
        padding: 18px 20px !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.06) !important;
        border-radius: 16px !important;
        font-family: 'Inter', 'Poppins', sans-serif !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-align: left !important;
        letter-spacing: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        transition: all 0.2s ease !important;
    }

    body.page-secondary .mobile-menu .nav-link::after {
        display: none !important;
    }

    body.page-secondary .mobile-menu .nav-link i {
        font-size: 18px !important;
        color: #4ECDD8 !important;
        width: 24px;
        text-align: center;
    }

    body.page-secondary .mobile-menu .nav-link:active {
        background: rgba(42, 175, 187, 0.1) !important;
        border-color: rgba(42, 175, 187, 0.2) !important;
    }

    body.page-secondary .mobile-menu .nav-link.active {
        background: rgba(42, 175, 187, 0.1) !important;
        border-color: rgba(42, 175, 187, 0.3) !important;
        color: #FFFFFF !important;
        font-weight: 600 !important;
    }

    body.page-secondary .mobile-menu.active .nav-link {
        transition-delay: 0s !important;
    }

    body.page-secondary .mobile-menu .btn {
        margin-top: auto !important;
        margin-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
        width: 100% !important;
        max-width: none !important;
        padding: 18px 24px !important;
        border-radius: 14px !important;
        background: #1E3A5F !important;
        color: #FFFFFF !important;
        box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35) !important;
        opacity: 1 !important;
        transform: none !important;
    }

    body.page-secondary .mobile-menu .btn::before {
        content: none !important;
    }

    body.page-secondary .mobile-menu .btn i {
        color: #FFFFFF !important;
        margin-right: 8px;
    }
}