/* ============================================================
   TRASLOCHI PREMIUM — Custom Stylesheet
   Colors: Navy #0D1B3E | Orange #E8751A | Light #F5F6FA
   Fonts: Poppins (headings) + Open Sans (body)
   ============================================================ */

:root {
    --primary:     #0D1B3E;
    --primary-dark: #081229;
    --accent:      #E8751A;
    --accent-dark: #d06618;
    --light:       #F5F6FA;
    --dark:        #1A1A2E;
    --text:        #444;
    --text-light:  #6c757d;
    --white:       #ffffff;
    --border:      #e9ecef;
    --shadow:      0 4px 24px rgba(0,0,0,.08);
    --shadow-lg:   0 10px 40px rgba(0,0,0,.12);
    --radius:      12px;
    --radius-lg:   20px;
    --transition:  all 0.3s ease;
}

/* ── Reset & Base ─────────────────────────────────────── */

*,*::before,*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }

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

p { margin-bottom: 1rem; }

/* ── Utility ─────────────────────────────────────────── */
.text-accent { color: var(--accent) !important; }
.bg-primary-dark { background: var(--primary); }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: .3px;
    border-radius: 8px;
    transition: var(--transition);
    padding: .6rem 1.5rem;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover { background: #162248; border-color: #162248; color: #fff; }

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #FF8C34);
    border: none;
    color: #fff;
}
.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: #fff;
    box-shadow: 0 6px 20px rgba(232,117,26,.35);
}

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

/* ── Section Common ──────────────────────────────────── */
.section { padding: 90px 0; }

.section-tag {
    display: inline-block;
    background: rgba(232,117,26,.1);
    color: var(--accent);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

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

.section-intro {
    max-width: 860px;
    margin: 0 auto 1rem;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.75;
}
.section-intro p { margin-bottom: .9rem; }
.section-intro h3 { font-size: 1.15rem; margin: 1.25rem 0 .5rem; }
.section-intro ul, .section-intro ol { display: inline-block; text-align: left; margin: 0 auto .9rem; padding-left: 1.25rem; }
.section-intro a { color: var(--accent); font-weight: 600; }
.section-intro a:hover { text-decoration: underline; }

/* ── Top Bar ─────────────────────────────────────────── */
.topbar {
    background: var(--primary-dark);
    color: rgba(255,255,255,.8);
    padding: .5rem 0;
    font-size: .82rem;
}
.topbar a { color: rgba(255,255,255,.75); }
.topbar a:hover { color: var(--accent); }
.topbar .divider { margin: 0 .75rem; opacity: .3; }
.topbar-left { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.topbar-right { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.topbar-right a { font-size: 1rem; color: rgba(255,255,255,.7); }
.topbar-right a:hover { color: var(--accent); }

.btn-topbar {
    background: var(--accent);
    color: #fff !important;
    padding: .25rem .75rem;
    border-radius: 6px;
    font-size: .78rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
}
.btn-topbar:hover { background: var(--accent-dark); }

/* ── Navbar ──────────────────────────────────────────── */
.main-navbar {
    background: var(--primary);
    padding: 1rem 0;
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 3px;
}
.logo-sub {
    font-family: 'Poppins', sans-serif;
    font-size: .65rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 8px;
}

.main-navbar .nav-link {
    color: rgba(255,255,255,.85) !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: .9rem;
    padding: .5rem .85rem !important;
    position: relative;
    letter-spacing: .2px;
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: #fff !important; }

.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: .85rem;
    right: .85rem;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.main-navbar .dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    margin-top: .5rem;
    min-width: 220px;
}
.main-navbar .dropdown-item {
    border-radius: 8px;
    padding: .55rem 1rem;
    font-size: .9rem;
    color: var(--text);
    font-weight: 500;
}
.main-navbar .dropdown-item:hover { background: var(--light); color: var(--accent); }
.main-navbar .dropdown-item.active,
.main-navbar .dropdown-item:active { background: rgba(232,117,26,.12); color: var(--accent); }

/* Active dropdown parent: keep the caret (::after) and draw the underline with ::before */
.main-navbar .nav-link.dropdown-toggle.active::after {
    position: static; height: auto; background: none; border-radius: 0;
    display: inline-block; margin-left: .255em; vertical-align: .255em;
    border-top: .3em solid; border-right: .3em solid transparent; border-bottom: 0; border-left: .3em solid transparent;
}
.main-navbar .nav-link.dropdown-toggle.active::before {
    content: ''; position: absolute; bottom: -2px; left: .85rem; right: .85rem;
    height: 2px; background: var(--accent); border-radius: 2px;
}

/* ── Hero Section ─────────────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0D1B3E 0%, #1B2B5E 40%, #0D1B3E 100%);
    overflow: hidden;
    padding: 80px 0 60px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-overlay { display: none; }

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(232,117,26,.15);
    border: 1px solid rgba(232,117,26,.3);
    color: #FFB366;
    padding: .4rem 1rem;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,.8);
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.8);
    font-size: .88rem;
    font-weight: 500;
}
.trust-item i { font-size: 1.1rem; }

/* Hero Form Card */
.hero-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.form-card-title {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.form-card-note {
    text-align: center;
    font-size: .8rem;
    color: var(--text-light);
    margin: .75rem 0 0;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}
.hero-scroll a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    color: rgba(255,255,255,.7);
    font-size: 1rem;
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ══════════════════════════════════════════════════════════
   HERO PHOTO — Stile screenshot
   ══════════════════════════════════════════════════════════ */

.hero-photo {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Background photo — sostituisci images/hero-bg.jpg con la tua foto */
.hero-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Fallback: sfondo scuro con gradiente se la foto non è disponibile */
    background-color: #0a1628;
    background-image:
        linear-gradient(135deg, rgba(13,27,62,.15) 0%, rgba(0,0,0,.05) 100%),
        url('/images/hero-bg.jpg');
    transform: scale(1.02);
    transition: transform 8s ease;
}
.hero-photo:hover .hero-photo-bg { transform: scale(1); }

/* Dark overlay — più scuro a sinistra, alleggerito a destra per il form */
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(5, 12, 30, 0.82) 0%,
        rgba(10, 20, 50, 0.75) 45%,
        rgba(5, 12, 30, 0.55) 100%
    );
    z-index: 1;
}

.hero-photo-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 100px;
    width: 100%;
}

/* min-vh-screen helper */
.min-vh-screen { min-height: calc(100vh - 100px); }

/* ── Hero Title ── */
.hero-photo-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -.5px;
    text-shadow: 0 2px 30px rgba(0,0,0,.5);
}
.hero-photo-title em {
    font-style: italic;
    color: var(--accent);
    display: block;
}

