/* ===========================
   BISCOTTO - Premium Design System
   =========================== */

/* === CSS RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* === DESIGN TOKENS === */
:root {
    /* Colors */
    --cream: #FFFCF7;
    /* Lighter, warmer cream background */
    --brown: #4A3B32;
    /* Deep coffee brown for text */
    --beige: #E6DCCD;
    /* Soft beige for secondary elements */
    --light-beige: #F9F5F0;
    /* Slightly darker cream for cards */
    --soft-black: #2C2420;
    /* Very dark brown instead of black */
    --white: #FFFFFF;
    --pistachio: #A8B895;
    /* Soft green for accents */
    --gold: #D4AF37;
    /* Gold/Brass for details like stars */
    --terracotta: #C07A5C;
    /* Warm accent if needed */

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(74, 59, 50, 0.05);
    --shadow-md: 0 8px 24px rgba(74, 59, 50, 0.08);
    --shadow-lg: 0 12px 40px rgba(74, 59, 50, 0.12);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    /* More rounded cards */
    --radius-lg: 24px;
    --radius-full: 999px;

    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-base: 250ms ease-out;
    --transition-slow: 400ms ease-out;
}

/* === BASE STYLES === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--soft-black);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--soft-black);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

p {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--soft-black);
    opacity: 0.85;
}

/* === LAYOUT === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-3xl) 0;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9375rem;
    /* 15px */
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--brown);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brown);
}

.btn-primary:hover {
    background-color: var(--soft-black);
    border-color: var(--gold);
    /* Gold border on hover */
    color: var(--gold);
    /* Gold text on hover */
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--soft-black);
    border: 1px solid var(--beige);
}

.btn-outline:hover {
    border-color: var(--brown);
    background-color: var(--white);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

/* === BADGES === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-md);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.badge-rating {
    color: var(--brown);
}

.badge-location {
    color: var(--soft-black);
}

.item-badge {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-top {
    background-color: var(--brown);
    color: var(--white);
}

.badge-new {
    background-color: var(--pistachio);
    color: var(--white);
}

.badge-healthy {
    background-color: var(--light-beige);
    color: var(--brown);
    border: 1px solid var(--beige);
}

/* === CARDS === */
.card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

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

/* === SECTION HEADERS === */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--soft-black);
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: transparent;
    transition: all var(--transition-base);
    padding: var(--space-md) 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: var(--space-sm) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {

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

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

    .testimonials-carousel {
        padding: 0;
    }

    .carousel-btn {
        display: none;
    }

    /* Better spacing for location section on tablets */
    .location-info {
        gap: var(--space-xl);
    }

    .info-card {
        padding: var(--space-xl);
    }
}

@media (max-width: 768px) {
    section {
        padding: var(--space-2xl) 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-3xl) var(--space-lg);
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-slow);
    }

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

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .menu-category {
        grid-template-columns: 1fr;
    }

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

    .testimonials-track {
        grid-template-columns: 1fr;
    }

    /* Improved mobile spacing for location section */
    .location-info {
        gap: var(--space-2xl);
    }

    .info-card {
        padding: var(--space-xl) var(--space-lg);
        margin-bottom: var(--space-md);
    }

    .info-card h3 {
        margin-bottom: var(--space-lg);
        font-size: 1.25rem;
    }

    .address {
        margin-bottom: var(--space-xl);
        line-height: 1.9;
    }

    .schedule {
        gap: var(--space-md);
    }

    .schedule li {
        padding: var(--space-md) 0;
    }

    .service-chips {
        gap: var(--space-md);
        margin-top: var(--space-lg);
    }

    .chip {
        padding: var(--space-md) var(--space-lg);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2rem;
        --space-2xl: 3rem;
        --space-3xl: 4rem;
    }

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

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

    /* Extra spacing for very small screens */
    .location-info {
        gap: var(--space-2xl);
    }

    .info-card {
        padding: var(--space-lg);
    }

    .info-card+.info-card {
        margin-top: var(--space-xl);
    }

    section {
        padding: var(--space-xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-2xl);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

.logo img {
    height: 50px;
    transition: all var(--transition-base);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--soft-black);
    font-weight: 500;
    position: relative;
}

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-xs);
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--soft-black);
    transition: all var(--transition-base);
}

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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    /* Darker overlay for better text contrast */
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: var(--space-2xl) var(--space-md);
    max-width: 900px;
}

