/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --pearl-white: #F8F7F4;
    --near-black:  #030712;
    --light-grey:  #D1D5DB;
    --mid-grey:    #6B7280;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--near-black);
    background: var(--pearl-white);
    overflow-x: hidden;
}


/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: background-color 0.35s ease,
                border-color     0.35s ease,
                box-shadow       0.35s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: var(--pearl-white);
    border-bottom-color: rgba(3, 7, 18, 0.07);
    box-shadow: 0 1px 3px rgba(3, 7, 18, 0.05);
}

.navbar-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.9rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Logo --- */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: 34px;
    width: auto;
    object-fit: contain;
    transition: filter 0.35s ease;
}

/* Over the transparent hero: make logo white */
.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

/* --- Desktop nav links --- */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.2s ease;
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled .nav-link {
    color: var(--near-black);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.55);
}

.navbar.scrolled .nav-link:hover {
    color: var(--mid-grey);
}

/* --- Hamburger button (mobile only) --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(255, 255, 255, 0.88);
    transform-origin: center;
    transition: background 0.3s ease,
                transform  0.25s ease,
                opacity    0.25s ease;
}

.navbar.scrolled .hamburger span {
    background: var(--near-black);
}

/* Hamburger → X when menu is open */
.hamburger.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* ============================================================
   MOBILE MENU DROPDOWN
   ============================================================ */

/* --- Base: dark state (transparent navbar over hero) --- */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 0.5rem 1.25rem 1.25rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 190;
}

/* --- Scrolled / solid state: match pearl-white navbar --- */
.navbar.scrolled .mobile-menu {
    background: var(--pearl-white);
    border-bottom-color: rgba(3, 7, 18, 0.07);
    box-shadow: 0 4px 16px rgba(3, 7, 18, 0.06);
}

.mobile-menu.visible {
    display: block;
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    padding: 0.25rem 0 0;
}

/* --- Nav links (dark state) --- */
.mobile-link {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: color 0.15s ease;
}

.mobile-link:hover {
    color: #ffffff;
}

/* --- Nav links (scrolled / pearl-white state) --- */
.navbar.scrolled .mobile-link {
    color: var(--mid-grey);
    border-bottom-color: rgba(3, 7, 18, 0.06);
}

.navbar.scrolled .mobile-link:hover {
    color: var(--near-black);
}

/* Remove border from last nav link (the one before CTA) */
.mobile-menu ul li:nth-last-child(2) .mobile-link {
    border-bottom: none;
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100dvh;
    min-height: 560px;
    /* Desktop image */
    background-image: url('https://res.cloudinary.com/do5lutgha/image/upload/q_auto/f_auto/v1776798205/Hero_Image_for_Desktop_elhdhh.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

/* Subtle bottom-left darkening for text legibility */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,  rgba(3, 7, 18, 0.42) 0%, transparent 48%),
        linear-gradient(to right, rgba(3, 7, 18, 0.20) 0%, transparent 52%);
    pointer-events: none;
}

/* --- Hero content block --- */
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
    padding: 0 0 5rem 5rem;
    opacity: 0;
    transform: translateY(18px);
    animation: heroFadeIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.25s;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* H1 */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(1.55rem, 2.6vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1rem;
}

/* Supporting text */
.hero-description {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 2.4rem;
}

/* --- Buttons --- */
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-outline {
    padding: 0.65rem 1.75rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-text {
    color: rgba(255, 255, 255, 0.65);
    padding: 0.65rem 0;
    letter-spacing: 0.05em;
}

.btn-text:hover {
    color: #ffffff;
}


/* ============================================================
   RESPONSIVE — TABLET  (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0.9rem 2rem;
    }

    .navbar-nav {
        gap: 1.8rem;
    }

    /* Switch to tablet hero image */
    .hero {
        background-image: url('https://res.cloudinary.com/do5lutgha/image/upload/q_auto/f_auto/v1776797630/Hero_Image_for_Tablet_layout_n9xoeq.png');
    }

    .hero-content {
        max-width: 480px;
        padding: 0 0 3.5rem 2.5rem;
    }
}


/* ============================================================
   RESPONSIVE — MOBILE  (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
    .navbar-container {
        padding: 0.85rem 1.25rem;
    }

    /* Hide desktop nav, show hamburger */
    .navbar-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Slightly smaller logo on mobile */
    .logo-img {
        height: 26px;
    }

    /* Switch to mobile hero image */
    .hero {
        background-image: url('https://res.cloudinary.com/do5lutgha/image/upload/q_auto/f_auto/v1776797602/Hero_Image_for_Mobile_layout_gxlhnb.png');
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1.5rem 3rem 1.5rem;
    }

    .hero-title {
        font-size: clamp(1.35rem, 5.5vw, 1.8rem);
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE  (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
    .hero-content {
        padding: 0 1.25rem 2.5rem 1.25rem;
    }
}


/* ============================================================
   STATISTICS
   ============================================================ */
.stats {
    background: var(--pearl-white);
    border-top: 1px solid rgba(209, 213, 219, 0.45);
    border-bottom: 1px solid rgba(209, 213, 219, 0.45);
    padding: 5.5rem 0;
}

.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 2rem;
}

/* --- Individual stat block --- */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
    /* initial hidden state — JS will trigger the visible class */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays */
.stat-item:nth-child(1) { transition-delay: 0s;    }
.stat-item:nth-child(2) { transition-delay: 0.12s; }
.stat-item:nth-child(3) { transition-delay: 0.24s; }
.stat-item:nth-child(4) { transition-delay: 0.36s; }

/* --- Number row --- */
.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.6rem, 4.5vw, 3.75rem);
    line-height: 1;
    color: var(--near-black);
    letter-spacing: -0.02em;
    display: flex;
    align-items: baseline;
    gap: 0.05em;
}

.stat-suffix {
    font-size: 0.65em;
    color: var(--near-black);
    opacity: 0.55;
}

/* --- Label --- */
.stat-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-grey);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .stats-container {
        padding: 0 2rem;
    }
    .stats-grid {
        gap: 2.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats {
        padding: 4rem 0;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1rem;
    }
    .stats-container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats {
        padding: 3.5rem 0;
    }
    .stats-container {
        padding: 0 1rem;
    }
    .stat-number {
        font-size: clamp(2rem, 10vw, 2.6rem);
    }
}


/* ============================================================
   PRODUCTS
   ============================================================ */