.hero-photo-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.82);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* ── Hero Buttons ── */
.hero-photo-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    background: #ffffff;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    padding: .8rem 2rem;
    border-radius: 50px;
    border: 2px solid #ffffff;
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,117,26,.4);
}

.btn-hero-secondary {
    background: transparent;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: .8rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,.5);
    font-size: .95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Social Proof ── */
.hero-photo-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.proof-avatars {
    display: flex;
}
.proof-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .7rem;
    color: #fff;
    margin-left: -10px;
}
.proof-avatar:first-child { margin-left: 0; }
.proof-text .proof-stars { color: #FFB400; font-size: 1rem; letter-spacing: 2px; }
.proof-text span { font-size: .85rem; color: rgba(255,255,255,.8); display: block; margin-top: .1rem; }

/* ── Quote Form (Hero) ── */
.hero-quote-form {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.4);
}

.hero-form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid var(--light);
}

/* Form field groups */
.hf-group-label {
    font-family: 'Poppins', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: .5rem;
    margin-top: .25rem;
}

.hf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
}

.hf-field {
    position: relative;
    margin-bottom: .6rem;
}

.hf-icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: .85rem;
    pointer-events: none;
    z-index: 2;
}

.hf-input {
    width: 100%;
    padding: .7rem .9rem .7rem 2.4rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Open Sans', sans-serif;
    font-size: .9rem;
    color: var(--text);
    background: #f8fafc;
    transition: var(--transition);
    outline: none;
    appearance: none;
}
.hf-input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(232,117,26,.1);
}
.hf-input::placeholder { color: #adb5bd; }

.hf-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    padding-right: 2.5rem;
}

.hf-input.hf-textarea {
    padding-top: .7rem;
    resize: none;
}
/* Move icon for textarea to top */
.hf-field:has(.hf-textarea) .hf-icon {
    top: 1rem;
    transform: none;
}

.hf-error {
    display: block;
    font-size: .78rem;
    color: #dc3545;
    margin-top: .25rem;
    padding-left: .25rem;
}

.hf-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), #FF8C34);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .85rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
.hf-submit:hover {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,117,26,.4);
}

.hf-note {
    text-align: center;
    font-size: .78rem;
    color: var(--text-light);
    margin: .65rem 0 0;
}

