/* ===================================
   Torino Fumaioli Expert - Stylesheet
   Industrial steel/charcoal palette
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Source+Sans+3:wght@400;500;600&display=swap');

:root {
    --primary: #1c2b3a;
    --accent: #e67e22;
    --teal: #1abc9c;
    --light: #f2f4f7;
    --text: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(28, 43, 58, 0.14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
}

.site-header {
    background: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-wrap svg {
    width: 46px;
    height: 46px;
}

.logo-text {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--accent);
    display: block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Source Sans 3', sans-serif;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

.header-phone:hover {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--white);
    margin: 5px 0;
}

.hero {
    background: var(--primary);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 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.02'%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");
}

.hero-badge {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.6rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: 1.5px;
}

.hero h1 em {
    color: var(--accent);
    font-style: normal;
}

.hero-sub {
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 490px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 3px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, filter 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2rem;
    border: 2px solid rgba(230, 126, 34, 0.5);
    border-radius: 3px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-num {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--accent);
}

.stat-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.hero-image-wrap svg {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 3rem;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 1px;
    margin: 0.75rem 0 1.5rem;
}

.services-section {
    background: var(--light);
}

.service-card {
    background: var(--white);
    border-radius: 6px;
    padding: 2rem;
    height: 100%;
    box-shadow: var(--shadow);
    transition: transform 0.25s;
    border-left: 4px solid var(--accent);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.2rem;
}

.service-card h3 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.7rem;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.benefits-section {
    background: var(--primary);
}

.benefits-section .section-title {
    color: var(--white);
}

.benefits-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    height: 100%;
    border-top: 2px solid var(--teal);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.benefit-item p {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.65);
}

.testimonials-section {
    background: var(--white);
}

.testimonial-card {
    background: var(--light);
    border-radius: 6px;
    padding: 2rem;
    height: 100%;
    border-top: 3px solid var(--accent);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.stars {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 0.9rem;
}

.testimonial-card p {
    color: var(--text);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 1.2rem;
}

.reviewer-name {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
}

.reviewer-location {
    color: var(--text-light);
    font-size: 0.78rem;
}

.contact-section {
    background: var(--light);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.form-control,
.form-select {
    border: 2px solid #dde3e9;
    border-radius: 4px;
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    width: 100%;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.12);
}

.btn-submit {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    width: 100%;
    transition: filter 0.2s;
}

.btn-submit:hover {
    filter: brightness(1.1);
}

.contact-info-box {
    background: var(--primary);
    border-radius: 8px;
    padding: 3rem 2rem;
    color: var(--white);
    height: 100%;
}

.contact-info-box h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--accent);
    margin-bottom: 2rem;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.contact-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.contact-detail h5 {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.2rem;
}

.contact-detail p {
    font-size: 0.92rem;
    color: var(--white);
}

.contact-detail a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.site-footer {
    background: #111821;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 0 1rem;
    font-size: 0.82rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    margin: 0 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.page-hero {
    background: var(--primary);
    padding: 6rem 0 4rem;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    letter-spacing: 1.5px;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
}

.page-content {
    padding: 4rem 0;
}

.page-content h2 {
    font-family: 'Oswald', sans-serif;
    color: var(--primary);
    margin: 2rem 0 0.75rem;
    letter-spacing: 0.5px;
}

.page-content p,
.page-content li {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.checkmark-circle {
    width: 90px;
    height: 90px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.8rem;
}

@media (max-width: 991px) {
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .hamburger {
        display: block;
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
        clip-path: none;
    }

    .hero-image-wrap {
        display: none;
    }

    .contact-form-wrap {
        padding: 1.5rem;
    }

    .contact-info-box {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
}