:root {
  --bg: #FBF6EE;
  --bg-alt: #F4EADB;
  --card: #FFFFFF;
  --ink: #2B1A14;
  --ink-soft: #4E3B32;
  --muted: #6B564B;
  --line: #E8DCC8;
  --line-strong: #E0CFB2;
  --choco: #4A2C21;
  --choco-deep: #3A2219;
  --black: #1A1210;
  --gold: #C9A04E;
  --gold-light: #E0BD6E;
  --gold-text: #8A6420;
  --cream-on-dark: #F3E2B8;
  --muted-on-dark: #E2D3BE;
  --ok-bg: #E6EDD9;
  --ok-ink: #2F3822;
  --warn-bg: #F6E7CC;
  --warn-ink: #5C3E1E;
  --bad-bg: #F6DDD6;
  --bad-ink: #7A2A17;
  --radius: 22px;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Lato', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--gold-text); }
a:hover { color: #5E4415; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; margin: 0; line-height: 1.1; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.loading { padding: 120px 24px; text-align: center; color: var(--muted); }
.eyebrow { font-size: 13px; font-weight: 900; letter-spacing: .18em; color: var(--gold-text); text-transform: uppercase; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.gold-rule { width: 64px; height: 3px; background: var(--gold); border-radius: 2px; }
.section { padding: 72px 0; }
.wrap.section { padding-left: 24px; padding-right: 24px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(32px, 4vw, 44px); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border-radius: 999px; font-weight: 900; font-size: 15px; letter-spacing: .03em; text-decoration: none; border: 0; cursor: pointer; transition: background .15s, color .15s; }
.btn-dark { background: var(--ink); color: var(--cream-on-dark); }
.btn-dark:hover { background: var(--choco); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #B38A3A; color: var(--ink); }
.btn-line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream-on-dark); }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-danger { background: transparent; border: 1.5px solid var(--bad-ink); color: var(--bad-ink); }
.btn-danger:hover { background: var(--bad-ink); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-block { width: 100%; }

/* Header */
.site-header { --hh: 92px; position: relative; z-index: 6; height: calc(var(--hh) * 2.46); background: url(/img/drip-strip.webp) repeat-x 50% 0 / auto 100%; }
.header-bar { position: relative; height: var(--hh); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { width: 68px; height: 68px; border-radius: 50%; object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.45); }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word strong { font-family: var(--serif); font-size: 24px; color: var(--black); }
.brand-word span { font-size: 11px; font-weight: 900; letter-spacing: .2em; color: var(--gold-text); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-weight: 700; font-size: 15px; }
.nav a { color: #FBEFD8; text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.nav a:hover, .nav a.active { color: #F1CF7A; }
.nav .btn { background: var(--gold); color: var(--ink); text-shadow: none; }
.nav .btn:hover { background: #E0BD6E; color: var(--ink); }
.show-m { display: none !important; }

/* Chocolate */
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-side { position: absolute; top: 0; height: 100%; width: auto; pointer-events: none; }
@media (max-width: 1000px) { .deco-side { display: none; } }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding-top: 0; padding-bottom: 80px; }
.hero-banner { position: relative; width: 100%; height: clamp(360px, calc(100svh - 300px), 560px); margin-bottom: 28px; text-align: left; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; border-radius: 28px; overflow: hidden; background: #EFE2CC;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-photo .placeholder { padding-left: 30%; }
.hero-name { position: absolute; left: 0; bottom: 12%; z-index: 1; max-width: 70%; display: flex; flex-direction: column; gap: 14px; }
.hero-name h1 { display: flex; flex-direction: column; line-height: 1; }
.hero-name .hola { font-family: var(--serif); font-weight: 700; font-size: clamp(48px, 7vw, 96px); letter-spacing: .02em; }
.hero-name .script { font-family: 'Great Vibes', 'Allura', cursive; font-weight: 400; font-size: clamp(54px, 8.4vw, 118px); color: var(--gold-text); line-height: 1.05; margin-top: -4px; text-shadow: 0 1px 0 rgba(251,246,238,.6), 0 0 18px rgba(251,246,238,.85); }
.hero-name .eyebrow { font-size: clamp(12px, 1.3vw, 15px); padding-left: 4px; }
.hero-title { font-size: clamp(32px, 5vw, 58px); line-height: 1.08; max-width: 900px; }
.hero-bio { max-width: 680px; display: flex; flex-direction: column; gap: 12px; font-size: 18px; line-height: 1.7; color: var(--muted); }

.placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; padding: 20px; }
.placeholder svg { width: 30px; height: 30px; }

/* Sobre mí */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; margin-bottom: 40px; }
.about > div:first-child { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.about h2 { font-size: clamp(32px, 4vw, 44px); }
.about-text { flex: 1 1 440px; display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-bottom: 40px; }
.gallery > div { height: 260px; border-radius: 20px; overflow: hidden; background: #EFE2CC; border: 1px solid var(--line-strong); }
.gallery > div:nth-child(even) { background: #E6D3B6; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card { position: relative; max-width: 640px; margin: 8px auto 0; padding: 56px 36px 36px 76px; background-color: #FFFDF6;
  background-image: linear-gradient(90deg, transparent 54px, rgba(200, 80, 70, .45) 54px, rgba(200, 80, 70, .45) 56px, transparent 56px),
    repeating-linear-gradient(180deg, transparent 0, transparent 35px, rgba(110, 150, 190, .28) 35px, rgba(110, 150, 190, .28) 36px);
  background-position: 0 0, 0 20px; border-radius: 4px; transform: rotate(-1.2deg);
  box-shadow: 0 1px 1px rgba(0,0,0,.08), 0 14px 30px -12px rgba(43, 26, 20, .45); font-family: 'Caveat', 'Segoe Print', cursive; color: #3B2A20; }
.recipe-card::before { content: ''; position: absolute; top: -14px; left: 50%; width: 130px; height: 32px; transform: translateX(-50%) rotate(2deg); background: rgba(232, 214, 170, .78); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.recipe-card h3 { font-family: 'Caveat', cursive; font-weight: 700; font-size: 34px; line-height: 36px; margin: 0 0 0; color: #7A2E22; }
.recipe-card ul { list-style: none; margin: 0; padding: 0; }
.recipe-card li { font-size: 26px; line-height: 36px; padding-left: 30px; text-indent: -30px; }
.recipe-card li .sub { display: block; text-indent: 0; color: #5A4436; font-size: 23px; }
.recipe-card li::before { content: '✓'; display: inline-block; width: 30px; text-indent: 0; color: #7A2E22; font-weight: 700; }
.recipe-card li strong { font-weight: 700; }
.recipe-card .sign { text-align: right; font-size: 26px; line-height: 36px; margin-top: 0; color: #7A2E22; }

/* Dulce / Salado */
.split-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.split-card { position: relative; overflow: hidden; border-radius: 28px; padding: 36px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; text-decoration: none; }
.split-card strong { font-family: var(--serif); font-size: 44px; }
.split-card.dark { background: var(--choco); color: var(--cream-on-dark); }
.split-card.dark strong { color: #fff; }
.split-card.dark .eyebrow { color: var(--gold-light); }
.split-card.dark span:last-child { color: var(--muted-on-dark); }
.split-card.light { background: #EFE2CC; border: 2px solid var(--gold); color: var(--ink); }
.split-card:hover { transform: translateY(-2px); transition: transform .15s; }

/* Cuchara de madera */
.paddle-section { padding: 48px 0 60px; }
.spoon-link { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 600px; margin: 0 auto; text-decoration: none; color: var(--ink); border-radius: 24px; }
.spoon-label { position: relative; font-family: 'Caveat', 'Segoe Print', cursive; font-weight: 700; font-size: clamp(36px, 6vw, 52px); color: #4A2812; line-height: 1; padding-right: 56px; }
.spoon-arrow { position: absolute; right: -6px; top: 18px; width: 54px; height: 48px; color: var(--gold-text); animation: nudge 1.4s ease-in-out infinite; }
.spoon { display: block; width: 100%; height: auto; overflow: visible; transition: transform .2s ease; }
.spoon-link:hover .spoon { transform: rotate(-2deg) translateY(-2px); }
.spoon-link:hover .spoon-label { color: var(--gold-text); }
@keyframes nudge { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, 6px); } }
@media (prefers-reduced-motion: reduce) { .spoon-arrow { animation: none; } }

/* Reseñas */
.carousel { position: relative; }
.reviews { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 4px; padding: 6px 4px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.reviews::-webkit-scrollbar { display: none; }
.reviews .review { flex: 0 0 calc((100% - 40px) / 2.6); scroll-snap-align: start; }
.car-btn { position: absolute; top: 50%; transform: translateY(-60%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(43,26,20,.5); transition: opacity .2s; }
.car-btn.prev { left: -22px; }
.car-btn.next { right: -22px; }
.car-btn:hover { background: var(--ink); color: var(--cream-on-dark); }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.review { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.stars { display: flex; gap: 3px; color: var(--gold); }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: #3A2A22; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #EFE2CC; border: 1.5px solid var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; color: #5E4415; flex: none; }

/* FAQ */
.faq-section { position: relative; overflow: hidden; }
.faq { display: flex; flex-direction: column; gap: 14px; position: relative; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 900; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-text); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px; padding: 56px 0 28px; }
.footer-grid h2 { font-family: var(--sans); font-size: 13px; font-weight: 900; letter-spacing: .18em; color: var(--gold-light); margin-bottom: 4px; }
.footer-grid .col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-grid a { color: var(--muted-on-dark); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.footer-grid a:hover { color: #fff; }
.footer-logo { width: 110px; height: 110px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(201,160,78,.5); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--gold); justify-content: center; }
.footer-bottom { border-top: 1px solid #4A3329; padding: 18px 0 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: #BFAE98; }
.map-frame { width: 100%; height: 140px; border: 0; border-radius: 14px; }
.icon { width: 20px; height: 20px; flex: none; }

/* Catálogo */
.type-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 720px; margin: 0 auto; }
.type-tab { min-height: 110px; border-radius: 24px; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; }
.type-tab strong { font-family: var(--serif); font-size: 36px; }
.type-tab span { font-size: 14px; font-weight: 700; opacity: .85; }
.type-tab[aria-selected="true"] { background: var(--choco); border-color: var(--gold); color: var(--cream-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: var(--card); color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream-on-dark); }
.course-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.course-card { text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.course-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(43, 26, 20, .45); color: var(--ink); }
.course-card .cover { height: 200px; background: #EFE2CC; }
.course-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.course-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; font-weight: 900; color: var(--gold-text); text-transform: uppercase; letter-spacing: .1em; }
.course-card h3 { font-size: 24px; line-height: 1.15; }
.course-card p { color: var(--muted); font-size: 15px; }
.course-card .foot { margin-top: auto; padding-top: 14px; border-top: 1px solid #F0E6D6; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.price { font-size: 20px; font-weight: 900; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 900; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }
.badge-ok { background: var(--ok-bg); color: var(--ok-ink); }
.badge-warn { background: var(--warn-bg); color: var(--warn-ink); }
.badge-bad { background: var(--bad-bg); color: var(--bad-ink); }
.badge-gold { background: #F1E3C8; color: #5E4415; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line-strong); border-radius: var(--radius); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { display: flex; align-items: center; gap: 10px; max-width: 720px; width: 100%; margin: 0 auto; background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 0 18px; color: var(--muted); }
.search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,160,78,.25); }
.search input { flex: 1; min-height: 50px; border: 0; background: transparent; font-size: 16px; outline: none; color: var(--ink); }
.chip-row { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 8px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.chip-row .chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
.result-count { font-size: 14px; font-weight: 700; margin: -6px 0 -8px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mini-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.mini-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -16px rgba(43,26,20,.5); color: var(--ink); }
.mini-card[hidden] { display: none; }
.mini-card .cover { aspect-ratio: 4 / 3; background: #EFE2CC; }
.mini-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.mini-card .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mini-card .meta { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.mini-card h3 { font-size: 17px; line-height: 1.2; }
.mini-card .price { margin-top: auto; padding-top: 6px; font-weight: 900; font-size: 15px; }
@media (max-width: 900px) { .mini-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .mini-card h3 { font-size: 15px; } .type-tab { min-height: 90px; } .type-tab strong { font-size: 30px; } }

/* Página de curso */
.course-page { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-bottom: 88px; }
.course-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.course-main h1 { font-size: clamp(34px, 5vw, 54px); }
.course-hero-img { border-radius: 24px; overflow: hidden; aspect-ratio: 16 / 9; background: #EFE2CC; border: 1px solid var(--line-strong); }
.course-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.checks svg { color: var(--gold-text); flex: none; margin-top: 2px; }
.syllabus { list-style: none; margin: 0; padding: 0; counter-reset: s; display: flex; flex-direction: column; gap: 10px; }
.syllabus li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: flex; gap: 14px; align-items: center; font-weight: 700; }
.syllabus li::before { content: counter(s); font-family: var(--serif); color: var(--gold-text); font-size: 22px; min-width: 22px; }
.buy-box { flex: 1 1 320px; position: sticky; top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.buy-box .big-price { font-family: var(--serif); font-size: 46px; line-height: 1; }
.buy-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.buy-box li { display: flex; gap: 10px; align-items: center; }
.buy-box li svg { color: var(--gold-text); }
.pay-note { border-top: 1px solid #F0E6D6; padding-top: 16px; font-size: 14px; color: var(--muted); }
.unlocked { background: var(--card); border: 2px solid var(--gold); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.video-box { display: flex; flex-direction: column; gap: 10px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--black); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.demo-box { background: #FFF8E6; border: 2px dashed var(--gold); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.note { background: var(--bg); border-radius: 14px; padding: 14px 16px; font-size: 15px; white-space: pre-line; }

/* Formularios */
.auth-card { max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.auth-card h1 { font-size: 34px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid #E2D2C6; border-radius: 12px; padding: 10px 14px; font-size: 16px; background: #fff; font-weight: 400; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field small { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--choco); }
.form-error { background: var(--bad-bg); color: var(--bad-ink); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.form-ok { background: var(--ok-bg); color: var(--ok-ink); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }

/* Mis cursos */
.notice { border-radius: 18px; padding: 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }

/* Panel */
.admin { display: flex; flex-wrap: wrap; min-height: 100vh; }
.admin-nav { flex: 1 1 220px; background: var(--ink); color: var(--muted-on-dark); padding: 24px 16px; display: flex; flex-direction: column; gap: 6px; }
.admin-nav .title { font-family: var(--serif); font-size: 22px; color: var(--bg); padding: 0 12px 16px; }
.admin-nav a { color: var(--muted-on-dark); text-decoration: none; font-weight: 700; padding: 12px 14px; border-radius: 12px; }
.admin-nav a.active { background: var(--gold); color: var(--ink); }
.admin-nav a:hover:not(.active) { background: #3A2A22; color: #fff; }
.admin-main { flex: 999 1 640px; min-width: 0; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.admin-main h1 { font-size: 36px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel h2 { font-family: var(--sans); font-size: 19px; font-weight: 900; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.kpi span { font-size: 14px; color: var(--muted); font-weight: 700; }
.kpi strong { display: block; font-family: var(--serif); font-size: 34px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
th { text-align: left; color: var(--muted); font-weight: 700; padding: 10px 8px; }
td { padding: 12px 8px; border-top: 1px solid #F0E6D6; vertical-align: top; }
.list-item { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid #F0E6D6; }
.list-item:first-child { border-top: 0; }
.thumb { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; background: #EFE2CC; flex: none; }
.photo-slot { display: flex; flex-direction: column; gap: 10px; }
.photo-slot .preview { height: 140px; border-radius: 14px; overflow: hidden; background: #EFE2CC; border: 1px solid var(--line-strong); }
.photo-slot .preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot.logo .preview img { object-fit: contain; background: var(--bg); }
.status-line { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--cream-on-dark); padding: 12px 20px; border-radius: 999px; font-weight: 700; z-index: 50; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

@media (max-width: 760px) {
  .site-header { --hh: 76px; }
  .header-bar { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .brand { flex: none; }
  .brand img { width: 48px; height: 48px; }
  .nav { flex-wrap: nowrap; gap: 11px; font-size: 13px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 8px 0; }
  .nav .btn { min-height: 36px; padding: 0 11px; font-size: 12.5px; letter-spacing: 0; }
  .hide-m { display: none !important; }
  .show-m { display: flex !important; }
  .hero-banner { height: clamp(360px, calc(100svh - 230px), 520px); }
  .hero-photo { width: 66%; border-radius: 22px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40%); mask-image: linear-gradient(90deg, transparent 0, #000 40%); }
  .hero-name { bottom: 8%; max-width: 92%; gap: 10px; }
}
@media (max-width: 370px) {
  .nav { gap: 9px; font-size: 12px; }
  .brand img { width: 42px; height: 42px; }
}

@media (max-width: 900px) {
  .reviews .review { flex-basis: 78%; }
  .car-btn { width: 42px; height: 42px; }
  .car-btn.prev { left: -10px; }
  .car-btn.next { right: -10px; }
}

@media (max-width: 640px) {
  .admin-main { padding: 20px 16px; }
  .auth-card { padding: 24px 18px; }
  .stats-band { padding: 24px; }
  .buy-box { position: static; }
  .recipe-card { padding: 50px 18px 28px 64px; transform: rotate(-.8deg); }
  .recipe-card li { font-size: 23px; }
}