.products { background: var(--pearl-white); padding: 5rem 0; }
.products-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.products-header-wrap { margin-bottom: 3rem; }
.products-eyebrow { font-family:'Manrope',sans-serif; font-weight:500; font-size:0.875rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--mid-grey); margin-bottom:0.75rem; }
.products-title { font-family:'Inter',sans-serif; font-weight:400; font-size:clamp(2.25rem,5vw,3rem); letter-spacing:-0.025em; color:var(--near-black); line-height:1.1; }
.products-subtitle { font-family:'Manrope',sans-serif; font-weight:400; font-size:1rem; line-height:1.75; color:var(--mid-grey); max-width:42rem; margin-top:1rem; }
/* Carousel wrapper */
.products-carousel-wrap { position: relative; }
.products-carousel {
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.products-carousel::-webkit-scrollbar { display: none; }

/* Nav buttons */
.products-carousel-nav { display:flex; justify-content:flex-end; gap:0.5rem; margin-top:1.5rem; }
.pcarousel-btn { width:2.75rem; height:2.75rem; border-radius:50%; border:1px solid var(--light-grey,#e5e7eb); background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--near-black); transition:background 0.2s ease,border-color 0.2s ease,color 0.2s ease; flex-shrink:0; }
.pcarousel-btn:hover:not(:disabled) { background:var(--near-black); border-color:var(--near-black); color:#fff; }
.pcarousel-btn:disabled { opacity:0.3; cursor:not-allowed; }

.product-card { flex:0 0 calc((100% - 3 * 1.5rem) / 4); min-width:0; scroll-snap-align:start; background:#fff; border-radius:0.75rem; overflow:hidden; box-shadow:0 4px 20px rgba(3,7,18,0.06); opacity:0; transform:translateY(24px); transition:opacity 0.65s ease,transform 0.65s ease; }
.product-card.visible { opacity:1; transform:translateY(0); }
.product-card:nth-child(1){transition-delay:0s} .product-card:nth-child(2){transition-delay:0.12s} .product-card:nth-child(3){transition-delay:0.24s} .product-card:nth-child(4){transition-delay:0.36s} .product-card:nth-child(5){transition-delay:0.48s}
.product-card-img-wrap { position:relative; height:240px; }
.product-card-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.product-card-body { padding:1.75rem; border-top:1px solid #E5E7EB; }
.product-card-eyebrow { font-family:'Manrope',sans-serif; font-weight:500; font-size:0.75rem; letter-spacing:0.18em; text-transform:uppercase; color:var(--mid-grey); margin-bottom:0.6rem; }
.product-card-title { font-family:'Inter',sans-serif; font-weight:400; font-size:1.45rem; letter-spacing:-0.02em; color:var(--near-black); line-height:1.2; }
.product-card-subtitle { font-family:'Manrope',sans-serif; font-weight:500; font-size:0.875rem; color:#374151; margin-top:0.6rem; }
.product-card-desc { font-family:'Manrope',sans-serif; font-weight:400; font-size:0.9rem; line-height:1.7; color:var(--mid-grey); margin-top:0.9rem; margin-bottom:1.5rem; }
.product-card-btn { display:inline-flex; align-items:center; border:1px solid var(--light-grey); padding:0.65rem 1.25rem; font-family:'Manrope',sans-serif; font-size:0.8rem; font-weight:500; letter-spacing:0.04em; color:var(--near-black); text-decoration:none; transition:background-color 0.2s ease,color 0.2s ease; }
.product-card-btn:hover { background-color:var(--near-black); color:#fff; }
@media (min-width:768px) { .products{padding:7rem 0} .products-container{padding:0 2.5rem} .products-header-wrap{margin-bottom:4rem} }
@media (max-width:1023px) { .product-card { flex-basis: calc((100% - 1.5rem) / 2); } }
@media (max-width:600px) { .product-card { flex-basis: 80%; } .product-card-img-wrap{height:220px} }


/* ============================================================
   APPROACH
   ============================================================ */
.approach {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
}

.approach-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.approach-header {
    margin-bottom: 5rem;
}

.approach-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.approach-intro {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-grey);
    max-width: 38rem;
}

/* --- 3-column grid --- */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 3rem;
}

/* --- Step block --- */
.approach-step {
    padding-top: 2rem;
    border-top: 1px solid rgba(209, 213, 219, 0.7);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.approach-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.approach-step:nth-child(1) { transition-delay: 0s;    }
.approach-step:nth-child(2) { transition-delay: 0.13s; }
.approach-step:nth-child(3) { transition-delay: 0.26s; }

/* --- Icon --- */
.approach-step-icon {
    color: var(--near-black);
    opacity: 0.45;
    margin-bottom: 1.5rem;
    line-height: 0;
}

/* --- Number label --- */
.approach-step-number {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.8rem;
}

/* --- Step title --- */
.approach-step-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

/* --- Step description --- */
.approach-step-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.78;
    color: var(--mid-grey);
}

/* ============================================================
   APPROACH — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .approach {
        padding: 7rem 0 8rem;
    }
    .approach-container {
        padding: 0 2.5rem;
    }
}

/* Tablet — 2 columns, last wraps */
@media (max-width: 1023px) {
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2.5rem;
    }
}

/* Mobile — 1 column stacked */
@media (max-width: 767px) {
    .approach {
        padding: 5rem 0;
    }
    .approach-header {
        margin-bottom: 3rem;
    }
    .approach-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .approach-step {
        padding: 2rem 0;
    }
    .approach-step:last-child {
        border-bottom: 1px solid rgba(209, 213, 219, 0.7);
    }
}


/* ============================================================
   PROCESS — Come Lavoriamo
   ============================================================ */
.process {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.process-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.process-header {
    margin-bottom: 5rem;
}

.process-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.process-intro {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-grey);
    max-width: 38rem;
}

/* --- Timeline wrapper ---
   Line lives at x=20px. Steps pad from 52px.
   Dot at left:16px centers the 8px circle on the line. */
.process-timeline {
    position: relative;
    max-width: 640px;
}

/* --- Vertical line track --- */
.timeline-track {
    position: absolute;
    left: 20px;
    top: 10px;   /* aligns with first dot center */
    bottom: 10px;
    width: 1px;
    pointer-events: none;
}

.timeline-bg,
.timeline-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
}

.timeline-bg {
    background: var(--light-grey);
    opacity: 0.7;
}

.timeline-fill {
    background: var(--near-black);
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
}

/* --- Step block --- */
.process-step {
    position: relative;
    padding-left: 52px;
    margin-bottom: 4.5rem;
}

.process-step:last-child {
    margin-bottom: 0;
}

/* --- Dot marker —
   left: 16px puts the 8px circle's center at x=20 (the line).
   box-shadow isolates the dot from the line behind it. */
.step-dot {
    position: absolute;
    left: 16px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--light-grey);
    box-shadow: 0 0 0 3px var(--pearl-white);
    z-index: 1;
    transition: background-color 0.45s ease;
}

.step-dot.active {
    background: var(--near-black);
}

/* --- Step number --- */
.step-number {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.55rem;
}

/* --- Step title --- */
.step-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* --- Step description --- */
.step-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.78;
    color: var(--mid-grey);
}

/* ============================================================
   PROCESS — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .process {
        padding: 7rem 0 8rem;
    }
    .process-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 767px) {
    .process {
        padding: 5rem 0;
    }
    .process-header {
        margin-bottom: 3.5rem;
    }
    /* Tighten line + dots on mobile */
    .timeline-track {
        left: 16px;
    }
    .process-step {
        padding-left: 44px;
        margin-bottom: 3rem;
    }
    .step-dot {
        left: 12px; /* centers 8px dot on line at x=16 */
    }
}

@media (max-width: 480px) {
    .process-step {
        padding-left: 40px;
        margin-bottom: 2.5rem;
    }
}


/* ============================================================
   WHY DEMARC — Perché Scegliere DEMARC
   ============================================================ */
.why {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.why-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.why-header {
    margin-bottom: 5rem;
}

.why-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.why-intro {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-grey);
    max-width: 38rem;
}

/* --- 2×2 grid --- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

/* --- Item --- */
.why-item {
    padding-top: 2rem;
    border-top: 1px solid rgba(209, 213, 219, 0.7);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.why-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.why-item:nth-child(1) { transition-delay: 0s;    }
.why-item:nth-child(2) { transition-delay: 0.13s; }
.why-item:nth-child(3) { transition-delay: 0.26s; }
.why-item:nth-child(4) { transition-delay: 0.39s; }

/* --- Icon --- */
.why-item-icon {
    color: var(--near-black);
    opacity: 0.45;
    margin-bottom: 1.25rem;
    line-height: 0;
}

/* --- Title --- */
.why-item-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

/* --- Description --- */
.why-item-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.78;
    color: var(--mid-grey);
}

/* ============================================================
   WHY DEMARC — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .why {
        padding: 7rem 0 8rem;
    }
    .why-container {
        padding: 0 2.5rem;
    }
}

/* Mobile — single column */
@media (max-width: 767px) {
    .why {
        padding: 5rem 0;
    }
    .why-header {
        margin-bottom: 3rem;
    }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .why-item {
        padding: 2rem 0;
    }
    .why-item:last-child {
        border-bottom: 1px solid rgba(209, 213, 219, 0.7);
    }
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.contact-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Header --- */
.contact-header {
    margin-bottom: 5rem;
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.contact-intro {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mid-grey);
    max-width: 38rem;
}

/* --- Two-column layout (40 / 60) --- */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 5rem;
    align-items: start;
}

/* ============================================================
   CONTACT INFO (left)
   ============================================================ */
.contact-info {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-brand-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--near-black);
    margin-bottom: 0.3rem;
}

.contact-tagline {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    font-style: italic;
    color: var(--mid-grey);
}

.contact-divider {
    height: 1px;
    background: rgba(209, 213, 219, 0.65);
    margin: 2.25rem 0;
}

.contact-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-detail-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-grey);
}

