/* Casa Molino Café · estilos propios (sobre base.css + marca.css) */
h1, h2, h3 { font-weight: 700; }
figure { margin: 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.05; }
.logo img { width: 44px; height: 44px; flex: none; }
.logo small { display: block; font-family: var(--font-body), sans-serif; font-weight: 600; font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cta-row { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row.center { justify-content: center; }
.btn-full { width: 100%; }
.btn-copper { background: var(--copper); color: var(--espresso); }
.btn-line-dark { background: transparent; color: var(--text); border: 1.5px solid var(--line-strong); }
@media (hover: hover) and (pointer: fine) {
  .btn-copper:hover { filter: brightness(1.08); }
  .btn-line-dark:hover { border-color: var(--accent); color: var(--accent); }
}
.badge { display: inline-block; background: var(--copper); color: var(--espresso); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; vertical-align: middle; margin-right: 6px; }
h3 .badge { font-size: .6875rem; margin-left: 8px; }
.kicker-light { color: var(--copper-light); }
.note-light { color: #D6CDBD; font-size: .8125rem; margin-top: 16px; }

/* portada */
.hero { position: relative; isolation: isolate; min-height: 640px; padding: 0; display: flex; align-items: flex-end; overflow: hidden; color: var(--cream); }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #1a120c; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; transform-origin: 70% 50%; animation: m-settle 2.6s var(--ease-out) both; }
@keyframes m-settle { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,8,.05) 0%, rgba(20,12,8,.5) 42%, rgba(20,12,8,.9) 100%); }
.hero-copy { width: 100%; padding-block: 180px 60px; }
.badge-temp { display: inline-block; background: var(--copper); color: var(--espresso); font-weight: 700; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.hero h1 { color: var(--cream); }
.hero h1 .line:nth-child(2) { color: var(--copper-light); font-style: italic; }
.hero .lead { color: #F1EADC; margin-top: 16px; }
.hero-price { margin-top: 14px; }
.hero-price b { font-family: var(--font-display), serif; font-size: 2.4rem; color: var(--copper-light); }
.hero-price small { color: #E6DDCC; font-size: .875rem; }
.hero .btn-line { color: var(--cream); border-color: rgba(244,237,225,.7); }
.caption { position: absolute; right: 16px; bottom: 12px; font-size: .75rem; color: #F5F5F4; background: rgba(20,12,8,.6); padding: 4px 10px; border-radius: 999px; }

/* menú */
.cards { display: grid; gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 90px; transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -20px rgba(43,29,20,.5); } }
.card-photo { aspect-ratio: 4 / 3; overflow: hidden; background: #3a2a1e; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 18px 18px 8px; }
.card h3 { font-size: 1.5rem; color: var(--accent); margin-bottom: 4px; }
.card ul { list-style: none; padding: 0; }
.card li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; border-top: 1px dashed var(--line-strong); }
.card li b { display: block; }
.card li span { display: block; color: var(--muted); font-size: .875rem; }
.price { font-style: normal; font-family: var(--font-display), serif; font-weight: 700; font-size: 1.1875rem; color: var(--copper-dark); white-space: nowrap; }

/* secciones con foto */
.duo { display: grid; gap: 32px; align-items: center; }
.photo { overflow: hidden; background: #2a1c12; aspect-ratio: 4 / 5; width: 100%; max-width: 480px; margin-inline: auto; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-arch { border-radius: 999px 999px 18px 18px; }
.photo-round { border-radius: 18px 160px 18px 18px; }
.cafe { background: var(--green); color: var(--cream); }
.cafe h2 { color: var(--cream); }
.cafe .lead { color: #E4DCCD; }
.points { list-style: none; padding: 0; margin-top: 22px; }
.points li { padding: 12px 0 12px 16px; border-left: 3px solid var(--copper); margin-bottom: 10px; }
.points b { display: block; font-size: 1.0625rem; }
.points span { color: #D6CDBD; font-size: .9375rem; }
.bag-price { margin: 18px 0 20px; }
.bag-price b { font-family: var(--font-display), serif; font-size: 2.4rem; color: var(--copper-dark); }
.bag-price small { color: var(--muted); font-size: .875rem; }

/* pedido */
.pedido { background: #EBDFCB; }
.builder { display: grid; gap: 20px; align-items: start; }
.grp { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px 16px 10px; margin-bottom: 12px; }
.grp h3 { font-size: 1.125rem; color: var(--accent); padding: 12px 0 4px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line-strong); }
.row:first-of-type { border-top: 0; }
.row-name b { display: block; font-weight: 600; line-height: 1.25; }
.row-name .price { font-size: 1rem; }
.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font: inherit; font-size: 1.375rem; font-weight: 700; line-height: 1; cursor: pointer; transition: transform 160ms var(--ease-out), opacity 200ms ease; }
.stepper button:active { transform: scale(.92); }
.stepper button[data-plus] { background: var(--accent); color: var(--cream); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-sum { padding: 20px; scroll-margin-top: 80px; }
.order-sum h3 { font-size: 1.375rem; }
.minibar { position: sticky; bottom: 12px; z-index: 6; order: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--cream); font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(43,29,20,.6); }
.minibar[hidden] { display: none; }
.minibar b { font-family: var(--font-display), serif; font-size: 1.25rem; color: var(--copper-light); }
.builder-list { order: 1; } .order-sum { order: 3; }
.sum-items { list-style: none; padding: 0; margin: 8px 0 12px; max-height: 150px; overflow: auto; font-size: .9375rem; }
.sum-items li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.sum-items .empty { color: var(--muted); }
.opt { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.opt legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.opt label { position: relative; flex: 1 1 120px; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line-strong); font-weight: 600; }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--cream); }
.opt input:focus-visible + span { outline: 3px solid var(--copper); outline-offset: 2px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field select { width: 100%; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--text); font: inherit; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 4px; }
.total b { font-family: var(--font-display), serif; font-size: 1.75rem; color: var(--accent); }
#sum-send { margin-top: 12px; }
#sum-send[aria-disabled="true"] { opacity: .6; }
.err { color: #9A3412; min-height: 1.2em; margin-top: 8px; }

/* visítanos */
.visit { padding: 0 0 80px; }
.visit-hero { position: relative; isolation: isolate; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; color: var(--cream); margin-bottom: 36px; }
.visit-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); will-change: transform; }
.visit-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,12,8,.15), rgba(20,12,8,.85)); }
.visit-hero .wrap { width: 100%; padding-block: 0 32px; }
.visit-hero h2 { color: var(--cream); }
.visit-grid { display: grid; gap: 16px; }
.info { padding: 22px 20px; }
.info h3 { font-size: 1.25rem; color: var(--accent); margin-bottom: 10px; }
.info p { margin-bottom: 14px; }
.info .note { margin-top: 12px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--line-strong); }
.hours dt { font-weight: 600; } .hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* cierre */
.final { background: var(--espresso); color: var(--cream); text-align: center; }
.final h2 { color: var(--cream); max-width: 18em; margin-inline: auto; }
.final .lead { color: #E4DCCD; margin: 12px auto 0; }
.foot { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.foot .logo small { color: var(--muted); }
.to-top { display: none; }

@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 820px) {
  .hero { min-height: 700px; align-items: center; }
  .hero-copy { padding-block: 80px; }
  .hero-copy > * { max-width: 540px; }
  .hero-bg img { object-position: center; }
  .hero::before { background: linear-gradient(90deg, rgba(20,12,8,.88) 0%, rgba(20,12,8,.65) 40%, rgba(20,12,8,0) 70%); }
  .duo { grid-template-columns: 1fr 1fr; gap: 80px; }
  .duo .photo { margin: 0; }
  .duo-rev .photo { order: 2; }
  .cafe, .casa { padding: 110px 0; }
  .builder { grid-template-columns: 1.3fr 1fr; gap: 28px; }
  .order-sum { position: sticky; top: 90px; order: 0; }
  .builder-list { order: 0; }
  .minibar { display: none !important; }
  .sum-items { max-height: 240px; }
  .visit-hero { min-height: 420px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .to-top { display: grid; bottom: 20px; }
}
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
  .visit-hero img { transform: none !important; }
  .card, .stepper button { transition: none; }
}

/* Auditoría: aire entre título y texto */
main h2 + p { margin-top: .75rem; }
