:root {
    --bg: #f7f1eb;
    --bg-soft: #fbf7f3;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: #ffffff;
    --text: #322821;
    --muted: #6f5f55;
    --line: rgba(95, 68, 48, 0.12);
    --accent: #8b5e3c;
    --accent-dark: #6f4527;
    --accent-soft: #ead9ca;
    --shadow: 0 18px 60px rgba(64, 36, 20, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f9f4ee 0%, #f5ede6 100%);
    line-height: 1.65;
}

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

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

.page-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.85), transparent 38%),
        radial-gradient(circle at 80% 15%, rgba(234, 217, 202, 0.75), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(255,255,255,0.55), transparent 35%);
    z-index: -1;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(calc(100% - 40px), 860px);
}

.section {
    padding: 92px 0;
}

.section-soft {
    background: rgba(255,255,255,0.48);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(247, 241, 235, 0.72);
    border-bottom: 1px solid rgba(95, 68, 48, 0.08);
}

.nav-wrap,
.footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-wrap {
    min-height: 82px;
}

.logo {
    display: inline-flex;
    gap: 14px;
    align-items: center;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-soft), #fff2e6);
    color: var(--accent-dark);
    box-shadow: inset 0 0 0 1px rgba(111, 69, 39, 0.1);
}

.logo strong,
.logo small {
    display: block;
}

.logo strong {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem;
    line-height: 1;
}

.logo small {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--muted);
    font-size: 0.96rem;
}

.nav-cta {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.75);
}

.hero {
    padding-top: 52px;
}

.hero-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--accent-dark);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.05;
}

h1,
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}

h1 {
    font-size: clamp(3.2rem, 6vw, 5.4rem);
    max-width: 10ch;
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.6rem);
    margin-bottom: 18px;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 0 0 18px;
    color: var(--muted);
}

.lead {
    font-size: 1.08rem;
    max-width: 62ch;
    margin-top: 26px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff;
    box-shadow: 0 16px 34px rgba(111, 69, 39, 0.2);
}

.btn-secondary {
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.75);
}

.btn-full {
    width: 100%;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.hero-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.hero-notes div,
.info-card,
.contact-card,
.contact-form,
.photo-card,
.floating-card {
    border: 1px solid var(--line);
    background: var(--surface);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

.hero-notes div {
    padding: 18px 18px 16px;
    border-radius: var(--radius-md);
}

.hero-notes strong,
.contact-card strong {
    display: block;
    margin-bottom: 6px;
}

.hero-notes span,
.contact-card small,
.form-note {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-visual {
    position: relative;
    padding: 24px 0 24px 40px;
}

.photo-card {
    border-radius: 34px;
    overflow: hidden;
}

.photo-card img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    object-position: center top;
}

.floating-card {
    position: absolute;
    left: 0;
    bottom: 42px;
    max-width: 280px;
    padding: 20px;
    border-radius: 22px;
}

.floating-card span,
.contact-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.section-heading {
    margin-bottom: 28px;
}

.center {
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.info-card {
    padding: 28px;
    border-radius: 24px;
}

.card-number {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    color: var(--accent-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.pill {
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    border: 1px solid var(--line);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(64, 36, 20, 0.06);
}

.quote-section blockquote {
    margin: 0;
    padding: 36px 40px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(139, 94, 60, 0.08), rgba(255,255,255,0.82));
    border: 1px solid var(--line);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--accent-dark);
    text-align: center;
}

.contact-section {
    padding-bottom: 110px;
}

.contact-cards {
    display: grid;
    gap: 16px;
    margin-top: 28px;
}

.contact-card,
.contact-form {
    padding: 26px;
    border-radius: 24px;
}

.form-row {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

label {
    font-size: 0.95rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    border: 1px solid rgba(95, 68, 48, 0.16);
    background: rgba(255,255,255,0.88);
    border-radius: 14px;
    padding: 15px 16px;
    font: inherit;
    color: var(--text);
    outline: none;
}

input:focus,
textarea:focus {
    border-color: rgba(139, 94, 60, 0.5);
    box-shadow: 0 0 0 4px rgba(139, 94, 60, 0.08);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 0 36px;
    background: rgba(255,255,255,0.35);
}

.site-footer p,
.site-footer span {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .contact-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        padding: 12px 0 0;
    }

    .floating-card {
        position: static;
        margin-top: 16px;
        max-width: none;
    }

    .photo-card img {
        height: 560px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 74px 0;
    }

    .hero {
        padding-top: 30px;
    }

    h1 {
        max-width: none;
    }

    .hero-notes {
        grid-template-columns: 1fr;
    }

    .photo-card img {
        height: 420px;
    }

    .quote-section blockquote,
    .info-card,
    .contact-card,
    .contact-form {
        padding: 22px;
    }

    .nav-wrap,
    .footer-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
}

.chi-sono-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.chi-sono-text {
    text-align: left;
}

.chi-sono-image {
    display: flex;
    justify-content: center;
}

.photo-card img {
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .chi-sono-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .chi-sono-text {
        text-align: center;
    }
}

.hero-centered {
    display: flex;
    justify-content: center;
}

.hero-copy.center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    margin: 30px 0;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* Pulsanti centrati */
.hero-actions {
    justify-content: center;
}

/* Note sotto */
.hero-notes {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-notes div {
    max-width: 260px;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-image img {
        max-width: 100%;
    }

    .hero-notes {
        gap: 20px;
    }
}
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    width: 100%;
}

.hero-image img {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}