.hero-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    /* Increased gap */
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-title {
    color: var(--white);
    font-size: clamp(3rem, 6vw, 5rem);
    /* Larger title */
    margin-bottom: var(--space-md);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-title span {
    display: block;
    font-style: italic;
    font-weight: 400;
    color: var(--gold);
    /* Gold accent */
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.8s backwards;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--white);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

/* === MENU SECTION === */
.menu-section {
    background-color: var(--light-beige);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.menu-tab {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--white);
    color: var(--soft-black);
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.menu-tab:hover {
    background-color: var(--beige);
    color: var(--white);
}

.menu-tab.active {
    background-color: var(--brown);
    color: var(--white);
}

.menu-grid {
    position: relative;
}

.menu-category {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.menu-category.active {
    display: grid;
}

.menu-item {
    position: relative;
    background-color: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.menu-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
    gap: var(--space-md);
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    align-self: flex-start;
    line-height: 1;
}

/* === ABOUT SECTION === */
.about-section {
    background-color: var(--white);
    padding: var(--space-3xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Side by side on desktop */
    gap: var(--space-2xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/5;
    /* Taller image format */
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.about-header {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.section-tag {
    font-size: 0.875rem;
    /* Slightly larger */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    /* Gold accent for tags */
    opacity: 1;
    /* Fully visible */
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--soft-black);
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    border-top: 1px solid var(--beige);
    padding-top: var(--space-lg);
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown);
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--soft-black);
    opacity: 0.7;
}

/* === LOCATION SECTION === */
.location-section {
    background-color: var(--light-beige);
    padding: var(--space-3xl) 0;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.location-info {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--brown);
}

.info-card p,
.schedule li {
    font-size: 1rem;
    color: var(--soft-black);
    opacity: 0.9;
}

.schedule {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.schedule li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--beige);
    padding-bottom: 4px;
}

.service-chips {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.chip {
    padding: 0.5rem 1rem;
    background-color: var(--light-beige);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--brown);
}

.location-map {
    height: 100%;
    min-height: 400px;
}

/* === TESTIMONIALS SECTION === */
.testimonials-section {
    background-color: var(--cream);
    padding: var(--space-3xl) 0;
    text-align: center;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: 10;
}

.carousel-btn:hover {
    background-color: var(--brown);
    color: var(--white);
    border-color: var(--brown);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.testimonials-track {
    display: flex;
    /* Simplified for now, usually needs strict overflow:hidden and JS */
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    background-color: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.stars {
    color: var(--gold);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--soft-black);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--beige);
    color: var(--brown);
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* === CONTACT SECTION === */
.contact-section {
    background-color: var(--brown);
    color: var(--white);
    padding: var(--space-3xl) 0;
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split form and info */
    gap: var(--space-2xl);
    align-items: start;
    margin-top: var(--space-xl);
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--soft-black);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--beige);
    border-radius: var(--radius-sm);
    background-color: var(--light-beige);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--soft-black);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brown);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(74, 59, 51, 0.1);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    color: var(--cream);
    padding-top: var(--space-lg);
}

.contact-info h3 {
    color: var(--white);
    display: block;
    /* Ensure block display */
    margin-bottom: var(--space-sm);
}

.contact-info a {
    color: var(--cream);
    font-size: 1.125rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.social-links {
    display: flex;
    /* Flex container */
    gap: var(--space-md);
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
    padding: var(--space-3xl) 0;
    background-color: var(--cream);
}

.newsletter-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.newsletter-card h2 {
    margin-bottom: var(--space-xs);
}

.newsletter-card p {
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    gap: var(--space-sm);
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--beige);
    border-radius: var(--radius-full);
    font-size: 1rem;
}

/* === FOOTER === */
.footer {
    background-color: var(--soft-black);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-lg);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-logo img {
    height: 40px;
    margin: 0 auto var(--space-sm);
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    font-size: 0.75rem;
    opacity: 0.6;
}

@media (max-width: 900px) {

    .about-grid,
    .location-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        aspect-ratio: 16/9;
        /* Wider on mobile */
    }
}

/* === NEW HERO STYLES (User Image Match) === */
.hero-overlay {
    background: linear-gradient(rgba(74, 59, 50, 0.4), rgba(74, 59, 50, 0.6));
    /* Warm brown overlay */
}

/* Navbar Updates */
.navbar {
    padding: var(--space-md) 0;
}