/* Bottom wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}
.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ── Language Switcher ──────────────────────────────────── */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
    padding: .2rem .6rem;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .25rem;
    transition: var(--transition);
    letter-spacing: .5px;
}
.lang-btn:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
    overflow: hidden;
    min-width: 90px;
    z-index: 1100;
}
.lang-dropdown.open { display: block; }

.lang-switcher .lang-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    color: var(--text);
    font-size: .85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
}
.lang-switcher .lang-option small { color: var(--text-light, #6c757d); font-weight: 500; }
.lang-switcher .lang-option:hover,
.lang-switcher .lang-option:focus-visible {
    background: var(--light);
    color: var(--accent);
}
.lang-switcher .lang-option:hover small { color: var(--accent); }
.flag-icon {
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    vertical-align: middle;
}
.lang-btn .flag-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }

/* ── Stats Section ─────────────────────────────────────── */
.stats-section {
    background: var(--primary);
    position: relative;
    z-index: 1;
}
.stats-wrapper {
    background: var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    color: #fff;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,.15);
}
.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    display: inline-block;
    line-height: 1;
}
.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    display: inline-block;
    line-height: 1;
}
.stat-label {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    margin-top: .5rem;
    font-weight: 500;
}

/* ── Services ─────────────────────────────────────────── */
.services-section { background: var(--light); }

.service-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #FF8C34);
    opacity: 0;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before { opacity: 1; }

.service-card.featured {
    background: linear-gradient(135deg, var(--primary), #1B2B5E);
    color: rgba(255,255,255,.9);
    border-color: transparent;
}
.service-card.featured h3 { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.75); }

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .65rem;
    border-radius: 50px;
    letter-spacing: 1px;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(232,117,26,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}
.service-card.featured .service-icon {
    background: rgba(255,255,255,.15);
    color: #FFB366;
}
.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: .75rem;
    color: var(--primary);
}
.service-card p { color: var(--text-light); font-size: .93rem; margin-bottom: 1.25rem; }

.service-link {
    color: var(--accent);
    font-weight: 600;
    font-size: .9rem;
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.service-link i { transition: transform .2s; }
.service-link:hover i { transform: translateX(4px); }

/* ── Why Section ─────────────────────────────────────── */
.why-section { background: #fff; }

.why-image-wrapper { position: relative; padding: 1.5rem 1.5rem 1.5rem 0; }

.why-image-bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 75%;
    height: 85%;
    background: var(--light);
    border-radius: var(--radius-lg);
}

.why-image-main {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-badge-float {
    position: absolute;
    bottom: 2rem;
    left: -1rem;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius);
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    z-index: 2;
    box-shadow: var(--shadow);
}
.badge-icon { font-size: 1.5rem; }
.badge-text strong { display: block; font-size: 1rem; font-weight: 700; }
.badge-text span { font-size: .8rem; opacity: .85; }

.why-list { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.why-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(232,117,26,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent);
    flex-shrink: 0;
}
.why-text h4 { font-size: 1rem; margin-bottom: .25rem; }
.why-text p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── Process Section ─────────────────────────────────── */
.process-section { background: var(--light); }

.process-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
    height: 100%;
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.process-number {
    position: absolute;
    top: -1px;
    right: 1.25rem;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--light);
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.process-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #FF8C34);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 24px rgba(232,117,26,.3);
}

