:root {
    --primary: #c5a059;
    --primary-dark: #b38f4d;
    --secondary: #1a1a1a;
    --text: #2d2d2d;
    --text-light: #666;
    --bg: #ffffff;
    --bg-alt: #faf9f6;
    --white: #ffffff;
    --black: #000000;
    --container: 1200px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* Hide default cursor */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4rem;
}

.section-padding {
    padding: 100px 0;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem; /* Reduced from 4rem */
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

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

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--black);
}

.section-subtitle {
    display: block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Visibility Helpers */
.mobile-only { display: none !important; }
.desktop-only { display: block !important; }

@media (max-width: 991px) {
    .mobile-only { display: block !important; }
    .desktop-only { display: none !important; }
}

/* Nav Overlay (Mobile only) */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none; /* Added to prevent blocking clicks when hidden */
    transition: var(--transition);
}

@media (max-width: 991px) {
    .nav-overlay { display: block; }
    .nav-overlay.active { opacity: 1; pointer-events: auto; }
}

body.menu-open { overflow: hidden; }

/* Custom Cursor */
.cursor {
    width: 66px; /* 50% larger than previous 44px */
    height: 66px;
    background: url('CURSOR_resultado.webp') no-repeat left top;
    background-size: contain;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    /* No transition for immediate response */
    will-change: transform;
}

.cursor-follower {
    display: none; /* User wants the PNG cursor specifically */
}

@media (max-width: 1024px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* Header */
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    height: 70px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
}

header.scrolled .logo { color: var(--black); }
header:not(.scrolled) .logo { color: var(--white); }

.nav-links {
    margin-left: auto;
    margin-right: 2rem;
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

header.scrolled .nav-links a { color: var(--text); }
header:not(.scrolled) .nav-links a { color: var(--white); }

.nav-links a:hover { color: var(--primary); }

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.8rem;
}

header.scrolled .lang-switch { color: var(--text); }
header:not(.scrolled) .lang-switch { color: var(--white); }

.lang-switch a.active { color: var(--primary); }

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 100px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: var(--black);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%; /* Adjusted to focus on the building facade and signs as shown in the screenshot */
    display: block;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-location {
    font-size: clamp(1rem, 4vw, 1.8rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

.hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
}

/* About Section */
.about { background: var(--white); }

.about-header.mobile-only {
    text-align: center;
    margin-bottom: 2rem;
}

.about-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-img img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-alt);
    border: 1px solid #eee;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Menu Section */
.menu {
    background: var(--bg-alt);
}

.menu-section {
    margin-bottom: 6rem;
}

.menu-section:last-child {
    margin-bottom: 0;
}

.menu-desc {
    color: var(--text-light);
    font-size: 1.1rem !important;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
}

.menu-inclusions {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 2px solid var(--primary);
    margin-bottom: 3rem;
    text-align: center;
}

.menu-inclusions h4 {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.inclusions-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem 3rem;
    padding: 0;
    list-style: none;
}

.inclusions-grid li {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inclusions-grid li .check {
    color: var(--primary);
    font-size: 1.3rem;
}

.main-price {
    margin-bottom: 4rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.menu-category h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: table;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-family: 'Playfair Display', serif;
}

.menu-category h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}

.simple-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.simple-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #ddd;
    font-size: 1rem;
    color: var(--text-light);
}

.simple-list li:last-child {
    border-bottom: none;
}

