/* ---- HOME STYLES ---- */

/* ── Hero (legacy pages) ───────────────────────── */
.hero {
    padding: 140px 0 80px;
    position: relative;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ════════════════════════════════════════════════
   HERO IMMERSIVE — Luxury Redesign 2026
   ════════════════════════════════════════════════ */

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.hero-bg {
    position: absolute;
    top: -5%;
    left: 0;
    width: 100%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: scale(1.05);
    animation: heroImageZoom 20s ease-out forwards;
    will-change: transform;
}

@keyframes heroImageZoom {
    from {
        transform: translate3d(0, 0, 0) scale(1.05);
    }

    to {
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-container {
    position: relative;
    z-index: 50;
    /* Increased to stay above all overlays */
    width: 100%;
}

.hero-content {
    max-width: 1000px;
    text-align: left;
    padding: 0 15px;
    transform: none;
}

.hero-title.logo-style {
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 5.5vw, 5rem);
    font-weight: 400;
    color: var(--white) !important;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -2px;
    text-transform: none;
}

.logo-name-serif {
    font-family: var(--font-serif);
    font-weight: 800;
    font-style: normal;
    color: var(--gold-light);
    letter-spacing: -1.5px;
}

.logo-name-sans {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 0.95em;
    letter-spacing: 2px;
    color: var(--white);
    margin-left: 5px;
}

.hero-sub {
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 45px;
    font-weight: 300;
    max-width: 650px;
    letter-spacing: 1.5px;
    text-transform: none;
}

.hero-sub em {
    color: var(--gold);
    font-style: normal;
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(var(--vh, 1vh) * 100);
        align-items: center;
        padding-top: 60px;
    }

    .hero-bg {
        background-position: 70% center;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    }

    .hero-content {
        max-width: 100%;
        text-align: left;
        padding-top: 40px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 12vw, 3.8rem);
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .hero-sub {
        font-size: 1.05rem;
        margin-bottom: 35px;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .btn-gold,
    .btn-white-outline {
        width: 100%;
        padding: 18px 24px;
        text-align: center;
    }
}

/* ── Story Section Redesign — Luxury Grid ──────────────────────── */
.story-grid {
    gap: clamp(40px, 8vw, 120px);
}

.story-collage-container {
    position: relative;
    width: 100%;
    max-width: 650px;
}

.story-collage {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
    aspect-ratio: 1 / 1;
    position: relative;
}

.collage-frame {
    grid-column: 5 / 21;
    grid-row: 4 / 18;
    border: 1px solid var(--gold);
    opacity: 0.35;
    z-index: 1;
    pointer-events: none;
    border-radius: var(--radius-sm);
}

.collage-item {
    position: relative;
    z-index: 5;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.collage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

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

/* Item 1: Interior Main (Top Left) */
.item-1 {
    grid-column: 1 / 14;
    grid-row: 1 / 12;
}

/* Item 2: Detail Detail (Center Right) */
.item-2 {
    grid-column: 15 / 21;
    grid-row: 6 / 17;
    z-index: 6;
}

/* Item 3: Workshop (Bottom Left) */
.item-3 {
    grid-column: 7 / 14;
    grid-row: 13 / 21;
    z-index: 7;
}

.story-content h2 em {
    display: inline-block;
    font-style: italic;
    color: var(--gold);
}

.story-description p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    margin-bottom: 20px;
}


/* Responsive Adjustments */
@media (max-width: 991px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .story-collage-container {
        max-width: 500px;
        margin: 0 auto;
    }

    .story-content {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .collage-frame {
        grid-column: 4 / 21;
        grid-row: 3 / 19;
    }
}

/* ── CTA Row ── */
.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;


}

/* Ghost button — sits on dark bg */
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 26px;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.btn-hero-ghost::after {
    content: '→';
    font-size: 1em;
    transition: transform 0.3s;
}

.btn-hero-ghost:hover {
    color: var(--gold-light);
    border-bottom-color: var(--gold-light);
}

.btn-hero-ghost:hover::after {
    transform: translateX(5px);
}

/* WhatsApp CTA button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    /* same as .btn-lg */
    background: #10642f;
    color: #fff;
    border-radius: 50px;
    /* same pill shape as all .btn */
    font-weight: 600;
    font-size: 1rem;
    /* same as .btn-lg */
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(16, 100, 47, 0.30);
}

.btn-whatsapp:hover {
    background: #104122;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(16, 100, 47, 0.45);
    color: #fff;
}

/* ── Stats Ribbon ── */
.hero-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 6, 2, 0.60);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(184, 146, 62, 0.20);
    padding: 20px 40px;
    opacity: 0;
    animation: heroFade 1s 1s ease forwards;
}

