/* ============================================================
   CocinaTeen Club — Design System
   Paleta joven, redondeada, mobile-first
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --coral: #FF6B4A;
  --coral-dark: #E14F32;
  --teal: #12B3A8;
  --teal-dark: #0C8B82;
  --sun: #FFC93C;
  --ink: #211A2E;
  --bg: #FFF9F2;
  --card: #FFFFFF;
  --muted: #756E7D;
  --border: #F0E6DA;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(33, 26, 46, 0.08);
  --shadow-hover: 0 16px 40px rgba(33, 26, 46, 0.14);
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* Icons */
.icon { width: 22px; height: 22px; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 32px; height: 32px; }
.icon-category { width: 34px; height: 34px; color: var(--coral); }
.icon-flame { width: 16px; height: 16px; color: var(--border); }
.icon-flame.active { color: var(--coral); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--coral); color: #fff; border: none;
  padding: 14px 26px; border-radius: 999px;
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 107, 74, 0.4); }
.btn.btn-secondary {
  background: #fff; color: var(--coral-dark); border: 2px solid var(--coral);
  box-shadow: none;
}
.btn.btn-teal { background: var(--teal); box-shadow: 0 8px 20px rgba(18, 179, 168, 0.35); }
.btn.btn-outline { background: transparent; color: var(--ink); border: 2px solid var(--border); box-shadow: none; }
.btn.btn-block { width: 100%; }
.btn.btn-danger { background: #fff; color: #D9483A; border: 2px solid #F3C9C3; box-shadow: none; }
.btn.btn-sm { padding: 9px 18px; font-size: 13px; }

/* Header / nav */
header.site-header {
  background: rgba(255, 249, 242, 0.92); backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 20px;
  color: var(--coral-dark); display: flex; align-items: center; gap: 8px;
}
.logo .dot { color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 14.5px; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links { position: fixed; top: 68px; left: 0; right: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px;
    border-bottom: 1px solid var(--border); transform: translateY(-150%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
}

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); color: var(--ink); }
.hero h1 .highlight { color: var(--coral); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.hero-badges { display: flex; gap: 18px; margin-top: 32px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.hero-badge .icon { color: var(--teal); width: 18px; height: 18px; }

.hero-visual {
  background: linear-gradient(160deg, var(--coral) 0%, var(--sun) 100%);
  border-radius: var(--radius-lg); padding: 32px; color: #fff;
  display: grid; gap: 14px; box-shadow: var(--shadow);
}
.hero-visual .chip {
  background: rgba(255,255,255,.2); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 14px;
}
.hero-visual .chip .icon { width: 24px; height: 24px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-actions, .hero-badges { justify-content: center; }
}

/* Sections */
section { padding: 60px 0; }
section.alt { background: var(--card); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.section-head .eyebrow {
  color: var(--teal-dark); font-weight: 700; font-size: 13px; letter-spacing: .06em;
  text-transform: uppercase; margin-bottom: 8px; display: block;
}
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }

/* Benefit / feature grid */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border-radius: var(--radius-md); padding: 26px;
  border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-card { text-align: center; }
.feature-card .icon-wrap {
  width: 56px; height: 56px; border-radius: 16px; background: #FFF1EC;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* Category pills */
.category-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.category-card .count { font-size: 26px; font-weight: 800; color: var(--coral); font-family: 'Poppins', sans-serif; }
.category-card .label { font-size: 14px; font-weight: 600; }

/* Recipe cards */
.recipe-card { display: flex; flex-direction: column; gap: 0; position: relative; padding: 0; overflow: hidden; }
.recipe-card .badge {
  position: absolute; top: 14px; right: 14px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 5px; z-index: 2;
}
.recipe-card .badge.locked { background: #4B435A; }
.recipe-card .badge .icon { width: 12px; height: 12px; }
.recipe-card .cover {
  height: 128px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.recipe-card .cover::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 20% 20%, #fff 0, transparent 40%),
                     radial-gradient(circle at 80% 80%, #fff 0, transparent 40%);
}
.recipe-card .cover .icon-category { width: 48px; height: 48px; color: #fff; position: relative; z-index: 1; }
.recipe-card .cover.cover-breakfast { background: linear-gradient(140deg, #FFC93C, #FF9F45); }
.recipe-card .cover.cover-snack { background: linear-gradient(140deg, #12B3A8, #0C8B82); }
.recipe-card .cover.cover-lunch { background: linear-gradient(140deg, #FF6B4A, #E14F32); }
.recipe-card .cover.cover-special { background: linear-gradient(140deg, #7C5CFF, #4E3BD9); }
.recipe-card .cover.cover-dessert { background: linear-gradient(140deg, #FF6FA5, #E1467E); }
.recipe-card .cover.has-photo { background: #EDE7DD; }
.recipe-card .cover .cover-photo { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.recipe-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.recipe-card h3 { font-size: 16.5px; margin: 2px 0 0; }
.recipe-card .meta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.recipe-card .meta .meta-item { display: flex; align-items: center; gap: 5px; }
.recipe-card .flames { display: flex; gap: 3px; }
.recipe-card .cat-tag {
  align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--teal-dark);
  background: #E6F8F6; padding: 4px 10px; border-radius: 999px;
}

/* Filter tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-tab {
  padding: 10px 18px; border-radius: 999px; border: 2px solid var(--border);
  font-weight: 600; font-size: 13.5px; background: #fff; cursor: pointer;
}
.filter-tab.active, .filter-tab:hover { border-color: var(--coral); color: var(--coral-dark); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 34px; text-align: center; position: relative; }
.plan.highlight { border-color: var(--coral); }
.plan.highlight::before {
  content: "Más elegido"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px;
}
.plan .price { font-family: 'Poppins', sans-serif; font-size: 38px; font-weight: 800; color: var(--ink); margin: 14px 0 4px; }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 22px 0; text-align: left; }
.plan ul li { padding: 7px 0; font-size: 14.5px; display: flex; gap: 8px; }
.plan ul li .icon { color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; gap: 12px; }
.testimonial-card .stars { display: flex; gap: 3px; color: var(--sun); }
.testimonial-card .stars .icon { width: 16px; height: 16px; }
.testimonial-card p { font-size: 14.5px; color: var(--ink); }
.testimonial-card .author { font-weight: 700; font-size: 13.5px; color: var(--muted); }

/* Forms */
.form-card { max-width: 440px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 2px solid var(--border);
  font-size: 14.5px; font-family: inherit; background: #FFFDFB;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--coral); }
.form-error { background: #FFEDEA; color: #C0392B; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 18px; }
.form-success { background: #E6F8F6; color: var(--teal-dark); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13.5px; margin-bottom: 18px; }
.helper-link { text-align: center; font-size: 13.5px; margin-top: 18px; color: var(--muted); }
.helper-link a { color: var(--coral-dark); font-weight: 700; }

/* Dashboard */
.dashboard-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
@media (max-width: 800px) { .dashboard-grid { grid-template-columns: 1fr; } }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.status-pill.active { background: #E6F8F6; color: var(--teal-dark); }
.status-pill.pending { background: #FFF4DC; color: #B98900; }
.status-pill.past_due, .status-pill.cancelled { background: #FFEDEA; color: #C0392B; }

/* Ingredients checklist */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px; }
.checklist input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--coral); }
.checklist li.checked span { text-decoration: line-through; color: var(--muted); }

.steps-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.steps-list li { counter-increment: step; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.steps-list li::before {
  content: counter(step); flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--coral); color: #fff; font-weight: 800; font-family: 'Poppins', sans-serif;
  display: flex; align-items: center; justify-content: center; font-size: 13.5px;
}
.steps-list li > span { flex: 1; min-width: 0; }

.step-icon-row { flex-basis: 100%; display: flex; align-items: center; gap: 8px; margin: 2px 0 4px 44px; }
.step-icon { width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }

.callout-card { border: 2px solid var(--border); }
.callout-head { display: flex; align-items: center; gap: 10px; }
.callout-head .step-icon { width: 30px; height: 30px; }
.callout-head strong { font-family: 'Poppins', sans-serif; font-size: 15px; }

.recipe-hero {
  height: 180px; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  margin: 16px 0 24px; position: relative; overflow: hidden;
}
.recipe-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 15% 25%, #fff 0, transparent 40%),
                     radial-gradient(circle at 85% 75%, #fff 0, transparent 40%);
}
.recipe-hero .icon-category { width: 72px; height: 72px; color: #fff; position: relative; z-index: 1; }
.recipe-hero.cover-breakfast { background: linear-gradient(140deg, #FFC93C, #FF9F45); }
.recipe-hero.cover-snack { background: linear-gradient(140deg, #12B3A8, #0C8B82); }
.recipe-hero.cover-lunch { background: linear-gradient(140deg, #FF6B4A, #E14F32); }
.recipe-hero.cover-special { background: linear-gradient(140deg, #7C5CFF, #4E3BD9); }
.recipe-hero.cover-dessert { background: linear-gradient(140deg, #FF6FA5, #E1467E); }
.recipe-hero.has-photo { background: #EDE7DD; }
.recipe-hero .cover-photo { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.locked-box {
  background: #FBF3EA; border: 2px dashed var(--coral); border-radius: var(--radius-md);
  padding: 28px; text-align: center;
}

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; max-width: 720px; margin: 0 auto; }
.faq-item h4 { font-size: 16px; margin: 0 0 6px; }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* Footer */
footer.site-footer { background: var(--ink); color: #fff; padding: 48px 0 24px; margin-top: 20px; }
footer.site-footer a { color: #fff; opacity: .8; }
footer.site-footer a:hover { opacity: 1; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; font-size: 12.5px; opacity: .7; text-align: center; }

/* Utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.flex { display: flex; } .items-center { align-items: center; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; }
.badge-inline { display: inline-flex; align-items: center; gap: 6px; background: #F0E6DA; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
