/* ===================================
   EL SINALOENSE — Stylesheet
   Classic & Elegant · Emerald + Cream
   =================================== */

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

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

body {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #faf8f4;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: #064e3b;
}

/* ── Layout ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* ── Section Eyebrow ── */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b07d4f;
    margin-bottom: 12px;
}

/* ── Section Title ── */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: #064e3b;
}

/* ── Section Subtitle ── */
.section-subtitle {
    font-size: 1.1rem;
    color: #4a4a4a;
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 16px 36px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: #065f46;
    color: #faf8f4;
    border-color: #065f46;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #044d38;
    border-color: #044d38;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 95, 70, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: #065f46;
    border-color: #065f46;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #065f46;
    color: #faf8f4;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ── Header / Navigation ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 95, 70, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #064e3b;
}

.logo-sub {
    font-family: 'Lato', sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #b07d4f;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #065f46;
    background-color: rgba(6, 95, 70, 0.06);
}

.nav-cta {
    background-color: #065f46 !important;
    color: #faf8f4 !important;
    margin-left: 8px;
}

.nav-cta:hover {
    background-color: #044d38 !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #064e3b;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #064e3b;
    transition: all 0.3s ease;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #064e3b;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        180deg,
        rgba(6, 78, 59, 0.7) 0%,
        rgba(6, 78, 59, 0.55) 50%,
        rgba(6, 50, 38, 0.85) 100%
    );
}

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

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #d4a574;
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.15;
    color: #faf8f4;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: #d4a574;
}

.hero-subheadline {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(250, 248, 244, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-actions .btn-secondary {
    color: #faf8f4;
    border-color: rgba(250, 248, 244, 0.5);
}

.hero-actions .btn-secondary:hover {
    background-color: #faf8f4;
    color: #064e3b;
    border-color: #faf8f4;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(250, 248, 244, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ── About ── */
.about {
    padding: 120px 0;
    background-color: #faf8f4;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border: 4px solid #faf8f4;
}

.about-img-secondary img {
    width: 250px;
    height: 320px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

.about-text .lead {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.6;
    color: #064e3b;
    margin-bottom: 20px;
}

.about-text p {
    color: #4a4a4a;
    margin-bottom: 16px;
    font-size: 1rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(6, 95, 70, 0.15);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(6, 95, 70, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #065f46;
    flex-shrink: 0;
}

.feature-item span:last-child {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* ── Menu ── */
.menu {
    padding: 120px 0;
    background-color: #f5f0e8;
    position: relative;
    overflow: hidden;
}

.menu-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(6, 95, 70, 0.03) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(176, 125, 79, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.menu-tab {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 28px;
    border: 1.5px solid rgba(6, 95, 70, 0.25);
    border-radius: 100px;
    background: transparent;
    color: #064e3b;
    cursor: pointer;
    transition: all 0.25s ease;
}

.menu-tab:hover {
    border-color: #065f46;
    background-color: rgba(6, 95, 70, 0.06);
}

.menu-tab.active {
    background-color: #065f46;
    border-color: #065f46;
    color: #faf8f4;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    background-color: #faf8f4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.menu-item-image {
    position: relative;
    overflow: hidden;
}

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

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

.menu-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: #b07d4f;
    color: #faf8f4;
    padding: 6px 14px;
    border-radius: 100px;
}

.menu-item-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.menu-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.menu-item-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #064e3b;
}

.menu-item-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b07d4f;
    background-color: rgba(176, 125, 79, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.95rem;
    color: #5a5a5a;
    line-height: 1.7;
    flex: 1;
}

/* ── Gallery ── */
.gallery {
    padding: 120px 0;
    background-color: #faf8f4;
}

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

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

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

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

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 5;
}

.gallery-item:nth-child(2) {
    grid-column: 1 / span 5;
}

.gallery-item:nth-child(3) {
    grid-column: 6 / span 6;
}

.gallery-item:nth-child(4) {
    grid-column: 1 / span 6;
}

.gallery-item:nth-child(5) {
    grid-column: 7 / span 6;
}

/* ── Visit ── */
.visit {
    padding: 120px 0;
    background-color: #f5f0e8;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.visit-detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(6, 95, 70, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #065f46;
    flex-shrink: 0;
}

.visit-detail h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 4px;
}

.visit-detail p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.7;
}

.visit-detail a {
    color: #065f46;
    text-decoration: underline;
    text-decoration-color: rgba(6, 95, 70, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.visit-detail a:hover {
    text-decoration-color: #065f46;
}

.visit-cta-group {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    min-height: 450px;
}

/* ── Contact ── */
.contact {
    padding: 120px 0;
    background-color: #064e3b;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text .section-eyebrow {
    color: #d4a574;
}

.contact-text .section-title {
    color: #faf8f4;
}

.contact-text p {
    color: rgba(250, 248, 244, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-direct {
    margin-top: 24px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4a574;
    text-decoration: underline;
    text-decoration-color: rgba(212, 165, 116, 0.4);
    text-underline-offset: 4px;
    transition: all 0.25s ease;
}

.contact-email:hover {
    color: #e8c49a;
    text-decoration-color: #d4a574;
}

/* Form */
.contact-form {
    background-color: rgba(250, 248, 244, 0.06);
    border: 1px solid rgba(250, 248, 244, 0.12);
    border-radius: 16px;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(250, 248, 244, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(250, 248, 244, 0.2);
    border-radius: 8px;
    background-color: rgba(250, 248, 244, 0.08);
    color: #faf8f4;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(250, 248, 244, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4a574;
    background-color: rgba(250, 248, 244, 0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(250, 248, 244, 0.4);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    text-align: center;
    padding: 40px;
}

.form-success svg {
    margin: 0 auto 16px;
}

.form-success h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    color: #faf8f4;
    margin-bottom: 8px;
}

.form-success p {
    color: rgba(250, 248, 244, 0.7);
    font-size: 1rem;
}

/* ── Footer ── */
.site-footer {
    background-color: #043d2e;
    color: rgba(250, 248, 244, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 300px;
}

.footer-logo .logo-main {
    color: #faf8f4;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4a574;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 248, 244, 0.65);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #faf8f4;
}

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(250, 248, 244, 0.65);
    text-decoration: underline;
    text-decoration-color: rgba(250, 248, 244, 0.25);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.footer-contact a:hover {
    color: #d4a574;
    text-decoration-color: #d4a574;
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 244, 0.1);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 248, 244, 0.4);
}

/* ── Mobile Responsive ── */
@media (max-width: 1024px) {
    .about-grid {
        gap: 60px;
    }
    
    .menu-grid {
        gap: 24px;
    }
    
    .contact-wrapper {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #faf8f4;
        padding: 100px 32px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right 0.35s ease;
        z-index: 999;
    }
    
    .main-nav.open {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .main-nav a {
        font-size: 1rem;
        padding: 12px 0;
        width: 100%;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 16px;
        text-align: center;
        display: block;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }
    
    .nav-overlay.visible {
        display: block;
    }
    
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .about-img-secondary img {
        width: 200px;
        height: 260px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 1;
    }
    
    .gallery-item img {
        height: 250px;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about,
    .menu,
    .gallery,
    .visit,
    .contact {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .menu-categories {
        gap: 6px;
    }
    
    .menu-tab {
        padding: 10px 20px;
        font-size: 0.7rem;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: no-preference) {
    .menu-item {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