.contact-detail-value {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--near-black);
    text-decoration: none;
}

.contact-detail-link {
    transition: color 0.2s ease;
}

.contact-detail-link:hover {
    color: var(--mid-grey);
}

.contact-note {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.72;
    color: var(--mid-grey);
    margin-top: 2.25rem;
}

/* ============================================================
   CONTACT FORM (right)
   ============================================================ */
.contact-form-wrap {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: 0.13s;
}

.contact-form-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* --- 2-column row --- */
.form-row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* --- Label --- */
.form-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mid-grey);
}

.form-required-mark {
    color: var(--mid-grey);
    opacity: 0.6;
    font-size: 0.9em;
}

/* --- Inputs, select, textarea --- */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid var(--light-grey);
    border-radius: 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.93rem;
    color: var(--near-black);
    transition: border-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-input::placeholder {
    color: #b8bec8;
}

.form-input:focus {
    outline: none;
    border-color: var(--near-black);
}

.form-input.error {
    border-color: #b91c1c;
}

/* --- Select chevron --- */
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px 14px;
    padding-right: 2.75rem;
}

/* --- Textarea --- */
.form-textarea {
    resize: vertical;
    min-height: 130px;
}

/* --- Checkbox --- */
.form-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.form-checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    background: #ffffff;
    border: 1px solid var(--light-grey);
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-checkbox:checked {
    background-color: var(--near-black);
    border-color: var(--near-black);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13 4L6.5 11.5 3 8' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.form-checkbox.error {
    border-color: #b91c1c;
}

.form-checkbox-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--mid-grey);
}

.form-link {
    color: var(--near-black);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(3, 7, 18, 0.3);
    transition: text-decoration-color 0.2s ease;
}

.form-link:hover {
    text-decoration-color: var(--near-black);
}

/* --- Submit button --- */
.form-actions {
    padding-top: 0.5rem;
}

.form-submit {
    display: inline-block;
    background: var(--near-black);
    color: #ffffff;
    border: 1px solid var(--near-black);
    padding: 0.85rem 2.75rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-submit:hover {
    background: #1c2432;
    border-color: #1c2432;
}

.form-submit:active {
    background: #0d1117;
    border-color: #0d1117;
}

/* --- Success message --- */
.form-success {
    padding: 3rem 0 2rem;
}

.form-success-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.75rem;
}

.form-success-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    letter-spacing: -0.02em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.form-success-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--mid-grey);
}

/* ============================================================
   CONTACT — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .contact {
        padding: 7rem 0 8rem;
    }
    .contact-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 1024px) {
    .contact-layout {
        gap: 3.5rem;
    }
}

/* Tablet / mobile: stack info above form */
@media (max-width: 767px) {
    .contact {
        padding: 5rem 0 6rem;
    }
    .contact-header {
        margin-bottom: 3rem;
    }
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form-wrap {
        transition-delay: 0s;
    }
}

/* Small mobile: collapse 2-col form rows */
@media (max-width: 540px) {
    .form-row--2col {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--near-black);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer.visible {
    opacity: 1;
    transform: translateY(0);
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- 4-column grid --- */
.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 3.5rem;
    padding: 5rem 0 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============================================================
   FOOTER — BRAND COLUMN
   ============================================================ */
.footer-brand-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.35rem;
}

.footer-tagline {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.1rem;
}

.footer-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.83rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.28);
}

/* ============================================================
   FOOTER — COLUMNS
   ============================================================ */
.footer-col-heading {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    margin-bottom: 1.35rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   FOOTER — CONTACT COLUMN
   ============================================================ */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contact-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   FOOTER — BOTTOM BAR
   ============================================================ */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 0;
}

.footer-copyright {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.22);
    letter-spacing: 0.02em;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-family: 'Manrope', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   FOOTER — RESPONSIVE
   ============================================================ */
@media (min-width: 768px) {
    .footer-container {
        padding: 0 2.5rem;
    }
}

/* Tablet — 2 columns */
@media (max-width: 1023px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
        padding: 4rem 0 3.5rem;
    }
}

/* Mobile — single column */
@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding: 1.35rem 0 1.75rem;
    }
}


/* ============================================================
   NAVBAR — right group + CTA button
   ============================================================ */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* CTA button — near-black on scrolled, outlined on transparent */
.nav-cta {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.55rem 1.3rem;
    background: var(--near-black);
    color: #ffffff;
    border: 1px solid var(--near-black);
    transition: background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: #1c2432;
    border-color: #1c2432;
}

/* Transparent navbar state (over hero) */
.navbar:not(.scrolled) .nav-cta {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.navbar:not(.scrolled) .nav-cta:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.65);
}

/* Hide on mobile — lives in mobile dropdown instead */
@media (max-width: 768px) {
    .nav-cta {
        display: none;
    }
}

/* Mobile dropdown CTA button — dark state */
.mobile-link--cta {
    display: block;
    margin-top: 1.1rem;
    padding: 0.85rem 1.25rem !important;
    background: #ffffff;
    color: var(--near-black) !important;
    border: none;
    border-bottom: none !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    border-radius: 2px;
    transition: background 0.15s ease, color 0.15s ease;
}

.mobile-link--cta:hover {
    background: rgba(255, 255, 255, 0.88) !important;
    color: var(--near-black) !important;
}

/* CTA button — scrolled / pearl-white state */
.navbar.scrolled .mobile-link--cta {
    background: var(--near-black);
    color: var(--pearl-white) !important;
    border: none;
}

.navbar.scrolled .mobile-link--cta:hover {
    background: rgba(3, 7, 18, 0.82) !important;
    color: var(--pearl-white) !important;
}


/* ============================================================
   CHI SIAMO PREVIEW — homepage section
   ============================================================ */
.about-preview {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.about-preview-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* --- Text side --- */
.about-preview-text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.about-preview-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-preview-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

.about-preview-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.about-preview-desc {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.97rem;
    line-height: 1.82;
    color: var(--mid-grey);
    max-width: 36rem;
}

.about-preview-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.65rem 1.75rem;
    border: 1px solid var(--near-black);
    color: var(--near-black);
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.about-preview-btn:hover {
    background: var(--near-black);
    color: #ffffff;
}

/* --- Image side --- */
.about-preview-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    transition-delay: 0.15s;
}

.about-preview-img-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.about-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- Responsive --- */
@media (min-width: 768px) {
    .about-preview {
        padding: 7rem 0 8rem;
    }
    .about-preview-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 1023px) {
    .about-preview-grid {
        gap: 3.5rem;
    }
}

@media (max-width: 767px) {
    .about-preview {
        padding: 5rem 0;
    }
    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    /* Image above text on mobile */
    .about-preview-img-wrap {
        order: -1;
        transition-delay: 0s;
    }
}


/* ============================================================
   PAGE HERO — inner pages
   ============================================================ */
.page-hero {
    background: var(--near-black);
    padding: 9rem 0 5.5rem;
}

.page-hero-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.page-hero-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    margin-bottom: 1rem;
}

.page-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.page-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.48);
    max-width: 36rem;
}

@media (min-width: 768px) {
    .page-hero-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 8rem 0 4rem;
    }
}


/* ============================================================
   SHARED — section heading utilities (used across inner pages)
   ============================================================ */
.section-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.85rem;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.1;
    margin-bottom: 3.5rem;
}


/* ============================================================
   ABOUT PAGE — sections
   ============================================================ */
.about-intro {
    background: var(--pearl-white);
    padding: 6rem 0 5.5rem;
}

.about-intro-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-intro-inner {
    max-width: 740px;
}

.about-intro-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 1.75rem;
}

.about-intro-body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--mid-grey);
}

.about-intro-body + .about-intro-body {
    margin-top: 1.1rem;
}

/* --- Values section (reuses approach-grid) --- */
.about-values {
    background: var(--pearl-white);
    padding: 5.5rem 0 6rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.about-values-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-values-header {
    margin-bottom: 4rem;
}

/* --- Craftsmanship / experience 2-col --- */
.about-craft {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.about-craft-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-craft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-craft-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

.about-craft-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-craft-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--mid-grey);
}