.process-card h3 { font-size: 1.1rem; margin-bottom: .75rem; }
.process-card p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-section { background: #fff; }

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: .75rem;
    font-size: 1rem;
    color: var(--text-light);
}
.rating-summary .stars { color: #FFB400; font-size: 1.4rem; letter-spacing: 2px; }

.testimonial-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border);
}
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-card.featured {
    background: var(--primary);
    border-color: transparent;
    color: rgba(255,255,255,.85);
}
.testimonial-card.featured .testimonial-stars { color: #FFB400; }
.testimonial-card.featured strong { color: #fff; }

.testimonial-stars {
    color: #FFB400;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-card p { font-size: .95rem; font-style: italic; margin-bottom: 1.25rem; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: auto;
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
}
.author-info strong { display: block; font-size: .9rem; }
.author-info span { font-size: .8rem; color: var(--text-light); }
.testimonial-card.featured .author-info span { color: rgba(255,255,255,.6); }

/* ── Pricing ─────────────────────────────────────────── */
.pricing-section { background: var(--light); }

.pricing-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured {
    background: var(--primary);
    border-color: transparent;
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: scale(1.02) translateY(-4px); }

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 50px;
}

.pricing-header {
    padding: 2rem 1.75rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.pricing-card:not(.featured) .pricing-header { border-bottom-color: var(--border); }
.pricing-header h3 { font-size: 1.3rem; margin-bottom: .25rem; }
.pricing-card.featured .pricing-header h3 { color: #fff; }
.pricing-header p { color: var(--text-light); margin: 0; font-size: .9rem; }
.pricing-card.featured .pricing-header p { color: rgba(255,255,255,.6); }

.pricing-price {
    padding: 1.25rem 1.75rem;
    font-size: 1rem;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.pricing-card:not(.featured) .pricing-price { border-bottom-color: var(--border); }
.pricing-card.featured .pricing-price { color: rgba(255,255,255,.7); }
.pricing-price span { font-size: 2.5rem; font-weight: 800; color: var(--accent); font-family: 'Poppins', sans-serif; }

.pricing-features {
    list-style: none;
    padding: 1.5rem 1.75rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--text);
}
.pricing-card.featured .pricing-features li { color: rgba(255,255,255,.85); }
.pricing-features li i.fa-check { color: var(--accent); }
.pricing-features li.disabled { opacity: .45; }
.pricing-features li i.fa-times { color: var(--text-light); }

.pricing-card .btn { margin: 0 1.75rem 1.75rem; }

/* ── Blog Cards ─────────────────────────────────────── */
.blog-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

.blog-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: var(--light);
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }

.blog-card-image.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #1B2B5E);
    font-size: 3rem;
    color: rgba(255,255,255,.2);
}

.blog-card-cat {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: var(--accent);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: .8rem;
    color: var(--text-light);
    margin-bottom: .75rem;
}

.blog-card h3 {
    font-size: 1.05rem;
    margin-bottom: .65rem;
    line-height: 1.4;
}
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }

.blog-card p { font-size: .9rem; color: var(--text-light); }

