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

:root {
    --color-dark: #1a1714;
    --color-charcoal: #2d2926;
    --color-stone: #7d756c;
    --color-sand: #b8a99a;
    --color-cream: #f4efe8;
    --color-white: #faf8f5;
    --color-accent: #c2693d;
    --color-accent-dark: #a5572f;

    --font-display: 'Bebas Neue', sans-serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-body: 'Sora', sans-serif;

    --nav-height: 80px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-text {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 5rem);
    color: var(--color-cream);
    letter-spacing: 0.3em;
    overflow: hidden;
}
.preloader-text span {
    display: inline-block;
    animation: preloaderSlide 0.5s ease forwards;
    opacity: 0;
    transform: translateY(100%);
}
@keyframes preloaderSlide {
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.nav.scrolled {
    background: rgba(26, 23, 20, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 40px rgba(0,0,0,0.15);
}
.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    color: var(--color-cream);
    position: relative;
    z-index: 1001;
}
.nav-logo a {
    color: var(--color-cream);
}
.nav-logo em {
    font-style: normal;
    color: var(--color-accent);
}
.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-cream);
    position: relative;
    padding-bottom: 2px;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.35s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream) !important;
    background: var(--color-accent);
    padding: 0.75rem 1.8rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.nav-cta:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 4px;
}
.nav-hamburger span {
    width: 28px;
    height: 2px;
    background: var(--color-cream);
    transition: transform 0.35s ease, opacity 0.35s ease;
    display: block;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile overlay */
.nav-mobile {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-mobile.open {
    opacity: 1;
    visibility: visible;
}
.nav-mobile a {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3.5rem);
    letter-spacing: 0.1em;
    color: var(--color-cream);
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease, color 0.3s ease;
}
.nav-mobile.open a {
    transform: translateY(0);
    opacity: 1;
}
.nav-mobile a:hover { color: var(--color-accent); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
    padding-bottom: clamp(4rem, 8vh, 8rem);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(26,23,20,0.3) 0%,
            rgba(26,23,20,0.15) 40%,
            rgba(26,23,20,0.6) 75%,
            rgba(26,23,20,0.92) 100%
        );
}
.hero-content {
    max-width: 900px;
}
.hero-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1.2rem;
    overflow: hidden;
}
.hero-label span {
    display: inline-block;
    transform: translateY(100%);
    animation: heroReveal 0.7s ease forwards 0.8s;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 9rem);
    line-height: 0.92;
    letter-spacing: 0.03em;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
}
.hero-title .line {
    display: block;
    overflow: hidden;
}
.hero-title .line span {
    display: inline-block;
    transform: translateY(110%);
    animation: heroReveal 0.8s ease forwards;
}
.hero-title .line:nth-child(1) span { animation-delay: 1s; }
.hero-title .line:nth-child(2) span { animation-delay: 1.15s; }
.hero-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.2vw, 1.6rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-sand);
    margin-bottom: 2.5rem;
    overflow: hidden;
}
.hero-subtitle span {
    display: inline-block;
    transform: translateY(100%);
    animation: heroReveal 0.7s ease forwards 1.35s;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    border: 1px solid rgba(244, 239, 232, 0.35);
    padding: 1rem 2.2rem;
    transition: background 0.4s ease, border-color 0.4s ease;
    opacity: 0;
    animation: heroFade 0.6s ease forwards 1.6s;
}
.hero-btn:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.hero-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.hero-btn:hover svg { transform: translateX(4px); }

.hero-scroll {
    position: absolute;
    right: clamp(1.5rem, 4vw, 4rem);
    bottom: clamp(4rem, 8vh, 8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: heroFade 0.6s ease forwards 2s;
}
.hero-scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-sand);
    writing-mode: vertical-rl;
}
.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-sand);
    position: relative;
    overflow: hidden;
}
.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent);
    animation: scrollLine 2s ease infinite;
}

