/* ============================================
   HOME PAGE SPECIFIC STYLES
   ============================================ */

/* ============================================
   HERO SECTION — EDITORIAL STYLE
   ============================================ */

.home-hero {
    position: relative;
    height: 80vh;
    min-height: 520px;
    max-height: 820px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Background image */
.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 12, 10, 0.88) 0%,
        rgba(15, 12, 10, 0.45) 45%,
        rgba(15, 12, 10, 0.15) 100%
    );
}

/* Inner content */
.home-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 clamp(1.5rem, 6vw, 7rem) clamp(3rem, 6vh, 5rem);
}

/* Eyebrow row */
.home-hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.home-hero-line {
    display: block;
    height: 1px;
    width: 40px;
    background: rgba(255,255,255,0.45);
    flex-shrink: 0;
}

.home-hero-eyebrow-text {
    font-family: var(--font-secondary);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

/* Title */
.home-hero-title {
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1.1;
    color: var(--color-white);
    margin: 0 0 1.6rem;
}

.home-hero-title-main {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
    color: rgba(255, 255, 255, 0.95);
}

.home-hero-title-accent {
    display: block;
    font-size: clamp(2.8rem, 6vw, 5rem);
    letter-spacing: -0.02em;
    color: var(--color-warm-beige);
    font-style: italic;
    margin-top: 0.3rem;
}

/* Subtitle */
.home-hero-sub {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
    font-style: italic;
    max-width: 480px;
    margin-bottom: 2rem;
}

/* CTA Group */
.home-hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary-home {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, var(--color-cream) 0% 40%, var(--color-warm-beige) 100%);
    color: var(--color-espresso);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(196, 168, 128, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary-home:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow:
        0 6px 25px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(196, 168, 128, 0.25);
    background: linear-gradient(45deg, var(--color-cream) 0% 40%, var(--color-warm-beige) 100%);
}

.btn-primary-home svg {
    transition: transform 0.3s ease;
}

.btn-primary-home:hover svg {
    transform: translateX(5px);
}

.btn-secondary-home {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary-home:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
    transform: translateY(-2px);
    opacity: 1;
}

/* ============================================
   RESPONSIVE HERO
   ============================================ */

@media (max-width: 768px) {
    .home-hero {
        height: 65vh;
        min-height: 400px;
    }

    .home-hero-title-main {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .home-hero-title-accent {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

    .home-hero-sub {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .home-hero {
        height: 60vh;
    }

    .home-hero-inner {
        padding-bottom: 2.5rem;
    }

    .btn-primary-home,
    .btn-secondary-home {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PLATFORMS SECTION - EDITORIAL REDESIGN
   ============================================ */

.platforms {
    background: linear-gradient(45deg, var(--color-espresso) 40%, hsl(35 21% 37% / 1) 100%);
    padding: clamp(5rem, 10vh, 8rem) 0;
    position: relative;
    overflow: hidden;
}

/* Decorative background element */
.platforms::before {
    content: '';
    position: absolute;
    top: -15%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(196, 168, 128, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.platforms::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -8%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(42, 36, 32, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.platforms-header {
    text-align: center;
    margin-bottom: clamp(3.5rem, 6vh, 5rem);
    position: relative;
    z-index: 1;
}

.platforms-header .section-title {
    color: var(--color-white);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.platforms-header .section-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(2rem, 4vw, 3rem);
    max-width: 1100px;
    margin: 0 auto clamp(3rem, 6vh, 5rem);
    position: relative;
    z-index: 1;
}

/* Platform Card - Complete Redesign */
.platform-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 0;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    position: relative;
    opacity: 1;
}

/* Animated top line that sweeps across on hover */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg,
        var(--color-warm-beige) 0%,
        var(--color-espresso) 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover::before {
    left: 0;
}

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.18),
        0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: rgba(196, 168, 128, 0.3);
    opacity: 1;
}

/* Platform Header - New logo area */
.platform-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: clamp(1.5rem, 3vw, 2rem);
}

.platform-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.15);
    margin-bottom: clamp(1.25rem, 2.5vw, 1.5rem);
}

.platform-logo {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.platform-card:hover .platform-logo {
    transform: scale(1.08) translateY(-2px);
}

.airbnb-logo {
    background: transparent;
}

.airbnb-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: saturate(1.1);
}

.vrbo-logo {
    background: transparent;
}

.vrbo-logo::before {
    content: 'Vrbo';
    font-size: 2.2rem;
    color: #0C3FDC;
    font-weight: 700;
    font-family: var(--font-secondary);
    font-style: italic;
    letter-spacing: -0.02em;
}

/* Platform Info - Refined layout */
.platform-info {
    display: flex;
    flex-direction: column;
    gap: clamp(0.875rem, 1.75vw, 1.25rem);
}

.platform-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.platform-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg,
        rgba(196, 168, 128, 0.08) 0%,
        rgba(196, 168, 128, 0.04) 100%);
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-rating {
    background: linear-gradient(135deg,
        rgba(196, 168, 128, 0.15) 0%,
        rgba(196, 168, 128, 0.08) 100%);
    transform: translateY(-2px);
}

.rating-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-espresso);
    font-family: var(--font-primary);
}