.blog-card-link {
    color: var(--accent);
    font-weight: 600;
    font-size: .88rem;
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.blog-card-link i { transition: transform .2s; }
.blog-card-link:hover i { transform: translateX(3px); }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
    background: #fff;
    padding: 0 0 80px;
}
.cta-inner {
    background: linear-gradient(135deg, var(--primary) 0%, #1B2B5E 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: #fff;
}
.cta-inner h2 { color: #fff; font-size: 2rem; margin-bottom: .75rem; }
.cta-inner p { color: rgba(255,255,255,.8); margin: 0; }

/* ── Contact Preview ─────────────────────────────────── */
.contact-quick-links {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.contact-quick-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .85rem 1.25rem;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--text);
    transition: var(--transition);
}
.contact-quick-item:hover {
    background: var(--accent);
    color: #fff;
}
.contact-quick-item i {
    font-size: 1.3rem;
    color: var(--accent);
    width: 24px;
    text-align: center;
}
.contact-quick-item:hover i { color: #fff; }
.contact-quick-item div strong { display: block; font-size: .9rem; }
.contact-quick-item div span { font-size: .85rem; color: var(--text-light); }
.contact-quick-item:hover div span { color: rgba(255,255,255,.8); }

.contact-preview-form {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
}

/* ── Page Hero Small ─────────────────────────────────── */
.page-hero-sm {
    background: linear-gradient(135deg, var(--primary), #1B2B5E);
    padding: 3rem 0 2.5rem;
    color: #fff;
}
.page-hero-sm .breadcrumb-item a { color: rgba(255,255,255,.7); }
.page-hero-sm .breadcrumb-item.active { color: rgba(255,255,255,.5); }
.page-hero-sm .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.page-hero-sm h1 { color: #fff; font-size: 2.5rem; margin: .5rem 0 .5rem; }
.page-hero-sm p { color: rgba(255,255,255,.75); margin: 0; }
.page-hero-sm.has-image {
    background:
        linear-gradient(135deg, rgba(15,27,61,.88) 0%, rgba(27,43,94,.72) 55%, rgba(27,43,94,.45) 100%),
        var(--hero-mobile) center / cover no-repeat,
        linear-gradient(135deg, var(--primary), #1B2B5E);
    padding: 4rem 0 3.5rem;
}
.page-hero-sm.has-image h1, .page-hero-sm.has-image p { text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.page-hero-sm.has-image p { color: rgba(255,255,255,.9); max-width: 820px; }
@media (min-width: 768px) {
    .page-hero-sm.has-image {
        background:
            linear-gradient(90deg, rgba(15,27,61,.9) 0%, rgba(27,43,94,.7) 50%, rgba(27,43,94,.35) 100%),
            var(--hero-desktop) center / cover no-repeat,
            linear-gradient(135deg, var(--primary), #1B2B5E);
        padding: 5rem 0 4.5rem;
    }
}

/* ── Contact Page ─────────────────────────────────────── */
.contact-info-box {
    background: var(--primary);
    border-radius: var(--radius);
    padding: 2rem;
    color: rgba(255,255,255,.85);
    height: 100%;
}
.contact-info-box h3 { color: #fff; margin-bottom: 1.5rem; font-size: 1.25rem; }
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-info-item i {
    font-size: 1.2rem;
    color: var(--accent);
    width: 24px;
    margin-top: .1rem;
    flex-shrink: 0;
}
.contact-info-item strong { display: block; color: #fff; font-size: .9rem; }
.contact-info-item p, .contact-info-item a {
    font-size: .9rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}
.contact-info-item a:hover { color: var(--accent); }

.contact-form-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-form-card h3 { margin-bottom: 1.5rem; }

.map-wrapper { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ── Article ─────────────────────────────────────────── */
.article-header { margin-bottom: 2rem; }
.article-category-badge {
    display: inline-block;
    background: rgba(232,117,26,.1);
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    padding: .3rem .85rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.article-header h1 { font-size: 2.2rem; margin-bottom: 1rem; }
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    font-size: .85rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.article-excerpt {
    font-size: 1.1rem;
    color: var(--text-light);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    font-style: italic;
}
.article-featured-image { margin-bottom: 2rem; }
.article-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
}
.article-body h2 { color: var(--primary); margin: 2rem 0 1rem; font-size: 1.5rem; }
.article-body h3 { color: var(--primary); margin: 1.5rem 0 .75rem; }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    margin: 1.5rem 0;
}
.article-body img { border-radius: var(--radius); }

.article-tags { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.tag-badge {
    background: var(--light);
    color: var(--text-light);
    padding: .2rem .65rem;
    border-radius: 50px;
    font-size: .8rem;
}

.article-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
}
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn:hover { opacity: .9; color: #fff; }

.related-articles h3 { margin-bottom: 1.25rem; font-size: 1.3rem; }

/* ── Blog Sidebar ─────────────────────────────────────── */
.sidebar-cta {
    background: linear-gradient(135deg, var(--primary), #1B2B5E);
    border-radius: var(--radius);
    padding: 1.75rem;
    color: #fff;
    text-align: center;
}
.sidebar-cta h4 { color: #fff; margin-bottom: .75rem; font-size: 1.1rem; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1rem; }

.sidebar-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.sidebar-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid var(--accent);
}

.category-list { list-style: none; padding: 0; margin: 0; }
.category-list li { margin-bottom: .35rem; }
.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .4rem .75rem;
    border-radius: 8px;
    color: var(--text);
    font-size: .9rem;
}
.category-list a:hover, .category-list a.active {
    background: var(--accent);
    color: #fff;
}
.category-list a .badge {
    background: rgba(0,0,0,.1);
    font-size: .75rem;
}
.category-list a.active .badge, .category-list a:hover .badge {
    background: rgba(255,255,255,.2);
    color: #fff;
}

.sidebar-contact { display: flex; flex-direction: column; gap: .5rem; }
.sidebar-contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem .85rem;
    background: #fff;
    border-radius: 8px;
    color: var(--text);
    font-size: .9rem;
    font-weight: 500;
}
.sidebar-contact-item:hover { background: var(--accent); color: #fff; }
.sidebar-contact-item.whatsapp:hover { background: #25d366; }
.sidebar-contact-item i { color: var(--accent); width: 18px; }
.sidebar-contact-item:hover i { color: #fff; }

/* ── Page Content ─────────────────────────────────────── */
.page-content {
    font-size: 1.05rem;
    line-height: 1.85;
}
.page-content h1, .page-content h2, .page-content h3 { color: var(--primary); }
.page-content h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.page-content p { margin-bottom: 1.25rem; }

/* ── Footer ─────────────────────────────────────────── */
.footer { background: #050d1f; color: rgba(255,255,255,.65); }

.footer-top { padding: 60px 0 40px; }

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: .5rem;
}
.footer-logo .logo-main { font-size: 1.5rem; color: #fff; letter-spacing: 3px; }
.footer-logo .logo-sub { font-size: .7rem; color: var(--accent); letter-spacing: 8px; }
.footer-logo-img { max-height: 64px; width: auto; max-width: 220px; object-fit: contain; align-self: flex-start; }
.footer-logo-img.is-white { filter: brightness(0) invert(1); }

.footer-brand p { font-size: .9rem; line-height: 1.7; }

.footer-socials { display: flex; gap: .75rem; }
.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .95rem;
    transition: var(--transition);
}
.footer-socials a:hover { background: var(--accent); color: #fff; }

/* "Scarica la nostra app" (Impostazioni → App nel footer) */
.footer-apps { margin-top: 1.5rem; }
.footer-apps-title {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0 0 .6rem;
}
.footer-app-badges { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.footer-app-badge { display: inline-block; border-radius: 8px; transition: transform .2s, box-shadow .2s; }
.footer-app-badge:hover, .footer-app-badge:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.footer-app-badge:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-app-badge img { display: block; height: 44px; width: auto; max-width: 180px; }
.footer-app-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    height: 44px;
    padding: 0 .9rem;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.05;
}
.footer-app-btn i { font-size: 1.45rem; }
.footer-app-btn small { display: block; font-size: .6rem; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; opacity: .9; }

.footer-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .6rem;
}
.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
    color: rgba(255,255,255,.6);
    font-size: .9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links i { font-size: .7rem; }

.footer-contact-info { list-style: none; padding: 0; margin: 0; }
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    margin-bottom: 1rem;
    font-size: .9rem;
}
.footer-contact-info i { color: var(--accent); font-size: 1rem; margin-top: .1rem; flex-shrink: 0; }
.footer-contact-info a { color: rgba(255,255,255,.65); }
.footer-contact-info a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.25rem 0 6rem;
    font-size: .83rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--accent); }

/* ── Floating WhatsApp ─────────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    background: #25d366;
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 20px rgba(37,211,102,.4);
    transition: var(--transition);
}
.whatsapp-float.is-left { right: auto; left: 2rem; }
/* Emoji pasted from WordPress are SVG images without size: keep them as big as the text */
img[src*="/images/core/emoji/"] {
    display: inline !important;
    width: 1.1em !important; height: 1.1em !important; max-width: none !important;
    margin: 0 .1em !important; vertical-align: -.15em !important;
    border-radius: 0 !important; box-shadow: none !important; object-fit: contain;
}

/* ── Cookie consent banner ─────────────────────────── */
.cookie-consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000;
    padding: 12px;
    transform: translateY(100%); transition: transform .3s ease;
}
.cookie-consent.is-visible { transform: translateY(0); }
.cookie-consent-inner {
    position: relative;
    max-width: 1140px; margin: 0 auto;
    background: #0D1B3E; color: rgba(255,255,255,.88);
    border-radius: 14px; box-shadow: 0 -6px 30px rgba(0,0,0,.35);
    padding: 18px 48px 18px 22px;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.cookie-consent-text { flex: 1 1 420px; font-size: .9rem; line-height: 1.55; }
.cookie-consent-text strong { color: #fff; display: block; margin-bottom: 2px; }
.cookie-consent-text p { margin: 0; }
.cookie-consent-text a { color: var(--accent); text-decoration: underline; }
.cookie-consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
    min-width: 130px; padding: .6rem 1.2rem; font-weight: 600; font-size: .92rem;
    background: #fff; color: #0D1B3E; border: 2px solid #fff; border-radius: 8px;
}
.cookie-btn:hover, .cookie-btn:focus { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-consent-close {
    position: absolute; top: 8px; right: 12px;
    background: none; border: 0; color: rgba(255,255,255,.6); font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.cookie-consent-close:hover { color: #fff; }
@media (max-width: 575px) {
    .cookie-consent-inner { padding: 16px 16px 16px; }
    .cookie-consent-text { padding-right: 24px; }
    .cookie-consent-actions { width: 100%; }
    .cookie-btn { flex: 1 1 0; min-width: 0; }
}

.form-expired-alert { position: fixed; top: 100px; left: 50%; transform: translateX(-50%); z-index: 2000; width: min(640px, calc(100% - 32px)); }
.whatsapp-float i { font-size: 1.5rem; }
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(37,211,102,.5);
}

/* ── Scroll Top Button ─────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    z-index: 999;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent); }

/* ── Form Styles ─────────────────────────────────────── */
.form-control, .form-select {
    border-radius: 8px;
    border-color: var(--border);
    padding: .65rem .85rem;
    font-size: .95rem;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(232,117,26,.15);
}

/* ── AOS-like Fade ─────────────────────────────────────── */
[data-aos] {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: .1s; }
[data-aos][data-aos-delay="150"] { transition-delay: .15s; }
[data-aos][data-aos-delay="200"] { transition-delay: .2s; }
[data-aos][data-aos-delay="250"] { transition-delay: .25s; }
[data-aos][data-aos-delay="300"] { transition-delay: .3s; }
[data-aos][data-aos-delay="350"] { transition-delay: .35s; }
[data-aos][data-aos-delay="400"] { transition-delay: .4s; }

/* ── Pagination ─────────────────────────────────────── */
.pagination .page-link {
    color: var(--primary);
    border-radius: 8px;
    margin: 0 2px;
    border-color: var(--border);
}
.pagination .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 991px) {
    .section { padding: 60px 0; }
    .hero-section { min-height: auto; padding: 60px 0 50px; }
    .hero-title { font-size: 2.5rem; }
    .stat-item { padding: 1.75rem 1rem; }
    .stat-number { font-size: 2.25rem; }
    .cta-inner { padding: 2rem; text-align: center; }
    .whatsapp-float span { display: none; }
    .whatsapp-float { width: 56px; height: 56px; border-radius: 50%; padding: 0; justify-content: center; }
    .whatsapp-float.is-left { left: 1rem; }
    .scroll-top { right: 1rem; bottom: 5.5rem; }

    /* Hero photo responsive */
    .hero-photo-content { padding: 80px 0 70px; }
    .hero-photo-title { font-size: 2.8rem; }
    .hero-quote-form { margin-top: 2rem; }
    .hf-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
    .section { padding: 50px 0; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }
    .stats-section { margin-top: 0; }
    .stat-item::after { display: none; }
    .why-image-wrapper { padding: 0; }
    .why-badge-float { display: none; }
    .cta-inner { padding: 1.5rem; }
    .cta-inner h2 { font-size: 1.5rem; }
    .topbar { display: none; }

    /* Hero photo mobile */
    .hero-photo { min-height: auto; }
    .hero-photo-content { padding: 60px 0 50px; }
    .hero-photo-title { font-size: 2rem; }
    .hero-photo-btns { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
    .hf-row { grid-template-columns: 1fr; }
    .hero-quote-form { padding: 1.5rem; }
    .hero-form-title { font-size: 1.15rem; }

    /* Language switcher mobile */
    .lang-btn span { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   SERVICE PAGE — sp-* classes (auto-generated pages)
══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────── */
.sp-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #162248 55%, var(--primary) 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.sp-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.sp-hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.sp-hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.82);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 0;
}
.sp-hero-orb {
    width: 220px; height: 220px;
    background: rgba(255,255,255,.04);
    border: 2px solid rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 5.5rem;
    color: var(--accent);
}
.sp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(232,117,26,.15);
    border: 1px solid rgba(232,117,26,.3);
    color: #FFB366;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    width: fit-content;
}

/* ── Breadcrumb strip ─────────────────────────────────── */
.sp-breadcrumb {
    background: #f0f2f5;
    padding: .75rem 0;
    border-bottom: 1px solid #e2e6ea;
    font-size: .9rem;
}
.sp-breadcrumb .breadcrumb { margin: 0; }
.sp-breadcrumb .breadcrumb-item a { color: var(--accent); }
.sp-breadcrumb .breadcrumb-item.active { color: #777; }
.sp-breadcrumb .breadcrumb-item+.breadcrumb-item::before { color: #aaa; }

/* ── Sections ─────────────────────────────────────────── */
.sp-section { padding: 90px 0; }
.sp-section-light { background: #f8f9fc; }

/* ── Check list ───────────────────────────────────────── */
.sp-check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.sp-check-list li {
    display: flex; align-items: flex-start;
    gap: .75rem; margin-bottom: .75rem; font-size: 1rem; color: var(--text);
}
.sp-check-list li i { color: var(--accent); font-size: 1.1rem; margin-top: 3px; flex-shrink: 0; }

/* ── Feature image placeholder ────────────────────────── */
.sp-feature-img {
    background: linear-gradient(135deg, #eef2ff, #e8f0fe);
    border: 2px dashed #c5d1e8;
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    text-align: center;
    color: #9aade8;
}
.sp-feature-img i { font-size: 6rem; }
.sp-feature-img p { font-size: .88rem; color: #9aade8; font-style: italic; margin-top: .5rem; margin-bottom: 0; }

/* ── Feature cards ────────────────────────────────────── */
.sp-feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
    height: 100%;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.sp-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-bottom-color: var(--accent);
}
.sp-feature-icon {
    width: 68px; height: 68px;
    background: linear-gradient(135deg, rgba(232,117,26,.1), rgba(232,117,26,.18));
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.85rem; color: var(--accent);
    margin: 0 auto 1.25rem;
}
.sp-feature-card h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.sp-feature-card p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── Process steps ────────────────────────────────────── */
.sp-steps-row { position: relative; }
.sp-steps-row::before {
    content: '';
    position: absolute;
    top: 32px; left: 12.5%; right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(232,117,26,.2));
    z-index: 0;
}
.sp-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}
.sp-step-num {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--accent), #FF8C34);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem; font-weight: 800;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 20px rgba(232,117,26,.35);
    position: relative;
}
.sp-step-num::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(232,117,26,.25);
}
.sp-step h4 { font-size: 1rem; margin-bottom: .5rem; }
.sp-step p { font-size: .88rem; color: var(--text-light); margin: 0; }

/* ── Stats banner ─────────────────────────────────────── */
.sp-stats-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #162248 100%);
    padding: 70px 0;
}
.sp-stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem; font-weight: 800;
    color: var(--accent);
    line-height: 1; margin-bottom: .25rem;
}
.sp-stat-label { font-size: .9rem; color: rgba(255,255,255,.72); font-weight: 500; }

/* ── FAQ accordion ────────────────────────────────────── */
.sp-accordion .accordion-item {
    border: 1px solid #e9ecef !important;
    border-radius: var(--radius) !important;
    margin-bottom: .75rem;
    overflow: hidden;
}
.sp-accordion .accordion-button {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; font-size: .95rem;
    color: var(--primary);
    background: #fff;
    padding: 1.1rem 1.25rem;
}
.sp-accordion .accordion-button:not(.collapsed) {
    color: var(--accent);
    background: rgba(232,117,26,.04);
    box-shadow: none;
}
.sp-accordion .accordion-button:not(.collapsed)::after {
    filter: invert(52%) sepia(80%) saturate(500%) hue-rotate(350deg);
}
.sp-accordion .accordion-body { font-size: .95rem; padding: .75rem 1.25rem 1.25rem; }

/* ── CTA banner ───────────────────────────────────────── */
.sp-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #FF8C34 60%, #e06010 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.sp-cta::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.sp-cta h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; position: relative; }
.sp-cta p { font-size: 1.1rem; color: rgba(255,255,255,.9); margin-bottom: 0; position: relative; }
.sp-cta .btn-outline-light { border-width: 2px; font-weight: 600; }
.sp-cta .btn-outline-light:hover { background: #fff; color: var(--accent); }

/* ── Service page white button ────────────────────────── */
.sp-cta .btn-white {
    background: #fff; color: var(--accent);
    border: none; font-weight: 700;
}
.sp-cta .btn-white:hover { background: #f0f0f0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991px) {
    .sp-hero { padding: 65px 0 60px; }
    .sp-section { padding: 65px 0; }
    .sp-steps-row::before { display: none; }
    .sp-stats-banner { padding: 50px 0; }
    .sp-stat-num { font-size: 2.4rem; }
    .sp-cta { padding: 65px 0; }
}
@media (max-width: 767px) {
    .sp-hero { padding: 50px 0; }
    .sp-hero-title { font-size: 2rem; }
    .sp-section { padding: 50px 0; }
    .sp-stats-banner { padding: 40px 0; }
    .sp-stat-num { font-size: 2rem; }
    .sp-cta { padding: 50px 0; }
    .sp-cta h2 { font-size: 1.6rem; }
}

/* ── Tag Link (home + /link-utili) ────────────────────── */
.tag-links-description { max-width: 720px; margin: 0 auto; color: var(--text-light); }
.tag-cloud {
    list-style: none;
    margin: 1.5rem auto 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
    max-width: 1000px;
}
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .55rem 1.1rem;
    border-radius: 50px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(13,27,62,.05);
    transition: var(--transition);
}
.tag-pill i { color: var(--accent); font-size: .75rem; transition: var(--transition); }
.tag-pill:hover, .tag-pill:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232,117,26,.25);
}
.tag-pill:hover i, .tag-pill:focus-visible i { color: var(--white); }
.tag-group + .tag-group { margin-top: 3rem; }
.tag-group .tag-cloud { justify-content: flex-start; margin-left: 0; }
@media (max-width: 575.98px) {
    .tag-pill { font-size: .82rem; padding: .45rem .9rem; }
}
