html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* BASE */
body {
    background-color: #f9fafb;
    color: #111827;
}

a {
    color: #0077cc;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* HEADER */
.site-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar {
    padding-top: 15px;
    padding-bottom: 15px;
}

.site-brand img {
    height: 58px;
    width: auto;
    transition: transform .2s ease;
}

    .site-brand img:hover {
        transform: scale(1.04);
    }

.site-brand-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    letter-spacing: .2px;
}

.main-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

    .main-nav .nav-link:hover {
        color: #111827 !important;
    }

.reserved-link {
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
}

main {
    min-height: calc(100vh - 220px);
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    margin-top: 60px;
}

.footer-title {
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.footer-text,
.footer-text a {
    color: #6b7280;
    text-decoration: none;
}

    .footer-text a:hover {
        color: #111827;
    }

.footer-bottom {
    border-top: 1px solid #f1f5f9;
    margin-top: 24px;
    padding-top: 18px;
    color: #9ca3af;
    font-size: .95rem;
}

/* HERO CORPORATE */
.hero-corporate {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

    .hero-corporate::before {
        content: "";
        position: absolute;
        top: -90px;
        right: -90px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.04);
    }

    .hero-corporate::after {
        content: "";
        position: absolute;
        left: -120px;
        bottom: -120px;
        width: 240px;
        height: 240px;
        border-radius: 50%;
        background: rgba(15, 23, 42, 0.04);
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.hero-logo {
    height: 185px;
    width: auto;
    display: inline-block;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.08));
}

.hero-kicker {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 22px;
    letter-spacing: .2px;
}

.hero-title-corporate {
    font-size: 4rem;
    line-height: 1.08;
    font-weight: 800;
    color: #0f172a;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.hero-subtitle-corporate {
    font-size: 1.2rem;
    color: #475569;
    max-width: 820px;
    margin: 0 auto 30px;
}

.hero-actions {
    margin-bottom: 18px;
}

.btn-hero {
    min-width: 180px;
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 600;
}

.hero-contact-note {
    color: #475569;
    font-size: 1rem;
}

    .hero-contact-note a {
        font-weight: 500;
    }

/* SECTIONS */
.section-premium {
    padding: 80px 0;
}

.section-light {
    background: #ffffff;
}

.section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 14px;
}

.section-subtitle {
    color: #6b7280;
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* CARDS */
.premium-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 30px 26px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    transition: transform .2s ease, box-shadow .2s ease;
}

    .premium-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 36px rgba(0,0,0,0.07);
    }

    .premium-card h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: #111827;
        margin-bottom: 12px;
    }

    .premium-card p {
        color: #4b5563;
        margin-bottom: 0;
    }

/* STATS */
.stats-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    border-radius: 24px;
    padding: 52px 28px;
    box-shadow: 0 16px 40px rgba(17,24,39,0.18);
}

    .stats-box h2 {
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

.stats-subtitle {
    color: rgba(255,255,255,0.82);
    max-width: 760px;
    margin: 0 auto 30px;
}

.stats-item-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.stats-item-label {
    color: rgba(255,255,255,0.8);
}

/* CTA */
.cta-premium {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #fff;
    border-radius: 24px;
    padding: 56px 32px;
    box-shadow: 0 16px 40px rgba(17,24,39,0.18);
}

    .cta-premium h2 {
        font-size: 2.1rem;
        font-weight: 800;
        margin-bottom: 14px;
    }

    .cta-premium p {
        color: rgba(255,255,255,0.82);
        max-width: 760px;
        margin: 0 auto 28px;
    }

    .cta-premium .btn-outline-light {
        border-radius: 999px;
    }
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

    .btn-success:hover {
        background-color: #1ebe5d;
    }
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 14px 30px rgba(0,0,0,0.3);
    }
    .whatsapp-float::after {
        content: "Scrivici su WhatsApp";
        position: absolute;
        right: 70px;
        background: #111827;
        color: white;
        padding: 6px 12px;
        border-radius: 8px;
        font-size: 13px;
        opacity: 0;
        transition: 0.2s;
        white-space: nowrap;
    }

    .whatsapp-float:hover::after {
        opacity: 1;
    }
/* RESPONSIVE */
@media (max-width: 991px) {
    .site-brand img {
        height: 52px;
    }

    .hero-title-corporate {
        font-size: 3rem;
    }

    .hero-logo {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .hero-corporate {
        padding: 80px 0 70px;
    }

    .hero-title-corporate {
        font-size: 2.3rem;
    }

    .hero-subtitle-corporate {
        font-size: 1.05rem;
    }

    .hero-logo {
        height: 120px;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .btn-hero {
        min-width: 160px;
    }
}