.platform-badge {
    padding: 0.5rem 1rem;
    background: var(--color-espresso);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-card:hover .platform-badge {
    background: var(--color-warm-beige);
    color: var(--color-espresso);
    transform: translateY(-2px);
}

.platform-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-beige);
    margin-bottom: 0.5rem;
}

.platform-description {
    font-size: 1rem;
    color: var(--color-espresso);
    line-height: 1.6;
    font-weight: 400;
}

/* Platform CTA - Redesigned as prominent button */
.platform-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.15rem;
    margin-top: auto;
    background: linear-gradient(45deg, var(--color-espresso) 40%, hsl(35 21% 37% / 1) 100%);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-white);
    transition:
        gap 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(197, 168, 128, 0.15);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.platform-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-espresso);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.platform-card:hover .platform-cta::before {
    opacity: 1;
}

.platform-cta span,
.platform-cta svg {
    position: relative;
    z-index: 1;
}

.platform-card:hover .platform-cta {
    gap: 1rem;
    letter-spacing: 0.05em;
}

.platform-cta svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
}

.platform-card:hover .platform-cta svg {
    transform: translateX(6px);
}

/* Trust Badges - Refined design */
.platforms-trust {
    display: flex;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.trust-item svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   GALLERY PREVIEW SECTION
   ============================================ */

.gallery-preview {
    background-color: var(--color-white);
    padding: var(--spacing-3xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    background-color: var(--color-cream);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

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

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews {
    background-color: var(--color-beige-light);
    padding: clamp(4rem, 8vh, 7rem) 0;
}

.reviews .section-title {
    color: var(--color-dark);
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.reviews .section-subtitle {
    color: var(--color-espresso);
    font-size: 1rem;
    line-height: 1.7;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.review-card {
    background-color: var(--color-white);
    padding: clamp(1.75rem, 3vw, 2rem);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(197, 168, 128, 0.15);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.25rem);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(197, 168, 128, 0.3);
    opacity: 1;
}

.review-card:active {
    transform: translateY(-2px);
}

/* Header con avatar e nome */
.review-header {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-espresso) 40%, hsl(35 21% 37% / 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
    flex-shrink: 0;
    font-family: var(--font-secondary);
}

.review-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.author-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-espresso);
    margin: 0;
    line-height: 1.2;
}

.review-stars {
    color: var(--color-warm-beige);
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    line-height: 1;
}

/* Testo recensione */
.review-text {
    font-size: 0.925rem;
    line-height: 1.75;
    color: var(--color-espresso);
    flex-grow: 1;
    margin: 0;
}

/* Footer con badge verificato */
.review-footer {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(197, 168, 128, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.author-apartment {
    font-size: 0.7rem;
    color: var(--color-espresso);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    font-weight: 600;
    margin: 0;
}

.review-link-icon {
    flex-shrink: 0;
    color: var(--color-espresso);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.review-card:hover .review-link-icon {
    opacity: 0.8;
    transform: translateX(2px) translateY(-2px);
}

/* ============================================
   GALLERY SHOWCASE SECTION - REDESIGNED
   ============================================ */

.gallery-showcase {
    background: linear-gradient(45deg, var(--color-espresso) 40%, hsl(35 21% 37% / 1) 100%);
    padding: clamp(5rem, 10vh, 8rem) 0;
    position: relative;
    overflow: hidden;
}

.gallery-header {
    text-align: center;
    margin-bottom: clamp(3.5rem, 7vh, 5rem);
    position: relative;
}

.gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-warm-beige);
    margin-bottom: 1rem;
}

.gallery-eyebrow::before,
.gallery-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: var(--color-warm-beige);
}

.gallery-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
}

/* Bento Grid - 4x4 Award-Winning Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: clamp(0.875rem, 1.8vw, 1.25rem);
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
}

/* Bento Item - Base Styles */
.bento-item {
    position: relative;
    border-radius: clamp(16px, 2vw, 24px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Plaza - 2x2 alto a sinistra */
.bento-item--plaza {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* Camera 2 - 1x2 colonna 3 alto */
.bento-item--camera2 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

/* Colazione - 1x2 colonna 4 alto */
.bento-item--colazione {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}

/* Balcone - 1x2 colonna 1 basso */
.bento-item--balcone {
    grid-column: 1 / 2;
    grid-row: 3 / 5;
}

/* Camera 1 - 1x2 colonna 2 basso */
.bento-item--camera1 {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
}

/* Salotto - 2x2 basso a destra */
.bento-item--salotto {
    grid-column: 3 / 5;
    grid-row: 3 / 5;
}

/* Hover Effects - Sophisticated lift */
.bento-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.25),
        0 10px 30px rgba(196, 168, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(196, 168, 128, 0.3);
}

/* Image Wrapper - Ensures proper aspect ratio */
.bento-image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bento-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 36, 32, 0.02) 0%,
        rgba(196, 168, 128, 0.05) 100%
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.bento-item:hover .bento-image-wrapper::before {
    opacity: 1;
}

.bento-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition:
        transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.6s ease;
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
}

.bento-item:hover .bento-image-wrapper img {
    transform: scale(1.1) rotate(0.5deg);
    filter: brightness(1) contrast(1.08) saturate(1.15);
}

/* Overlay - Elegant gradient reveal */
.bento-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 12, 10, 0.92) 0%,
        rgba(42, 36, 32, 0.75) 20%,
        rgba(42, 36, 32, 0.35) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

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

