/* ============================================
   Los 3 Tacos — Brand Styles
   Palette: Terracotta + Sand + Charcoal
   ============================================ */

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

:root {
    --terra-900: #5C2E0E;
    --terra-700: #8B4513;
    --terra-600: #A0522D;
    --terra-500: #C0623A;
    --terra-400: #D4845A;
    --terra-300: #E8A87C;
    --terra-200: #F0C4A0;
    --terra-100: #F7DCC4;
    --terra-50:  #FDF0E6;

    --sand-900:  #3D2B1F;
    --sand-700:  #6B4E37;
    --sand-500:  #9C7B5B;
    --sand-300:  #C9A87C;
    --sand-200:  #E0C9A4;
    --sand-100:  #F0E4CC;
    --sand-50:   #FAF5ED;
    --sand-25:   #FDFBF7;

    --charcoal:  #1A1A1A;
    --stone:     #2D2D2D;
    --slate:     #4A4A4A;
    --mist:      #8A8A8A;
    --cloud:     #E8E4DF;
    --fog:       #F5F2EE;
    --white:     #FFFFFF;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(26,26,26,0.08);
    --shadow-md: 0 4px 16px rgba(26,26,26,0.10);
    --shadow-lg: 0 8px 32px rgba(26,26,26,0.12);
    --shadow-xl: 0 16px 48px rgba(26,26,26,0.14);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--sand-25);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
}

.text-accent {
    color: var(--terra-600);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--terra-600);
    color: var(--white);
    border-color: var(--terra-600);
}

.btn-primary:hover {
    background: var(--terra-700);
    border-color: var(--terra-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--charcoal);
    border-color: var(--cloud);
}

.btn-outline:hover {
    border-color: var(--terra-400);
    color: var(--terra-600);
    background: var(--terra-50);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cloud);
    transition: all var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal);
}

.logo-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate);
    transition: color var(--transition);
    position: relative;
}

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

.nav-link:hover {
    color: var(--terra-600);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}

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

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

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

/* ---------- Hero ---------- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(160deg, var(--sand-25) 0%, var(--terra-50) 50%, var(--sand-50) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(192,98,58,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--slate);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terra-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.125rem;
    color: var(--slate);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Hero Visual Cards */
.hero-visual {
    position: relative;
    height: 520px;
}

.hero-card {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover {
    transform: translateY(-4px) !important;
}

.hero-card-main {
    width: 380px;
    height: 320px;
    top: 20px;
    right: 0;
}

.hero-card-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-label {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
}

.hero-card-stat {
    background: var(--white);
    padding: 20px 24px;
    min-width: 180px;
}

.stat-1 {
    bottom: 180px;
    left: -20px;
}

.stat-2 {
    bottom: 80px;
    right: 20px;
}

.stat-3 {
    top: 0;
    left: 40px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--terra-600);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--mist);
    line-height: 1.4;
}

/* ---------- Section Divider ---------- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--cloud);
}

.divider-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terra-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.7;
}

/* ---------- Menu ---------- */
.menu {
    padding: 96px 0;
    background: var(--white);
}

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

.menu-card {
    background: var(--sand-25);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--cloud);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--terra-200);
}

.menu-card-img {
    height: 220px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

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

.menu-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 700;
}

.menu-card-tag {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--terra-100);
    color: var(--terra-700);
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--slate);
    line-height: 1.65;
}

.menu-note {
    background: var(--terra-50);
    border: 1px solid var(--terra-200);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    text-align: center;
    font-size: 0.9375rem;
    color: var(--terra-700);
}

.menu-note strong {
    color: var(--terra-600);
}

/* ---------- About ---------- */
.about {
    padding: 96px 0;
    background: var(--sand-25);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 75%;
    height: 460px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

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

.about-img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--sand-25);
}

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

.about-content {
    max-width: 480px;
}

.about-divider {
    width: 60px;
    height: 3px;
    background: var(--terra-400);
    border-radius: 3px;
    margin-bottom: 28px;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    flex: 1;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--cloud);
}

