/* Reset e Variabili */
:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --dark: #14171d;
    --dark-card: #1e232d;
    --light: #f8f9fb;
    --text: #2b303a;
    --text-muted: #5c6473;
    --border: #e2e6ee;
    --whatsapp: #25d366;
    --whatsapp-dark: #1ebe5d;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1, h2, h3, .logo-text, .highlight-number {
    font-family: 'Montserrat', sans-serif;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
    margin-right: 4px;
}

/* Top Bar */
.top-bar {
    background-color: #0e1014;
    color: #cbd2df;
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.top-info {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.top-emergency {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.top-emergency a {
    color: #ff5252;
    font-weight: 700;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff5252;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.3);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    background-color: var(--primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 8px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.nav a:hover {
    color: var(--primary);
}

.nav .btn-nav {
    background-color: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.25);
}

.nav .btn-nav:hover {
    background-color: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('https://unsplash.com');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 110px 0 140px;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 16, 20, 0.92) 0%, rgba(25, 30, 40, 0.84) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(255, 82, 82, 0.5);
    color: #ff7b7b;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 22px;
}

.hero p {
    font-size: 1.15rem;
    color: #d4dbe8;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Pulsanti */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.35);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--dark);
    border-color: #fff;
}

.btn-whatsapp {
    background-color: var(--whatsapp);
    color: #fff;
    margin-top: 12px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-dark);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Highlights Bar */
.highlights {
    margin-top: -55px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid var(--border);
}

.highlight-box {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.highlight-box:last-child {
    border-right: none;
}

.highlight-number {
    font-size: 1.65rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}

.highlight-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Intestazioni Sezioni */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Servizi */
.services {
    padding: 95px 0;
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 26px;
}

.card {
    background-color: #fff;
    padding: 32px 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(211, 47, 47, 0.4);
}

.card-icon {
    width: 52px;
    height: 52px;
    background-color: rgba(211, 47, 47, 0.1);
    color: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* Sezione Perché Noi */
.why-us {
    background-color: var(--dark);
    color: #fff;
    padding: 90px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.why-us-text h2 {
    font-size: 2.1rem;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.25;
}

.why-us-text p {
    color: #b8c2d4;
    margin-bottom: 26px;
    font-size: 1.05rem;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    color: #e2e8f0;
}

.check-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.cta-box {
    background-color: var(--dark-card);
    padding: 36px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cta-box h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.cta-box p {
    color: #b8c2d4;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

/* Sezione Contatti */
.contact {
    padding: 95px 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

.contact-card {
    background-color: var(--light);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--dark);
}

.subtitle-owner {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.contact-item {
    padding: 10px 0;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.c-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.c-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
}

.c-value a {
    color: var(--primary);
}

.map-box {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper {
    background-color: #fff;
    padding: 36px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.contact-form-wrapper h3 {
    font-size: 1.45rem;
    margin-bottom: 22px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