/* Label - Sophisticated typography */
.bento-label {
    font-family: var(--font-primary);
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 400;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: var(--color-white);
    text-transform: uppercase;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding-left: 1rem;
}

.bento-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--color-warm-beige);
    transition: height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s;
}

.bento-item:hover .bento-label {
    transform: translateY(0);
}

.bento-item:hover .bento-label::before {
    height: 100%;
}

/* Elementi 2x2 (Plaza e Salotto) - Enhanced labels */
.bento-item--plaza .bento-label,
.bento-item--salotto .bento-label {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    letter-spacing: 0.15em;
}

.bento-item--plaza .bento-label::before,
.bento-item--salotto .bento-label::before {
    width: 4px;
}

/* ============================================
   FAQ ACCORDION SECTION — REDESIGNED
   ============================================ */

.faq-section {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-cream) 100%);
    padding: clamp(5rem, 10vh, 8rem) 0;
    position: relative;
}

/* Header centrato */
.faq-header {
    text-align: center;
    margin-bottom: clamp(3rem, 6vh, 5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.faq-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-warm-beige);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-eyebrow::before,
.faq-eyebrow::after {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1.5px;
    background: var(--color-warm-beige);
}

.faq-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-espresso);
    margin: 0;
    line-height: 1.2;
}

/* Grid 2 colonne */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    max-width: 1200px;
    margin: 0 auto;
}

/* Item singolo */
.faq-item {
    background: var(--color-white);
    border: 1px solid rgba(197, 168, 128, 0.2);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-color: rgba(197, 168, 128, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Question button */
.faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(197, 168, 128, 0.05);
}

/* Numero decorativo */
.faq-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-warm-beige);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.faq-question:hover .faq-number {
    opacity: 0.7;
}

/* Question content wrapper */
.faq-question-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.faq-question h3 {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    font-weight: 600;
    line-height: 1.4;
    font-family: var(--font-secondary);
    color: var(--color-espresso);
    margin: 0;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-espresso);
    opacity: 0.6;
    margin-top: 0.2rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
    max-height: 600px;
    padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.faq-answer p {
    font-size: 0.975rem;
    line-height: 1.8;
    color: var(--color-espresso);
    margin: 0;
    padding-left: 3.25rem;
}

/* ============================================
   MAPA SECTION
   ============================================ */

.mapa-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
}

/* Sfondo decorativo — grande cerchio sfumato */
.mapa-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.mapa-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.mapa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-warm-beige);
    margin-bottom: 1rem;
}

.mapa-eyebrow::before,
.mapa-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--color-warm-beige);
}

