:root {
  --ink: #111417;
  --ink-soft: #4a525a;
  --paper: #ffffff;
  --mist: #f3f6f5;
  --line: #dfe5e3;
  --accent: #0e7fa8;        /* logo blue, darkened for readable white text */
  --accent-dark: #0a5f80;
  --accent-soft: #e4f4fa;
  --gold: #3cc3e3;          /* logo splash blue (used for highlights) */
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 20, 23, 0.08);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.brand img { display: block; height: 56px; width: auto; object-fit: contain; }
.brand-label { font-family: var(--font-body); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); }
.hero-side { display: grid; gap: 24px; }
.hero-logo { display: block; }
.hero-logo img { display: block; width: 100%; height: auto; max-width: 440px; object-fit: contain; margin-inline: auto; }
.footer-logo img { display: block; height: 44px; width: auto; object-fit: contain; }
.login-logo { height: 72px; width: auto; margin-bottom: 16px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--accent); }
.nav .btn { color: #fff; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; font: 600 1rem var(--font-body);
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.btn-dark { background: var(--ink); }
.btn-dark:hover { background: #000; }

/* ---- hero ---- */
.hero { background: linear-gradient(160deg, var(--accent-soft), #fff 60%); padding: 88px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 36ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 14px; }
.hero-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow); position: relative; }
.hero-card h3 { color: #fff; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; }
.hero-card .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.hero-card small { color: #c9d1d6; }
.sparkle { position: absolute; top: -14px; right: -10px; font-size: 2.2rem; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 56px 0; } .hero-side { display: contents; } .hero-logo { order: -1; } .hero-logo img { max-width: 260px; } }
@media (max-width: 420px) { .brand img { height: 44px; } }

/* ---- sections ---- */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.alt { background: var(--mist); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.card .tag { align-self: flex-start; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-dark); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); flex: 1; }
.card .price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; }
.card .price small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; color: var(--ink-soft); display: block; text-transform: uppercase; letter-spacing: .06em; }
.card .meta { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 12px; }

.promise { text-align: left; }
.promise .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px; }

.area-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.area-list li { background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-grid a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }

.cta-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn { background: var(--gold); color: var(--ink); }
.cta-band .btn:hover { background: #f2c96b; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: .9rem; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

/* ---- booking ---- */
.page { padding: 48px 0 80px; }
.steps { display: flex; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-weight: 500; font-size: .9rem; }
.steps li::before { content: counter(s); width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: .8rem; }
.steps li.active { color: var(--ink); }
.steps li.active::before { background: var(--ink); border-color: var(--ink); color: #fff; }
.steps li.done::before { background: var(--accent); border-color: var(--accent); color: #fff; content: "✓"; }
.steps li + li::after { content: none; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 20px; }

.service-options { display: grid; gap: 12px; }
.option { display: flex; gap: 14px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.option:hover { border-color: var(--accent); }
.option input { margin-top: 5px; accent-color: var(--accent); }
.option.selected { border-color: var(--accent); background: var(--accent-soft); }
.option .o-main { flex: 1; }
.option .o-main strong { display: block; }
.option .o-main span { color: var(--ink-soft); font-size: .92rem; }
.option .o-price { font-weight: 700; white-space: nowrap; text-align: right; }
.option .o-price small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .75rem; }

.calendar { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal-head button { background: none; border: 1px solid var(--line); border-radius: 8px; width: 36px; height: 36px; cursor: pointer; font-size: 1.1rem; }
.cal-head button:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: .75rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; padding: 4px 0; }
.cal-grid button { aspect-ratio: 1; border: 1px solid transparent; border-radius: 10px; background: var(--mist); font: 500 .95rem var(--font-body); cursor: pointer; color: var(--ink); }
.cal-grid button:disabled { background: none; color: #b8c0c5; cursor: default; }
.cal-grid button.open { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.cal-grid button.open:hover { border-color: var(--accent); }
.cal-grid button.picked { background: var(--accent); color: #fff; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 16px; }
.slots button { padding: 10px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font: 600 .95rem var(--font-body); cursor: pointer; }
.slots button:hover { border-color: var(--accent); }
.slots button.picked { background: var(--accent); border-color: var(--accent); color: #fff; }

.when-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .when-grid { grid-template-columns: 1fr; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=password], textarea, select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 1rem var(--font-body); color: var(--ink); background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea { min-height: 96px; resize: vertical; }

.summary { display: grid; gap: 8px; }
.summary .row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.summary .row:last-child { border-bottom: 0; }
.summary .row span:first-child { color: var(--ink-soft); }
.summary .total { font-weight: 700; font-size: 1.1rem; }

.nav-buttons { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.muted { color: var(--ink-soft); font-size: .92rem; }
.error { color: var(--danger); font-weight: 500; min-height: 1.4em; margin-top: 12px; }
.notice { background: #fff8e6; border: 1px solid #f1d58f; padding: 12px 16px; border-radius: 10px; font-size: .92rem; margin-bottom: 20px; }
.secure { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-soft); margin-top: 12px; }

.result-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; margin-bottom: 16px; background: var(--accent-soft); color: var(--accent-dark); }
.result-icon.warn { background: #fff1d6; color: #8a5a00; }

/* ---- admin ---- */
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.status-confirmed { background: var(--accent-soft); color: var(--accent-dark); }
.status-completed { background: #e8eaf6; color: #303f9f; }
.status-pending_payment { background: #fff1d6; color: #8a5a00; }
.status-cancelled, .status-expired { background: #f3f3f3; color: #777; }
.table-wrap { overflow-x: auto; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button { border: 1px solid var(--line); background: #fff; padding: 6px 14px; border-radius: 999px; cursor: pointer; font: 500 .88rem var(--font-body); }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hidden { display: none !important; }

.login { max-width: 420px; }
.login button { margin-top: 8px; width: 100%; }