.nav-container {
    justify-content: space-between;
}

.nav-menu {
    flex: 1;
    justify-content: center;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--brown);
}

.logo-box {
    width: 48px;
    height: 48px;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo img {
    height: 30px;
}

/* Hero Content Updates */
.hero-badges {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge-hero {
    background-color: var(--white);
    color: var(--soft-black);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.script-accent {
    font-family: 'Great Vibes', cursive;
    font-size: 8rem;
    color: var(--gold);
    display: block;
    line-height: 0.8;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.125rem;
    letter-spacing: 0.5px;
    max-width: 600px;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.hero-scroll-text {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

.hero-ctas {
    gap: 1.5rem;
}

.btn-hero {
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    min-width: 180px;
    justify-content: center;
}

.btn-primary.btn-hero {
    background-color: rgba(74, 59, 50, 0.9);
    border: none;
}

.btn-outline.btn-hero {
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline.btn-hero:hover {
    background-color: var(--white);
    color: var(--brown);
}

/* Features Section (Services) */
.services-section {
    padding: 6rem 0;
    background-color: var(--white);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: #EEEae6;
    /* Light beige square */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 8px;
    color: var(--soft-black);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--soft-black);
    opacity: 0.7;
    max-width: 300px;
}

/* Footer Simplification */
.footer {
    background-color: #F8F8F8;
    /* Lightest grey */
    padding: 3rem 0;
    color: var(--soft-black);
}

.footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.footer-links {
    gap: 2rem;
    color: #999;
}

.footer-links a {
    color: #999;
    text-transform: capitalize;
    font-size: 0.9rem;
    letter-spacing: normal;
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* === NAVIGATION SCROLL FIX === */
.navbar.scrolled .nav-link {
    color: var(--soft-black);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--brown);
}

.navbar.scrolled .btn-outline-light {
    border-color: var(--brown);
    color: var(--brown);
}

.navbar.scrolled .btn-outline-light:hover {
    background-color: var(--brown);
    color: var(--white);
}

/* Optional: Add a shadow to the white logo box or remove its background on scroll if preferred. 
   Keeping it simple for now as the user focused on names. */
.navbar.scrolled .logo-box {
    box-shadow: var(--shadow-sm);
    background-color: var(--light-beige);
    /* Slight contrast against white navbar */
}

/* === MOBILE OPTIMIZATION === */
@media (max-width: 768px) {

    /* Navbar Mobile Styles */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        padding: 2rem;
        z-index: 2000;
        /* Boosted z-index */
    }

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

    .nav-link {
        color: var(--soft-black);
        /* Always dark in mobile menu */
        font-size: 1.5rem;
        margin: 1rem 0;
    }

    .navbar .btn-outline-light {
        display: none;
        /* Hide 'VER MENÚ' button in header on mobile if redundant or move inside menu */
    }

    .menu-toggle {
        display: flex;
        z-index: 2001;
        /* Higher than menu */
        filter: invert(1);
        /* Ensure it's white on transparent hero */
    }

    .navbar.scrolled .menu-toggle {
        filter: invert(0);
        /* Black on white navbar */
    }

    .menu-toggle.active {
        filter: invert(0);
        /* Black when menu is open */
        position: fixed;
        right: 1.5rem;
        top: 1.5rem;
    }

    /* Hero Mobile Styles */
    .hero-title {
        font-size: 2.5rem;
    }

    .script-accent {
        font-size: 5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .btn-hero {
        width: 100%;
    }

    /* Services Mobile Styles */
    .services-section {
        padding: 4rem 1rem;
    }

    .services-grid {
        gap: 3rem;
    }

    /* Footer Mobile Styles */
    .footer-content {
        flex-direction: column-reverse;
        /* Copyright at bottom */
        gap: 2rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    /* Location Section Mobile Styles */
    .location-section {
        padding: 4rem 0;
        /* Reduced from 6rem */
    }

    .location-info {
        padding: 2rem;
        /* Reduced from 4rem */
        gap: 2rem;
        /* Reduced from 3rem */
        text-align: center;
        /* Center align for consistency */
    }

    .info-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .service-chips {
        justify-content: center;
    }

    .location-grid {
        border-radius: var(--radius-md);
        /* Slightly less rounded on mobile */
    }

    .location-map {
        min-height: 300px;
        /* Slightly shorter map on mobile */
    }
}