.about-craft-img-wrap {
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

.about-craft-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Territory section --- */
.about-territory {
    background: var(--pearl-white);
    padding: 5.5rem 0;
    border-top: 1px solid rgba(209, 213, 219, 0.45);
}

.about-territory-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-territory-inner {
    max-width: 700px;
}

.about-territory-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.02em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.about-territory-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    line-height: 1.85;
    color: var(--mid-grey);
}

/* --- Territory stats row --- */
.about-territory-stats {
    display: flex;
    gap: 3.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.territory-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.territory-stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 2.75rem);
    letter-spacing: -0.03em;
    color: var(--near-black);
    line-height: 1;
}

.territory-stat-label {
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: var(--mid-grey);
    letter-spacing: 0.03em;
}


/* --- Closing CTA section (dark) --- */
.about-cta-section {
    background: var(--near-black);
    padding: 7rem 0;
    text-align: center;
}

.about-cta-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.about-cta-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    margin-bottom: 1rem;
}

.about-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3rem);
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.about-cta-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 2.5rem;
}

.about-cta-btn {
    display: inline-block;
    padding: 0.85rem 2.75rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.about-cta-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

/* About page responsive */
@media (min-width: 768px) {
    .about-intro-container,
    .about-values-container,
    .about-craft-container,
    .about-territory-container,
    .about-cta-container {
        padding: 0 2.5rem;
    }
    .about-intro {
        padding: 7rem 0 6rem;
    }
}

@media (max-width: 767px) {
    .about-craft-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}


/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-section {
    background: var(--pearl-white);
    padding: 6rem 0 7rem;
}

.blog-section-container,
.blog-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-card-category {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.5rem;
}

.blog-card-img-link {
    display: block;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1rem;
}

.blog-card-read {
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    color: var(--mid-grey);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.blog-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:nth-child(1) { transition-delay: 0s;    }
.blog-card:nth-child(2) { transition-delay: 0.12s; }
.blog-card:nth-child(3) { transition-delay: 0.24s; }

.blog-card-img-wrap {
    overflow: hidden;
    height: 220px;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.03);
}

.blog-card-body {
    padding: 1.6rem;
    border-top: 1px solid #E5E7EB;
}

.blog-card-date {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.6rem;
}

.blog-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.blog-card-excerpt {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.72;
    color: var(--mid-grey);
    margin-bottom: 1.35rem;
}

.blog-card-link {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--near-black);
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 7, 18, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.blog-card-link:hover {
    color: var(--mid-grey);
    border-color: var(--mid-grey);
}

/* Blog responsive */
@media (min-width: 768px) {
    .blog-section {
        padding: 7rem 0 8rem;
    }
    .blog-section-container,
    .blog-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 1023px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   CHI SIAMO — REDESIGN (cs-* prefix)
   ============================================================ */

/* Shared utility */
.cs-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}


/* 1. HERO */
.cs-hero {
    background: var(--pearl-white);
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 10rem 1.5rem 5rem;
    text-align: center;
}

.cs-hero-inner {
    position: relative;
    z-index: 2;
}

.cs-hero-bg-word {
    position: absolute;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(7rem, 20vw, 18rem);
    letter-spacing: -0.05em;
    color: var(--near-black);
    opacity: 0.035;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    line-height: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cs-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(4rem, 11vw, 9.5rem);
    letter-spacing: -0.04em;
    color: var(--near-black);
    line-height: 0.92;
    margin: 0.5rem 0 1.5rem;
}

.cs-hero-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: var(--mid-grey);
    letter-spacing: 0.02em;
    margin: 0;
}

.cs-hero-img {
    position: absolute;
    overflow: hidden;
    z-index: 3;
    box-shadow: 0 8px 32px rgba(3,7,18,0.10);
}

.cs-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-hero-img--a {
    width: 170px;
    height: 215px;
    top: 18%;
    left: 7%;
    transform: rotate(-3.5deg);
}

.cs-hero-img--b {
    width: 155px;
    height: 195px;
    top: 22%;
    right: 8%;
    transform: rotate(2.5deg);
}

.cs-hero-img--c {
    width: 135px;
    height: 170px;
    bottom: 18%;
    left: 16%;
    transform: rotate(1deg);
}

@media (max-width: 900px) {
    .cs-hero-img--a { width: 120px; height: 150px; top: 12%; left: 3%; }
    .cs-hero-img--b { width: 110px; height: 140px; top: 16%; right: 3%; }
    .cs-hero-img--c { display: none; }
}

@media (max-width: 600px) {
    .cs-hero { min-height: 55vh; }
    .cs-hero-img--a,
    .cs-hero-img--b { display: none; }
}


/* 2. STATEMENT */
.cs-statement {
    background: var(--pearl-white);
    padding: 7rem 1.5rem 6rem;
    text-align: center;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.cs-statement-inner {
    max-width: 880px;
    margin: 0 auto;
}

.cs-statement-rule {
    width: 1px;
    height: 48px;
    background: var(--light-grey);
    margin: 0 auto 3rem;
}

.cs-statement-quote {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.9rem, 4.5vw, 3.6rem);
    letter-spacing: -0.03em;
    color: var(--near-black);
    line-height: 1.1;
    margin: 0 0 1.75rem;
    font-style: normal;
}

.cs-statement-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.78;
    color: var(--mid-grey);
    max-width: 520px;
    margin: 0 auto;
}


/* 3. SEO DESCRIPTION */
.cs-desc {
    background: var(--pearl-white);
    padding: 6rem 1.5rem;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.cs-desc-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.cs-desc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.cs-desc-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin: 0;
}

.cs-desc-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    line-height: 1.88;
    color: var(--mid-grey);
    margin: 0 0 1.1rem;
}

.cs-desc-body:last-child { margin-bottom: 0; }

.cs-desc-body strong {
    color: var(--near-black);
    font-weight: 500;
}

@media (max-width: 768px) {
    .cs-desc-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cs-desc-inner { padding: 0 2.5rem; }
    .cs-desc { padding: 7rem 1.5rem; }
}


/* 4. IMAGE + TEXT SPLIT */
.cs-split {
    background: var(--pearl-white);
    padding: 6rem 1.5rem 7rem;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.cs-split-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.cs-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 6rem;
    align-items: center;
}

.cs-split-img-wrap {
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.cs-split-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cs-split-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.65rem, 3.2vw, 2.4rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.cs-split-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    line-height: 1.88;
    color: var(--mid-grey);
    margin: 0 0 1.1rem;
}

.cs-split-body strong {
    color: var(--near-black);
    font-weight: 500;
}

.cs-split-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(209,213,219,0.6);
    flex-wrap: wrap;
}

.cs-stat-value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    letter-spacing: -0.03em;
    color: var(--near-black);
    line-height: 1;
}

.cs-stat-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    color: var(--mid-grey);
    margin-top: 0.3rem;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .cs-split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cs-split-inner { padding: 0 2.5rem; }
}


/* 5. PROCESS PATH */
.cs-process {
    background: var(--pearl-white);
    padding: 7rem 1.5rem 8rem;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.cs-process-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.cs-process-header {
    max-width: 500px;
    margin-bottom: 5rem;
}

.cs-process-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.15;
    margin: 0;
}

.cs-process-grid {
    display: grid;
    grid-template-columns: 1fr 44px 1fr;
    grid-template-rows: repeat(4, 1fr);
    min-height: 820px;
    column-gap: 3.5rem;
}

.cs-path-col {
    grid-column: 2;
    grid-row: 1 / 5;
    position: relative;
}

.cs-path-col svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cs-step-cell {
    display: flex;
    align-items: center;
}

.cs-step-cell--left {
    grid-column: 1;
    justify-content: flex-end;
    text-align: right;
}

.cs-step-cell--right {
    grid-column: 3;
    justify-content: flex-start;
}

.cs-step-cell[data-step="1"] { grid-row: 1; }
.cs-step-cell[data-step="2"] { grid-row: 2; }
.cs-step-cell[data-step="3"] { grid-row: 3; }
.cs-step-cell[data-step="4"] { grid-row: 4; }

.cs-step-card {
    max-width: 280px;
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

.cs-step-card.active {
    opacity: 1;
}

.cs-step-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--mid-grey);
    margin-bottom: 0.4rem;
}

.cs-step-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

.cs-step-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--mid-grey);
}