.mapa-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: var(--color-espresso);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.mapa-subtitle {
    font-size: 1rem;
    color: var(--color-espresso);
    margin: 0;
}

/* Wrapper con decorazioni */
.mapa-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* Angoli decorativi */
.mapa-deco {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 2;
    pointer-events: none;
}

.mapa-deco--tl {
    top: -12px;
    left: -12px;
    border-top: 3px solid var(--color-warm-beige);
    border-left: 3px solid var(--color-warm-beige);
    border-radius: 4px 0 0 0;
}

.mapa-deco--br {
    bottom: -12px;
    right: -12px;
    border-bottom: 3px solid var(--color-warm-beige);
    border-right: 3px solid var(--color-warm-beige);
    border-radius: 0 0 4px 0;
}

/* Cornice esterna — shadow + border sottile */
.mapa-frame-outer {
    border-radius: 24px;
    padding: 8px;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.3) 0%, rgba(255,255,255,0.6) 50%, rgba(197, 168, 128, 0.2) 100%);
    box-shadow:
        0 30px 80px rgba(42, 36, 32, 0.15),
        0 8px 24px rgba(42, 36, 32, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

/* Cornice interna */
.mapa-frame-inner {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    line-height: 0;
}

.mapa-frame-inner iframe {
    width: 100%;
    height: 460px;
    display: block;
    border-radius: 18px;
    filter: saturate(0.85) contrast(1.05);
}

/* Visibilità per breakpoint */
.mapa-frame-inner .mapa-iframe--mobile { display: none; }

@media (max-width: 900px) {
    .mapa-frame-inner .mapa-iframe--desktop { display: none; }
    .mapa-frame-inner .mapa-iframe--mobile  { display: block; }
}

/* Pill info sovrapposta in basso a sinistra */
.mapa-info-pill {
    position: absolute;
    bottom: 28px;
    left: 28px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.75rem 1.25rem 0.75rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 32px rgba(42, 36, 32, 0.15);
    border: 1px solid rgba(197, 168, 128, 0.2);
    z-index: 3;
}

.mapa-pill-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--color-espresso) 40%, hsl(35 21% 37% / 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.mapa-pill-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.mapa-pill-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--color-espresso);
    line-height: 1;
}

.mapa-pill-address {
    font-size: 0.75rem;
    color: var(--color-espresso);
    line-height: 1;
}

/* ============================================
   RESPONSIVE - HOME PAGE
   ============================================ */

