/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1F1F1F;
    background: #FFFFFF;
    line-height: 1.7;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   TYPOGRAPHY
========================= */

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
    color: #555;
}

a {
    text-decoration: none;
}

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1000;
    border-bottom: 1px solid #efefef;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 18px 0;
}

.logo {
    height: 120px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    color: #1F1F1F;
    font-weight: 500;
}

nav a:hover {
    color: #C8A96B;
}

/* =========================
   BUTTONS
========================= */

.btn-primary,
.btn-nav {
    background: #C8A96B;
    color: white;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    display: inline-block;
    transition: .3s;
}

.btn-primary:hover,
.btn-nav:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #C8A96B;
    color: #C8A96B;
    padding: 14px 28px;
    border-radius: 6px;
    display: inline-block;
    transition: .3s;
}

.btn-secondary:hover {
    background: #C8A96B;
    color: white;
}

/* =========================
   HERO
========================= */

.hero {
    padding: 90px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #C8A96B;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.hero p {
    font-size: 1.1rem;
    margin-top: 25px;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
}

/* =========================
   TRUST BAR
========================= */

.trust-bar {
    background: #1F1F1F;
    color: white;
    padding: 30px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    text-align: center;
    font-size: .95rem;
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 110px 0;
}

.alt {
    background: #F7F7F7;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.reverse {
    direction: rtl;
}

.reverse > * {
    direction: ltr;
}

.image-box img {
    width: 100%;
    border-radius: 12px;
}

.text-box p {
    font-size: 1.05rem;
}

/* =========================
   ADVANTAGES
========================= */

.advantages {
    padding: 110px 0;
    background: #ffffff;
}

.advantages h2 {
    text-align: center;
    margin-bottom: 50px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
}

.card {
    border: 1px solid #ececec;
    padding: 35px;
    text-align: center;
    border-radius: 10px;
    transition: .3s;
}

.card:hover {
    transform: translateY(-4px);
}

.card h3 {
    font-size: 1.4rem;
}

/* =========================
   CTA
========================= */

.cta {
    background: #1F1F1F;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.cta h2 {
    color: white;
}

.cta p {
    color: #d8d8d8;
    max-width: 700px;
    margin: 0 auto 35px;
}

/* =========================
   FOOTER
========================= */

footer {
    padding: 90px 0;
    text-align: center;
    background: #F7F7F7;
}

footer h2 {
    margin-bottom: 30px;
}

footer a {
    color: #C8A96B;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    .hero-grid,
    .split,
    .trust-grid,
    .cards {
        grid-template-columns: 1fr;
    }

    .nav {
         flex-direction: column;
         gap: 15px;
    }

    nav ul {
         display: flex;
         flex-wrap: wrap;
         justify-content: center;
         gap: 15px;
    }

    .hero {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .logo {
        height: 55px;
    }
}

@media (max-width: 576px) {

    h1 {
        font-size: 2.3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-nav {
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

}

.card {
    opacity: 0;
    transform: translateY(20px);
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all .6s ease;
}

#blister,
#laboratorio,
#madeinitaly,
#contatti {
    scroll-margin-top: 120px;
}