@media (max-width: 767px) {
    .cs-process-grid {
        display: block;
        min-height: 0;
    }

    .cs-path-col { display: none; }

    .cs-step-cell {
        display: flex;
        align-items: flex-start;
        padding: 1.75rem 0 1.75rem 1.5rem;
        border-left: 2px solid var(--light-grey);
        position: relative;
        text-align: left;
        justify-content: flex-start;
    }

    .cs-step-cell::before {
        content: '';
        position: absolute;
        left: -5px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--near-black);
    }

    .cs-step-cell--left,
    .cs-step-cell--right {
        text-align: left;
        justify-content: flex-start;
    }

    .cs-step-card {
        opacity: 1;
        max-width: none;
    }
}

@media (min-width: 768px) {
    .cs-process-inner { padding: 0 2.5rem; }
}


/* 6. VALUES */
.cs-values {
    background: var(--pearl-white);
    padding: 7rem 1.5rem;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.cs-values-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.cs-values-header {
    margin-bottom: 4.5rem;
}

.cs-values-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.75rem, 3.5vw, 2.6rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.15;
    margin: 0;
}

.cs-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.cs-value-item {
    padding: 2.5rem 2.5rem 2.5rem 0;
    border-right: 1px solid rgba(209,213,219,0.6);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cs-value-item:last-child {
    border-right: none;
    padding-right: 0;
}

.cs-value-item:not(:first-child) {
    padding-left: 2.5rem;
}

.cs-value-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cs-value-item:nth-child(2) { transition-delay: 0.12s; }
.cs-value-item:nth-child(3) { transition-delay: 0.24s; }

.cs-value-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    color: var(--mid-grey);
    margin-bottom: 1.25rem;
}

.cs-value-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.35rem;
    letter-spacing: -0.015em;
    color: var(--near-black);
    margin-bottom: 0.75rem;
}

.cs-value-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.78;
    color: var(--mid-grey);
}

@media (max-width: 767px) {
    .cs-values-grid {
        grid-template-columns: 1fr;
    }
    .cs-value-item,
    .cs-value-item:not(:first-child) {
        padding: 1.75rem 0;
        padding-left: 0;
        border-right: none;
        border-bottom: 1px solid rgba(209,213,219,0.6);
    }
    .cs-value-item:last-child { border-bottom: none; }
}

@media (min-width: 768px) {
    .cs-values-inner { padding: 0 2.5rem; }
}


/* 7. CTA */
.cs-cta {
    background: var(--pearl-white);
    padding: 8rem 1.5rem;
    border-top: 1px solid rgba(209,213,219,0.55);
    text-align: center;
}

.cs-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.cs-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    letter-spacing: -0.03em;
    color: var(--near-black);
    line-height: 1.1;
    margin: 0.75rem 0 1.25rem;
}

.cs-cta-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 0.96rem;
    color: var(--mid-grey);
    margin: 0 0 2.75rem;
}

.cs-cta-btn {
    display: inline-block;
    padding: 0.9rem 2.75rem;
    background: var(--near-black);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--near-black);
    transition: background-color 0.2s ease;
}

.cs-cta-btn:hover {
    background: #1c2432;
    border-color: #1c2432;
}


/* ============================================================
   PRODOTTI PAGE — REDESIGN (p-* prefix)
   ============================================================ */

/* ── 1. HERO ── */
.p-hero {
    background: var(--pearl-white);
    padding: 9rem 1.5rem 5rem;
    border-bottom: 1px solid rgba(209,213,219,0.5);
}

.p-hero-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.p-hero-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1.25rem;
}

.p-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 7vw, 6rem);
    letter-spacing: -0.04em;
    color: var(--near-black);
    line-height: 0.95;
    margin: 0 0 1.75rem;
    max-width: 14ch;
}

.p-hero-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--mid-grey);
    max-width: 46ch;
}

@media (min-width: 768px) {
    .p-hero-inner { padding: 0 2.5rem; }
    .p-hero { padding: 10rem 1.5rem 6rem; }
}


/* ── 2. INTRO ── */
.p-intro {
    background: var(--pearl-white);
    padding: 6rem 1.5rem;
    border-bottom: 1px solid rgba(209,213,219,0.5);
}

.p-intro-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.p-intro-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1.1rem;
}

.p-intro-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin: 0;
}

.p-intro-body {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--mid-grey);
    margin: 0 0 1rem;
}

.p-intro-body:last-child { margin-bottom: 0; }

.p-intro-body strong {
    color: var(--near-black);
    font-weight: 500;
}

@media (max-width: 768px) {
    .p-intro-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .p-intro-inner { padding: 0 2.5rem; }
}


/* ── 3. STACKED CARDS ── */
.p-stack {
    background: var(--pearl-white);
    padding: 5rem 1.5rem 7rem;
}

.p-stack-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.p-stack-header {
    margin-bottom: 4rem;
}

.p-stack-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.75rem;
}

.p-stack-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.7rem, 3.5vw, 2.5rem);
    color: var(--near-black);
    line-height: 1.15;
    margin: 0;
}

/* Each card */
.p-card-scene {
    margin-bottom: 3rem;
}

/* The card itself */
.p-card {
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    will-change: transform, opacity;
    transform-origin: top center;
}

.p-card-inner {
    display: grid;
    grid-template-columns: 55fr 45fr;
    min-height: 580px;
}

/* Reversed layout for card 2 */
.p-card--rev .p-card-inner {
    grid-template-columns: 45fr 55fr;
    direction: rtl;
}

.p-card--rev .p-card-text-col {
    direction: ltr;
}

.p-card--rev .p-card-img-col {
    direction: ltr;
}

/* Image column */
.p-card-img-col {
    overflow: hidden;
    position: relative;
}

.p-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text column */
.p-card-text-col {
    padding: 3.25rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.p-card-cat {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1.1rem;
    position: relative;
    z-index: 1;
}

.p-card-num {
    position: absolute;
    bottom: -0.2em;
    right: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(5rem, 10vw, 9rem);
    letter-spacing: -0.06em;
    color: rgba(3,7,18,0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.p-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--near-black);
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.p-card-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.93rem;
    line-height: 1.85;
    color: var(--mid-grey);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.p-card-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.p-card-bullets li {
    font-family: 'Manrope', sans-serif;
    font-size: 0.86rem;
    color: #374151;
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    line-height: 1.5;
}

.p-card-bullets li::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--mid-grey);
    flex-shrink: 0;
    margin-top: 0.45rem;
}

.p-card-cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--near-black);
    text-decoration: none;
    border-bottom: 1px solid var(--near-black);
    padding-bottom: 2px;
    align-self: flex-start;
    transition: opacity 0.2s ease;
}

.p-card-cta:hover { opacity: 0.55; }

/* Mobile cards */
@media (max-width: 768px) {
    .p-card-inner,
    .p-card--rev .p-card-inner {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        direction: ltr;
        min-height: 0;
    }

    .p-card-img-col {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .p-card-text-col {
        padding: 2rem 1.75rem 2.25rem;
    }

    .p-card-scene {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .p-stack-inner { padding: 0 2.5rem; }
}


/* ── 4. TECHNICAL BENEFITS ── */
.p-benefits {
    background: var(--pearl-white);
    padding: 7rem 1.5rem;
    border-top: 1px solid rgba(209,213,219,0.5);
}

.p-benefits-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.p-benefits-header {
    margin-bottom: 4rem;
}

.p-benefits-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.85rem;
}

.p-benefits-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin: 0;
}

.p-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.p-benefit {
    padding: 2rem 2rem 2rem 0;
    border-right: 1px solid rgba(209,213,219,0.6);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.p-benefit:last-child {
    border-right: none;
    padding-right: 0;
}

.p-benefit:not(:first-child) {
    padding-left: 2rem;
}

.p-benefit.visible {
    opacity: 1;
    transform: translateY(0);
}

.p-benefit:nth-child(2) { transition-delay: 0.1s; }
.p-benefit:nth-child(3) { transition-delay: 0.2s; }
.p-benefit:nth-child(4) { transition-delay: 0.3s; }

.p-benefit-icon {
    margin-bottom: 1.1rem;
    color: var(--near-black);
    opacity: 0.6;
}

.p-benefit-name {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    margin-bottom: 0.5rem;
}

.p-benefit-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    line-height: 1.72;
    color: var(--mid-grey);
}

