@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & VARIABILI --- */
:root {
    --bg-primary: #0a0d14;
    --bg-secondary: #0f131c;
    --bg-surface: rgba(255, 255, 255, 0.03);
    --bg-surface-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    
    --accent-yellow: #ffb703;
    --accent-yellow-rgb: 255, 183, 3;
    --accent-blue: #00f0ff;
    --accent-blue-rgb: 0, 240, 255;
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --glow-yellow: 0 0 25px rgba(255, 183, 3, 0.35);
    --glow-blue: 0 0 25px rgba(0, 240, 255, 0.35);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & STILI GENERALI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background elements for depth */
body::before, body::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}
body::before {
    top: 10%;
    left: -100px;
    background-color: var(--accent-yellow);
}
body::after {
    top: 50%;
    right: -100px;
    background-color: var(--accent-blue);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-hover);
    border-radius: 5px;
    border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow);
}

/* --- SEZIONI UTILITY --- */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}
.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-yellow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
}
.btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(0, 240, 255, 0.05);
    box-shadow: var(--glow-blue);
}

/* --- GLASS CONTAINER CARD --- */
.glass-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}
.glass-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* --- NAVBAR --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 30px;
    background: rgba(10, 13, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}
.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}
.logo-text span {
    color: var(--accent-yellow);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    cursor: pointer;
}
.nav-link:hover, .nav-link.active {
    color: var(--accent-yellow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Language Switcher */
.lang-selector {
    position: relative;
    cursor: pointer;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.lang-selector:hover {
    border-color: var(--accent-yellow);
    background-color: var(--bg-surface-hover);
}
.lang-dropdown {
    position: absolute;
    top: 105%;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 0;
    list-style: none;
    display: none;
    min-width: 110px;
    box-shadow: var(--shadow-soft);
}
.lang-dropdown.show {
    display: block;
}
.lang-option {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
    color: var(--text-secondary);
}
.lang-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--accent-yellow);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.mobile-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
    transform-origin: center;
}
/* Hamburger → X */
.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}


.hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 30px;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}
.hero-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 35px;
    max-width: 520px;
}
.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    width: 100%;
}


.hero-glow-ring {
    position: absolute;
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-yellow-rgb), 0.12) 0%, rgba(var(--bg-primary), 0) 70%);
    z-index: 0;
    pointer-events: none;
    animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.15); }
}

.mascot-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: none;
    cursor: pointer;
}


.hero-image {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6));
    display: block;
    transition: filter 0.4s ease, transform 0.4s ease;
}

.mascot-container:hover .hero-image {
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.6))
            drop-shadow(0 0 22px rgba(255, 183, 3, 0.5));
    transform: scale(1.03);
}


/* Animazione "buzz" al click — la mascotte vibra di gioia */
@keyframes bee-buzz {
    0%   { transform: translateY(0)   rotate(0deg)  scale(1); }
    12%  { transform: translateY(-22px) rotate(-8deg) scale(1.06); }
    25%  { transform: translateY(-18px) rotate(7deg)  scale(1.06); }
    37%  { transform: translateY(-22px) rotate(-6deg) scale(1.05); }
    50%  { transform: translateY(-16px) rotate(5deg)  scale(1.04); }
    62%  { transform: translateY(-10px) rotate(-3deg) scale(1.02); }
    75%  { transform: translateY(-5px)  rotate(2deg)  scale(1.01); }
    100% { transform: translateY(0)   rotate(0deg)  scale(1); }
}

.mascot-container.buzzing {
    animation: bee-buzz 0.75s ease-out forwards !important;
}

/* --- CONCETTO BEE-TEAM --- */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.concept-card {
    position: relative;
    overflow: hidden;
}
.concept-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow) 0%, var(--accent-blue) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}
.concept-card:hover::before {
    opacity: 1;
}

.concept-icon {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    display: inline-block;
}
.concept-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.concept-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- SERVIZI --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-img-wrapper {
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.01);
}
.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.85;
}
.service-card:hover .service-img {
    transform: scale(1.08);
    opacity: 1;
}
.service-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.service-badge {
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}
.badge-yellow {
    background-color: rgba(255, 183, 3, 0.1);
    color: var(--accent-yellow);
    border: 1px solid rgba(255, 183, 3, 0.2);
}
.badge-blue {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--accent-blue);
    border: 1px solid rgba(0, 240, 255, 0.2);
}
.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.service-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-link {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}
.service-link:hover {
    gap: 10px;
    color: var(--text-primary);
}

/* --- PREVENTIVATORE --- */
.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}
.radio-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.radio-card {
    position: relative;
    cursor: pointer;
}
.radio-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.radio-content {
    border: 1px solid var(--border-color);
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.radio-content i {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}
.radio-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}
.radio-card input:checked + .radio-content {
    border-color: var(--accent-yellow);
    background-color: rgba(255, 183, 3, 0.05);
    box-shadow: var(--glow-yellow);
}
.radio-card input:checked + .radio-content i,
.radio-card input:checked + .radio-content span {
    color: var(--accent-yellow);
}