.menu-footer-info {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.price-tag {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-tag .amount {
    font-size: 4rem;
    color: var(--primary);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
}

.menu-hours {
    font-weight: 700;
    color: var(--primary);
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.kids-card {
    background: var(--secondary);
    color: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.kids-card h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.kids-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: var(--primary);
}

.kids-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.menu-sep {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 6rem 0;
}

/* Especial Section */
.menu-subtitle-alt {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 3rem;
}

.especial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.especial-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.especial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.especial-cat {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.especial-item p {
    font-size: 1.1rem;
    font-weight: 500;
}

.especial-price {
    max-width: 250px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid var(--primary);
}

/* Carta Section */
.carta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 5rem;
}

.carta-item {
    margin-bottom: 1.5rem;
}

.carta-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
}

.carta-item-header h4 {
    font-size: 1.15rem;
    font-family: 'Outfit', sans-serif;
    color: var(--secondary);
    flex-shrink: 0;
}

.dots {
    flex-grow: 1;
    border-bottom: 1px dashed #bbb;
    height: 1px;
}

.carta-item-header .price {
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 1.1rem;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.3rem;
    font-style: italic;
}

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

@media (max-width: 991px) {
    .menu-grid { grid-template-columns: 1fr; gap: 2rem; }
    .menu-footer-info { grid-template-columns: 1fr; }
    .carta-grid { grid-template-columns: 1fr; gap: 2rem; }
    .menu-section { margin-bottom: 4rem; }
}

@media (max-width: 480px) {
    .price-tag .amount { font-size: 3.5rem; }
    .inclusions-grid { gap: 1rem; }
    .inclusions-grid li { font-size: 1rem; }
    .menu-inclusions { padding: 1.5rem; }
    .kids-card, .price-tag { padding: 2rem 1.5rem; }
    .about-img img { height: 400px; }
}

/* Gallery Section */
.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
}

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

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

.gallery-item.wide { 
    grid-column: 1 / -1; 
    max-width: 900px; /* Smaller, more contained width */
    width: 100%;
    margin: 20px auto 0; /* Centered with margins */
    height: 520px; /* Increased height as requested */
    border-radius: 12px;
}

.gallery-item.wide img {
    object-fit: cover;
    object-position: center 70%; /* Adjusted to show 5% more of the top part */
}

/* OSM Credit Style */
.osm-credit {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    backdrop-filter: blur(2px);
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
}

.osm-credit:hover {
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gallery-mosaic {
        grid-template-columns: 1fr;
    }
    .gallery-item {
        height: 300px;
    }
    .gallery-item.wide { 
        height: 250px; 
    }
    .gallery-item.wide img {
        object-fit: cover;
        object-position: center 60%;
    }
}

/* Contact Section */
.contact {
    padding-top: 150px; /* Increased spacing as requested */
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-item .icon {
    font-size: 1.5rem;
    color: var(--primary);
    width: 50px;
    height: 50px;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-info h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.contact-item h4 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.contact-item p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 450px;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    margin: 0 auto;
    gap: 2rem; /* Mandatory gap to prevent clashing names and times */
}

.hours-list li span:first-child {
    font-weight: 600;
    color: var(--text);
}

.hours-list li span:last-child {
    font-weight: 700;
    color: var(--secondary);
    text-align: right;
}

.hours-list li.current {
    color: var(--primary);
    font-weight: 700;
    background: rgba(197, 160, 89, 0.1);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border-bottom: none;
    border-left: 4px solid var(--primary); /* Added prominent border-left */
}

.hours-list li.current span {
    color: var(--primary);
}

.contact-btns {
    margin-top: 3rem;
    display: flex;
    gap: 1.5rem;
}

.contact-map {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    height: 500px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.contact-map:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.map-overlay-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    font-weight: 700;
    color: var(--secondary);
    backdrop-filter: blur(5px);
}

/* Footer */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 5px;
}

.footer-links {
    margin-bottom: 2rem;
}

.footer-links a {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
    position: relative; /* Ensure they are clickable */
    z-index: 10;
}

.footer-sep {
    margin: 0 1rem;
    opacity: 0.5;
    font-size: 0.8rem;
}

.footer-links a:hover { opacity: 1; color: var(--primary); }

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Mobile Actions */
.mobile-actions {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    display: none;
    grid-template-columns: 1fr 1fr;
    z-index: 900;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

.btn-action {
    padding: 1.2rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-action:first-child { background: var(--primary); color: var(--white); }
.btn-action:last-child { background: var(--secondary); color: var(--white); }

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

header.scrolled .mobile-menu-btn span { background: var(--black); }

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }
.fade-up { transform: translateY(40px); }

.animate-on-scroll.slide-left.active,
.animate-on-scroll.slide-right.active {
    transform: translateX(0);
}

.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: reveal 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.delay-1 { animation-delay: 0.2s; }
.reveal-text.delay-2 { animation-delay: 0.4s; }

@keyframes reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
    .section-padding { padding: 60px 0; }
    .hero-content h1 { font-size: 3.5rem; }
    .menu-grid { grid-template-columns: 1fr; }

    /* Carta Mobile Fixes */
    .carta-item-header {
        align-items: flex-start;
        flex-wrap: wrap; 
    }
    .carta-item-header h4 {
        flex: 1; 
        flex-shrink: 1;
        white-space: normal;
        max-width: calc(100% - 80px); 
        word-wrap: break-word;
    }
    .dots { display: none; } 
    .price { flex-shrink: 0; min-width: 70px; text-align: right; }

    /* Contact Mobile Centering */
    .contact-details { 
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center; 
    }
    .contact-item { 
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2.5rem; 
    }
    .contact-item h4 { text-align: center; margin: 0 auto 0.5rem; }
    .contact-info { text-align: center; }
    .contact-info h2 { margin: 0 auto 1.5rem; }
    
    .hours-list { 
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .hours-list li {
        justify-content: space-between;
        gap: 1.5rem;
        padding: 0.8rem 0;
    }
    .hours-list li.current {
        justify-content: center;
        margin: 0 auto;
        border-left: none;
        border-top: 4px solid var(--primary); 
    }
    .about-header { margin-bottom: 2rem; }
    .contact-btns { 
        display: flex;
        flex-direction: column; /* Stack buttons for better centering */
        align-items: center;
        gap: 1rem;
        width: 100%;
    }
    .contact-btns .btn { width: 100%; max-width: 280px; text-align: center; margin: 0; }
    .contact-map { margin-top: 2rem; width: 100%; }
    
    /* Fast Mobile Animations to avoid white gaps */
    .animate-on-scroll {
        opacity: 0.3; /* Start partially visible so no white gaps */
        transform: translateY(10px); /* Small translation */
        transition: all 0.4s ease-out !important; /* Faster transition */
    }
    .animate-on-scroll.active {
        opacity: 1;
        transform: translateY(0);
    }
    .slide-left, .slide-right, .fade-up {
        transform: translateY(10px) !important; /* Override large translations */
    }
    .animate-on-scroll.slide-left.active,
    .animate-on-scroll.slide-right.active {
        transform: translateY(0) !important;
    }
    
    /* Strict Overflow Prevention */
    img, section, .container, main, .hero, .about, .menu, .gallery, .contact, footer { 
        max-width: 100% !important; 
        box-sizing: border-box !important; 
        overflow-x: hidden !important;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -320px;
        width: 70vw;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        padding: 5rem 2rem;
        box-shadow: -15px 0 40px rgba(0,0,0,0.1);
    }
    
    .nav-links.active { transform: translateX(-320px); }
    
    @media (max-width: 457px) {
        .nav-links.active { transform: translateX(-70vw); }
    }

    .nav-links a {
        color: var(--secondary) !important;
        margin: 1.8rem 0;
        font-size: 1.5rem;
        letter-spacing: 3px;
        font-weight: 700;
    }
    
    .mobile-menu-btn { display: flex; z-index: 1002; }
    
    .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--black); }
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); background: var(--black); }
    
    .about-text p { text-align: justify; }
    .about-features { justify-content: center; }
    
    .mobile-actions { display: grid; }
    html, body { 
        width: 100%; 
        overflow-x: hidden; 
        position: relative; 
    }
    body { padding-bottom: 120px; } /* Increased to ensure footer links are not blocked */
    main, section { overflow-x: hidden; width: 100%; }
    .container { padding: 0 1.2rem; width: 100%; box-sizing: border-box; overflow: hidden; } 
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2.5rem; }
    .section-header h2 { font-size: 2.2rem; }
    .menu-footer { gap: 2rem; }
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
}