@media (max-width: 900px) {
    .p-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-benefit:nth-child(2) { border-right: none; padding-right: 0; }
    .p-benefit:nth-child(3) { padding-left: 0; border-right: 1px solid rgba(209,213,219,0.6); padding-right: 2rem; }
    .p-benefit:nth-child(4) { border-right: none; }
    .p-benefit:nth-child(3),
    .p-benefit:nth-child(4) { border-top: 1px solid rgba(209,213,219,0.6); padding-top: 2rem; margin-top: 2rem; }
}

@media (max-width: 600px) {
    .p-benefits-grid {
        grid-template-columns: 1fr;
    }
    .p-benefit,
    .p-benefit:not(:first-child) {
        padding: 1.5rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(209,213,219,0.6);
    }
    .p-benefit:last-child { border-bottom: none; }
    .p-benefit:nth-child(3),
    .p-benefit:nth-child(4) { border-top: none; margin-top: 0; }
}

@media (min-width: 768px) {
    .p-benefits-inner { padding: 0 2.5rem; }
}


/* ── 5. MATERIAL COMPARISON ── */
.p-compare {
    background: var(--pearl-white);
    padding: 7rem 1.5rem 8rem;
    border-top: 1px solid rgba(209,213,219,0.5);
}

.p-compare-inner {
    max-width: 80rem;
    margin: 0 auto;
}

.p-compare-header {
    margin-bottom: 4rem;
}

.p-compare-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.85rem;
}

.p-compare-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1.2;
    margin: 0;
}

.p-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.p-compare-col {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.p-compare-col.visible {
    opacity: 1;
    transform: translateY(0);
}

.p-compare-col:nth-child(2) { transition-delay: 0.15s; }

.p-compare-col-header {
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--near-black);
}

.p-compare-material {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    letter-spacing: -0.025em;
    color: var(--near-black);
    line-height: 1;
    margin: 0;
}

.p-compare-tag {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-top: 0.4rem;
}

.p-compare-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.p-compare-list li {
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--mid-grey);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.p-compare-list li::before {
    content: '';
    display: block;
    width: 14px;
    height: 1px;
    background: var(--mid-grey);
    flex-shrink: 0;
    margin-top: 0.65rem;
}

.p-compare-when {
    padding: 1.25rem 1.5rem;
    background: rgba(209,213,219,0.2);
    border-left: 2px solid var(--near-black);
}

.p-compare-when-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--near-black);
    margin-bottom: 0.4rem;
}

.p-compare-when-text {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--mid-grey);
    margin: 0;
}

@media (max-width: 768px) {
    .p-compare-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .p-compare-col:nth-child(2) { transition-delay: 0; }
}

@media (min-width: 768px) {
    .p-compare-inner { padding: 0 2.5rem; }
}


/* ── 6. CTA ── */
.p-cta {
    background: var(--pearl-white);
    padding: 8rem 1.5rem;
    border-top: 1px solid rgba(209,213,219,0.5);
    text-align: center;
}

.p-cta-inner {
    max-width: 560px;
    margin: 0 auto;
}

.p-cta-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1rem;
}

.p-cta-rule {
    width: 1px;
    height: 44px;
    background: var(--light-grey);
    margin: 0 auto 2.5rem;
}

.p-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.03em;
    color: var(--near-black);
    line-height: 1.1;
    margin: 0 0 1.1rem;
}

.p-cta-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    color: var(--mid-grey);
    line-height: 1.75;
    margin: 0 0 2.75rem;
}

.p-cta-btn {
    display: inline-block;
    padding: 0.9rem 2.75rem;
    background: var(--near-black);
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--near-black);
    transition: background-color 0.2s ease;
}

.p-cta-btn:hover {
    background: #1c2432;
    border-color: #1c2432;
}


/* ============================================================
   BLOG INDEX (b-* prefix)
   ============================================================ */

/* ----- Hero ----- */
.b-hero {
    background: var(--near-black);
    padding: 9rem 0 5rem;
}

.b-hero-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.b-hero-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 1rem;
}

.b-hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.b-hero-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.48);
    max-width: 36rem;
    margin: 0;
}

@media (min-width: 768px) {
    .b-hero-container { padding: 0 2.5rem; }
}

@media (max-width: 767px) {
    .b-hero { padding: 8rem 0 4rem; }
}


/* ----- Grid section ----- */
.b-grid-section {
    background: var(--pearl-white);
    padding: 5.5rem 0 7.5rem;
}

.b-grid-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.b-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

/* ----- Blog card ----- */
.b-card {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(209,213,219,0.55);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s ease;
}

.b-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.b-card:nth-child(2) { transition-delay: 0.07s; }
.b-card:nth-child(3) { transition-delay: 0.14s; }
.b-card:nth-child(4) { transition-delay: 0.04s; }
.b-card:nth-child(5) { transition-delay: 0.11s; }
.b-card:nth-child(6) { transition-delay: 0.18s; }
.b-card:nth-child(7) { transition-delay: 0.06s; }
.b-card:nth-child(8) { transition-delay: 0.13s; }

.b-card:hover {
    border-color: rgba(3,7,18,0.18);
}

.b-card-img-link {
    display: block;
    text-decoration: none;
}

.b-card-img-wrap {
    overflow: hidden;
}

.b-card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.b-card:hover .b-card-img {
    transform: scale(1.03);
}

.b-card-body {
    padding: 1.2rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.b-card-cat {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.67rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 0.45rem;
}

.b-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--near-black);
    line-height: 1.35;
    margin-bottom: 0.55rem;
}

.b-card-title-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.b-card-title-link:hover { opacity: 0.6; }

.b-card-excerpt {
    font-family: 'Manrope', sans-serif;
    font-size: 0.845rem;
    line-height: 1.7;
    color: var(--mid-grey);
    margin-bottom: 1.1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.b-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(209,213,219,0.5);
}

.b-card-date {
    font-family: 'Manrope', sans-serif;
    font-size: 0.73rem;
    color: var(--mid-grey);
}

.b-card-more {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.73rem;
    letter-spacing: 0.04em;
    color: var(--near-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.b-card-more:hover { opacity: 0.45; }


/* ----- Closing CTA ----- */
.b-cta {
    background: var(--pearl-white);
    padding: 0 0 6rem;
}

.b-cta-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.b-cta-inner {
    background: var(--near-black);
    padding: 4rem 3.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem 4rem;
    align-items: center;
}

.b-cta-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
    margin-bottom: 0.75rem;
}

.b-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.b-cta-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    max-width: 42ch;
    margin: 0;
}

.b-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-items: flex-end;
    flex-shrink: 0;
}

.b-cta-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 0.85rem 1.75rem;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background: #ffffff;
    color: var(--near-black);
    border: 1px solid #ffffff;
}

.b-cta-btn:hover {
    background: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.88);
}

.b-cta-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.65);
    border-color: rgba(255,255,255,0.22);
}

.b-cta-btn--ghost:hover {
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    border-color: rgba(255,255,255,0.5);
}


/* ----- Grid responsive ----- */
@media (max-width: 1024px) {
    .b-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 600px) {
    .b-grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .b-cta-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.75rem 1.75rem;
    }
    .b-cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}

@media (min-width: 768px) {
    .b-grid-container { padding: 0 2.5rem; }
    .b-hero-container { padding: 0 2.5rem; }
    .b-cta-container  { padding: 0 2.5rem; }
}

@media (max-width: 768px) {
    .b-cta-inner {
        grid-template-columns: 1fr;
        gap: 2.25rem;
        padding: 3rem 2rem;
    }
    .b-cta-actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
}


/* ============================================================
   ARTICLE PAGES (art-* prefix)
   ============================================================ */

