/* Patitas · Turnos online — hoja de estilos única, sin build. Mobile-first. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito.woff") format("woff");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fff8f1;
  --bg-2: #fdeee0;
  --surface: #ffffff;
  --ink: #1f2430;
  --ink-2: #3b4252;
  --muted: #6b7280;
  --line: #ece4da;
  --brand: #0f766e;
  --brand-600: #0b5f58;
  --brand-50: #e6f4f1;
  --brand-100: #c9ebe4;
  --accent: #ff7a59;
  --accent-50: #fff0eb;
  --sun: #ffc857;
  --sun-50: #fff6dd;
  --lilac: #8b7cf6;
  --lilac-50: #efecff;
  --wa: #25d366;
  --wa-600: #1da851;
  --red: #dc2626;
  --red-50: #fdecec;
  --green: #15803d;
  --green-50: #e7f6ec;
  --amber: #b45309;
  --amber-50: #fff4dc;
  --blue: #1d4ed8;
  --blue-50: #e8efff;
  --gray-50: #f3f4f6;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(31, 36, 48, .05), 0 8px 24px rgba(31, 36, 48, .07);
  --shadow-lg: 0 18px 50px rgba(31, 36, 48, .14);
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.5;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5rem; font-weight: 900; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 7vw, 3.3rem); }
h2 { font-size: clamp(1.55rem, 5vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1rem; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-sm { max-width: 640px; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid > * { min-width: 0; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Botones ---------- */
.btn {
  --b: var(--brand); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c); font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.1;
  cursor: pointer; text-decoration: none !important; transition: transform .08s ease, background .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover { filter: brightness(.96); box-shadow: 0 6px 16px rgba(15, 118, 110, .18); }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-accent { --b: var(--accent); }
.btn-wa { --b: var(--wa); --c: #fff; }
.btn-wa:hover { box-shadow: 0 6px 16px rgba(37, 211, 102, .3); }
.btn-ghost { background: transparent; color: var(--b); }
.btn-ghost:hover { background: var(--brand-50); }
.btn-light { --b: var(--line); --c: var(--ink); background: var(--surface); }
.btn-light:hover { background: var(--gray-50); box-shadow: none; }
.btn-danger { --b: var(--red); }
.btn-danger-ghost { --b: #f3c4c4; --c: var(--red); background: #fff; }
.btn-danger-ghost:hover { background: var(--red-50); box-shadow: none; }
.btn-green { --b: var(--green); }
.btn-dark { --b: var(--ink); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: .9rem; }
.btn-xs { min-height: 32px; padding: 5px 11px; font-size: .82rem; border-width: 1.5px; }
.btn-lg { min-height: 56px; padding: 16px 28px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-group > form { display: contents; }
.icon { width: 20px; height: 20px; flex: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--brand); font-weight: 700; cursor: pointer; }

/* ---------- Tarjetas ---------- */
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; border: 1px solid rgba(236, 228, 218, .7); }
.card-flat { box-shadow: none; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.card-title h3, .card-title h2 { margin: 0; }
.divider { height: 1px; background: var(--line); margin: 16px 0; border: 0; }

/* ---------- Chips de estado ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; line-height: 1.3; white-space: nowrap; background: var(--gray-50); color: var(--ink-2); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .85; }
.chip-amber { background: var(--amber-50); color: var(--amber); }
.chip-green { background: var(--green-50); color: var(--green); }
.chip-teal { background: var(--brand-50); color: var(--brand); }
.chip-violet { background: var(--lilac-50); color: #5b4bd6; }
.chip-red { background: var(--red-50); color: var(--red); }
.chip-blue { background: var(--blue-50); color: var(--blue); }
.chip-gray { background: var(--gray-50); color: #4b5563; }
.chip-lg { font-size: .95rem; padding: 7px 14px; }
.tag { display: inline-block; font-size: .78rem; font-weight: 800; color: var(--muted); background: var(--gray-50); border-radius: 8px; padding: 2px 8px; }

/* ---------- Formularios ---------- */
.field { display: block; margin-bottom: 16px; }
.field > label, .label { display: block; font-weight: 800; margin-bottom: 6px; font-size: .95rem; }
.field .hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 4px; }
.auth-aside { display: flex; justify-content: flex-end; margin-top: 12px; font-size: .92rem; font-weight: 800; }
.input, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=date], input[type=time], input[type=search], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(15, 118, 110, .14); }
.input-sm, .filters input, .filters select { min-height: 42px; padding: 8px 12px; font-size: 15px; }
.filters select { padding-right: 32px; }
.error { color: var(--red); font-size: .88rem; font-weight: 700; margin-top: 5px; display: block; }
.has-error input, .has-error textarea { border-color: var(--red); }
.check { display: flex; gap: 10px; align-items: center; font-weight: 700; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--brand); flex: none; }
.address-field { position: relative; }
.address-suggest { position: absolute; z-index: 8; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.address-suggest button { width: 100%; text-align: left; background: transparent; border: 0; border-radius: 10px; padding: 10px 12px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.address-suggest button:hover, .address-suggest button.is-active { background: var(--brand-50); }
.address-pin { margin-top: 10px; height: 168px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); }
.address-pin iframe { display: block; width: 100%; height: 168px; border: 0; }
.input-prefix { position: relative; }
.input-prefix > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 800; }
.input-prefix > input { padding-left: 30px; }

