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

body, h1, h2, h3, h4, h5, h6, p, span, a, div, strong, em, li, label, button, .hero-tag, .hero-sub, .section-tag, .section-title, .section-subtitle, .section-text, .stat-label, .feature strong, .feature p, .service-card h3, .service-card p, .review-text, .review-author strong, .review-author span, .contact-card strong, .contact-card p, .orario-row, .sposa-feature span, .footer-brand p, .footer-links a, .footer-bottom p, .google-badge span {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

:root {
    --primary: #6B8F71;
    --primary-dark: #5A7A60;
    --primary-light: #8FB896;
    --secondary: #FAF8F5;
    --accent: #D4A0A0;
    --accent-light: #E8C4C4;
    --text: #2C2C2A;
    --text-light: #6B6B68;
    --white: #FFFFFF;
    --border: #E8E5E0;
    --shadow: 0 4px 24px rgba(44, 44, 42, 0.08);
    --shadow-lg: 0 12px 48px rgba(44, 44, 42, 0.12);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--secondary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === Typography === */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

em {
    font-style: italic;
    color: var(--primary);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(107, 143, 113, 0.1);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-tag.light {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 143, 113, 0.3);
}

.btn-primary.light {
    background: var(--white);
    color: var(--primary);
}

.btn-primary.light:hover {
    background: var(--secondary);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 1px 20px rgba(44, 44, 42, 0.06);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-logo {
    color: var(--text);
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-link {
    color: var(--text-light);
}

.nav-link:hover {
    color: var(--white);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4a6b4f 0%, #6B8F71 30%, #8FB896 60%, #a8c4ac 100%);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.sposa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.visual-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sposa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    transform: scale(1.1);
    will-change: transform;
}

.visual-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    transform: scale(1.05);
    will-change: transform;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: scale(1.08);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 160, 160, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, rgba(44, 44, 42, 0.2) 0%, rgba(44, 44, 42, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 800px;
}

.hero-tag {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
}

.hero-title {
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title em {
    color: var(--accent-light);
}

.hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -100%; }
    50% { top: 0; }
    100% { top: 100%; }
}

/* === Stats === */
.stats {
    padding: 64px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    padding: 16px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--primary);
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 8px;
}

/* === Sections === */
.section {
    padding: 120px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-text {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* === Visual Card === */
.section-visual {
    position: relative;
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visual-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.accent-shape {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

/* === Features === */
.features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 143, 113, 0.1);
    border-radius: 12px;
    color: var(--primary);
}

.feature strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* === Services === */
.servizi {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 24px;
}

.service-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    color: var(--white);
}

.service-card.featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(107, 143, 113, 0.3);
}

.service-card.featured .service-img-wrapper {
    height: 180px;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 0.05em;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: var(--text-light);
}

.service-card.featured p {
    color: rgba(255, 255, 255, 0.85);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    background: var(--white);
    border-radius: 100px;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.service-card.featured .service-tags span {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* === Sposa === */
.sposa {
    position: relative;
    overflow: hidden;
}

.sposa-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #3d3d3d 0%, #2C2C2A 50%, #1a1a18 100%);
    overflow: hidden;
}

.sposa-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.sposa-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.section-title.light {
    color: var(--white);
}

.section-text.light {
    color: rgba(255, 255, 255, 0.75);
}

.sposa-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.sposa-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.sposa-feature-icon {
    font-size: 1.25rem;
}

/* === Gallery === */
.galleria {
    background: var(--secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item.large {
    grid-row: span 2;
    aspect-ratio: auto;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: scale(1.05);
    will-change: transform;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(44, 44, 42, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.125rem;
}

/* === Reviews === */
.recensioni {
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.review-card {
    padding: 32px;
    background: var(--secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.review-stars {
    color: #F4B942;
    font-size: 1.125rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.review-author strong {
    display: block;
    font-size: 0.875rem;
}

.review-author span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--secondary);
    border-radius: 100px;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.875rem;
}

.google-badge svg {
    color: #F4B942;
}

/* === Contatti === */
.contatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 143, 113, 0.1);
    border-radius: 12px;
    color: var(--primary);
}

.contact-card strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-card a {
    color: var(--primary);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.orari {
    margin-top: 4px;
}

.orario-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8125rem;
    padding: 4px 0;
    border-bottom: 1px solid var(--border);
}

.orario-row:last-child {
    border: none;
}

.closed {
    color: var(--accent);
    font-weight: 500;
}

.contact-actions {
    margin-top: 8px;
}

.map-placeholder {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    height: 100%;
    min-height: 400px;
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* === Footer === */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 32px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-left: 8px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    font-size: 0.8125rem;
}

.footer-credit {
    margin-top: 8px;
    opacity: 0.7;
}

.footer-credit a {
    color: var(--accent-light);
    font-weight: 500;
    transition: var(--transition);
}

.footer-credit a:hover {
    color: var(--white);
    opacity: 1;
}

/* === Floating CTA === */
.floating-cta {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(107, 143, 113, 0.4);
    transition: var(--transition);
    z-index: 999;
}

.floating-cta:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(107, 143, 113, 0.5);
}

/* === Animations === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 48px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu .nav-link {
        color: var(--text);
        font-size: 1.125rem;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

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

    .section {
        padding: 80px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 16px;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
}

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

    .stat-number {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }
}