.art-breadcrumb {
    background: var(--pearl-white);
    padding: 1rem 1.5rem 0;
    max-width: 80rem;
    margin: 0 auto;
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: var(--mid-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 72px;
}

.art-breadcrumb a {
    color: var(--mid-grey);
    text-decoration: none;
    transition: color 0.2s ease;
}

.art-breadcrumb a:hover { color: var(--near-black); }

.art-breadcrumb-sep {
    opacity: 0.4;
}

@media (min-width: 768px) {
    .art-breadcrumb { padding: 1.25rem 2.5rem 0; }
}

/* Article hero */
.art-hero {
    background: var(--pearl-white);
    padding: 3rem 1.5rem 3.5rem;
}

.art-hero-inner {
    max-width: 740px;
    margin: 0 auto;
}

.art-cat {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1.1rem;
}

.art-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    letter-spacing: -0.035em;
    color: var(--near-black);
    line-height: 1.08;
    margin: 0 0 1.5rem;
}

.art-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.art-date,
.art-read {
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: var(--mid-grey);
}

.art-date::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background: var(--light-grey);
    margin-left: 1.5rem;
    vertical-align: middle;
}

@media (min-width: 768px) {
    .art-hero { padding: 3.5rem 2.5rem 4rem; }
    .art-hero-inner { padding: 0; }
}

/* Hero image */
.art-hero-img-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.art-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (min-width: 768px) {
    .art-hero-img-wrap { padding: 0 2.5rem; }
}

/* Article body */
.art-body {
    max-width: 740px;
    margin: 0 auto;
    padding: 4rem 1.5rem 6rem;
}

.art-body .art-intro {
    font-family: 'Manrope', sans-serif;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #374151;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.art-body p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    line-height: 1.88;
    color: #4B5563;
    margin-bottom: 1.4rem;
}

.art-body h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    letter-spacing: -0.02em;
    color: var(--near-black);
    line-height: 1.2;
    margin: 3rem 0 1.1rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(209,213,219,0.55);
}

.art-body h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    letter-spacing: -0.015em;
    color: var(--near-black);
    line-height: 1.25;
    margin: 2rem 0 0.85rem;
}

.art-body ul,
.art-body ol {
    font-family: 'Manrope', sans-serif;
    font-size: 0.97rem;
    line-height: 1.8;
    color: #4B5563;
    margin: 0 0 1.4rem;
    padding-left: 0;
    list-style: none;
}

.art-body ul li,
.art-body ol li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.6rem;
}

.art-body ul li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--mid-grey);
}

.art-body ol {
    counter-reset: art-counter;
}

.art-body ol li {
    counter-increment: art-counter;
}

.art-body ol li::before {
    content: counter(art-counter) '.';
    position: absolute;
    left: 0;
    color: var(--mid-grey);
    font-weight: 500;
}

.art-body strong {
    color: var(--near-black);
    font-weight: 500;
}

.art-body .art-callout {
    background: rgba(209,213,219,0.18);
    border-left: 2px solid var(--near-black);
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    font-family: 'Manrope', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: #374151;
}

.art-body .art-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
}

.art-body .art-table th {
    text-align: left;
    font-weight: 500;
    color: var(--near-black);
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--near-black);
    letter-spacing: 0.04em;
    font-size: 0.78rem;
    text-transform: uppercase;
}

.art-body .art-table td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(209,213,219,0.5);
    color: #4B5563;
}

.art-body .art-table tr:last-child td {
    border-bottom: none;
}

/* Internal CTA box */
.art-cta-box {
    background: var(--near-black);
    padding: 2.5rem 2.75rem;
    margin: 3.5rem 0 0;
}

.art-cta-eyebrow {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.68rem;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.6rem;
}

.art-cta-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.art-cta-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.75rem;
    max-width: 52ch;
}

.art-cta-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.art-cta-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    padding: 0.8rem 1.6rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background: #ffffff;
    color: var(--near-black);
    border: 1px solid #ffffff;
    white-space: nowrap;
}

.art-cta-btn:hover {
    background: rgba(255,255,255,0.88);
    border-color: rgba(255,255,255,0.88);
}

.art-cta-btn--ghost {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border-color: rgba(255,255,255,0.2);
}

.art-cta-btn--ghost:hover {
    background: rgba(255,255,255,0.07);
    color: #ffffff;
    border-color: rgba(255,255,255,0.45);
}

@media (max-width: 480px) {
    .art-cta-box { padding: 2rem 1.75rem; }
    .art-cta-actions { flex-direction: column; align-items: flex-start; }
    .art-cta-btn { width: 100%; text-align: center; }
}

/* Back link */
.art-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    color: var(--mid-grey);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.2s ease;
}

.art-back:hover { color: var(--near-black); }

@media (min-width: 768px) {
    .art-body { padding: 4.5rem 2.5rem 7rem; }
}


/* ============================================================
   LEGAL PAGES (legal-* prefix) — Privacy & Cookie Policy
   ============================================================ */

.legal-body {
    background: var(--pearl-white);
    padding: 5rem 1.5rem 7rem;
}

.legal-container {
    max-width: 72ch;
    margin: 0 auto;
}

.legal-updated {
    font-family: 'Manrope', sans-serif;
    font-size: 0.8rem;
    color: var(--mid-grey);
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(209,213,219,0.6);
}

.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(209,213,219,0.4);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    letter-spacing: -0.015em;
    color: var(--near-black);
    line-height: 1.2;
    margin-bottom: 1.1rem;
}

.legal-h3 {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.92rem;
    letter-spacing: 0.01em;
    color: var(--near-black);
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
}

.legal-body p,
.legal-section > p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #374151;
    margin-bottom: 1rem;
}

.legal-section > p:last-child { margin-bottom: 0; }

.legal-list {
    margin: 0.75rem 0 1rem 0;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #374151;
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.4rem;
}

.legal-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--light-grey);
    font-size: 0.85rem;
    line-height: 1.9;
}

.legal-info-block {
    background: rgba(209,213,219,0.15);
    border-left: 2px solid rgba(3,7,18,0.12);
    padding: 1.25rem 1.5rem;
    margin: 1rem 0;
}

.legal-info-block p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.93rem;
    line-height: 1.75;
    color: var(--near-black);
    margin-bottom: 0.75rem;
}

.legal-info-block p:last-child { margin-bottom: 0; }

.legal-link {
    color: var(--near-black);
    text-decoration: underline;
    text-decoration-color: rgba(3,7,18,0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.legal-link:hover {
    text-decoration-color: var(--near-black);
}

@media (min-width: 768px) {
    .legal-body { padding: 5.5rem 2.5rem 8rem; }
}


/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--near-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cookie-banner.cookie-banner--visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 200px;
}

.cookie-banner-text p {
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

.cookie-banner-text a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.cookie-banner-text a:hover { color: #ffffff; }

.cookie-banner-actions {
    display: flex;
    gap: 0.65rem;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    padding: 0.65rem 1.35rem;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    line-height: 1;
}

.cookie-btn--accept {
    background: #ffffff;
    color: var(--near-black);
}

.cookie-btn--accept:hover {
    background: rgba(255,255,255,0.88);
}

.cookie-btn--reject {
    background: transparent;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.18);
}

.cookie-btn--reject:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.45);
}

@media (max-width: 600px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.1rem;
    }
    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .cookie-banner { padding: 1.25rem 2.5rem; }
}

