/* ============================================================
   La Chinita's Cocina — brand stylesheet
   Pink #E84393 · Teal #159A8C · Yellow #F6C945
   Cream #FFFBF2 · Plum-brown text #3E2A35
   ============================================================ */

:root {
    --pink: #E84393;
    --pink-dark: #C92B77;
    --teal: #159A8C;
    --teal-dark: #0F7A6E;
    --yellow: #F6C945;
    --cream: #FFFBF2;
    --ink: #3E2A35;
    --ink-soft: #6E5561;
    --card-shadow: 0 10px 30px rgba(62, 42, 53, 0.12);
    --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: "Nunito", system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.6;
    font-size: 17px;
}

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

h1, h2, h3 {
    font-family: "Fredoka", "Nunito", sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}

a { color: var(--teal-dark); }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }

.section-title {
    font-size: 2.1rem;
    text-align: center;
    margin-bottom: 10px;
}
.section-title.left { text-align: left; }
.section-title.light { color: #fff; }

.section-lede {
    text-align: center;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 40px;
    font-size: 1.08rem;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 6px 16px rgba(62, 42, 53, 0.18);
}
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: #fff; }
.btn-pink:hover { background: var(--pink-dark); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #eebd2f; }

/* ---------- Header ---------- */
.site-header {
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 14px rgba(62, 42, 53, 0.08);
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    margin-right: auto;
}
.brand-logo {
    width: 58px; height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--pink);
    box-shadow: 0 4px 10px rgba(232, 67, 147, 0.35);
}
.brand-name {
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    font-size: 1.45rem;
    color: var(--ink);
    display: block;
    line-height: 1.1;
}
.brand-name-accent { color: var(--pink); }
.brand-tag {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--teal-dark);
    letter-spacing: 0.02em;
}
.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.main-nav a {
    font-family: "Fredoka", sans-serif;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 999px;
}
.main-nav a:hover { background: #FDEAF3; }
.main-nav a.active { background: var(--pink); color: #fff; }
.call-btn {
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    background: var(--yellow);
    color: var(--ink);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(246, 201, 69, 0.5);
    white-space: nowrap;
}
.call-btn:hover { background: #eebd2f; }

/* Papel picado bunting strip */
.papel { line-height: 0; background: var(--cream); }
.papel svg { width: 100%; height: 30px; display: block; }

/* ---------- Scalloped dividers ---------- */
.scallop {
    height: 22px;
    background-repeat: repeat-x;
    background-size: 26px 22px;
}
.scallop-pink {
    background-color: var(--pink);
    background-image: radial-gradient(circle at 13px 0, var(--cream) 12px, transparent 13px);
}
.scallop-teal {
    background-color: var(--teal);
    background-image: radial-gradient(circle at 13px 0, var(--cream) 12px, transparent 13px);
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(160deg, #FFF3E0 0%, var(--cream) 45%, #FDEAF3 100%);
    padding: 64px 0 72px;
}
.hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-logo {
    width: 150px; height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--pink);
    box-shadow: 0 12px 28px rgba(232, 67, 147, 0.35);
    margin-bottom: 22px;
}
.hero h1 { font-size: 2.9rem; font-weight: 700; margin-bottom: 16px; }
.hero h1 .heart { font-size: 2.2rem; vertical-align: baseline; }
.hero-sub { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 480px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo img {
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    border: 6px solid #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    background: linear-gradient(160deg, #FDEAF3, var(--cream));
    text-align: center;
    padding: 52px 0 44px;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 8px; }
.page-hero p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------- Food cards ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.food-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border-bottom: 6px solid var(--pink);
}
.food-card:nth-child(2) { border-bottom-color: var(--teal); }
.food-card:nth-child(3) { border-bottom-color: var(--yellow); }
.food-card:nth-child(4) { border-bottom-color: var(--pink); }
.food-card img { height: 180px; width: 100%; object-fit: cover; }
.food-card-body { padding: 20px 20px 24px; }
.food-card-body h3 { font-size: 1.2rem; margin-bottom: 7px; }
.food-card-body p { color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Market strip ---------- */
.market-strip { background: var(--teal); padding: 64px 0; }
.market-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 34px;
}
.market-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 26px 24px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border-top: 8px solid var(--yellow);
}
.market-day {
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.market-time { font-weight: 800; font-size: 1.05rem; margin: 4px 0 8px; }
.market-name { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.08rem; }
.market-area { color: var(--ink-soft); font-size: 0.95rem; }
.market-strip-note { text-align: center; color: #EAFBF7; margin-top: 28px; }
.market-strip-note a { color: var(--yellow); font-weight: 800; }

/* ---------- About teaser ---------- */
.teaser-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.teaser-photo { border-radius: 28px; box-shadow: var(--card-shadow); border: 6px solid #fff; }
.teaser-text p { color: var(--ink-soft); margin: 14px 0 24px; font-size: 1.05rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pink); padding: 52px 0; }
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.cta-band p { color: #FFE3F0; font-size: 1.05rem; }

/* ---------- Menu page ---------- */
.menu-wrap { max-width: 820px; }
.menu-group { margin-bottom: 52px; }
.menu-group h2 { font-size: 1.7rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.menu-dot { width: 16px; height: 16px; border-radius: 50%; display: inline-block; flex: none; }
.dot-pink { background: var(--pink); }
.dot-teal { background: var(--teal); }
.dot-yellow { background: var(--yellow); }
.menu-photo {
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 5px solid #fff;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}
.menu-list { list-style: none; }
.menu-list li {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(62, 42, 53, 0.07);
    padding: 16px 20px;
    margin-bottom: 12px;
}
.menu-list h3 { font-size: 1.13rem; margin-bottom: 3px; }
.menu-list p { color: var(--ink-soft); font-size: 0.98rem; }
.menu-note {
    background: #FFF6D8;
    border: 2px dashed var(--yellow);
    border-radius: var(--radius);
    padding: 22px 26px;
    font-size: 1.02rem;
}

/* ---------- Story page ---------- */
.story-wrap { max-width: 760px; }
.story-logo {
    width: 130px; height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--pink);
    box-shadow: 0 10px 24px rgba(232, 67, 147, 0.3);
    margin: 0 auto 26px;
}
.story-wrap h2 { font-size: 1.6rem; margin: 30px 0 10px; }
.story-wrap h2:first-of-type { text-align: center; }
.story-wrap p { margin-bottom: 14px; font-size: 1.05rem; color: #4c3641; }
.story-photo {
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    border: 6px solid #fff;
    margin: 26px 0 6px;
    width: 100%;
}
.story-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Visit page ---------- */
.visit-photo {
    border-radius: 28px;
    box-shadow: var(--card-shadow);
    border: 6px solid #fff;
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    margin-bottom: 36px;
}
.visit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}
.visit-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 28px 24px;
    text-align: center;
    border-top: 8px solid var(--pink);
}
.visit-card:nth-child(2) { border-top-color: var(--teal); }
.visit-card:nth-child(3) { border-top-color: var(--yellow); }
.visit-day {
    font-family: "Fredoka", sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--pink);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.visit-time { font-weight: 800; font-size: 1.08rem; margin: 4px 0 10px; }
.visit-card h2 { font-size: 1.2rem; margin-bottom: 5px; }
.visit-area { color: var(--ink-soft); }
.visit-note {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 30px 32px;
}
.visit-note h2 { font-size: 1.45rem; margin-bottom: 10px; }
.visit-note p { color: var(--ink-soft); margin-bottom: 10px; }

/* ---------- Contact page ---------- */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 34px;
    align-items: start;
}
.info-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 22px 24px;
    margin-bottom: 18px;
    border-left: 8px solid var(--teal);
}
.info-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.big-link {
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--pink);
    text-decoration: none;
    word-break: break-word;
}
.big-link:hover { text-decoration: underline; }
.info-note { color: var(--ink-soft); font-size: 0.95rem; margin-top: 4px; }

.inquiry-form {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    padding: 30px 32px 34px;
    border-top: 8px solid var(--pink);
}
.inquiry-form h2 { font-size: 1.5rem; margin-bottom: 16px; }
.inquiry-form label {
    display: block;
    font-weight: 800;
    margin: 14px 0 6px;
    font-size: 0.98rem;
}
.inquiry-form .optional { font-weight: 600; color: var(--ink-soft); font-size: 0.88rem; }
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    color: var(--ink);
    background: var(--cream);
    border: 2px solid #EBD8E0;
    border-radius: 14px;
    padding: 12px 14px;
}
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--pink);
    background: #fff;
}
.btn-submit { margin-top: 20px; width: 100%; font-size: 1.12rem; }
.form-success {
    margin-top: 16px;
    background: #E5F7F3;
    border: 2px solid var(--teal);
    color: var(--teal-dark);
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 700;
}
.form-error {
    margin-top: 16px;
    background: #FDEAF3;
    border: 2px solid var(--pink);
    color: var(--pink-dark);
    border-radius: 14px;
    padding: 13px 16px;
    font-weight: 700;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #F5E9EE; margin-top: 0; }
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 54px 20px 34px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 38px;
}
.footer-logo {
    width: 84px; height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--yellow);
    margin-bottom: 12px;
}
.footer-name { font-family: "Fredoka", sans-serif; font-weight: 700; font-size: 1.35rem; color: #fff; }
.footer-tag { color: var(--yellow); font-weight: 800; margin-bottom: 8px; }
.footer-col h3 { color: #fff; font-size: 1.15rem; margin-bottom: 12px; }
.footer-col p { color: #D9C4CE; font-size: 0.97rem; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 12px; color: #D9C4CE; font-size: 0.97rem; }
.footer-list strong { color: #fff; }
.site-footer a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    padding: 18px 20px 22px;
    color: #BFA6B2;
    font-size: 0.92rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-photo img { max-height: 340px; }
    .teaser-inner { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .card-grid, .market-grid, .visit-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .hero-logo { width: 120px; height: 120px; }
    .section { padding: 52px 0; }
    .header-inner { justify-content: center; }
    .brand { margin-right: 0; }
    .main-nav { justify-content: center; }
    .cta-inner { justify-content: center; text-align: center; }
}
