/* =========================================================
   Erbacci LTD — design tokens & base
   ========================================================= */
:root {
  --bg: #f6f3ec;
  --bg-elev: #ffffff;
  --bg-ink: #0e0d0a;
  --bg-ink-soft: #1a1a17;
  --line: #e8e3d6;
  --line-strong: #d8d1bf;
  --ink: #0e0d0a;
  --ink-soft: #2a2823;
  --muted: #6f6a5e;
  --muted-2: #94907f;
  --accent: #b3501a;       /* warm sienna, echoes SmartHotels cream UI */
  --accent-ink: #ffffff;
  --accent-soft: #f4e4d4;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(14, 13, 10, .04), 0 1px 1px rgba(14, 13, 10, .03);
  --shadow-md: 0 6px 24px rgba(14, 13, 10, .06), 0 2px 6px rgba(14, 13, 10, .04);
  --shadow-lg: 0 24px 60px rgba(14, 13, 10, .12), 0 6px 16px rgba(14, 13, 10, .06);
  --max: 1240px;
  --max-narrow: 920px;
  --pad: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 9vw, 140px);
  --font-sans: "Inter", "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11", "cv05";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* =========================================================
   Layout helpers
   ========================================================= */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.container--narrow { max-width: var(--max-narrow); }

section { padding-block: var(--section-y); position: relative; }
section + section { padding-top: 0; }
section.is-dark { background: var(--bg-ink); color: #f1ece0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: currentColor;
  opacity: .55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--ink);
}
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: #f7f2e6; }
h1 { font-size: clamp(40px, 6.4vw, 84px); letter-spacing: -0.028em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(17px, 1.4vw, 20px); }
p  { margin: 0 0 1em; color: var(--ink-soft); }
.is-dark p { color: #cfc8b6; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--ink-soft); max-width: 62ch; }
.is-dark .lede { color: #d8d1bf; }
.muted { color: var(--muted); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --bg-btn: var(--ink);
  --fg-btn: #f7f2e6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--bg-btn);
  color: var(--fg-btn);
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: #1f1c16; }
.btn--ghost {
  --bg-btn: transparent;
  --fg-btn: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: #ede7d6; border-color: var(--ink); }
/* Ghost button on dark surfaces (cta band, featured card, sh-banner, etc.) */
.is-dark .btn--ghost,
.cta .btn--ghost,
.featured .btn--ghost,
.numbers .btn--ghost,
.sh-banner .btn--ghost {
  --fg-btn: #f7f2e6;
  color: #f7f2e6;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .04);
}
.is-dark .btn--ghost:hover,
.cta .btn--ghost:hover,
.featured .btn--ghost:hover,
.numbers .btn--ghost:hover,
.sh-banner .btn--ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #f7f2e6;
}
.btn--accent { --bg-btn: var(--accent); }
.btn--accent:hover { background: #9b4516; }

.btn .arrow {
  width: 12px; height: 12px;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* =========================================================
   Header / navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(246, 243, 236, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: rgba(246, 243, 236, .9); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 30px; width: auto; }
.brand__name {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.012em;
}
.nav {
  display: flex; gap: 28px; align-items: center;
  font-size: 14.5px;
}
/* Apply default link color only to non-button nav links, otherwise
   .btn's own color is overridden by specificity and the CTA reads black-on-black. */
.nav a:not(.btn) {
  color: var(--ink-soft);
  transition: color .15s ease;
  position: relative;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav__cta { margin-left: 8px; }
@media (max-width: 820px) {
  .nav__links { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(56px, 7vw, 110px); }
.hero__grid {
  display: grid; gap: clamp(40px, 6vw, 80px);
  grid-template-columns: 1.05fr .95fr;
  align-items: end;
}
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.hero__copy { max-width: 720px; }
.hero h1 .accent { color: var(--accent); }
.hero__meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 22px 32px;
  font-size: 13.5px; color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: -0.005em;
}
.hero__meta strong { color: var(--ink); font-weight: 500; }
.hero__visual {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(179, 80, 26, .12), transparent 60%),
    linear-gradient(160deg, #efe8d6 0%, #f6f3ec 60%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* iPad device stack inside the hero visual */
.hero__devices {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 3.5vw, 44px);
  padding: clamp(18px, 3vw, 36px) clamp(20px, 4vw, 56px);
}
.hero__device {
  margin: 0;
  position: relative;
  flex: 0 1 auto;
  width: 38%;
  max-width: 220px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f0f1a;
  padding: 5px;
  box-shadow:
    0 30px 60px -25px rgba(14, 13, 10, .45),
    0 12px 24px -12px rgba(14, 13, 10, .25),
    inset 0 0 0 1px rgba(255, 255, 255, .06);
  transition: transform .4s cubic-bezier(.2,.6,.2,1);
}
.hero__device img {
  display: block;
  width: 100%; height: auto;
  border-radius: 10px;
  background: #fff;
}
.hero__device figcaption {
  position: absolute; left: 50%; bottom: -28px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.hero__device--back  { transform: translateY(20px) rotate(-3deg) scale(.96); z-index: 1; }
.hero__device--front { transform: translateY(-12px) rotate(2.5deg) scale(1.02); z-index: 2; }
.hero__visual--link:hover .hero__device--back  { transform: translateY(16px) rotate(-2deg) scale(.97); }
.hero__visual--link:hover .hero__device--front { transform: translateY(-16px) rotate(1.5deg) scale(1.04); }

@media (max-width: 600px) {
  .hero__devices { gap: 12px; padding: 14px 18px; }
  .hero__device { width: 42%; max-width: 180px; }
}
.hero__tag {
  position: absolute; bottom: 16px; left: 16px;
  display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
  z-index: 2;
}
.hero__tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
}

/* Clickable hero visual — promotes /smarthotels prominently */
.hero__visual--link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s ease;
}
.hero__visual--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.hero__visual--link:hover .hero__cta-overlay {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.hero__visual--link:hover .hero__cta-overlay svg { transform: translateX(3px); }
.hero__cta-overlay {
  position: absolute; bottom: 16px; right: 16px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--accent-ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.005em;
  z-index: 2;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.hero__cta-overlay svg { transition: transform .25s ease; }

/* Clickable featured shot too */
.featured__shot--link {
  text-decoration: none;
  display: block;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.6,.2,1);
}
.featured__shot--link:hover { transform: translateY(-4px) rotate(0deg); }

/* =========================================================
   SmartHotels prominent banner (between hero and category strip)
   ========================================================= */
.sh-banner {
  display: block;
  background: linear-gradient(90deg, var(--bg-ink) 0%, #1f1d16 100%);
  color: #f7f2e6;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: filter .2s ease;
}
.sh-banner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(179, 80, 26, .35), transparent 45%),
    radial-gradient(ellipse at 100% 50%, rgba(196, 178, 138, .14), transparent 50%);
  pointer-events: none;
}
.sh-banner:hover { filter: brightness(1.06); }
.sh-banner__inner {
  position: relative;
  display: flex; align-items: center;
  gap: clamp(16px, 3vw, 36px);
  padding-block: 22px;
  flex-wrap: wrap;
}
.sh-banner__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em;
  color: #c8be9d;
  padding: 5px 10px;
  border: 1px solid #3a352a;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  flex-shrink: 0;
}
.sh-banner__eyebrow::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, .22);
}
.sh-banner__title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 500;
  letter-spacing: -0.012em;
  color: #f7f2e6;
  flex: 1;
  min-width: 0;
}
.sh-banner__url {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.sh-banner:hover .sh-banner__url { transform: translateX(2px); }
@media (max-width: 720px) {
  .sh-banner__inner { padding-block: 18px; gap: 14px; }
  .sh-banner__title { font-size: 14.5px; }
  .sh-banner__url { font-size: 12.5px; padding: 8px 14px; }
}

/* =========================================================
   Marquee strip — products / platforms
   ========================================================= */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 28px;
  background: var(--bg);
}
.strip__inner {
  display: flex; gap: clamp(28px, 4vw, 56px);
  align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.strip__inner span:not(:last-child)::after {
  content: "·";
  margin-left: clamp(28px, 4vw, 56px);
  color: var(--line-strong);
}

/* =========================================================
   Featured product (SmartHotels)
   ========================================================= */
.featured {
  background: var(--bg-ink);
  color: #ece7d8;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
  position: relative;
}
.featured h2, .featured h3 { color: #f9f4e6; }
.featured__grid {
  display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
}
@media (max-width: 960px) { .featured__grid { grid-template-columns: 1fr; } }
.featured .eyebrow { color: #c8be9d; }
.featured .lede { color: #d8d1bf; }
.featured__bullets {
  list-style: none; padding: 0; margin: 24px 0 32px;
  display: grid; gap: 10px;
}
.featured__bullets li {
  display: flex; gap: 12px; align-items: flex-start;
  color: #d8d1bf; font-size: 15.5px;
}
.featured__bullets li::before {
  content: "";
  flex: 0 0 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 9px;
}
.featured__shot {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f7f3e8;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .08);
  transform: rotate(-0.3deg);
}
.featured__shot img { width: 100%; height: auto; display: block; }
.featured__chip {
  position: absolute; top: 18px; left: 18px;
  background: rgba(14, 13, 10, .68);
  color: #f7f2e6;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, .12);
}
.featured__bg {
  position: absolute; inset: -40%;
  background: radial-gradient(ellipse at 80% 0%, rgba(179, 80, 26, .22), transparent 55%),
              radial-gradient(ellipse at 0% 100%, rgba(196, 178, 138, .12), transparent 50%);
  pointer-events: none; z-index: 0;
}
.featured > * { position: relative; z-index: 1; }

/* =========================================================
   Portfolio grid
   ========================================================= */
.portfolio__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.portfolio__grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
}
.card-product {
  grid-column: span 4;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: transform .25s ease, border-color .2s ease, box-shadow .25s ease;
}
.card-product:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card-product.is-wide { grid-column: span 8; }
.card-product.is-half { grid-column: span 6; }
@media (max-width: 900px) {
  .card-product, .card-product.is-wide, .card-product.is-half { grid-column: span 12; }
}
.card-product__top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.card-product__pill {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: #6b3210;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
}
.card-product__pill.is-rd { background: #e6efe8; color: #2c5f3d; }
.card-product__pill.is-stage { background: #efe9d6; color: #5a4a1b; }
.card-product h3 { margin-bottom: 10px; }
.card-product p { color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.card-product__platforms {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.card-product__platforms span {
  padding: 4px 9px;
  background: #f1ecdf;
  border-radius: 999px;
}
.card-product__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--ink);
}

/* =========================================================
   Capabilities
   ========================================================= */
.caps__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}
@media (max-width: 900px) { .caps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .caps__grid { grid-template-columns: 1fr; } }
.cap {
  background: var(--bg-elev);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 230px;
}
.cap__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--accent);
}
.cap h3 { font-size: 18px; margin: 0; }
.cap p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* =========================================================
   Numbers
   ========================================================= */
.numbers {
  background: var(--bg-ink); color: #efe9d6;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 88px) clamp(28px, 4vw, 56px);
  margin-top: var(--section-y);
}
.numbers__head { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 56px; }
.numbers__head .eyebrow { color: #c8be9d; }
.numbers__head p { color: #cfc8b6; max-width: 44ch; }
.numbers__grid {
  display: grid; gap: 48px 24px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .numbers__grid { grid-template-columns: repeat(2, 1fr); } }
.metric .value {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 500; letter-spacing: -0.025em;
  color: #fbf6e8;
  line-height: 1;
}
.metric .label {
  margin-top: 12px;
  font-size: 14.5px; color: #cfc8b6; line-height: 1.45;
  border-top: 1px solid #34302a;
  padding-top: 12px;
}

/* =========================================================
   Approach / values
   ========================================================= */
.approach__grid {
  display: grid; gap: clamp(36px, 5vw, 72px);
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
}
@media (max-width: 900px) { .approach__grid { grid-template-columns: 1fr; } }
.approach__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.approach__list li {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px;
  padding: 18px 20px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.approach__list li strong {
  font-family: var(--font-display); font-weight: 500;
  font-size: 16.5px; color: var(--ink);
  display: block; margin-bottom: 2px;
}
.approach__list li span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.approach__list .num {
  font-family: var(--font-mono);
  font-size: 12.5px; color: var(--muted);
  letter-spacing: .05em;
  padding-top: 3px;
}

/* =========================================================
   CTA block
   ========================================================= */
.cta {
  margin: var(--section-y) auto 0;
  background: var(--bg-ink);
  color: #f5efde;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 96px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta h2 { color: #fbf6e8; max-width: 18ch; margin-inline: auto; }
.cta p { color: #cfc8b6; max-width: 56ch; margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(179, 80, 26, .25), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(200, 180, 130, .12), transparent 55%);
  pointer-events: none;
}
.cta > * { position: relative; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: 56px;
  margin-top: 0;
}
.site-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 56px;
}
@media (max-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 500;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-soft); font-size: 14.5px; }
.site-footer a:hover { color: var(--ink); }
.site-footer__about p { color: var(--muted); font-size: 14px; max-width: 36ch; }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted); gap: 16px; flex-wrap: wrap;
}

/* =========================================================
   Animations
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Selection
   ========================================================= */
::selection { background: var(--accent); color: #fff; }

/* =========================================================
   CTA fallback line under the contact buttons
   ========================================================= */
.cta__fallback {
  margin-top: 22px;
  font-size: 13.5px;
  color: #cfc8b6;
  text-align: center;
}
.cta__fallback a {
  color: #f7f2e6;
  text-decoration: underline;
  text-decoration-color: rgba(247, 242, 230, .35);
  text-underline-offset: 3px;
}
.cta__fallback a:hover { text-decoration-color: #f7f2e6; }

/* =========================================================
   Booking modal
   ========================================================= */
.booking {
  position: fixed; inset: 0;
  display: none;
  z-index: 100;
}
.booking.is-open { display: block; }
.booking__overlay {
  position: absolute; inset: 0;
  background: rgba(14, 13, 10, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: bk-fade .2s ease;
}
@keyframes bk-fade { from { opacity: 0 } to { opacity: 1 } }
.booking__panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--bg-elev);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: clamp(24px, 4vw, 40px);
  animation: bk-pop .25s cubic-bezier(.2,.7,.2,1.05);
}
@keyframes bk-pop {
  from { opacity: 0; transform: translate(-50%, -48%) scale(.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.booking__close {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.booking__close:hover { background: #ede7d6; transform: rotate(90deg); }

.booking__head { margin-bottom: 24px; padding-right: 36px; }
.booking__head h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 8px 0 10px; }
.booking__lede { margin: 0; color: var(--muted); font-size: 14.5px; }

.booking__honeypot {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
@media (max-width: 560px) {
  .booking__grid { grid-template-columns: 1fr; gap: 14px; }
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
.field__optional { color: var(--muted-2); font-weight: 400; font-family: var(--font-sans); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236f6a5e' stroke-width='2'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(179, 80, 26, .15);
  background: var(--bg-elev);
}
.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: #b3261e;
  background: #fef3f2;
}
.field__error { font-size: 12px; color: #b3261e; min-height: 0; }

.booking__footer {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.booking__submit { position: relative; min-width: 200px; justify-content: center; }
.booking__submit.is-loading { pointer-events: none; opacity: .8; }
.booking__spinner { display: none; animation: bk-spin 1s linear infinite; }
.booking__submit.is-loading .booking__spinner { display: inline-block; }
@keyframes bk-spin { to { transform: rotate(360deg); } }
.booking__meta {
  margin: 0; font-size: 12px; color: var(--muted);
  flex: 1; min-width: 200px;
}

.booking__alert {
  margin-top: 16px;
  padding: 12px 14px;
  background: #fef3f2;
  border: 1px solid #f4c5c1;
  color: #8a1f1a;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.booking__success { text-align: center; padding: 16px 0 8px; }
.booking__success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #e6efe8; color: #2c5f3d;
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.booking__success h3 { font-size: 22px; margin: 0 0 8px; }
.booking__success p { color: var(--ink-soft); margin: 0 auto 22px; max-width: 44ch; }

/* =========================================================
   Calendar-style booking: pick day + pick slot + summary chip
   ========================================================= */
.bk-pick {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(16px, 2.4vw, 28px);
  margin-bottom: 20px;
}
@media (max-width: 720px) { .bk-pick { grid-template-columns: 1fr; } }

/* ---- calendar ---- */
.bk-calendar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 16px 12px;
}
.bk-cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.bk-cal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
}
.bk-cal-nav {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  transition: background .15s ease, border-color .15s ease;
}
.bk-cal-nav:not(:disabled):hover { background: #ede7d6; border-color: var(--ink); }
.bk-cal-nav:disabled { opacity: .35; cursor: not-allowed; }

.bk-cal-dow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.bk-cal-dow .is-weekend { color: var(--muted-2); }
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.bk-cal-day {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: var(--bg-elev);
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease, transform .12s ease;
}
.bk-cal-day:not(:disabled):hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #6b3210;
}
.bk-cal-day--blank { background: transparent; border-color: transparent; pointer-events: none; }
.bk-cal-day--past,
.bk-cal-day--off {
  color: var(--muted-2);
  background: transparent;
  cursor: not-allowed;
}
.bk-cal-day--past:hover,
.bk-cal-day--off:hover { background: transparent; border-color: transparent; color: var(--muted-2); }
.bk-cal-day--today { box-shadow: inset 0 0 0 1px var(--line-strong); }
.bk-cal-day.is-selected,
.bk-cal-day.is-selected:hover {
  background: var(--ink);
  color: #f7f2e6;
  border-color: var(--ink);
  transform: scale(1.02);
}
.bk-cal-hint {
  margin: 10px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---- slot picker ---- */
.bk-slots {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.bk-slots-empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
}
.bk-slots-empty svg { display: block; margin: 0 auto 10px; color: var(--muted-2); }
.bk-slots-empty p { margin: 0; font-size: 13.5px; max-width: 22ch; }
.bk-slots-day {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  color: var(--ink);
}
.bk-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: 8px;
}
.bk-slot {
  padding: 10px 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font: inherit;
  font-family: var(--font-mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  cursor: pointer;
  transition: background .12s ease, border-color .12s ease, color .12s ease;
}
.bk-slot:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #6b3210;
}
.bk-slot.is-selected,
.bk-slot.is-selected:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #f7f2e6;
}

/* ---- summary chip ---- */
.bk-info { animation: bk-fade .25s ease; }
@keyframes bk-info-pop { from { opacity: 0; transform: translateY(4px) } to { opacity: 1; transform: none } }
.bk-summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px 9px 14px;
  background: #e8efe6;
  border: 1px solid #b6d2b8;
  color: #1f4a2a;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
  animation: bk-info-pop .25s ease;
}
.bk-summary svg { flex-shrink: 0; color: #2c5f3d; }
.bk-summary-change {
  margin-left: 6px;
  padding: 4px 10px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(31, 74, 42, .25);
  border-radius: 999px;
  font: inherit;
  font-size: 11.5px;
  color: #1f4a2a;
  cursor: pointer;
}
.bk-summary-change:hover { background: #fff; border-color: #1f4a2a; }