/* ============================================================
   MICRO ANIMATIONS
   Small interaction and scroll polish, keeping the existing design.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
    .nav-link,
    .footer-link,
    .footer-legal-link,
    .b-card-more,
    .art-back {
        position: relative;
    }

    .nav-link::after,
    .footer-link::after,
    .footer-legal-link::after,
    .b-card-more::after,
    .art-back::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -0.22rem;
        height: 1px;
        background: currentColor;
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-link:hover::after,
    .nav-link.active::after,
    .footer-link:hover::after,
    .footer-legal-link:hover::after,
    .b-card-more:hover::after,
    .art-back:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    .nav-cta,
    .btn-outline,
    .product-card-btn,
    .about-preview-btn,
    .p-card-cta,
    .p-cta-btn,
    .cs-cta-btn,
    .b-cta-btn,
    .art-cta-btn,
    .form-submit,
    .cookie-btn {
        position: relative;
        overflow: hidden;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                    background-color 0.2s ease,
                    color 0.2s ease,
                    border-color 0.2s ease;
    }

    .nav-cta::before,
    .btn-outline::before,
    .product-card-btn::before,
    .about-preview-btn::before,
    .p-card-cta::before,
    .p-cta-btn::before,
    .cs-cta-btn::before,
    .b-cta-btn::before,
    .art-cta-btn::before,
    .form-submit::before,
    .cookie-btn::before {
        content: '';
        position: absolute;
        top: -60%;
        bottom: -60%;
        left: -90%;
        width: 55%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.34), transparent);
        transform: skewX(-18deg);
        transition: left 0.62s cubic-bezier(0.16, 1, 0.3, 1);
        pointer-events: none;
    }

    .nav-cta:hover,
    .btn-outline:hover,
    .product-card-btn:hover,
    .about-preview-btn:hover,
    .p-card-cta:hover,
    .p-cta-btn:hover,
    .cs-cta-btn:hover,
    .b-cta-btn:hover,
    .art-cta-btn:hover,
    .form-submit:hover,
    .cookie-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(3, 7, 18, 0.12);
    }

    .nav-cta:hover::before,
    .btn-outline:hover::before,
    .product-card-btn:hover::before,
    .about-preview-btn:hover::before,
    .p-card-cta:hover::before,
    .p-cta-btn:hover::before,
    .cs-cta-btn:hover::before,
    .b-cta-btn:hover::before,
    .art-cta-btn:hover::before,
    .form-submit:hover::before,
    .cookie-btn:hover::before {
        left: 130%;
    }

    .b-card {
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.25s ease,
                    opacity 0.65s ease;
    }

    .b-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 44px rgba(3, 7, 18, 0.10);
        border-color: rgba(3, 7, 18, 0.16);
    }

    .product-card-img,
    .about-preview-img,
    .p-card-img,
    .b-card-img,
    .art-hero-img,
    .cs-split-img,
    .cs-hero-img img {
        transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.72s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .b-card:hover .b-card-img {
        transform: scale(1.035);
        filter: contrast(1.04) saturate(1.03);
    }

    .form-input {
        transition: border-color 0.22s ease,
                    box-shadow 0.22s ease,
                    background-color 0.22s ease,
                    transform 0.22s ease;
    }

    .form-input:focus {
        transform: translateY(-1px);
        box-shadow: 0 0 0 4px rgba(3, 7, 18, 0.06);
    }

    .step-dot.active,
    .cs-step-card.active {
        animation: microPulse 1.5s ease-out;
    }

    .stat-item.visible .stat-number {
        animation: microStatPop 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hero-content,
    .page-hero-container,
    .p-hero-inner,
    .b-hero-container,
    .cs-hero-inner,
    .art-hero-inner {
        animation: microHeroIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .micro-reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .micro-reveal.micro-visible {
        opacity: 1;
        transform: translateY(0);
    }

    @keyframes microHeroIn {
        from {
            opacity: 0;
            transform: translateY(18px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes microPulse {
        0% {
            box-shadow: 0 0 0 0 rgba(3, 7, 18, 0.18);
        }
        100% {
            box-shadow: 0 0 0 14px rgba(3, 7, 18, 0);
        }
    }

    @keyframes microStatPop {
        0% {
            transform: translateY(8px) scale(0.96);
        }
        100% {
            transform: translateY(0) scale(1);
        }
    }
}

/* ============================================================
   HOME PRODUCT CARD TUNING
   3:4 image frames and subtle card lift for product cards only.
   ============================================================ */
.products .product-card-img-wrap {
    height: auto;
}

.products .product-card-img {
    position: static;
    width: 100%;
    height: auto;
    object-fit: unset;
}

@media (prefers-reduced-motion: no-preference) {
    .products .product-card {
        transition: opacity 0.65s ease,
                    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                    box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1),
                    border-color 0.2s ease;
    }

    .products .product-card.visible:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 44px rgba(3, 7, 18, 0.12);
    }
}

/* Homepage Chi Siamo preview image */
.about-preview .about-preview-img-wrap {
    aspect-ratio: 1 / 1;
}

.about-preview .about-preview-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

/* ============================================================
   TERMOFIBRA EDITORIAL FEATURE
   Informational block only: no links, no CTA, no hover actions.
   ============================================================ */
.tech-feature {
    background: var(--pearl-white);
    padding: 5.5rem 0 6.5rem;
    overflow: hidden;
}

.tech-feature-container {
    max-width: 78rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.tech-feature-grid {
    display: grid;
    grid-template-columns: minmax(28rem, 0.85fr) minmax(24rem, 0.9fr);
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.tech-feature-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0 0 1rem;
    padding: 0;
    border: none;
    color: var(--mid-grey);
    font-family: 'Manrope', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.tech-feature-title {
    max-width: 21ch;
    margin: 0 0 1.1rem;
    color: var(--near-black);
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 3.35vw, 2.65rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.tech-feature-body {
    max-width: 32rem;
    margin: 0 0 0.85rem;
    color: var(--mid-grey);
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    line-height: 1.78;
}

.tech-feature-body:last-child {
    margin-bottom: 0;
}

.tech-feature-media {
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background: transparent;
    max-width: 33rem;
    width: 100%;
    justify-self: end;
}

.tech-feature-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
}

@media (min-width: 768px) {
    .tech-feature-container {
        padding: 0 2.5rem;
    }
}

@media (max-width: 900px) {
    .tech-feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tech-feature-title {
        max-width: 21ch;
    }

    .tech-feature-media {
        max-width: 34rem;
        width: 100%;
        margin: 0 auto;
    }
}

/* ============================================================
   REQUESTED: PRODUCT PAGE SIZE REFINEMENT
   ============================================================ */

.p-stack-inner {
    max-width: 68rem;
}

.p-card-scene {
    margin-bottom: 2rem;
}

.p-card {
    max-width: 66rem;
    margin-inline: auto;
}

.p-card-inner {
    grid-template-columns: 52fr 48fr;
    min-height: 430px;
}

.p-card--rev .p-card-inner {
    grid-template-columns: 48fr 52fr;
}

.p-card-text-col {
    padding: 2.1rem 2.35rem;
}

.p-card-title {
    font-size: clamp(1.35rem, 2vw, 1.72rem);
    line-height: 1.1;
}

.p-card-desc {
    font-size: 0.88rem;
    line-height: 1.68;
    margin-bottom: 1rem;
}

.p-card-bullets {
    margin-bottom: 1.35rem;
}

.p-card-bullets li {
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.p-card-num {
    font-size: clamp(5rem, 12vw, 8rem);
}

@media (max-width: 900px) {
    .p-card-inner,
    .p-card--rev .p-card-inner {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .p-card-inner,
    .p-card--rev .p-card-inner {
        grid-template-columns: 1fr;
        direction: ltr;
        min-height: 0;
    }

    .p-card-img-col {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .p-card-text-col {
        padding: 1.75rem 1.25rem 2rem;
    }

    .p-card-cat {
        font-size: 0.68rem;
        margin-bottom: 0.6rem;
    }

    .p-card-title {
        font-size: 1.35rem;
        margin-bottom: 0.65rem;
    }

    .p-card-desc {
        font-size: 0.86rem;
        line-height: 1.65;
        margin-bottom: 0.85rem;
    }

    .p-card-bullets {
        margin-bottom: 1rem;
        gap: 0.4rem;
    }

    .p-card-bullets li {
        font-size: 0.82rem;
    }

    .p-card-scene {
        margin-bottom: 1.25rem;
    }

    .p-stack {
        padding: 3rem 1rem 4rem;
    }
}


/* ============================================================
   RELATED ARTICLES (art-related-* prefix)
   ============================================================ */

.art-related {
    background: var(--pearl-white);
    padding: 3rem 1.5rem 4rem;
    border-top: 1px solid var(--light-grey, #e8e8e8);
}

.art-related-container {
    max-width: 760px;
    margin: 0 auto;
}

.art-related-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid-grey);
    margin-bottom: 1.5rem;
}

.art-related-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.art-related-link {
    display: block;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid var(--light-grey, #e8e8e8);
    border-radius: 8px;
    text-decoration: none;
    color: var(--near-black);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.art-related-link:hover {
    border-color: var(--accent, #2563eb);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

@media (max-width: 600px) {
    .art-related-list { grid-template-columns: 1fr; }
    .art-related { padding: 2.5rem 1.25rem 3rem; }
}
