:root {
  --brand: #0f8f86;
  --brand-dark: #0b6e68;
  --brand-2: #19c2ae;
  --brand-soft: #e7f6f3;
  --accent: #ff7a59;
  --accent-soft: #fff1ec;
  --ink: #0b1f2a;
  --ink-2: #33475b;
  --muted: #667785;
  --line: #e6e9e7;
  --bg: #f7f7f4;
  --card: #ffffff;
  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --ok: #15803d;
  --ok-soft: #f0fdf4;
  --star: #f59e0b;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 31, 42, .05), 0 8px 24px rgba(11, 31, 42, .06);
  --shadow-lg: 0 24px 60px rgba(11, 31, 42, .16);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.5; font-size: 16px; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-weight: 800; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.nowrap { white-space: nowrap; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.grow { flex: 1; }

/* ---------- topbar */
.topbar { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.12rem; letter-spacing: -.03em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 36px; height: 36px; flex: none; filter: drop-shadow(0 4px 10px rgba(11,110,104,.25)); }
.logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-text { font-weight: 600; }
.logo-text b { font-weight: 800; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.nav a { color: var(--ink-2); font-weight: 500; }
.nav a.btn-primary { color: #fff; }
@media (max-width: 640px) { .logo-text { display: none; } .nav { gap: 12px; font-size: .9rem; } }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); padding: 10px 16px; border-radius: 10px; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none !important; line-height: 1.2; }
.btn:hover { border-color: #cbd5e1; }
.btn { transition: background .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 4px 14px rgba(15,143,134,.28); }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(255,122,89,.35); }
.btn-accent:hover { filter: brightness(.95); transform: translateY(-1px); }
.btn-lg { padding: 14px 22px; font-size: 1.02rem; border-radius: 12px; }
.btn-danger { color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); border-color: #fecaca; }
.btn-sm { padding: 6px 12px; font-size: .875rem; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand-dark); font: inherit; cursor: pointer; }

/* ---------- cards & layout */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card-flat { box-shadow: none; }
.section { padding: 32px 0; }
.page-head { padding: 28px 0 8px; }
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.narrow { max-width: 460px; margin: 40px auto; }
.medium { max-width: 720px; margin: 0 auto; }

/* ---------- flashes */
.flashes { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: 10px; margin-bottom: 8px; background: var(--brand-soft); color: var(--brand-dark); border: 1px solid #b7e4df; }
.flash-error { background: var(--danger-soft); color: var(--danger); border-color: #fecaca; }
.flash-success { background: var(--ok-soft); color: var(--ok); border-color: #bbf7d0; }

/* ---------- forms */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink-2); }
.field { margin-bottom: 16px; }
.field .hint { font-weight: 400; color: var(--muted); font-size: .825rem; margin-top: 4px; }
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%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.form-row { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; background: #0b1f2a; color: #fff; padding: 64px 0 72px; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 85% 20%, rgba(25,194,174,.35), transparent 70%),
              radial-gradient(500px 360px at 10% 110%, rgba(255,122,89,.22), transparent 70%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { display: none; } .hero { padding: 40px 0 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; margin-bottom: 18px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(25,194,174,.25); }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); max-width: 640px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #19c2ae, #7ee8d9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 1.12rem; max-width: 540px; }
.search { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 6px; background: #fff; padding: 7px;
  border-radius: 16px; margin-top: 26px; box-shadow: var(--shadow-lg); }
.search input, .search select { border: 0; background: transparent; }
.search > input[type=search] { grid-column: 1 / -1; border-bottom: 1px solid var(--line); border-radius: 10px 10px 0 0; font-size: 1.05rem; padding: 14px 12px; }
.search select + input { border-left: 1px solid var(--line); border-radius: 0; }
@media (max-width: 760px) { .search { grid-template-columns: 1fr; } .search select + input { border-left: 0; border-top: 1px solid var(--line); } }
.trust { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; color: rgba(255,255,255,.75); font-size: .92rem; }
.trust b { color: #fff; display: block; font-size: 1.25rem; }
.hero-visual { position: relative; }
.mock { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.mock-head { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.mock-head .ico { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #334155; }
.mock-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 14px; }
.mock-days span { text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 6px 0; font-size: .72rem; color: var(--muted); line-height: 1.2; }
.mock-days span b { display: block; color: var(--ink); font-size: 1rem; }
.mock-days span.on { background: var(--brand); border-color: var(--brand); color: rgba(255,255,255,.8); }
.mock-days span.on b { color: #fff; }
.mock-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock-slots span { text-align: center; border: 1px solid var(--line); border-radius: 9px; padding: 7px 0; font-weight: 600; font-size: .85rem; }
.mock-slots span.on { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.mock-slots span.off { color: #c3cbd1; text-decoration: line-through; }
.mock-btn { margin-top: 14px; background: var(--brand); color: #fff; text-align: center; border-radius: 12px; padding: 12px; font-weight: 700; }
.toast { position: absolute; left: -36px; bottom: -48px; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow-lg); display: flex; gap: 10px; align-items: center; font-size: .85rem; transform: rotate(-2deg); }
.toast .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); font-weight: 800; }
.toast.top { left: auto; right: -24px; bottom: auto; top: -58px; transform: rotate(2deg); }
.toast.top .dot { background: var(--accent-soft); color: var(--accent); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; white-space: nowrap; font-weight: 500; }
.chip:hover { text-decoration: none; border-color: var(--brand); color: var(--brand-dark); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- categories & steps */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cat { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; color: #fff; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,42,.8), rgba(11,31,42,0) 60%); }
.cat span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; font-size: .98rem; line-height: 1.2; }
.cat:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat:hover img { transform: scale(1.06); }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, 1fr); } .cat { aspect-ratio: 1; } }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-title h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.kicker { color: var(--brand); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps .card { padding: 24px; }
.steps .n { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 800; margin-bottom: 14px; }
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, #0b6e68, #0f8f86 55%, #19c2ae); color: #fff; border-radius: 24px; padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta p { color: rgba(255,255,255,.85); margin: 0; }
.cta ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; gap: 8px 20px; flex-wrap: wrap; font-weight: 500; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- business cards */
.biz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: var(--ink); box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: block; }
.biz-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,31,42,.12); }
.cover { aspect-ratio: 16 / 9; background: var(--brand-soft); position: relative; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.biz-card:hover .cover img { transform: scale(1.05); }
.cover-ph { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.cover-ph::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.25), transparent 50%),
  repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); }
.cover-ph .ico { font-size: 3.4rem; filter: drop-shadow(0 6px 16px rgba(0,0,0,.25)); position: relative; z-index: 1; }
.cover-ph .nm { position: absolute; left: 16px; bottom: 12px; color: rgba(255,255,255,.9); font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; z-index: 1; }
.biz-hero .cover-ph .ico { font-size: 5rem; }
.pill { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 999px; padding: 4px 10px; font-size: .8rem; font-weight: 700; }
.pill .s { color: var(--star); }
.biz-body { padding: 14px 16px 16px; }
.biz-body h3 { margin-bottom: 4px; }
.stars { color: var(--star); letter-spacing: 1px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; }

/* ---------- business page */
.biz-hero { height: 260px; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; position: relative; background: var(--brand-soft); }
.biz-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .biz-hero { height: 180px; border-radius: 0; } }
.service { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; }
.service-price { font-weight: 700; white-space: nowrap; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours-table td { padding: 5px 0; vertical-align: top; }
.hours-table td:last-child { text-align: right; }
.hours-table tr.today td { font-weight: 700; color: var(--brand-dark); }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; flex: none; }
.review { padding: 14px 0; border-top: 1px solid var(--line); }
.review:first-of-type { border-top: 0; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--brand-soft); color: var(--brand-dark); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-muted { background: #f1f5f9; color: var(--muted); }

/* ---------- booking */
.step { margin-bottom: 26px; }
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-bottom: 12px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .85rem; display: grid; place-items: center; }
.pick { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.pick::-webkit-scrollbar { height: 6px; }
.pick::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.pick-opt { position: relative; flex: none; scroll-snap-align: start; }
.pick-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pick-opt span, .day-btn { display: block; border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 16px;
  cursor: pointer; font-weight: 600; text-align: center; font: inherit; font-weight: 600; color: var(--ink); }
.pick-opt input:checked + span, .day-btn.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pick-opt input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.day-btn { width: 66px; padding: 8px 4px; line-height: 1.25; }
.day-btn small { display: block; font-weight: 500; font-size: .75rem; text-transform: uppercase; opacity: .75; }
.day-btn b { display: block; font-size: 1.2rem; }
.day-btn:disabled { opacity: .35; cursor: not-allowed; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 0; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.slot:hover { border-color: var(--brand); }
.slot.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.pay-opt { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; margin-bottom: 8px; font-weight: 500; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt input { margin-top: 4px; accent-color: var(--brand); }
.summary { position: sticky; top: 80px; }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; }

/* ---------- appointment */
.status-banner { text-align: center; padding: 28px 20px; }
.status-icon { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font-size: 1.8rem; background: var(--ok-soft); color: var(--ok); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 2rem; color: #cbd5e1; cursor: pointer; margin: 0; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--star); }

/* ---------- list items */
.appt-item { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink); }
.appt-item:first-child { border-top: 0; }
.date-box { width: 58px; text-align: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); padding: 6px 0; flex: none; line-height: 1.2; }
.date-box b { display: block; font-size: 1.3rem; }
.date-box small { text-transform: uppercase; font-size: .7rem; font-weight: 600; }

/* ---------- panel */
.panel { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding: 24px 16px; max-width: 1280px; margin: 0 auto; }
.side { position: sticky; top: 86px; align-self: start; }
.side a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 500; }
.side a:hover { background: #eef2f6; text-decoration: none; }
.side a.active { background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.side .biz-name { font-weight: 700; padding: 0 12px 10px; }
@media (max-width: 860px) {
  .panel { grid-template-columns: 1fr; padding-top: 12px; }
  .side { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .side a { white-space: nowrap; }
  .side .biz-name, .side hr { display: none; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { padding: 16px; }
.stat b { display: block; font-size: 1.5rem; }
.stat span { color: var(--muted); font-size: .85rem; }
.agenda { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.agenda-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 160px; }
.agenda-col h3 { display: flex; gap: 8px; align-items: center; font-size: .95rem; margin-bottom: 10px; }
.agenda-col .avatar { width: 30px; height: 30px; font-size: .8rem; }
.ev { border-left: 4px solid var(--brand); background: #f8fafc; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; font-size: .88rem; }
.ev.cancelled { border-color: #cbd5e1; opacity: .6; text-decoration: line-through; }
.ev.pending_payment { border-color: var(--warn); }
.ev.completed { border-color: var(--ok); }
.ev.no_show { border-color: var(--danger); }
.ev-time { font-weight: 700; }
.ev details summary { cursor: pointer; color: var(--brand-dark); font-size: .82rem; margin-top: 4px; list-style: none; }
.ev details summary::-webkit-details-marker { display: none; }
.ev-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.tabs a { padding: 10px 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--brand-dark); border-color: var(--brand); }
.tabs a:hover { text-decoration: none; color: var(--ink); }
.checklist li { margin: 6px 0; }
.checklist .done { color: var(--muted); text-decoration: line-through; }
.hours-grid { display: grid; grid-template-columns: 130px repeat(2, minmax(0, 1fr)); gap: 10px 14px; align-items: center; }
.hours-grid .pair { display: flex; gap: 6px; align-items: center; }
@media (max-width: 640px) { .hours-grid { grid-template-columns: 1fr; } .hours-grid .day-label { margin-top: 10px; } }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

.footer { background: #0b1f2a; color: rgba(255,255,255,.65); padding: 40px 0 32px; margin-top: 64px; font-size: .92rem; }
.footer a { color: rgba(255,255,255,.85); }
.footer .logo { color: #fff; }
.footer .logo-text b { color: var(--brand-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.footer-grid h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 18px; font-size: .85rem; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- agenda por horas */
.cal-wrap { overflow-x: auto; }
.cal { display: grid; grid-template-columns: 58px repeat(var(--cols), minmax(170px, 1fr)); min-width: calc(58px + var(--cols) * 170px); }
.cal-corner, .cal-colhead { position: sticky; top: 0; background: var(--card); border-bottom: 1px solid var(--line); z-index: 3; }
.cal-colhead { display: flex; gap: 10px; align-items: center; padding: 12px; border-left: 1px solid var(--line); line-height: 1.2; }
.cal-colhead .avatar { width: 34px; height: 34px; }
.cal-times, .cal-col { position: relative; height: calc(var(--h) * var(--ppm)); }
.cal-times span { position: absolute; right: 8px; transform: translateY(-50%); font-size: .72rem; color: var(--muted); font-weight: 600; }
.cal-times span:first-child { transform: none; }
.cal-col { border-left: 1px solid var(--line); cursor: copy; background-color: #f3f4f2;
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 100% calc(60 * var(--ppm)); }
.cal-open { position: absolute; left: 0; right: 0; background: #fff; }
.cal-col::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to bottom, var(--line) 1px, transparent 1px); background-size: 100% calc(60 * var(--ppm)); }
.cal-ev { position: absolute; left: 4px; right: 4px; z-index: 2; text-align: left; font: inherit; font-size: .8rem; line-height: 1.25;
  border: 0; border-left: 4px solid var(--brand); border-radius: 8px; padding: 5px 8px; background: var(--brand-soft); color: var(--ink);
  overflow: hidden; cursor: pointer; box-shadow: 0 1px 2px rgba(11,31,42,.08); transition: box-shadow .15s, transform .15s; }
.cal-ev:hover { box-shadow: 0 6px 16px rgba(11,31,42,.15); transform: translateY(-1px); z-index: 4; }
.cal-ev .t { font-weight: 700; color: var(--brand-dark); }
.cal-ev .sv { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-ev.short .sv { display: none; }
.cal-ev.pending_payment { background: var(--warn-soft); border-color: var(--warn); }
.cal-ev.completed { background: var(--ok-soft); border-color: var(--ok); }
.cal-ev.completed .t { color: var(--ok); }
.cal-ev.no_show { background: var(--danger-soft); border-color: var(--danger); }
.cal-ev.no_show .t { color: var(--danger); }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: var(--accent); z-index: 3; pointer-events: none; }
.cal-now::before { content: ""; position: absolute; left: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
dialog.modal { border: 0; border-radius: 20px; padding: 26px; width: min(460px, calc(100vw - 32px)); box-shadow: var(--shadow-lg); color: var(--ink); }
dialog.modal::backdrop { background: rgba(11,31,42,.45); backdrop-filter: blur(2px); }
.modal-x { position: absolute; right: 14px; top: 14px; border: 0; background: #f1f3f2; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: .9rem; }
.modal .kv { grid-template-columns: 90px 1fr; }
dialog.modal { margin: auto; }
.waitlist-box { margin-top: 14px; padding: 16px; border: 1px dashed #b7e4df; background: var(--brand-soft); border-radius: 12px; }
.points-box { margin-top: 6px; padding: 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.voucher-card .price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 2px; }
.voucher-card.gift { border-color: #fed7aa; background: linear-gradient(180deg, #fff7ed, #fff 40%); }
.voucher-ticket { position: relative; color: #fff; border-radius: 22px; padding: 28px; overflow: hidden;
  background: linear-gradient(135deg, #0b6e68, #0f8f86 55%, #19c2ae); box-shadow: var(--shadow-lg); }
.voucher-ticket.gift { background: linear-gradient(135deg, #c2410c, #ff7a59 60%, #fdba74); }
.voucher-ticket .badge { background: rgba(255,255,255,.2); color: #fff; }
.voucher-ticket::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); }
.ticket-value { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin-top: 18px; }
.ticket-value small { font-size: 1rem; font-weight: 500; opacity: .85; }
.ticket-code { display: inline-block; margin-top: 12px; padding: 8px 16px; border: 2px dashed rgba(255,255,255,.6); border-radius: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.4rem; font-weight: 700; letter-spacing: .12em; }
.perks { display: grid; gap: 10px; }
.perk { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
a.perk:hover { text-decoration: none; border-color: var(--brand); }
.perk > div { flex: 1; }
.perk-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; background: var(--accent-soft); }

/* ---------- planes */
.trial-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid #ffd4c7; }
.trial-bar.danger { background: var(--danger-soft); border-color: #fecaca; color: var(--danger); }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan-card.featured { border: 2px solid var(--accent); box-shadow: 0 18px 50px rgba(255,122,89,.18); }
.plan-card h2, .plan-card h3 { margin: 0; }
.plan-ribbon { position: absolute; top: -13px; left: 24px; background: var(--accent); color: #fff; font-weight: 700; font-size: .78rem; padding: 5px 12px; border-radius: 999px; }
.plan-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 8px; }
.plan-list li { padding-left: 26px; position: relative; }
.plan-list li::before { content: "✓"; position: absolute; left: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-soft); color: var(--ok);
  font-size: .72rem; font-weight: 800; display: grid; place-items: center; top: 3px; }
.plan-total { font-size: .92rem; padding: 10px 12px; background: var(--bg); border-radius: 10px; margin-top: auto; }

/* ---------- WhatsApp y cookies */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px;
  background: #25d366; color: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 2px 6px rgba(0,0,0,.15);
  font-weight: 700; animation: wa-pulse 2.4s ease-in-out infinite; transition: transform .2s; }
.wa-float:hover { text-decoration: none; transform: translateY(-3px) scale(1.03); color: #fff; }
.wa-float svg { width: 42px; height: 42px; padding: 7px; background: rgba(255,255,255,.2); border-radius: 50%; flex: none; }
.wa-text { display: flex; flex-direction: column; line-height: 1.15; }
.wa-text small { font-weight: 500; opacity: .92; font-size: .75rem; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); } }
@media (max-width: 640px) { .wa-float { padding: 8px; right: 14px; bottom: 14px; } .wa-text { display: none; } .hide-sm { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
.cookie-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 520px; background: #0b1f2a; color: #e8eef0; border-radius: 16px;
  padding: 16px 18px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: .9rem; }
.cookie-bar a { color: #7ee8d9; }
.cookie-bar .btn:not(.btn-primary) { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
@media (max-width: 640px) { .cookie-bar { right: 16px; bottom: 76px; } }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { margin-top: 28px; font-size: 1.15rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 10px 0; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.hero-sm { padding: 56px 0 88px; }
.hero-sm h1 { max-width: 760px; }
.billing-toggle { display: flex; gap: 4px; width: max-content; margin: 0 auto 26px; padding: 5px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 999px; cursor: pointer; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.billing-toggle button.active { background: var(--ink); color: #fff; }
.calc input[type=range] { width: 100%; accent-color: var(--brand); margin-bottom: 8px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.calc-row.us { background: var(--brand-soft); color: var(--brand-dark); }
.calc-row.us b { font-size: 1.3rem; }
.calc-row.them b { color: var(--muted); text-decoration: line-through; }
.calc-save { text-align: center; font-size: 1.1rem; padding: 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); }
.calc-save b { font-size: 1.5rem; }
.tiny { font-size: .75rem; line-height: 1.45; }
.compare th, .compare td { padding: 14px 16px; }
.compare .us-col { background: var(--brand-soft); color: var(--brand-dark); }
.compare thead .us-col { color: var(--brand-dark); }
.feature-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.feat { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.feat:first-of-type { border-top: 0; }
.feat-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 10px 0 0; color: var(--ink-2); }
.biz-pitch { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; color: #fff;
  border-radius: 28px; padding: 44px; background: radial-gradient(500px 300px at 90% 0%, rgba(25,194,174,.45), transparent 70%), #0b1f2a; }
.biz-pitch h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.biz-pitch p { color: rgba(255,255,255,.8); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { border-color: #fff; }
.pitch-price { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px; }
.pp-us { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); margin-bottom: 8px; }
.pp-us small { display: block; color: #7ee8d9; font-weight: 700; }
.pp-us b { font-size: 2.6rem; letter-spacing: -.04em; }
.pp-us span { color: rgba(255,255,255,.7); font-size: .9rem; }
.pp-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.pp-vs { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(255,122,89,.15); color: #ffc4b3; font-size: .85rem; }
@media (max-width: 860px) { .biz-pitch { grid-template-columns: 1fr; padding: 28px; } }
.zero-fee { display: flex; gap: 28px; align-items: center; padding: 30px 34px; border-radius: 24px; background: var(--ok-soft); border: 1px solid #bbf7d0; }
.zero-fee h2 { margin: 0 0 6px; }
.zero-fee p { margin: 0; color: var(--ink-2); }
.zf-big { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; letter-spacing: -.05em; color: var(--ok); line-height: 1; flex: none; }
@media (max-width: 640px) { .zero-fee { flex-direction: column; align-items: flex-start; padding: 24px; } }
.payout-box { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: linear-gradient(180deg, #fff, var(--bg)); }
.qrow { display: grid; grid-template-columns: 2fr 1fr 1.5fr auto; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 760px) { .qrow { grid-template-columns: 1fr; padding-bottom: 10px; border-bottom: 1px solid var(--line); } }
.copy-box { display: flex; gap: 8px; align-items: flex-start; }
.copy-box input, .copy-box textarea { font-family: ui-monospace, Menlo, monospace; font-size: .8rem; background: var(--bg); min-height: 0; }
.bars { display: flex; align-items: flex-end; gap: 2px; height: 180px; margin-top: 16px; border-bottom: 1px solid var(--line); }
.bar-col { position: relative; flex: 1; height: 100%; display: flex; align-items: flex-end; outline: none; }
.bar { width: 100%; max-width: 22px; margin: 0 auto; background: var(--brand); border-radius: 4px 4px 0 0; min-height: 0; }
.bar-col:hover .bar, .bar-col:focus .bar { background: var(--brand-dark); }
.bar-col .tip { display: none; position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 5;
  background: var(--ink); color: #fff; font-size: .75rem; padding: 6px 8px; border-radius: 8px; pointer-events: none; }
.bar-col:hover .tip, .bar-col:focus .tip { display: block; }
.bars-axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; }
.meter { display: inline-block; width: 60px; height: 6px; border-radius: 3px; background: #edf0ee; vertical-align: middle; margin-right: 6px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.cal-block { position: absolute; left: 0; right: 0; z-index: 1; cursor: not-allowed; overflow: hidden;
  background: repeating-linear-gradient(135deg, #eceeed 0 6px, #f6f7f6 6px 12px); border-top: 1px solid #d9dcda; border-bottom: 1px solid #d9dcda; }
.cal-block span { display: block; padding: 4px 8px; font-size: .75rem; color: var(--muted); font-weight: 600; }
.move-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.move-form select, .move-form input { width: auto; padding: 6px 8px; font-size: .85rem; }
.move-form input[type=number] { width: 70px; }
.auto-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.auto { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: 14px; font-weight: 500; cursor: pointer; margin: 0; }
.auto:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.auto.disabled { opacity: .55; }
.auto > input { margin-top: 4px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.auto small { display: block; color: var(--muted); font-weight: 400; margin-top: 4px; line-height: 1.45; }
.auto textarea { margin-top: 8px; font-size: .85rem; min-height: 0; }
.inline-num { width: 64px !important; padding: 2px 6px !important; display: inline-block; }
.slot.promo { position: relative; border-color: var(--accent); }
.slot.promo::after { content: attr(data-promo); position: absolute; top: -8px; right: -6px; background: var(--accent); color: #fff; font-size: .62rem;
  font-weight: 800; padding: 2px 5px; border-radius: 999px; }
.review-reply { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--brand); background: var(--brand-soft); border-radius: 0 8px 8px 0; font-size: .9rem; }
.side .nav-group { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; padding: 12px 12px 4px; }
@media (max-width: 860px) { .side .nav-group { display: none; } }