.about-stat-num {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 0.8125rem;
    color: var(--mist);
    line-height: 1.4;
}

/* ---------- Testimonial ---------- */
.testimonial-strip {
    padding: 64px 0;
    background: var(--charcoal);
}

.testimonial-inner {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--sand-100);
    line-height: 1.5;
    margin-bottom: 20px;
}

.testimonial-attr {
    font-size: 0.875rem;
    color: var(--mist);
}

/* ---------- Location ---------- */
.location {
    padding: 96px 0;
    background: var(--white);
}

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

.location-divider {
    width: 60px;
    height: 3px;
    background: var(--terra-400);
    border-radius: 3px;
    margin-bottom: 28px;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
}

.location-item {
    display: flex;
    gap: 16px;
}

.location-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: var(--radius-md);
    color: var(--terra-600);
}

.location-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mist);
    margin-bottom: 4px;
}

.location-value {
    font-size: 1rem;
    color: var(--charcoal);
    line-height: 1.6;
}

.location-value a {
    color: var(--terra-600);
    transition: color var(--transition);
}

.location-value a:hover {
    color: var(--terra-700);
    text-decoration: underline;
}

.hours-block {
    background: var(--sand-25);
    border: 1px solid var(--cloud);
    border-radius: var(--radius-md);
    padding: 24px 28px;
}

.hours-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--cloud);
    font-size: 0.9375rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-day {
    color: var(--slate);
}

.hours-time {
    font-weight: 600;
    color: var(--charcoal);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 480px;
    border: 1px solid var(--cloud);
}

/* ---------- Contact ---------- */
.contact {
    padding: 96px 0;
    background: var(--sand-25);
}

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

.contact-divider {
    width: 60px;
    height: 3px;
    background: var(--terra-400);
    border-radius: 3px;
    margin-bottom: 28px;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--slate);
    line-height: 1.75;
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-method {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.contact-method:hover {
    border-color: var(--terra-200);
    box-shadow: var(--shadow-sm);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--terra-50);
    border-radius: var(--radius-md);
    color: var(--terra-600);
}

.contact-method-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mist);
    margin-bottom: 4px;
}

.contact-method-value {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
}

.contact-method-value a {
    color: var(--terra-600);
}

.contact-method-value a:hover {
    text-decoration: underline;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--cloud);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--charcoal);
    background: var(--sand-25);
    border: 1.5px solid var(--cloud);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--terra-400);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(192,98,58,0.1);
}

.form-input::placeholder {
    color: var(--mist);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238A8A8A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

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

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

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--terra-50);
    border: 2px solid var(--terra-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--terra-600);
    font-weight: 700;
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.success-text {
    color: var(--slate);
    font-size: 0.9375rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--charcoal);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--mist);
    line-height: 1.65;
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sand-300);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--mist);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--terra-300);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--mist);
    line-height: 1.7;
}

.footer-contact a {
    color: var(--mist);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--terra-300);
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--slate);
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253,251,247,0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    transition: color var(--transition);
}

.mobile-menu a:hover {
    color: var(--terra-600);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
    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);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        height: 420px;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-images {
        height: 450px;
        max-width: 500px;
    }

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

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

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        justify-content: center;
    }

    .hero-visual {
        height: 360px;
    }

    .hero-card-main {
        width: 280px;
        height: 240px;
    }

    .hero-card-stat {
        padding: 14px 18px;
        min-width: 140px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-images {
        height: 380px;
    }

    .about-img-main {
        width: 80%;
        height: 320px;
    }

    .about-img-float {
        width: 60%;
        height: 200px;
    }

    .about-stats {
        gap: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .location-map {
        height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-visual {
        height: 300px;
    }

    .hero-card-main {
        width: 240px;
        height: 200px;
    }

    .stat-1 { left: 0; }
    .stat-2 { right: 0; }
    .stat-3 { left: 20px; }

    .contact-form-wrap {
        padding: 24px;
    }
}