.hero-ribbon-item {
    flex: 1;
    text-align: center;
    padding: 6px 24px;
}

.hero-ribbon-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

.hero-ribbon-item span {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
}

/* Dot separator */
.hero-ribbon-dot {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(184, 146, 62, 0.45);
    flex-shrink: 0;
}

/* Google stars */
.hero-stars {
    color: var(--gold-light);
    font-size: 0.7em;
    letter-spacing: 1px;
    margin-right: 4px;
}

/* ── Entrance animation ── */
@keyframes heroFade {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}




/* ── Services Bento Grid Redesign 2026 ──────────────────── */
.services-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: min-content;
    gap: 30px;
    margin-top: 30px;
    /* Reduced from 50px */
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg) !important;
    padding: 0 !important;
    /* Fixed: Padding removed to allow flush images */
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    z-index: 1;
    isolation: isolate;
    min-height: auto;
    /* Content dictates height */
}

.service-card-info {
    padding: 24px;
    background: var(--white);
    position: relative;
    z-index: 5;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-card--featured .service-card-info {
    padding: 30px;
}

/* Texture overlay for depth */
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 0%, rgba(184, 146, 62, 0.05) 0%, transparent 50%);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.service-card-image-box {
    width: 100%;
    margin-bottom: 0;
    /* Flush with content */
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.service-card-image {
    width: 100%;
    height: 160px;
    /* Reduced fixed height for smaller cards */
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
    filter: grayscale(100%) contrast(110%);
}

.service-card--featured .service-card-image {
    height: 220px;
}

/* TARGETED: Even more significant height reduction for Lenses card */
.service-card--lenses .service-card-image {
    height: 70px;
}

.service-card--lenses .service-card-info {
    padding: 12px 18px;
    /* Slightly tighter padding for very small card */
}

.service-card:hover .service-card-image {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* 
   White-wash overlay: 
   Lowered default opacity so images are visible (0.88), 
   while maintaining enough contrast for the dark text.
*/
/* Removed background image overlay and transitions */

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(184, 146, 62, 0.1);
    border-color: var(--gold-bg);
}

/* Featured Card (Zeiss Eye Exam) */
.service-card--featured {
    grid-column: span 8 !important;
    grid-row: span 2 !important;
    background: linear-gradient(135deg, var(--white) 0%, var(--ivory) 100%);
    border: 1px solid var(--gold-bg);
}

/* Non-featured cards: Classic Bento 1/3 split */
.service-card:not(.service-card--featured) {
    grid-column: span 4 !important;
    grid-row: span 1 !important;
    min-height: auto;
}

.service-card--featured .card-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
}

.service-card .card-body {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Ensure buttons and text align left and don't stretch full-width */
    height: 100%;
}

.service-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    /* Smaller icon */
    color: var(--gold);
    margin-bottom: 15px;
    /* More compact spacing */
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 10;
}

.service-card:hover .card-icon {
    background: var(--gold);
    color: var(--white) !important;
    transform: scale(1.1) rotate(-5deg);
    border-color: var(--gold);
    box-shadow: 0 15px 30px rgba(184, 146, 62, 0.2);
}

.service-card:hover .card-icon i {
    color: var(--white) !important;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 20px 0 25px;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 400;
}

.card-features i {
    color: var(--gold);
    font-size: 0.8rem;
}

.service-card p {
    color: var(--dark);
    /* Maximum legibility */
    line-height: 1.5;
    /* More compact line height */
    font-size: 0.95rem;
    /* Smaller body text */
    margin-bottom: 20px;
    font-weight: 400;
    max-width: 100%;
}