@media (max-width: 1024px) {
    /* Bento Grid responsive - Tablet */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, 1fr);
        gap: 1rem;
        aspect-ratio: auto;
        min-height: 1100px;
    }

    /* Plaza rimane 2x2 */
    .bento-item--plaza {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    /* Camera 2 - 1 colonna intera */
    .bento-item--camera2 {
        grid-column: 1 / 2;
        grid-row: 3 / 5;
    }

    /* Colazione - 1 colonna intera */
    .bento-item--colazione {
        grid-column: 2 / 3;
        grid-row: 3 / 5;
    }

    /* Balcone - 1 colonna */
    .bento-item--balcone {
        grid-column: 1 / 2;
        grid-row: 5 / 7;
    }

    /* Camera 1 - 1 colonna */
    .bento-item--camera1 {
        grid-column: 2 / 3;
        grid-row: 5 / 7;
    }

    /* Salotto - 2 colonne */
    .bento-item--salotto {
        grid-column: 1 / 3;
        grid-row: 7 / 9;
    }

    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .platform-logo-wrapper {
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }

    .platform-logo {
        width: 100px;
        height: 50px;
    }

    .vrbo-logo::before {
        font-size: 2rem;
    }

    .platforms-trust {
        gap: 1.5rem;
    }

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

@media (max-width: 768px) {
    /* Bento Grid responsive - Mobile */
    .gallery-showcase {
        padding: clamp(4rem, 8vh, 6rem) 0;
    }

    .gallery-header {
        margin-bottom: 2.5rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1rem;
        aspect-ratio: auto;
        min-height: auto;
    }

    /* Tutti gli elementi diventano singola colonna */
    .bento-item--plaza,
    .bento-item--camera2,
    .bento-item--colazione,
    .bento-item--balcone,
    .bento-item--camera1,
    .bento-item--salotto {
        grid-column: 1;
        grid-row: auto;
        min-height: 280px;
    }

    /* Plaza e Salotto più grandi su mobile */
    .bento-item--plaza,
    .bento-item--salotto {
        min-height: 360px;
    }

    .bento-label {
        font-size: 1.1rem;
    }

    .bento-item--plaza .bento-label,
    .bento-item--salotto .bento-label {
        font-size: 1.35rem;
    }

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

    .platform-content {
        padding: clamp(1.5rem, 3vw, 2rem);
    }

    .platform-logo-wrapper {
        padding: 1.5rem 0;
    }

    .platform-logo {
        width: 90px;
        height: 45px;
    }

    .vrbo-logo::before {
        font-size: 1.8rem;
    }

    .platform-rating {
        padding: 0.4rem 0.85rem;
    }

    .rating-number {
        font-size: 1rem;
    }

    .platform-badge {
        padding: 0.4rem 0.85rem;
        font-size: 0.65rem;
    }

    .platform-cta {
        padding: 1.15rem;
        font-size: 0.9rem;
    }

    .platforms-trust {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .trust-item {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }

    /* FAQ responsive */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .faq-number {
        font-size: 1.5rem;
    }

    .faq-question {
        gap: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .faq-answer.active {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }

    .faq-answer p {
        padding-left: 2.5rem;
        font-size: 0.925rem;
    }
}

@media (max-width: 780px) {
    .mapa-frame-inner iframe {
        height: 320px;
    }

    .mapa-deco {
        width: 50px;
        height: 50px;
    }

    .mapa-info-pill {
        bottom: 16px;
        left: 16px;
    }
}

@media (max-width: 480px) {
    /* Bento Grid responsive - Small Mobile */
    .gallery-showcase {
        padding: clamp(3.5rem, 7vh, 5rem) 0;
    }

    .gallery-header {
        margin-bottom: 2rem;
    }

    .bento-grid {
        gap: 0.875rem;
    }

    /* Altezze ridotte per schermi piccoli */
    .bento-item--plaza,
    .bento-item--camera2,
    .bento-item--colazione,
    .bento-item--balcone,
    .bento-item--camera1,
    .bento-item--salotto {
        min-height: 240px;
    }

    .bento-item--plaza,
    .bento-item--salotto {
        min-height: 320px;
    }

    .bento-item:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .gallery-eyebrow {
        font-size: 0.65rem;
    }

    .gallery-eyebrow::before,
    .gallery-eyebrow::after {
        width: 24px;
    }

    .bento-label {
        font-size: 0.975rem;
        letter-spacing: 0.1em;
    }

    .bento-item--plaza .bento-label,
    .bento-item--salotto .bento-label {
        font-size: 1.15rem;
    }

    .bento-overlay {
        padding: 1.25rem;
    }

    .platforms {
        padding: clamp(3.5rem, 8vh, 5rem) 0;
    }

    .platforms-header {
        margin-bottom: 2.5rem;
    }

    .platforms-grid {
        gap: 1.5rem;
    }

    .platform-logo-wrapper {
        padding: 1.25rem 0;
    }

    .platform-logo {
        width: 80px;
        height: 40px;
    }

    .vrbo-logo::before {
        font-size: 1.5rem;
    }

    .platform-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .platform-rating {
        padding: 0.35rem 0.75rem;
    }

    .rating-number {
        font-size: 0.95rem;
    }

    .platform-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.6rem;
    }

    .platform-label {
        text-align: center;
    }

    .platform-description {
        text-align: center;
        font-size: 0.95rem;
    }

    .platform-cta {
        padding: 1rem;
        font-size: 0.875rem;
    }

    /* FAQ mobile piccolo */
    .faq-eyebrow {
        font-size: 0.7rem;
    }

    .faq-eyebrow::before,
    .faq-eyebrow::after {
        width: 24px;
    }

    .faq-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .faq-number {
        font-size: 1.25rem;
    }

    .faq-question {
        gap: 0.875rem;
        padding: 1.125rem 1.25rem;
    }

    .faq-question h3 {
        font-size: 0.975rem;
    }

    .faq-icon {
        width: 18px;
        height: 18px;
    }

    .faq-answer.active {
        padding: 0 1.25rem 1.125rem 1.25rem;
    }

    .faq-answer p {
        padding-left: 2.125rem;
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    [data-animate] {
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ============================================
   ACCESSIBILITY & POLISH
   ============================================ */

/* Focus visible */
.btn-primary-home:focus-visible,
.btn-secondary-home:focus-visible,
.platform-card:focus-visible,
.faq-question:focus-visible {
    outline: 3px solid var(--color-warm-beige);
    outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