.slider-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.slider-header {
    display: flex;
    justify-content: space-between;
}
.slider-value {
    color: var(--accent-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
}
.slider-input {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
}
.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-yellow);
    cursor: pointer;
    box-shadow: var(--glow-yellow);
    transition: var(--transition-fast);
}
.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Result Panel */
.calc-result {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.calc-result::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    filter: blur(80px);
    opacity: 0.1;
    top: -50px;
    right: -50px;
    z-index: 0;
}
.result-header {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.result-price-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}
.result-price-currency {
    font-size: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent-yellow);
    vertical-align: super;
}
.result-price {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}
.result-price-details {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.result-meta {
    width: 100%;
    display: flex;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-top: 10px;
    gap: 20px;
    justify-content: space-around;
    position: relative;
    z-index: 1;
}
.result-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}
.meta-val {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
}

/* --- CONSIGLI DI BUZZY --- */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tip-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.tip-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}
.tip-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.tip-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-grow: 1;
    margin-bottom: 20px;
}
.tip-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}
.tip-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
}
.tip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tip-author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- SEZIONE CONTATTI --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 183, 3, 0.05);
    border: 1px solid rgba(255, 183, 3, 0.1);
    color: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.contact-info-content p,
.contact-info-content a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.contact-info-content a:hover {
    color: var(--accent-yellow);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.form-input, .form-textarea {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background-color: var(--bg-surface-hover);
    box-shadow: 0 0 10px rgba(255, 183, 3, 0.1);
}
.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* --- GDPR CONSENT --- */
.gdpr-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-surface);
    transition: var(--transition-fast);
}
.gdpr-label:hover {
    border-color: rgba(255, 183, 3, 0.3);
    background: var(--bg-surface-hover);
}
.gdpr-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    accent-color: var(--accent-yellow);
    margin-top: 2px;
    cursor: pointer;
}
.gdpr-label span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.gdpr-label span a {
    color: var(--accent-yellow);
    text-decoration: none;
}
.gdpr-label span a:hover { text-decoration: underline; }
.gdpr-label span strong { color: var(--text-primary); }

.form-error-msg {
    color: #ff6b6b;
    font-size: 0.82rem;
    margin-top: -8px;
}
.form-success-msg {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #4ade80;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 500;
}
.form-send-error-msg {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.4);
    color: #ff6b6b;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    padding: 50px 20px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}
.footer-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}
.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-nav a:hover {
    color: var(--accent-yellow);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet grande (max 1100px) */
@media (max-width: 1100px) {
    .hero-content h1 { font-size: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid     { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet (max 992px) */
@media (max-width: 992px) {
    section { padding: 70px 20px; }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .hero-content h1     { font-size: 2.6rem; letter-spacing: -1px; }
    .hero-content p      { margin: 0 auto 30px; }
    .hero-actions        { justify-content: center; flex-wrap: wrap; }
    .hero-image-wrapper  { padding-bottom: 20px; }
    .mascot-container    { max-width: 500px; margin: 0 auto; }

    /* Grids */
    .concept-grid  { grid-template-columns: 1fr; gap: 20px; }
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .tips-grid     { grid-template-columns: 1fr; gap: 20px; }

    /* Preventivatore */
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .calc-result { padding: 30px; }

    /* Contatti */
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }

    /* Sezione header testi */
    .section-header h2 { font-size: 2rem; }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    /* Navbar mobile */
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        transition: var(--transition-smooth);
        z-index: 999;
        padding: 40px 20px;
    }
    .nav-menu.active { left: 0; }
    .nav-link { font-size: 1.2rem; }
    .nav-actions { gap: 12px; }
    .nav-actions .btn { display: none; }

    /* Hero mobile — Buzzy va in background */
    .hero { padding-top: 90px; }
    .hero-grid {
        grid-template-columns: 1fr;
        position: relative;
        min-height: 88vh;
        align-items: flex-start;
        padding-top: 40px;
    }
    .hero-image-wrapper {
        position: absolute;
        inset: 0;
        padding-bottom: 0;
        z-index: 0;
        pointer-events: none;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
    }
    /* Gradiente scuro per leggibilita testo */
    .hero-image-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg,
            rgba(10,13,20,0.72) 0%,
            rgba(10,13,20,0.35) 45%,
            rgba(10,13,20,0.55) 100%);
        z-index: 1;
    }
    .mascot-container {
        position: static;
        max-width: 85%;
        width: 85%;
        margin: 0;
        opacity: 0.75;
    }
    .hero-content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding-bottom: 30px;
    }
    .hero-content h1 {
        font-size: 2rem;
        text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 0 40px rgba(0,0,0,0.7);
    }
    .hero-content p {
        font-size: 1rem;
        text-shadow: 0 1px 12px rgba(0,0,0,0.9);
    }
    .btn { padding: 12px 20px; font-size: 0.9rem; }

    /* Section header */
    .section-header h2 { font-size: 1.75rem; }
    .section-header p  { font-size: 1rem; }

    /* Calculator radio cards */
    .radio-cards { grid-template-columns: 1fr; gap: 10px; }

    /* Form */
    .form-row { grid-template-columns: 1fr; gap: 14px; }

    /* Result price */
    .result-price { font-size: 3.5rem; }

    /* Cards */
    .glass-card { padding: 20px; }

    /* Footer */
    .footer-top, .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    footer { padding: 40px 16px; }

    /* Contatti info */
    .contact-info-item { flex-direction: column; gap: 10px; }
}

/* Mobile piccolo (max 480px) */
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.7rem; }
    .mascot-container { max-width: 260px; }
    .result-price { font-size: 3rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }
    .calc-result .btn { font-size: 0.78rem; }
    .logo-text { font-size: 1.2rem; }
}