@keyframes heroReveal {
    to { transform: translateY(0); }
}
@keyframes heroFade {
    to { opacity: 1; }
}
@keyframes scrollLine {
    0% { top: -100%; }
    50% { top: 100%; }
    50.01% { top: -100%; }
    100% { top: 100%; }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
    background: var(--color-dark);
    padding: 1.2rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(125,117,108,0.15);
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
    font-family: var(--font-display);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    letter-spacing: 0.35em;
    color: var(--color-stone);
    white-space: nowrap;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.marquee-item .dot {
    width: 6px;
    height: 6px;
    background: var(--color-accent);
    transform: rotate(45deg);
    flex-shrink: 0;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.section {
    padding: clamp(5rem, 10vh, 9rem) clamp(1.5rem, 4vw, 4rem);
}
.section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.section-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--color-accent);
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}
.section-title-light {
    color: var(--color-cream);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
    opacity: 1;
    transform: translate(0) scale(1);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* ============================================
   CHI SIAMO
   ============================================ */
.about {
    background: var(--color-white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 6vw, 6rem);
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}
.about-text p {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: var(--color-stone);
    margin-bottom: 1.5rem;
    max-width: 540px;
}
.about-text p strong {
    color: var(--color-dark);
    font-weight: 500;
}
.about-audience {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(125,117,108,0.2);
}
.about-audience h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-dark);
    margin-bottom: 1.2rem;
}
.about-audience-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.about-audience-list span {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    padding: 0.55rem 1.3rem;
    border: 1px solid rgba(125,117,108,0.25);
    color: var(--color-charcoal);
    transition: all 0.3s ease;
}
.about-audience-list span:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-cream);
}
.about-image {
    position: relative;
}
.about-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}
.about-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

/* ============================================
   STATS
   ============================================ */
.stats {
    background: var(--color-dark);
    padding: clamp(3.5rem, 6vh, 5rem) clamp(1.5rem, 4vw, 4rem);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.stat-item {
    position: relative;
    padding: 1.5rem 0;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50%;
    background: rgba(125,117,108,0.2);
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    letter-spacing: 0.04em;
    color: var(--color-accent);
    line-height: 1;
}
.stat-number span.plus {
    font-size: 0.65em;
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-stone);
    margin-top: 0.6rem;
}

/* ============================================
   SERVIZI
   ============================================ */
.services {
    background: var(--color-cream);
}
.services-header {
    max-width: 600px;
    margin-bottom: clamp(3rem, 5vh, 5rem);
}
.services-header p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 300;
    color: var(--color-stone);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.service-card {
    background: var(--color-white);
    padding: clamp(2rem, 3vw, 2.8rem);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(26,23,20,0.08);
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-number {
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-sand);
    margin-bottom: 1.5rem;
}
.service-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}
.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    letter-spacing: 0.06em;
    margin-bottom: 0.8rem;
    color: var(--color-dark);
}
.service-card p {
    font-size: 0.88rem;
    color: var(--color-stone);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.service-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: gap 0.3s ease;
}
.service-link:hover { gap: 1rem; }
.service-link svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* ============================================
   CASI STUDIO
   ============================================ */
.cases {
    background: var(--color-white);
}
.cases-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(3rem, 5vh, 5rem);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cases-header p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    font-weight: 300;
    color: var(--color-stone);
    max-width: 400px;
}
.cases-link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-accent);
    transition: gap 0.3s ease;
}
.cases-link:hover { gap: 1.2rem; }
.cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.case-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.case-card:first-child {
    grid-row: 1 / 3;
}
.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.case-card:hover img {
    transform: scale(1.06);
}
.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26,23,20,0.85) 0%, rgba(26,23,20,0) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(1.5rem, 2.5vw, 2.5rem);
    transition: background 0.4s ease;
}
.case-card:hover .case-overlay {
    background: linear-gradient(0deg, rgba(26,23,20,0.92) 0%, rgba(26,23,20,0.15) 65%);
}
.case-type {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.4rem;
}
.case-name {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    letter-spacing: 0.06em;
    color: var(--color-cream);
}
.case-location {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-sand);
    margin-top: 0.3rem;
}
.case-arrow {
    position: absolute;
    top: clamp(1rem, 2vw, 1.5rem);
    right: clamp(1rem, 2vw, 1.5rem);
    width: 40px;
    height: 40px;
    border: 1px solid rgba(244,239,232,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
}
.case-card:hover .case-arrow {
    opacity: 1;
    transform: translate(0, 0);
}
.case-arrow:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.case-arrow svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-cream);
    stroke-width: 2;
    fill: none;
}