/* ---------- Avisos ---------- */
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 700; margin-bottom: 16px; }
.flash-ok { background: var(--green-50); color: #14532d; border: 1px solid #bfe5cb; }
.flash-error { background: var(--red-50); color: #7f1d1d; border: 1px solid #f5c2c2; }
.flash-info { background: var(--sun-50); color: #713f12; border: 1px solid #f6e0a6; }
.note { background: var(--sun-50); border: 1px dashed #eccb72; border-radius: var(--radius-sm); padding: 14px 16px; }
.spam-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 16px 0;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: #fff3c4;
  border: 2px solid #e0a106;
  color: #3d2600;
  font-weight: 800;
  line-height: 1.4;
}
.spam-notice b { display: block; margin-bottom: 4px; font-size: 1.12rem; }
.spam-notice span { display: block; font-weight: 700; }
.spam-notice svg { width: 28px; height: 28px; flex: none; margin-top: 1px; }
.login-card .card > .spam-notice { margin-top: 0; }

/* ================= SITIO PÚBLICO ================= */
.demo-bar { background: var(--ink); color: #fff; font-size: .82rem; text-align: center; padding: 7px 12px; font-weight: 700; }
.demo-bar a { color: var(--sun); }
.site-body { background-color: #f7f4ef; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid rgba(31, 36, 48, .08); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 1.12rem; line-height: 1.05; text-decoration: none !important; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 24px; height: 24px; }
.logo small { display: block; font-size: .72rem; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.nav { display: none; gap: 22px; align-items: center; font-weight: 800; }
.nav a { color: var(--ink-2); }
@media (min-width: 860px) { .nav { display: flex; } }
.menu-btn { display: none; width: 42px; height: 42px; padding: 0; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; cursor: pointer; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 859px) {
  .mkt .menu-btn { display: grid; }
  .mkt .nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin: 0; padding: 8px 12px 14px; background: #fff; border-bottom: 1px solid rgba(31, 36, 48, .08); box-shadow: 0 16px 30px -18px rgba(31, 36, 48, .4); }
  .mkt .nav.is-open a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 12px; }
  .mkt .nav.is-open a:hover { background: var(--gray-50); }
}

.hero { position: relative; padding: 36px 0 28px; }
.hero .wrap { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .hero { padding: 72px 0 36px; } .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.mkt #alta { scroll-margin-top: 80px; }
.mkt .hero { overflow: hidden; }
.mkt .hero .wrap { z-index: 1; }
.mkt-wave { position: absolute; left: 0; top: 348px; width: 100%; height: 220px; pointer-events: none; }
@media (min-width: 860px) {
  .mkt .hero { padding: 24px 0 32px; }
  .mkt .hero .wrap { align-items: start; }
  .mkt-wave { top: auto; bottom: 0; height: 300px; }
}
.hero.hero-landing { padding: 40px 0 8px; }
.hero.hero-landing .wrap { align-items: center; gap: 28px; }
.hero.hero-landing h1 { margin: 0 0 14px; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.15rem, 4vw, 3.35rem); max-width: 6.7em; }
.hero-visual { min-width: 0; }
.hero-panel {
  min-height: 0; height: auto; border-radius: 28px; position: relative; overflow: hidden;
  padding: 20px 20px 18px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  background: #0f766e;
  box-shadow: 0 22px 44px -26px rgba(15, 118, 110, .7);
}
.hero-art-img { width: min(86%, 300px); height: auto; margin-bottom: -8%; }
.hero-panel strong { font-size: 1.05rem; font-weight: 800; line-height: 1.2; max-width: 18ch; text-align: center; }
.hero-visual > img { width: 100%; height: 320px; min-height: 0; max-height: 420px; object-fit: cover; border-radius: 28px; }
@media (min-width: 860px) {
  .hero.hero-landing { padding: 56px 0 4px; }
  .hero.hero-landing .wrap { grid-template-columns: 1.05fr .86fr; gap: 48px; align-items: center; }
  .hero-panel { border-radius: 32px; padding: 28px 24px 22px; }
  .hero.hero-landing .hero-visual > img { height: 420px; border-radius: 32px; }
  .hero-art-img { width: min(92%, 360px); }
}
.landing-band { padding: 28px 0 0; background: transparent; }
.band-sand, .band-mist { background: transparent; }
.site-body .section { padding: 56px 0; }
@media (min-width: 860px) { .site-body .section { padding: 80px 0; } }
.site-body .card { border-radius: 20px; box-shadow: none; border-color: rgba(31, 36, 48, .08); }
.landing-steps { display: grid; background: transparent; }
.landing-step { padding: 14px 0; display: flex; gap: 12px; align-items: center; }
.landing-step + .landing-step { border-top: 1px solid var(--line); }
.landing-step h3 { margin: 0; font-size: 1.02rem; font-weight: 800; }
.landing-step .n { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; color: var(--brand); border: 1.5px solid var(--brand-100); font-weight: 900; font-size: .88rem; flex: none; }
@media (min-width: 720px) {
  .landing-steps { grid-template-columns: repeat(3, 1fr); }
  .landing-step + .landing-step { border-top: 0; }
  .landing-step { padding: 4px 32px 4px 0; }
}
.cover-preview { width: 100%; max-height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.cover-default { width: 148px; height: 148px; object-fit: contain; background: #0f766e; border-radius: 18px; margin-bottom: 10px; }
.file-pick { display: flex; align-items: center; gap: 12px; min-width: 0; margin-top: 10px; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; font-size: 0; }
.file-btn input:focus { outline: none; box-shadow: none; border: 0; }
.file-btn:focus-within { box-shadow: 0 0 0 4px rgba(15, 118, 110, .14); }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-weight: 700; font-size: .92rem; }
.config-panel .file-btn input[type=file] { width: 100%; max-width: none; min-height: 0; }
.checkline { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 0 0 12px; }
.checkline input { width: auto; min-height: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 800; font-size: .85rem; color: var(--brand); box-shadow: var(--shadow); }
.hero h1 { margin: 14px 0 12px; }
.hero h1 .hl { color: var(--brand); position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .28em; background: var(--sun); opacity: .55; z-index: -1; border-radius: 6px; }
.hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34ch; }
.hero.hero-landing .lead { max-width: 36ch; font-size: 1.05rem; line-height: 1.45; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.hero-cta .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-cta .btn { flex: 0 0 auto; } }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; color: var(--ink-2); font-weight: 700; font-size: .93rem; }
.hero-facts span { display: inline-flex; align-items: center; gap: 6px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--brand); }
.hero-art { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.hero-art .bubble { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px 14px; font-weight: 800; font-size: .88rem; display: flex; gap: 8px; align-items: center; }
.hero-art .bubble b { color: var(--brand); }
.hero-art .b1 { left: -4px; bottom: 16%; }
.hero-art .b2 { right: -4px; top: 10%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }

.section { padding: 48px 0; }
.section-alt { background: #fff; }
.section-head { max-width: 640px; margin-bottom: 24px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.kicker { color: var(--accent); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 6px; display: block; }

.steps-how { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 720px) { .steps-how { grid-template-columns: repeat(3, 1fr); } }

#precio { padding: 56px 0 64px; }
@media (min-width: 860px) { #precio { padding: 72px 0 80px; } }
#precio .section-head { margin-bottom: 28px; }
#precio .section-head p { max-width: 52ch; }
.price-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .price-grid { grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: stretch; } }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.price-card.is-main {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 860px) { .price-card { padding: 32px 32px 28px; } }
.price-card .where {
  margin: 0 0 14px;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.price-card.is-main .where { color: #fff8f1; }
.price-amount {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1;
}
.price-amount small { font-size: .42em; font-weight: 800; letter-spacing: 0; margin-left: 2px; }
.price-card .per { margin: 10px 0 0; font-weight: 800; font-size: 1rem; color: var(--muted); }
.price-card.is-main .per { color: rgba(255, 248, 241, .82); }
.price-card .fine { margin: 16px 0 0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); }
.price-card.is-main .fine { color: rgba(255, 248, 241, .92); }
.price-story {
  margin-top: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px 22px;
  box-shadow: var(--shadow);
}
@media (min-width: 860px) { .price-story { margin-top: 24px; padding: 32px 36px 28px; } }
.price-story h3 { margin: 0 0 8px; font-size: 1.2rem; }
.price-story p { margin: 0; color: var(--ink-2); font-size: 1.02rem; line-height: 1.55; max-width: 68ch; }
.price-story h3 + p { margin-bottom: 22px; }
.price-includes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 860px) { .price-includes { grid-template-columns: repeat(3, 1fr); gap: 16px 20px; } }
.price-includes li { display: flex; gap: 10px; align-items: flex-start; font-weight: 800; color: var(--ink); line-height: 1.35; }
.price-includes svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--brand); }
.price-story .btn { margin-top: 22px; }
.step-how { display: flex; gap: 14px; align-items: flex-start; }
.step-how .n { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 900; }
.step-how h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.step-how p { margin: 0; color: var(--muted); font-size: .95rem; }

.service-card { display: flex; flex-direction: column; gap: 10px; }
.service-card .top { display: flex; gap: 12px; align-items: flex-start; }
.service-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.service-ico svg { width: 26px; height: 26px; }
.ico-0 { background: var(--brand-50); color: var(--brand); }
.ico-1 { background: var(--accent-50); color: var(--accent); }
.ico-2 { background: var(--sun-50); color: #b7791f; }
.ico-3 { background: var(--lilac-50); color: var(--lilac); }
.ico-4 { background: #e9f7ff; color: #0284c7; }
.service-card h3 { margin: 0 0 2px; }
.service-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: auto; }
.price { background: var(--bg); border-radius: 12px; padding: 8px 6px; text-align: center; }
.price span { display: block; font-size: .74rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.price b { font-size: .98rem; }
.meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .88rem; font-weight: 700; }
.meta svg { width: 16px; height: 16px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 1 / 1; }
.gallery figure svg, .gallery figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 4px 10px; font-weight: 800; font-size: .8rem; }

.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 6px; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 1px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; font-weight: 800; }
.hours-table tr.closed td:last-child { color: var(--muted); font-weight: 700; }
.place-grid { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 720px) { .place-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.place-where { display: flex; flex-direction: column; }
.map-frame { flex: 1 1 auto; min-height: 280px; margin-top: 16px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-50); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }
.map-link { display: inline-flex; margin-top: 12px; font-weight: 800; }
.art-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.art-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 0; padding: 8px 6px 10px; border: 1px solid var(--line); border-radius: 14px; background: #f6efe6; cursor: pointer; text-align: center; }
.art-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.art-option img { width: 72px; height: 72px; object-fit: contain; }
.art-option span { font-size: .82rem; font-weight: 800; }
.art-option:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-50); background: #fff; }
.art-option:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
@media (min-width: 520px) { .art-pick { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.cta-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent 46%), linear-gradient(145deg, #14988c, #0b4f4a);
  color: #fff; border-radius: 28px; padding: 32px 24px; display: grid; gap: 16px; position: relative; overflow: hidden;
  box-shadow: 0 24px 50px -28px rgba(11, 79, 74, .65);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #d4f0ea; margin: 0; }
.cta-band .btn { --b: #fff; --c: var(--brand); }
@media (min-width: 720px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 40px; } }

.site-footer { padding: 32px 0 110px; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: grid; gap: 10px; }
@media (min-width: 720px) { .site-footer { padding-bottom: 40px; } }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); }
.wa-float svg { width: 30px; height: 30px; }
.mobile-cta { position: fixed; left: 16px; right: 88px; bottom: 16px; z-index: 50; }
@media (min-width: 720px) { .mobile-cta { display: none; } }

/* ---------- Reserva (wizard) ---------- */
.book-page { padding: 20px 0 120px; }
.progress { display: flex; gap: 6px; margin: 4px 0 18px; }
.progress span { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.progress span.on { background: var(--brand); }
.step-label { font-size: .85rem; font-weight: 800; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; }
.book-title { margin: 4px 0 4px; font-size: clamp(1.6rem, 6vw, 2.1rem); }
.back-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--muted); margin-bottom: 8px; }
.back-link svg { width: 18px; height: 18px; }

.opt-list { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .opt-box { display: flex; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px; transition: border-color .15s, box-shadow .15s, background .15s; }
.opt:hover .opt-box { border-color: var(--brand-100); }
.opt input:checked + .opt-box { border-color: var(--brand); background: #f6fcfb; box-shadow: 0 0 0 4px rgba(15, 118, 110, .1); }
.opt input:focus-visible + .opt-box { box-shadow: 0 0 0 4px rgba(15, 118, 110, .25); }
.opt .opt-main { flex: 1; min-width: 0; }
.opt .opt-main b { display: block; font-size: 1.05rem; }
.opt .opt-main small { color: var(--muted); display: block; line-height: 1.35; }
.opt .opt-side { text-align: right; font-weight: 900; white-space: nowrap; }
.opt .opt-side small { display: block; font-weight: 700; color: var(--muted); font-size: .78rem; }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfc6bb; flex: none; display: grid; place-items: center; }
.opt input:checked + .opt-box .radio { border-color: var(--brand); }
.opt input:checked + .opt-box .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }

.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-grid .opt-box { flex-direction: column; text-align: center; gap: 4px; padding: 14px 6px; }
.size-grid .dog-ico { height: 34px; display: flex; align-items: flex-end; justify-content: center; color: var(--brand); }
.size-grid b { font-size: 1rem; }
.size-grid small { color: var(--muted); font-size: .78rem; font-weight: 700; }

.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.sticky-bar .wrap { display: flex; align-items: center; gap: 12px; padding: 0; max-width: 640px; }
.sticky-bar .sum { flex: 1; min-width: 0; line-height: 1.2; }
.sticky-bar .sum small { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: .8rem; line-height: 1.25; margin-bottom: 2px; }
.sticky-bar .sum b { font-size: 1.15rem; }

.cal { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 10px 12px; }
.cal-month { margin: 0 6px 10px; font-weight: 800; font-size: 1.05rem; }
.cal-dow, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: .75rem; font-weight: 800; color: var(--muted); }
.cal-week + .cal-week { margin-top: 4px; }
.cal-day { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; text-align: center; color: var(--ink); font-weight: 900; line-height: 1.1; border: 2px solid transparent; }
a.cal-day { background: #f4fbf9; border-color: #d7efe9; text-decoration: none !important; }
a.cal-day:hover { border-color: var(--brand); }
.cal-day .n { font-size: 1.05rem; }
.cal-day.is-today:not(.on) .n { color: var(--brand); }
.cal-day.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.cal-day.full { background: #fff; border-color: var(--line); color: var(--muted); }
.cal-day.is-closed { color: #d9d2c8; font-weight: 700; }

.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 480px) { .slots { grid-template-columns: repeat(4, 1fr); } }
.slot { display: block; text-align: center; padding: 13px 4px; border-radius: 14px; border: 2px solid var(--brand-100); background: #fff; font-weight: 900; font-size: 1.05rem; color: var(--brand-600); text-decoration: none !important; transition: all .12s; }
.slot:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.slot-group-title { font-size: .85rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 16px 0 8px; }
.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty svg { width: 64px; height: 64px; margin: 0 auto 10px; color: var(--brand-100); }

.summary { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 4px 16px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--muted); font-weight: 700; }
.summary-row b { text-align: right; }

.done-hero { text-align: center; padding: 16px 0 8px; }
.done-check { width: 84px; height: 84px; border-radius: 50%; background: var(--brand-50); display: grid; place-items: center; margin: 0 auto 14px; color: var(--brand); }
.done-check svg { width: 44px; height: 44px; }
.code-box { display: inline-block; margin: 8px 0 4px; padding: 10px 18px; border-radius: 14px; background: #fff; border: 2px dashed var(--brand-100); font-size: 1.6rem; font-weight: 900; letter-spacing: .08em; color: var(--brand-600); }
.code-copy { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 8px 0 4px; }
.code-copy .code-box { margin: 0; }
.deposit-box { background: linear-gradient(135deg, var(--sun-50), #fff); border: 1px solid #f6e0a6; border-radius: var(--radius); padding: 16px; }
.deposit-box .alias { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; margin-top: 10px; border: 1px solid #f1e3bb; }
.deposit-box .alias b { font-size: 1.05rem; letter-spacing: .03em; word-break: break-all; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; padding: 0 0 16px 30px; color: var(--muted); font-weight: 700; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); background: #fff; }
.timeline li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { border-color: var(--brand); background: var(--brand); }
.timeline li.bad::before { border-color: var(--red); background: var(--red); }

/* ================= ADMIN ================= */
.admin-body { background: #f6f3ee; }
.admin-top { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.admin-top .wrap { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-top .row { flex: none; flex-wrap: nowrap; }
.admin-top .logo { font-size: 1rem; min-width: 0; flex: 1 1 auto; }
.admin-top .logo > span:last-child { min-width: 0; overflow: hidden; }
.web-status { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; color: #fff; font-weight: 800; font-size: .88rem; text-decoration: none; white-space: nowrap; flex: none; }
.web-status svg { width: 16px; height: 16px; }
.web-status.is-on { background: var(--green); }
.web-status.is-off { background: var(--red); }
.web-status:hover { color: #fff; filter: brightness(1.06); text-decoration: none; }
.admin-top .logo-mark { width: 36px; height: 36px; border-radius: 10px; }
.admin-nav { display: none; gap: 4px; align-items: center; }
.admin-nav a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.admin-nav a.on, .admin-nav a:hover { background: var(--brand-50); color: var(--brand); }
.admin-nav a.config-entry { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 8px 12px; background: #f6f3ee; border: 1px solid var(--line); border-radius: 12px; }
.admin-nav a.config-entry svg { width: 16px; height: 16px; }
.admin-nav a.config-entry.on { background: var(--brand-50); border-color: transparent; color: var(--brand); }
@media (min-width: 900px) { .admin-nav { display: flex; } }
@media (max-width: 899px) {
  .admin-body .menu-btn { display: grid; }
  .admin-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 4px; position: absolute; left: 0; right: 0; top: 100%; z-index: 50; margin: 0; padding: 8px 12px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(31, 36, 48, .4); }
  .admin-nav.is-open a, .admin-nav.is-open a.config-entry { margin: 0; min-height: 44px; justify-content: flex-start; }
}
@media (max-width: 1180px) {
  .admin-nav > a, .admin-nav a.config-entry { padding: 8px 8px; font-size: .88rem; }
  .admin-nav a.config-entry { margin-left: 2px; }
}
.admin-main { padding: 18px 0 40px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.page-head h1 { font-size: clamp(1.5rem, 5vw, 2rem); margin: 0; }
.page-head p { margin: 2px 0 0; color: var(--muted); font-weight: 700; }

.share-grid { display: grid; gap: 16px; align-items: start; }
.qr-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 16px 16px; }
.qr-card img { width: min(100%, 220px); height: auto; margin: 12px 0 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.qr-card .btn-group { justify-content: center; }
.link-list { display: flex; flex-direction: column; gap: 16px; }
.link-row { display: flex; flex-direction: column; gap: 8px; }
.link-row + .link-row { padding-top: 16px; border-top: 1px solid var(--line); }
.link-row label { font-weight: 800; }
.link-url { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--gray-50); color: var(--ink); font: inherit; font-weight: 800; }
.link-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 860px) {
  .share-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 20px; }
  .qr-card img { width: 220px; }
}

.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(5, 1fr); padding: 6px 2px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(31, 36, 48, .06); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 12px; color: var(--muted); font-size: .68rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; position: relative; }
.config-shell { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; align-items: start; }
.config-side { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 6px; }
.config-kicker { display: none; margin: 2px 4px 8px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.config-split { margin: 10px 2px 2px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: .62rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; text-align: center; line-height: 1.2; }
.config-side a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 64px; padding: 10px 4px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .68rem; font-weight: 800; line-height: 1.15; text-align: center; text-decoration: none; }
.config-side a span { max-width: 74px; }
.config-side a svg { width: 20px; height: 20px; }
.config-side a.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.config-side a.on svg { stroke-width: 2.4; }
.config-side .dot { position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; box-shadow: 0 0 0 2px #fff; }
.config-side a.on .dot { box-shadow: 0 0 0 2px var(--brand); }
.config-panel { min-width: 0; }
.support-mail { display: inline-block; margin: 2px 0 12px; font-size: 1.15rem; font-weight: 800; line-height: 1.35; word-break: break-word; }
.support-tips { margin: 4px 0 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 10px; }
.support-tips li { font-weight: 700; line-height: 1.45; }
.config-panel .grid-2 { grid-template-columns: 1fr; }
.config-panel .choice-seg { grid-template-columns: 1fr; }
.config-panel .attend-card { padding: 16px; }
.config-panel .svc-edit .row-between { align-items: flex-start; }
.config-panel .hours-row { grid-template-columns: 1fr; }
.config-panel .hours-row .hour-spans { grid-column: 1 / -1; }
.config-panel .hour-span { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 10px; }
.config-panel .hour-span input[type="time"] { width: 100%; flex: 1 1 auto; }
.config-panel .hour-span [data-remove-span] { grid-column: 1 / -1; justify-self: start; }
.config-panel .window-sentence { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.config-panel .window-sentence input[type="time"],
.config-panel .window-sentence input[type="number"],
.config-panel .window-sentence select { width: 100%; min-width: 0; }
@media (min-width: 800px) {
  .config-shell { grid-template-columns: 220px minmax(0, 1fr); gap: 22px; }
  .config-kicker { display: block; }
  .config-split { margin: 16px 4px 2px; padding-top: 14px; font-size: .72rem; letter-spacing: .05em; text-align: left; }
  .config-side a { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 48px; padding: 12px 14px; font-size: .98rem; text-align: left; }
  .config-side a span { max-width: none; }
  .config-side a svg { width: 18px; height: 18px; }
  .config-side .dot { position: static; margin-left: auto; }
  .config-panel .choice-seg { grid-template-columns: 1fr 1fr; }
  .config-panel .attend-card { padding: 24px 24px 20px; }
  .config-panel .window-sentence { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; }
  .config-panel .window-sentence span { white-space: nowrap; }
  .config-panel .window-sentence input[type="time"] { width: 152px; flex: 0 0 152px; }
  .config-panel .window-sentence input[type="number"] { width: 58px; flex: 0 0 58px; padding-left: 8px; padding-right: 8px; }
  .config-panel .window-sentence select { width: auto; min-width: 0; flex: 0 1 auto; }
  .config-panel .hour-span { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 8px; }
  .config-panel .hour-span input[type="time"] { width: 152px; flex: 0 0 152px; }
  .config-panel .hour-span [data-remove-span] { grid-column: auto; }
}
@media (min-width: 1100px) {
  .config-panel .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a.on { color: var(--brand); }
.tabbar a.on svg { stroke-width: 2.4; }
.tabbar .badge { position: absolute; top: 2px; left: calc(50% + 6px); }
@media (min-width: 900px) { .tabbar { display: none; } }
.badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 900; }
.admin-nav .dot, .tabbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 99px; background: var(--red); box-shadow: 0 0 0 3px var(--red-50); }
.admin-nav .dot { margin-left: 6px; vertical-align: 1px; }
.tabbar .dot { position: absolute; top: 4px; left: calc(50% + 8px); margin: 0; box-shadow: 0 0 0 2px #fff; }
.page-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 16px; border-radius: var(--radius-sm); background: var(--red-50); color: #7f1d1d; border: 1px solid #e7a3a3; font-weight: 700; }
.page-alert b { display: block; margin-bottom: 2px; }
.page-alert a { color: inherit; font-weight: 900; margin-left: 6px; }
.field.needs-data input, .field.needs-data textarea { border-color: var(--red); background: #fff8f8; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); border: 1px solid rgba(236, 228, 218, .7); text-decoration: none !important; color: var(--ink); display: block; }
.stat .k { color: var(--muted); font-weight: 800; font-size: .82rem; display: flex; align-items: center; gap: 6px; }
.stat .k svg { width: 16px; height: 16px; }
.stat .v { font-size: 1.8rem; font-weight: 900; line-height: 1.1; margin-top: 6px; }
.stat .s { color: var(--muted); font-size: .8rem; font-weight: 700; margin-top: 2px; }
.stat-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.stat-brand .k, .stat-brand .s { color: #cdeee7; }
.stat-wide { grid-column: span 2; }
@media (min-width: 900px) { .stat-wide { grid-column: auto; } }
.stat-accent .v { color: var(--accent); }

.bk-list { display: grid; gap: 10px; }
.bk { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 12px 14px; display: grid; grid-template-columns: 58px 1fr; gap: 12px; position: relative; }
.bk.is-pending { border-left: 5px solid var(--sun); }
.bk.is-confirmed { border-left: 5px solid var(--brand); }
.bk.is-reserved { border-left: 5px solid var(--lilac); }
.bk.is-done { border-left: 5px solid #94a3b8; }
.bk.is-off { opacity: .6; border-left: 5px solid #f3b4b4; }
.bk-time { font-weight: 900; font-size: 1.1rem; line-height: 1.1; }
.bk-time small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; margin-top: 3px; }
.bk-main { min-width: 0; }
.bk-title { font-weight: 900; font-size: 1.04rem; color: var(--ink); text-decoration: none !important; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-sub { color: var(--muted); font-size: .88rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.bk-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.bk-actions form { display: contents; }
.bk-link { position: absolute; inset: 0; z-index: 0; }
.bk-main > *:not(.bk-actions) { position: relative; z-index: 1; pointer-events: none; }
.bk-main .bk-title { pointer-events: auto; }
.bk-actions { position: relative; z-index: 2; }

.block-row { background: repeating-linear-gradient(-45deg, #f8f4ee, #f8f4ee 8px, #f1ebe2 8px, #f1ebe2 16px); border: 1px dashed #d9cfc2; border-radius: 14px; padding: 10px 14px; font-weight: 800; color: var(--ink-2); display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.free-row { border: 2px dashed var(--brand-100); border-radius: 14px; padding: 9px 14px; color: var(--brand); font-weight: 800; font-size: .9rem; display: flex; justify-content: space-between; align-items: center; background: rgba(230, 244, 241, .35); text-decoration: none !important; }

.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; }
.seg a { padding: 7px 14px; border-radius: 999px; font-weight: 800; color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.seg a.on { background: var(--ink); color: #fff; }
.date-nav { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--ink); flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--gray-50); text-decoration: none; }

.week { display: grid; gap: 14px; }
@media (min-width: 1000px) { .week { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; } .week .bk { grid-template-columns: 1fr; gap: 4px; padding: 10px; } .week .bk-actions { display: none; } .week .bk-title { font-size: .92rem; } .week .bk-time { font-size: .95rem; } .week .bk-time small { display: inline; margin-left: 4px; } }
.week-day h3 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.week-day.today h3 { color: var(--brand); }
.week-day .closed { color: var(--muted); font-weight: 700; font-size: .9rem; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .6); border: 1px dashed var(--line); text-align: center; }

.filters { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.filters.filters-slim { grid-template-columns: 1fr; }
@media (min-width: 640px) { .filters.filters-slim { grid-template-columns: 1fr 220px; } }
.filters .full { grid-column: 1 / -1; }
@media (min-width: 900px) { .filters { grid-template-columns: 2fr 1fr 1fr 1fr 1fr auto; align-items: center; } .filters .full { grid-column: auto; } }
.pills { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pills a { flex: none; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 800; color: var(--ink-2); font-size: .9rem; text-decoration: none; }
.pills a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.client-list { display: flex; flex-direction: column; gap: 8px; }
.client-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: inherit; }
.client-row:hover { border-color: var(--brand); }
.client-row .who { min-width: 0; }
.client-row .who b { display: block; font-size: 1.02rem; line-height: 1.3; }
.client-row .meta { margin-top: 2px; color: var(--muted); font-size: .88rem; font-weight: 700; line-height: 1.35; }
.client-row .chip { margin-top: 8px; }
.client-row .when { flex: none; text-align: right; font-size: .92rem; font-weight: 800; color: var(--ink-2); line-height: 1.3; }
.client-row .when span { display: block; margin-top: 2px; font-size: .75rem; font-weight: 700; color: var(--muted); }

.detail-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 18px; background: var(--accent-50); color: var(--accent); display: grid; place-items: center; font-weight: 900; font-size: 1.4rem; flex: none; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; font-weight: 800; text-align: right; }
.action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.action-grid .btn, .action-grid form .btn { width: 100%; }
.action-grid form { display: block; }
.action-grid .span-2 { grid-column: span 2; }
.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-steps { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 14px; }
.pay-steps .btn { justify-content: center; }
.pay-note { margin: 2px 0 0; color: var(--muted); font-weight: 700; line-height: 1.45; }
.pay-note b { color: var(--ink); }
.pay-done { margin: 0; font-weight: 800; }
.pay-steps .link-btn { align-self: flex-start; margin-top: 2px; }
.reservas-card { display: flex; flex-direction: column; gap: 16px; }
.reservas-card h3 { margin: 0; }
.reservas-card .page-alert { margin: 0; }
.reservas-card .page-alert[hidden] { display: none; }
.reservas-card .field { margin-bottom: 0; }
.reservas-card #depositFields { display: flex; flex-direction: column; gap: 14px; }
.reservas-card #depositFields[hidden] { display: none; }
.content-item { display: flex; flex-direction: column; gap: 12px; }
.content-item h3 { margin: 0; font-size: 1.05rem; }
.content-item p { margin: 0; }
.content-item details summary { cursor: pointer; font-weight: 800; color: var(--brand); }
.content-item .field:last-of-type { margin-bottom: 12px; }
.gallery-admin { display: grid; grid-template-columns: 1fr; gap: 12px; }
.gallery-admin img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: #f6f3ee; }
.config-panel input[type="file"] { width: 100%; max-width: 100%; }
@media (min-width: 800px) {
  .config-panel .gallery-admin { grid-template-columns: 1fr 1fr; }
}
.pay-grid form { display: block; }
.pay-btn { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 10px 6px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; cursor: pointer; color: var(--ink); min-height: 64px; line-height: 1.2; }
.pay-btn b { font-weight: 900; font-size: .95rem; }
.pay-btn small { color: var(--muted); font-weight: 700; font-size: .8rem; }
.pay-btn:hover { border-color: var(--brand-100); }
.pay-btn.on { border-color: var(--brand); background: var(--brand-50); }
.pay-btn.on b { color: var(--brand-600); }
.progress-pay { height: 10px; border-radius: 99px; background: var(--gray-50); overflow: hidden; margin: 8px 0 4px; }
.progress-pay span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #22c3a8); border-radius: 99px; }
.inline-form { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.inline-form .input-prefix { flex: 1 1 140px; }
.inline-form .btn { flex: 0 0 auto; }

.table-card { padding: 0; overflow: hidden; }
.svc-edit { border-top: 1px solid var(--line); padding: 16px 20px; }
.svc-edit:first-child { border-top: 0; }
.size-inputs { display: grid; grid-template-columns: auto repeat(3, 1fr); gap: 6px 8px; align-items: center; }
.size-inputs .h { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; text-align: center; line-height: 1.15; letter-spacing: .01em; }
.size-inputs .rl { font-size: .85rem; font-weight: 800; color: var(--muted); }
.size-inputs input { min-height: 42px; padding: 8px 10px; text-align: center; }

.hours-row { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: start; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.hours-row:last-child { border-bottom: 0; }
@media (min-width: 640px) { .hours-row .switch { padding-top: 10px; } }
.hour-spans { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.hour-span-list { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.hour-span { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 800; }
.hour-span input[type="time"] { width: 152px; min-height: 48px; flex: 0 0 152px; }
.hour-add { margin-top: 2px; }
@media (min-width: 640px) { .hours-row { grid-template-columns: 148px 1fr; } }
.switch { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 800; }
.switch input { position: absolute; opacity: 0; }
.switch .tr { width: 46px; height: 28px; border-radius: 99px; background: #d6cfc6; position: relative; transition: background .15s; flex: none; }
.switch .tr::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.switch input:checked + .tr { background: var(--brand); }
.switch input:checked + .tr::after { transform: translateX(18px); }
.switch input:focus-visible + .tr { box-shadow: 0 0 0 4px rgba(15, 118, 110, .2); }

.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(circle at 20% 0%, var(--brand-100), transparent 45%), radial-gradient(circle at 100% 100%, var(--accent-50), transparent 45%), var(--bg); }
.login-card { width: 100%; max-width: 420px; }
.demo-cred { background: var(--sun-50); border: 1px dashed #e7c66b; border-radius: 14px; padding: 12px 14px; font-size: .92rem; margin-bottom: 16px; }
.demo-cred code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; background: #fff; padding: 1px 6px; border-radius: 6px; }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 800; }

@media print { .tabbar, .admin-top, .wa-float, .mobile-cta { display: none !important; } }
.mobile-cta { transition: transform .25s ease, opacity .25s ease; }
.mobile-cta.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (max-width: 519px) { .hide-sm { display: none; } }
.bk > .bk-actions { grid-column: 1 / -1; margin-top: 0; }
@media (min-width: 520px) { .bk > .bk-actions { padding-left: 70px; } }
@media (min-width: 1000px) { .week .chip { white-space: normal; font-size: .72rem; } .week .bk-chips { gap: 4px; } }
.svc-edit .row-between { flex-wrap: nowrap; align-items: flex-start; }

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 80;
  background: var(--ink); color: #fff; font-weight: 800;
  padding: 10px 14px; border-radius: 10px;
}
.skip:focus { top: 12px; }
.btn:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.mkt-card {
  background: var(--surface);
  border: 1px solid rgba(236, 228, 218, .9);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 24px;
}
.mkt-card h2 { font-size: 1.65rem; margin-bottom: 8px; }
.mkt-card .kicker { margin-bottom: 8px; }
@media (min-width: 860px) { .mkt-card { padding: 32px 32px 28px; } }

.fields-2 { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.mkt-card .field, .login-card .field { margin-bottom: 12px; }

.schedule-week { margin-bottom: 16px; }
.schedule-side { margin-bottom: 8px; }
.attend-card { margin-bottom: 16px; padding: 24px 24px 20px; }
.attend-card h3 { margin-bottom: 14px; }
.window-list { display: grid; gap: 12px; }
.window-row { background: var(--bg); border-radius: 16px; padding: 14px 14px 12px; }
.window-sentence {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 8px;
  margin: 0; font-weight: 800; font-size: 1.05rem; line-height: 1.35;
}
.window-sentence span { white-space: nowrap; }
.window-sentence input[type="time"] { width: 152px; min-height: 48px; flex: 0 0 152px; }
.window-sentence input[type="number"] { width: 58px; min-height: 48px; flex: 0 0 58px; text-align: center; padding-left: 8px; padding-right: 8px; }
.window-sentence select { width: auto; min-width: 0; min-height: 48px; flex: 0 1 auto; }
.window-meaning { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.window-remove { margin-top: 8px; }
.attend-note { margin: 12px 0 0; }
.choice-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.choice-seg label { position: relative; display: block; margin: 0; }
.choice-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; padding: 0; margin: 0; }
.choice-seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; font-weight: 800; line-height: 1.3; cursor: pointer;
}
.choice-seg input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand); }
.choice-seg input:focus-visible + span { outline: 3px solid rgba(15, 118, 110, .35); outline-offset: 2px; }
.attend-save { margin-top: 16px; }