.service-card h2,
.service-card h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    /* Bolder for luxury emphasis */
    color: var(--dark);
    margin: 0;
    line-height: 1.15;
}

.service-card--featured h2 em {
    color: var(--gold);
}

.service-card:not(.service-card--featured) h3 {
    font-size: 1.4rem;
    /* Scaled down */
    margin-bottom: 10px;
}

/* Responsiveness for Bento */
@media (max-width: 1100px) {
    .service-card--featured {
        grid-column: span 12 !important;
        grid-row: span 1 !important;
    }

    .service-card:not(.service-card--featured) {
        grid-column: span 6 !important;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .services-bento-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .service-card:not(.service-card--featured) {
        grid-column: span 12 !important;
        grid-row: span 1 !important;
        min-height: auto;
    }

    .service-card--featured {
        grid-column: span 12 !important;
        grid-row: span 1 !important;
        min-height: auto;
    }

    .service-card {
        padding: 0 !important;
    }

    .service-card-info {
        padding: 20px;
    }

    .service-card--featured .service-card-image {
        height: 160px;
    }

    .service-card--featured h2 {
        font-size: 1.4rem !important;
        margin-bottom: 10px;
    }

    .service-card--featured h2 em {
        font-style: normal;
        color: inherit;
        display: inline;
    }

    .featured-br {
        display: none;
    }

    .featured-extras {
        display: none !important;
    }

    .service-card--featured .featured-btn {
        background: transparent !important;
        border: none !important;
        color: var(--gold) !important;
        padding: 0 !important;
        box-shadow: none !important;
        margin-top: 10px !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 1.5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: auto !important;
        gap: 10px !important;
        transform: none !important;
    }

    .service-card--featured .featured-btn:hover {
        transform: none !important;
        background: transparent !important;
    }

    .card-badge {
        display: none !important;
    }

    .service-card p {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 20px;
    }
}

/* ── Latest Arrivals Carousel ───────────────── */
.latest-arrivals {
    padding: 100px 0;
}

.swiper-products-container {
    position: relative;
    max-width: 1280px;
    /* Slightly wider than swiper to accommodate arrows */
    margin: 0 auto;
    padding: 0 60px;
    /* Gutter for navigation arrows */
}

.latest-products-swiper {
    padding: 40px 0 80px !important;
    max-width: 1120px;
    margin: 0 auto;
}

/* Product Card — Premium Design */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.08);
    border-color: var(--gold-bg);
}

.product-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gold);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
}

.product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fdfdfd;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.product-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 5;
}

.product-card:hover .product-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

.product-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 10px 0;
    font-family: var(--font-serif);
}

.product-brand {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Swiper Controls Customization */
.latest-products-swiper .swiper-pagination-bullet {
    background: var(--dark);
    opacity: 0.2;
}

.latest-products-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

.swiper-products-container .swiper-button-next,
.swiper-products-container .swiper-button-prev {
    color: var(--dark);
    background: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -30px;
    /* Offset for better vertical centering considering pagination */
    z-index: 100 !important;
}

.swiper-products-container .swiper-button-prev {
    left: 0;
}

.swiper-products-container .swiper-button-next {
    right: 0;
}

.swiper-products-container .swiper-button-next:after,
.swiper-products-container .swiper-button-prev:after {
    font-size: 1.2rem;
    font-weight: bold;
}

.swiper-products-container .swiper-button-next:hover,
.swiper-products-container .swiper-button-prev:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

@media (max-width: 1024px) {
    .swiper-products-container {
        padding: 0 15px;
    }

    .swiper-products-container .swiper-button-next,
    .swiper-products-container .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 768px) {
    .latest-arrivals {
        padding: 60px 0;
    }

    .latest-products-swiper {
        padding-bottom: 60px !important;
    }
}

/* ── Reviews Widget Refinement ── */
/* Hide the dynamically injected Elfsight title */
div[class*="WidgetTitle__Header"],
.WidgetTitle__Header-sc-c581efe-2 {
    display: none !important;
}