/* ============================================
   Los Compas Taqueria y Tortilleria
   Fresh & Airy · Burgundy + Blush
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --blush: #FAD4C0;
    --blush-light: #FDF0E8;
    --cream: #FFFAF7;
    --warm-white: #FFF9F5;
    --text-dark: #2D1518;
    --text-medium: #5A3540;
    --text-light: #8A6070;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.06);
    --shadow-md: 0 4px 20px rgba(123, 45, 59, 0.08);
    --shadow-lg: 0 8px 40px rgba(123, 45, 59, 0.10);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--burgundy);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
    text-decoration: none;
}
.skip-link:focus {
    top: 16px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--burgundy);
    color: #fff;
    box-shadow: 0 4px 16px rgba(123, 45, 59, 0.25);
}
.btn-primary:hover {
    background: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(123, 45, 59, 0.35);
}

.btn-accent {
    background: var(--blush);
    color: var(--burgundy);
    padding: 10px 22px;
    font-weight: 600;
}
.btn-accent:hover {
    background: #f5c4a8;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
}
.btn-outline:hover {
    background: var(--burgundy);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--burgundy);
    border: 1.5px solid var(--burgundy);
}
.btn-outline-light:hover {
    background: var(--blush-light);
    transform: translateY(-2px);
}

/* Section shared */
.section {
    padding: 100px 0;
}

.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 560px;
    line-height: 1.7;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 250, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.06);
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 250, 247, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--burgundy);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.site-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}
.site-nav a:not(.btn):hover {
    color: var(--burgundy);
}
.site-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    border-radius: 1px;
    transition: var(--transition);
}
.site-nav a:not(.btn):hover::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 110;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger {
    position: relative;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: 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 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--blush-light) 50%, #fce8df 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--blush);
    top: -200px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #f5c4a8;
    bottom: -100px;
    left: -100px;
    opacity: 0.35;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(123, 45, 59, 0.08);
    top: 40%;
    left: 30%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 1px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
}
.hero-title em {
    color: var(--burgundy);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 6/7;
    display: block;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, transparent 60%, rgba(123, 45, 59, 0.08) 100%);
    pointer-events: none;
}

/* Decorative accent behind hero image */
.hero-image::after {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--blush);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu-section {
    background: var(--warm-white);
}

.menu-section .container {
    text-align: center;
}

.menu-section .section-subtitle {
    margin: 0 auto 56px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.menu-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}
.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 28px;
}

.menu-card-title {
    font-size: 1.375rem;
    margin-bottom: 10px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

.menu-note {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   TORTILLAS SECTION
   ============================================ */
.tortillas-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--blush-light) 100%);
}

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

.tortillas-images {
    position: relative;
}

.tortilla-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.tortilla-img-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 5/6;
    object-fit: cover;
    display: block;
}

.tortilla-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}
.tortilla-img-accent img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.tortillas-content .section-title {
    margin-bottom: 24px;
}

.tortillas-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.tortilla-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px 0;
}

.tortilla-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
}

.tortilla-features svg {
    flex-shrink: 0;
}

.tortillas-content .btn {
    margin-top: 8px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--warm-white);
}

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

.about-images {
    position: relative;
}

.about-images img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    object-fit: cover;
    aspect-ratio: 9/10;
    display: block;
    box-shadow: var(--shadow-lg);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--burgundy);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.85;
    line-height: 1.4;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(123, 45, 59, 0.1);
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--blush-light) 100%);
}

.visit-section .container {
    text-align: center;
}

.visit-section .section-subtitle {
    margin: 0 auto 56px;
}

.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.visit-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: left;
}
.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.visit-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--blush-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.visit-card-title {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

.visit-card address,
.visit-card p {
    font-style: normal;
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.visit-card a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 500;
}
.visit-card a:hover {
    text-decoration: underline;
}

.visit-hours-note {
    font-size: 0.8125rem !important;
    color: var(--text-light) !important;
    margin-top: 4px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 56px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Strip */
.cta-strip {
    background: var(--burgundy);
    border-radius: var(--radius-xl);
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-strip p {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.cta-strip-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline-light {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.25);
    border-color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.875rem;
    line-height: 1.6;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--blush);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    opacity: 0.5;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-image::after {
        display: none;
    }
    
    .tortillas-container,
    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .tortilla-img-accent {
        right: 0;
        bottom: -20px;
    }
    
    .about-badge {
        left: auto;
        right: 20px;
        bottom: -16px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }
    
    /* Mobile nav */
    .nav-toggle {
        display: block;
    }
    
    .site-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream);
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0,0,0,0.1);
        z-index: 100;
    }
    
    .site-nav.open {
        transform: translateX(0);
    }
    
    .site-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .site-nav a {
        font-size: 1.125rem;
        padding: 12px 0;
        display: block;
    }
    
    .site-nav a:not(.btn)::after {
        display: none;
    }
    
    .site-nav .btn-accent {
        margin-top: 16px;
        text-align: center;
        width: 100%;
    }
    
    /* Mobile overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 99;
    }
    .nav-overlay.active {
        display: block;
    }
    
    /* Hero mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }
    
    .hero-trust {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    /* Menu mobile */
    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Visit mobile */
    .visit-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 36px 28px;
    }
    
    .cta-strip p {
        font-size: 1.25rem;
    }
    
    .cta-strip-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-strip-actions .btn {
        justify-content: center;
    }
    
    /* About stats mobile */
    .about-stats {
        gap: 24px;
    }
    
    /* Footer mobile */
    .footer-inner {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .tortilla-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 56px 0;
    }
    
    .hero {
        padding: 90px 0 48px;
    }
}