/* ============================================
   RECENSIONI
   ============================================ */
.reviews {
    background: var(--color-cream);
}
.reviews-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
}
.reviews-header .section-label {
    justify-content: center;
}
.reviews-header .section-label::before { display: none; }
.reviews-header .section-title {
    margin-bottom: 0;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.review-card {
    background: var(--color-white);
    padding: clamp(2rem, 3vw, 2.8rem);
    position: relative;
}
.review-quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}
.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.5rem;
}
.review-stars svg {
    width: 16px;
    height: 16px;
    fill: var(--color-accent);
}
.review-text {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: 2rem;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(125,117,108,0.15);
}
.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--color-cream);
}
.review-author-info h4 {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-dark);
}
.review-author-info span {
    font-size: 0.78rem;
    color: var(--color-stone);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--color-charcoal);
    padding: clamp(5rem, 10vh, 8rem) clamp(1.5rem, 4vw, 4rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: 'MARETTI';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 18rem);
    letter-spacing: 0.1em;
    color: rgba(125,117,108,0.04);
    white-space: nowrap;
    pointer-events: none;
}
.cta-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}
.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
}
.cta-content p {
    font-family: var(--font-serif);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    font-style: italic;
    color: var(--color-sand);
    margin-bottom: 2.5rem;
}
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    background: var(--color-accent);
    padding: 1.1rem 2.8rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}
.cta-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}
.cta-phone {
    display: block;
    margin-top: 2rem;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    letter-spacing: 0.1em;
    color: var(--color-stone);
    transition: color 0.3s ease;
}
.cta-phone:hover { color: var(--color-cream); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: clamp(4rem, 8vh, 6rem) clamp(1.5rem, 4vw, 4rem) 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: clamp(2rem, 4vw, 4rem);
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: clamp(3rem, 6vh, 5rem);
    border-bottom: 1px solid rgba(125,117,108,0.12);
}
.footer-brand .nav-logo {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    display: inline-block;
}
.footer-brand p {
    font-size: 0.88rem;
    color: var(--color-stone);
    max-width: 320px;
    line-height: 1.7;
}
.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(125,117,108,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    color: var(--color-cream);
    border-color: var(--color-accent);
    background: var(--color-accent);
}
.footer-social a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}
.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 0.75rem;
}
.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--color-stone);
    transition: color 0.3s ease;
}
.footer-col ul li a:hover { color: var(--color-cream); }
.footer-contact-item {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
    color: var(--color-stone);
    align-items: flex-start;
}
.footer-contact-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-accent);
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 0.78rem;
    color: var(--color-stone);
}
.footer-bottom-links {
    display: flex;
    gap: 2rem;
}
.footer-bottom-links a {
    font-size: 0.78rem;
    color: var(--color-stone);
    transition: color 0.3s ease;
}
.footer-bottom-links a:hover { color: var(--color-cream); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .case-card:first-child { grid-row: auto; }
    .case-card img { height: 320px; }
    .reviews-grid { grid-template-columns: 1fr 1fr; }
    .reviews-grid .review-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root { --nav-height: 70px; }

    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .nav-mobile { display: flex; }

    .hero { align-items: center; padding-bottom: 0; text-align: center; }
    .hero-scroll { display: none; }
    .hero-btn { margin: 0 auto; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image { order: -1; }
    .about-image img { height: 350px; }
    .about-image-accent { display: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item:nth-child(2)::after { display: none; }

    .services-grid { grid-template-columns: 1fr; }

    .cases-grid {
        grid-template-columns: 1fr;
    }
    .case-card img { height: 280px; }
    .case-arrow { opacity: 1; transform: none; }

    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-grid .review-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    .archive-grid { grid-template-columns: 1fr; }
    .hero-internal { height: 40vh; min-height: 280px; }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(2.8rem, 14vw, 3.5rem);
    }
    .stat-item:not(:last-child)::after { display: none; }
    .cases-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================
   WORDPRESS SPECIFIC STYLES
   ============================================ */

/* Fix per wp_nav_menu: rimuovi stili lista predefiniti */
.nav-links ul,
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Fix per il logo custom di WordPress */
.custom-logo-link {
    display: inline-block;
}
.custom-logo-link img {
    height: auto;
    max-height: 50px;
    width: auto;
}

/* Fix per immagini WordPress */
.wp-post-image {
    max-width: 100%;
    height: auto;
}

/* Stili per contenuto dell'editor WordPress */
.entry-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.entry-content .alignfull {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.entry-content .alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.entry-content .wp-block-image {
    margin: 2rem 0;
}

.entry-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--color-stone);
    margin: 2rem 0;
}

/* Stili paginazione WordPress */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(125,117,108,0.2);
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-cream);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.breadcrumbs a {
    color: var(--color-sand);
    transition: color 0.3s ease;
}
.breadcrumbs a:hover {
    color: var(--color-accent);
}
.breadcrumb-sep {
    color: var(--color-stone);
    margin: 0 0.5rem;
}
.breadcrumb-current {
    color: var(--color-cream);
}

/* Hero pagine interne */
.hero-internal {
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(3rem, 6vh, 5rem);
}

.hero-bg-overlay {
    background: var(--color-dark);
}

.hero-content-internal {
    max-width: 900px;
    padding: 0 clamp(1.5rem, 4vw, 4rem);
}

.hero-title-internal {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--color-cream);
}

/* Hero Meta (data, autore) */
.hero-meta {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--color-sand);
}
.hero-meta span + span::before {
    content: ' — ';
}

/* Contenuto Pagina */
.page-content {
    padding: clamp(4rem, 8vh, 7rem) clamp(1.5rem, 4vw, 4rem);
}
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}
.content-wrapper p,
.content-wrapper li {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.8;
    color: var(--color-stone);
    margin-bottom: 1.5rem;
}
.content-wrapper h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 2rem 0 1rem;
    color: var(--color-dark);
}
.content-wrapper img {
    margin: 2rem 0;
}

/* Griglia archivi */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}
.archive-card {
    background: var(--color-cream);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(26,23,20,0.08);
}
.archive-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.archive-card-content {
    padding: 1.5rem;
}
.archive-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.archive-card-content h3 a {
    color: var(--color-dark);
    transition: color 0.3s ease;
}
.archive-card-content h3 a:hover {
    color: var(--color-accent);
}
.archive-card-content p {
    font-size: 0.88rem;
    color: var(--color-stone);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.archive-card-link {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: gap 0.3s ease;
}
.archive-card-link:hover { gap: 1rem; }

/* Post tags */
.post-tags {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(125,117,108,0.2);
    font-size: 0.88rem;
    color: var(--color-stone);
}
.post-tags a {
    color: var(--color-accent);
    transition: color 0.3s ease;
}
.post-tags a:hover {
    color: var(--color-accent-dark);
}

/* Post navigation */
.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(125,117,108,0.2);
}
.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-stone);
    margin-bottom: 0.3rem;
}
.post-navigation .nav-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-dark);
}
.post-navigation a:hover .nav-title {
    color: var(--color-accent);
}
