/* Vibot marketing site — design language from pattern reference, brand tokens local. */

:root {
  --vibot-navy: #005187;
  --vibot-mid-blue: #4d82bc;
  --vibot-soft-blue: #84b6f4;
  --vibot-pale-blue: #c4dafa;
  --vibot-white: #fcffff;

  --bg: var(--vibot-white);
  --bg-alt: color-mix(in srgb, var(--vibot-pale-blue) 42%, var(--vibot-white));
  --bg-card: color-mix(in srgb, var(--vibot-pale-blue) 55%, var(--vibot-white));
  --bg-card-strong: color-mix(in srgb, var(--vibot-pale-blue) 75%, var(--vibot-white));
  --text: var(--vibot-navy);
  --text-muted: color-mix(in srgb, var(--vibot-navy) 68%, var(--vibot-white));
  --text-faint: color-mix(in srgb, var(--vibot-navy) 44%, var(--vibot-white));
  --text-on-navy: var(--vibot-white);
  --border: color-mix(in srgb, var(--vibot-navy) 12%, transparent);
  --border-medium: color-mix(in srgb, var(--vibot-navy) 22%, transparent);
  --link: var(--vibot-mid-blue);
  --focus: var(--vibot-navy);

  --space: 0.25rem;
  --radius-card: 0.625rem; /* 10px — cards / media */
  --radius-media: 0.75rem; /* 12px */
  --radius-pill: 9999px;

  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 150ms;
  --duration-slow: 500ms;

  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --header-h: calc(4rem + env(safe-area-inset-top, 0px));
  --content: 72rem;
  --content-wide: 88rem;

  --text-h1: clamp(2rem, 3.0047vw + 1.29577rem, 4rem);
  --lh-h1: clamp(2.2rem, 2.7vw + 1.57rem, 4rem);
  --text-h2: clamp(2rem, 1.50235vw + 1.64789rem, 3rem);
  --lh-h2: clamp(2.28rem, 1.8vw + 1.86rem, 3.48rem);
  --text-h3: clamp(1.5rem, 0.56338vw + 1.36796rem, 1.875rem);
  --lh-h3: clamp(1.98rem, 0.74vw + 1.8rem, 2.475rem);
  --text-h4: clamp(1.25rem, 0.187793vw + 1.20599rem, 1.375rem);
  --lh-h4: clamp(1.5rem, 0.35vw + 1.42rem, 1.7325rem);
  --text-body: 1.0625rem;
  --lh-body: 1.75rem;
  --text-small: 0.875rem;
  --lh-small: 1.435rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  color-scheme: light;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  background: var(--bg);
  min-width: 320px;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .site-header {
  background: var(--bg);
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

button,
input {
  font: inherit;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}

a:hover {
  color: var(--vibot-navy);
}

:focus-visible {
  outline: 1.5px solid var(--focus);
  outline-offset: 2.5px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--vibot-navy);
  color: var(--text-on-navy);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-card);
}

.skip-link:focus {
  top: 1rem;
  color: var(--text-on-navy);
}

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

.wrap {
  width: min(100% - 3rem, var(--content));
  margin-inline: auto;
}

.wrap-wide {
  width: min(100% - 3rem, var(--content-wide));
  margin-inline: auto;
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 7rem;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: color-mix(in srgb, var(--vibot-navy) 60%, transparent);
  font-weight: 400;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

h1,
.t-h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-h1);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2,
.t-h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-h2);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3,
.t-h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  letter-spacing: -0.01em;
}

.lede,
.section-head p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  text-wrap: pretty;
}

.lede {
  max-width: 38rem;
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  letter-spacing: -0.01em;
  font-weight: 500;
}

p {
  margin: 0;
}

.placeholder {
  display: inline;
  background: color-mix(in srgb, var(--vibot-pale-blue) 80%, transparent);
  border-radius: 4px;
  padding: 0 0.28em;
  font-weight: 500;
  color: var(--vibot-navy);
  box-decoration-break: clone;
  overflow-wrap: anywhere;
}

.section,
.agencies,
.cta-band,
.site-footer {
  position: relative;
  z-index: 10;
}

section[id],
#precios,
#cta {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--text-small);
  line-height: 1.435rem;
  letter-spacing: -0.01em;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.btn-primary {
  background: var(--vibot-navy);
  color: var(--text-on-navy);
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--vibot-navy) 82%, var(--vibot-soft-blue));
  color: var(--text-on-navy);
}

.btn-secondary {
  background: transparent;
  color: var(--vibot-navy);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--vibot-navy);
}

.btn-inverse {
  background: var(--vibot-white);
  color: var(--vibot-navy);
}

.btn-inverse:hover {
  background: var(--vibot-pale-blue);
  color: var(--vibot-navy);
}

.btn-ghost {
  background: color-mix(in srgb, var(--vibot-white) 10%, transparent);
  color: var(--text-on-navy);
  border-color: color-mix(in srgb, var(--vibot-white) 28%, transparent);
}

.btn-ghost:hover {
  background: color-mix(in srgb, var(--vibot-white) 18%, transparent);
  color: var(--text-on-navy);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  padding-top: var(--safe-top);
  width: 100%;
  background: transparent;
  transition:
    background-color var(--duration-slow) var(--ease),
    box-shadow var(--duration-slow) var(--ease);
}

.site-header.is-scrolled {
  background: var(--vibot-white);
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  width: min(100% - 2rem, var(--content-wide));
  margin-inline: auto;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--vibot-navy);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  transition: opacity var(--duration-slow) var(--ease);
}

.logo:hover {
  color: var(--vibot-navy);
  opacity: 0.7;
}

.logo-mark {
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  justify-content: center;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  display: inline-flex;
  align-items: center;
  color: var(--vibot-navy);
  font-size: var(--text-small);
  line-height: var(--lh-small);
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  transition: background-color var(--duration) var(--ease);
}

.nav-desktop a:hover {
  background: color-mix(in srgb, var(--vibot-navy) 10%, transparent);
  color: var(--vibot-navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--vibot-navy);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 40;
  padding: 1.5rem 1.25rem 2rem;
  background-color: var(--bg);
  background-image: linear-gradient(
    to bottom,
    var(--bg),
    color-mix(in srgb, var(--bg) 88%, transparent)
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 1;
  transition: opacity var(--duration-slow) var(--ease);
}

.nav-mobile[hidden] {
  display: block;
  opacity: 0;
  pointer-events: none;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile a {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  font-weight: 500;
  color: var(--vibot-navy);
}

.nav-mobile .btn {
  margin-top: 1rem;
  width: 100%;
  font-size: var(--text-small);
  line-height: 1.435rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-on-navy);
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: calc(0px - var(--header-h));
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 4rem;
  min-height: 62.5rem;
}

.media-fade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  height: 1000px;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.media-fade video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero-trail {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  max-width: 20ch;
}

.hero-content .lede {
  margin-top: 1.25rem;
}

.hero-content .btn-row {
  margin-top: 2rem;
}

.hero-content .btn-primary,
.hero-content .btn-secondary {
  min-width: 13.75rem; /* ~220px — fits “Ver nuestras capacidades” on one line */
}

@media (max-width: 39.999rem) {
  .hero-content .btn-row {
    width: 100%;
    max-width: 18rem;
  }

  .hero-content .btn-primary,
  .hero-content .btn-secondary {
    min-width: 0;
    width: 100%;
  }
}

/* Problem */

.problem {
  background: var(--bg);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat-value {
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.stat-card p {
  color: var(--text-muted);
}

/* How it works */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  display: inline-block;
  font-size: var(--text-small);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--vibot-mid-blue);
  margin-bottom: 0.75rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-muted);
}

.modes {
  margin-top: 2.5rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-media);
  background: color-mix(in srgb, var(--vibot-pale-blue) 28%, var(--vibot-white));
}

.modes h3 {
  margin-bottom: 0.75rem;
}

.modes p {
  color: var(--text-muted);
}

.mode-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.mode-list li {
  background: var(--vibot-white);
  border-radius: 0.5rem;
  padding: 0.75rem 0.9rem;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.mode-list strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.15rem;
  color: var(--vibot-navy);
}

.mode-list span {
  color: var(--text-muted);
}

/* Features */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--vibot-soft-blue) 35%, var(--vibot-white));
  color: var(--vibot-navy);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card p {
  color: var(--text-muted);
}

/* Agencies — visual weight */

.agencies {
  background: var(--vibot-navy);
  color: var(--text-on-navy);
  padding-top: 3.5rem;
  padding-bottom: 7rem;
}

.agencies .eyebrow {
  color: color-mix(in srgb, var(--vibot-white) 70%, transparent);
}

.agencies h2,
.agencies h3 {
  color: var(--text-on-navy);
}

.agencies .section-head p {
  color: color-mix(in srgb, var(--vibot-white) 78%, transparent);
}

.agency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.product-frame {
  background: color-mix(in srgb, var(--vibot-white) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--vibot-white) 16%, transparent);
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-chrome {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--vibot-white) 12%, transparent);
  font-size: var(--text-small);
  color: color-mix(in srgb, var(--vibot-white) 72%, transparent);
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dots i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--vibot-white) 35%, transparent);
}

.product-body {
  padding: 1.5rem 1.25rem 1.75rem;
}

.product-body p {
  margin-top: 0.75rem;
  color: color-mix(in srgb, var(--vibot-white) 78%, transparent);
}

.contract-band {
  margin-top: 1.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-media);
  background: color-mix(in srgb, var(--vibot-soft-blue) 22%, transparent);
  border: 1px solid color-mix(in srgb, var(--vibot-pale-blue) 35%, transparent);
}

.contract-band p {
  margin-top: 0.75rem;
  color: color-mix(in srgb, var(--vibot-white) 82%, transparent);
}

.agency-cta {
  margin-top: 2rem;
}

/* Testimonials */

.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.quote-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  height: 100%;
}

.quote-card blockquote {
  margin: 0;
  font-size: var(--text-body);
  line-height: var(--lh-body);
}

.quote-card footer {
  font-size: var(--text-small);
  line-height: var(--lh-small);
  color: var(--text-muted);
}

/* Closing CTA */

.cta-band {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 6rem;
  overflow: hidden;
}

.media-fade-invert {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 100%);
}

.media-fade-invert video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-content h2 {
  max-width: 16ch;
}

.cta-content .lede {
  margin-top: 1rem;
}

.cta-content .btn-row {
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1rem;
  font-size: var(--text-small);
  color: var(--text-faint);
}

/* Booking / reserva */

.booking-card {
  background: var(--vibot-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  max-width: 60rem;
}

.booking-card[hidden] {
  display: none !important;
}

.booking-cal-layout {
  display: grid;
  gap: 0;
  align-items: start;
  width: 100%;
}

.booking-cal {
  width: 100%;
  padding: 0 0 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.booking-time-panel {
  min-height: 0;
}

.booking-time-panel.is-waiting-day {
  opacity: 0.45;
  pointer-events: none;
}

.booking-time-label {
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vibot-mid-blue);
  display: inline-block;
  border-bottom: 1.5px solid color-mix(in srgb, var(--vibot-mid-blue) 50%, transparent);
  padding-bottom: 0.25rem;
  margin: 0 0 0.75rem;
}

.booking-time-duration {
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.92;
}

.booking-time-hint {
  font-size: var(--text-small);
  color: var(--text-muted);
  margin: 0 0 0.625rem;
  line-height: 1.4;
}

.booking-time-hint[hidden],
.booking-time-slot-range[hidden],
.booking-error[hidden] {
  display: none !important;
}

.booking-time-slot-range {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: -0.25rem 0 0.625rem;
  line-height: 1.35;
}

.booking-error {
  margin: 0 0 0.75rem;
  font-size: var(--text-small);
  font-weight: 600;
  color: #9b2c2c;
}

.booking-time-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.booking-time-slot {
  min-height: 44px;
  padding: 0.375rem 0.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-medium);
  background: transparent;
  color: var(--vibot-navy);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.booking-time-slot:hover {
  border-color: var(--vibot-navy);
  background: color-mix(in srgb, var(--vibot-pale-blue) 55%, var(--vibot-white));
}

.booking-time-slot.is-selected {
  background: var(--vibot-navy);
  color: var(--vibot-white);
  border-color: var(--vibot-navy);
}

.booking-time-slot--blocked {
  opacity: 0.4;
  cursor: not-allowed;
  border-style: dashed;
  text-decoration: line-through;
  color: var(--text-muted);
}

.booking-time-slot--blocked:hover,
.booking-time-slot--api-booked:hover,
.booking-time-slot--out-of-schedule:hover {
  border-color: var(--border-medium);
  color: var(--text-muted);
  background: transparent;
}

.booking-time-slot--api-booked {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.booking-time-slot--out-of-schedule {
  opacity: 0.38;
  cursor: not-allowed;
  border-style: dotted;
  color: var(--text-muted);
}

.booking-time-loading {
  grid-column: 1 / -1;
  text-align: center;
  font-size: var(--text-small);
  color: var(--text-muted);
  padding: 1rem 0.5rem;
  margin: 0;
}

.booking-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}

.booking-cal-nav button {
  width: 44px;
  height: 44px;
  border-radius: 0.75rem;
  border: 1px solid var(--border-medium);
  background: var(--vibot-white);
  color: var(--vibot-navy);
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease);
}

.booking-cal-nav button:hover:not(:disabled) {
  border-color: var(--vibot-navy);
  background: color-mix(in srgb, var(--vibot-pale-blue) 55%, var(--vibot-white));
}

.booking-cal-nav button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.booking-cal-nav h3 {
  font-weight: 600;
  font-size: 1rem;
  color: var(--vibot-navy);
  text-transform: capitalize;
  flex: 1;
  text-align: center;
  margin: 0;
}

.booking-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vibot-mid-blue);
}

.booking-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3125rem;
}

.booking-cal-day {
  min-height: 44px;
  border-radius: 0.625rem;
  border: 1px solid var(--border);
  background: var(--vibot-white);
  color: var(--vibot-navy);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  touch-action: manipulation;
  transition:
    background-color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.booking-cal-day:hover:not(:disabled) {
  border-color: var(--vibot-navy);
  background: color-mix(in srgb, var(--vibot-pale-blue) 55%, var(--vibot-white));
}

.booking-cal-day:disabled {
  cursor: default;
}

.booking-cal-day--muted {
  opacity: 0.22;
}

.booking-cal-day--past {
  opacity: 0.4;
}

.booking-cal-day--today:not(:disabled) {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--vibot-mid-blue) 70%, transparent);
  border-color: transparent;
}

.booking-cal-day--selected {
  background: var(--vibot-navy) !important;
  color: var(--vibot-white) !important;
  border-color: var(--vibot-navy) !important;
  box-shadow: none !important;
}

.booking-cal-selection {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--vibot-navy);
  font-weight: 500;
  min-height: 0;
}

.booking-cal-selection:not(:empty) {
  margin-top: 1.25rem;
  background: color-mix(in srgb, var(--vibot-pale-blue) 42%, var(--vibot-white));
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  padding: 0.625rem 0.875rem;
}

.booking-cal-actions {
  margin-top: 1rem;
}

.booking-cal-actions--split {
  display: grid;
  gap: 0.75rem;
}

.booking-submit {
  width: 100%;
}

.booking-submit:disabled,
.booking-cal-actions .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.booking-contact-title {
  font-weight: 600;
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  letter-spacing: -0.02em;
  color: var(--vibot-navy);
  margin: 0 0 0.625rem;
}

.booking-contact-form {
  margin-top: 0.875rem;
  display: grid;
  gap: 0.75rem;
}

.booking-contact-row,
.booking-contact-cell {
  display: grid;
  gap: 0.375rem;
  min-width: 0;
}

.booking-contact-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  align-items: start;
}

.booking-contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--vibot-navy);
  letter-spacing: 0.02em;
}

.booking-contact-input {
  width: 100%;
  min-height: 44px;
  border-radius: 0.625rem;
  border: 1px solid var(--border-medium);
  background: var(--vibot-white);
  color: var(--vibot-navy);
  padding: 0.625rem 0.75rem;
  font: 500 0.875rem / 1.35 var(--font);
}

.booking-contact-input::placeholder {
  color: var(--text-faint);
}

.booking-contact-input:focus-visible {
  outline: 1.5px solid var(--focus);
  outline-offset: 2px;
  border-color: var(--vibot-navy);
}

.booking-contact-fieldset {
  border: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.booking-contact-fieldset legend {
  padding: 0;
}

.booking-contact-hint {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin: -0.125rem 0 0;
  line-height: 1.35;
}

.booking-contact-chips {
  display: grid;
  gap: 0.5rem;
}

.booking-contact-chips--budget {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-contact-chips--interest {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.booking-contact-chip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 0.5rem 0.375rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border-medium);
  background: var(--bg-alt);
  color: var(--vibot-navy);
  font-weight: 600;
  font-size: 0.8125rem;
  cursor: pointer;
  text-align: center;
  transition:
    border-color var(--duration) var(--ease),
    background-color var(--duration) var(--ease),
    color var(--duration) var(--ease);
}

.booking-contact-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  pointer-events: none;
}

.booking-contact-chip:hover {
  border-color: var(--vibot-navy);
}

.booking-contact-chip:has(input:checked) {
  background: var(--vibot-navy);
  color: var(--vibot-white);
  border-color: var(--vibot-navy);
}

.booking-confirm-dialog {
  position: fixed;
  inset: 0;
  width: fit-content;
  max-width: min(26.25rem, calc(100vw - 2.5rem));
  height: fit-content;
  max-height: min(90vh, calc(100vh - 2.5rem));
  margin: auto;
  border: none;
  border-radius: 1rem;
  padding: 0;
  background: transparent;
  color: var(--vibot-navy);
  box-shadow: none;
}

.booking-confirm-dialog::backdrop {
  background: color-mix(in srgb, var(--vibot-navy) 55%, transparent);
}

.booking-confirm-card {
  background: var(--vibot-white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem 1.375rem;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 81, 135, 0.18);
}

.booking-confirm-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--vibot-navy);
  margin: 0 0 1.375rem;
}

.booking-confirm-text a {
  color: var(--vibot-mid-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-confirm-text a:hover {
  color: var(--vibot-navy);
}

.booking-confirm-card .btn {
  width: 100%;
}

@media (min-width: 27.5rem) {
  .booking-contact-chips--budget {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 48rem) {
  .booking-cal-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(12.5rem, 0.72fr);
  }

  .booking-cal {
    padding: 0 1.5rem 0 0;
    border-bottom: none;
    border-right: 1px solid var(--border);
    margin-bottom: 0;
  }

  .booking-time-panel {
    padding: 0 0 0 1.5rem;
  }

  .booking-cal-actions--split {
    grid-template-columns: auto 1fr;
  }
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 1.25rem 0;
  cursor: pointer;
  color: var(--vibot-navy);
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--vibot-mid-blue);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.faq-icon::before {
  width: 1.25rem;
  height: 1.5px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 1.25rem;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
}

.faq-panel {
  padding: 0 0 1.5rem;
  color: var(--text-muted);
  max-width: 46rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 4rem;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
}

.footer-brand {
  grid-column: 1 / -1;
}

.footer-brand p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  max-width: 22rem;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.footer-col h2 {
  font-size: var(--text-small);
  line-height: var(--lh-small);
  font-weight: 400;
  color: color-mix(in srgb, var(--vibot-navy) 44%, transparent);
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--vibot-navy);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.footer-col a:hover {
  opacity: 0.7;
}

.footer-text-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: var(--text-small);
  line-height: var(--lh-small);
  color: var(--vibot-navy);
  cursor: pointer;
  text-align: left;
}

.footer-text-btn:hover {
  opacity: 0.7;
}

.footer-meta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--text-small);
  color: var(--text-faint);
}

/* Legal pages */

body.page-legal .site-header {
  background: var(--vibot-white);
  box-shadow: 0 1px 0 var(--border);
}

.legal-main {
  padding-top: calc(var(--header-h) + 2.5rem);
}

.legal-wrap {
  max-width: 46rem;
}

.legal-banner {
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border-medium);
  border-left: 4px solid var(--vibot-navy);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--vibot-pale-blue) 42%, var(--vibot-white));
  color: var(--vibot-navy);
  font-weight: 600;
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.legal-body {
  color: var(--text-muted);
}

.legal-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  letter-spacing: -0.02em;
  color: var(--vibot-navy);
}

.legal-body p + p {
  margin-top: 0.75rem;
}

.legal-body ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.legal-body li + li {
  margin-top: 0.4rem;
}

.legal-body a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal-links {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: var(--text-small);
}

/* Reveal */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity var(--duration-slow) var(--ease),
    transform var(--duration-slow) var(--ease);
}

.js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

.js [data-reveal="2"] {
  transition-delay: 80ms;
}

.js [data-reveal="3"] {
  transition-delay: 160ms;
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-mobile,
  .btn,
  .logo,
  .nav-toggle span,
  .faq-icon::before,
  .faq-icon::after {
    transition: none;
  }
}

/* Breakpoints */

@media (min-width: 40rem) {
  .mode-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    padding-top: calc(var(--header-h) + 7rem);
    padding-bottom: 6rem;
    min-height: 62.5rem;
  }
}

@media (min-width: 48rem) {
  .wrap,
  .wrap-wide {
    width: min(100% - 5rem, var(--content));
  }

  .wrap-wide {
    width: min(100% - 5rem, var(--content-wide));
  }

  .section,
  .agencies {
    padding-top: 4rem;
    padding-bottom: 8rem;
  }

  .section-head {
    margin-bottom: 4rem;
  }

  .stat-grid,
  .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-card,
  .feature-card,
  .quote-card,
  .step {
    padding: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }

  .cta-band {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 64rem) {
  .header-inner {
    width: min(100% - 4rem, var(--content-wide));
    grid-template-columns: 1fr auto 1fr;
  }

  .nav-desktop {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-mobile,
  .nav-mobile[hidden] {
    display: none;
  }

  .wrap {
    width: min(100% - 7rem, var(--content));
  }

  .wrap-wide {
    width: min(100% - 4rem, var(--content-wide));
  }

  .section,
  .agencies {
    padding-top: 5rem;
    padding-bottom: 9rem;
  }

  .hero {
    padding-top: calc(var(--header-h) + 4rem);
    min-height: 62.5rem;
  }

  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .agency-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .stat-card,
  .feature-card,
  .quote-card {
    padding: 1.25rem;
  }
}

@media (min-width: 80rem) {
  .header-inner {
    width: min(100% - 4rem, 96rem);
  }
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem 1.5rem;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--vibot-white);
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  font-size: var(--text-h4);
  line-height: var(--lh-h4);
  color: var(--vibot-white);
  margin-bottom: 0.5rem;
}

.cookie-banner p {
  font-size: var(--text-small);
  line-height: var(--lh-small);
  color: color-mix(in srgb, var(--vibot-white) 78%, transparent);
  max-width: 46rem;
}

.cookie-banner a,
.cookie-banner__link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--vibot-pale-blue);
  text-decoration: underline;
  cursor: pointer;
}

.cookie-banner a:hover,
.cookie-banner__link:hover {
  color: var(--vibot-white);
}

.cookie-banner__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner__actions .btn {
  width: 100%;
}

.cookie-banner .btn-secondary {
  color: var(--vibot-white);
  border-color: color-mix(in srgb, var(--vibot-white) 35%, transparent);
}

.cookie-banner .btn-secondary:hover {
  background: color-mix(in srgb, var(--vibot-white) 12%, transparent);
  color: var(--vibot-white);
}

.cookie-banner .btn-primary {
  background: var(--vibot-navy);
  color: var(--text-on-navy);
}

@media (min-width: 48rem) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
  }

  .cookie-banner__actions {
    flex-direction: row;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
  }

  .cookie-banner__actions .btn {
    width: auto;
  }
}


/* Booking demonstration: shallow perspective, with all copy kept in HTML. */
.booking-layout { display: grid; gap: 2.5rem; align-items: center; }
.booking-scene { min-width: 0; padding: 2rem 0 1.5rem; border-radius: 2rem; background: radial-gradient(ellipse at 60% 50%, var(--vibot-pale-blue), var(--vibot-white) 72%); }
.booking-scene__label { text-align: center; font-size: .75rem; letter-spacing: .12em; font-weight: 500; }
.booking-stage { position: relative; height: 530px; max-width: 510px; margin: 1.5rem auto 0; perspective: 1100px; }
.booking-calendar { position: absolute; top: 35px; right: 2%; width: 260px; padding: 1.25rem; background: var(--vibot-white); border: 1px solid var(--vibot-pale-blue); border-radius: 1rem; transform: rotateY(-7deg) rotateX(5deg); box-shadow: 0 20px 45px color-mix(in srgb, var(--vibot-navy) 12%, transparent); }
.booking-calendar__heading { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; font-weight: 600; }
.booking-calendar__symbol { font-size: 1.5rem; }
.booking-calendar__day { font-size: .875rem; margin-top: .35rem; }
.booking-calendar__week { display: flex; justify-content: space-between; margin: 1rem 0; font-size: .75rem; }
.booking-slot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .6rem; padding: .6rem; border: 1px solid color-mix(in srgb, var(--vibot-navy) 12%, transparent); border-radius: .5rem; font-size: .875rem; transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, color .45s ease; }
.booking-slot > span { font-size: .75rem; }
.booking-calendar__footer { font-size: .75rem; line-height: 1.5; margin-top: 1rem; }
.booking-phone { position: absolute; top: 85px; left: 3%; width: 242px; height: 420px; border: 5px solid var(--vibot-white); border-radius: 2rem; background: var(--vibot-white); transform: rotateY(8deg) rotateX(5deg); box-shadow: 0 0 0 1px var(--vibot-pale-blue), 8px 12px 0 color-mix(in srgb, var(--vibot-pale-blue) 65%, var(--vibot-white)), 0 28px 45px color-mix(in srgb, var(--vibot-navy) 18%, transparent); overflow: hidden; }
.booking-phone__speaker { width: 42px; height: 4px; background: var(--vibot-navy); opacity: .3; border-radius: 10px; margin: 10px auto 12px; }
.booking-phone__header { display: flex; align-items: center; gap: .5rem; padding: 0 .7rem .8rem; border-bottom: 1px solid var(--vibot-pale-blue); }
.booking-avatar { display: grid; place-items: center; width: 30px; height: 30px; background: var(--vibot-navy); color: var(--vibot-white); border-radius: .6rem; font-weight: 600; }
.booking-phone__header strong { display: block; font-size: .875rem; line-height: 1.3; }
.booking-phone__header div > span { display: block; font-size: .75rem; line-height: 1.5; }
.booking-online { width: 6px; height: 6px; background: var(--vibot-navy); border-radius: 50%; margin-left: auto; }
.booking-phone__chat { position: absolute; top: 80px; bottom: 65px; left: 0; right: 0; padding: .7rem; overflow: hidden; scroll-behavior: auto; }
.booking-chat__day { display: block; text-align: center; font-size: .75rem; margin-bottom: .8rem; }
.booking-bubble { margin-bottom: .6rem; padding: .65rem .75rem; font-size: .875rem; line-height: 1.5; border-radius: .8rem; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.booking-bubble--question, .booking-bubble--choice { background: var(--vibot-pale-blue); margin-left: 1rem; border-bottom-right-radius: .2rem; }
.booking-bubble__time { display: block; font-size: .75rem; text-align: right; margin-top: .2rem; }
.booking-bubble--reply, .booking-bubble--confirmation { background: var(--vibot-white); border: 1px solid var(--vibot-pale-blue); border-bottom-left-radius: .2rem; margin-right: .5rem; }
.booking-bubble--confirmation strong, .booking-bubble--confirmation > span:not(.booking-confirmation__icon) { display: block; }
.booking-bubble--confirmation strong { font-weight: 600; margin-bottom: .25rem; }
.booking-confirmation__icon { float: right; font-size: 1rem; }
.booking-typing { display: flex; gap: 3px; height: 18px; align-items: center; padding-left: .5rem; opacity: 0; transition: opacity .25s ease; }
.booking-typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--vibot-navy); }
.booking-phone__input { position: absolute; bottom: 19px; left: 12px; right: 12px; border: 1px solid var(--vibot-pale-blue); border-radius: 2rem; padding: .2rem .65rem; display: flex; justify-content: space-between; font-size: .75rem; }
.booking-phone__home { position: absolute; bottom: 6px; width: 65px; height: 3px; left: calc(50% - 32.5px); border-radius: 5px; background: var(--vibot-navy); opacity: .25; }
.booking-scene__caption { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; font-size: .75rem; margin-top: .75rem; }
.booking-scene__caption strong { font-weight: 600; }
.slot-booked { display: none; }
.booking-scene:is([data-phase="question"], [data-phase="reply"], [data-phase="available"], [data-phase="choice"], [data-phase="booked"], [data-phase="confirmed"]) .booking-bubble--question,
.booking-scene:is([data-phase="reply"], [data-phase="available"], [data-phase="choice"], [data-phase="booked"], [data-phase="confirmed"]) .booking-bubble--reply,
.booking-scene:is([data-phase="choice"], [data-phase="booked"], [data-phase="confirmed"]) .booking-bubble--choice,
.booking-scene[data-phase="confirmed"] .booking-bubble--confirmation { opacity: 1; transform: translateY(0); }
.booking-scene[data-phase="booked"] .booking-typing { opacity: .6; }
.booking-scene:is([data-phase="available"], [data-phase="choice"], [data-phase="booked"], [data-phase="confirmed"]) .booking-slot--available { background: color-mix(in srgb, var(--vibot-pale-blue) 30%, var(--vibot-white)); border-color: var(--vibot-pale-blue); box-shadow: 0 0 0 2px color-mix(in srgb, var(--vibot-pale-blue) 35%, transparent); }
.booking-scene:is([data-phase="booked"], [data-phase="confirmed"]) .booking-slot--selected { background: var(--vibot-navy); color: var(--vibot-white); border-color: var(--vibot-navy); }
.booking-scene:is([data-phase="booked"], [data-phase="confirmed"]) .slot-free { display: none; }
.booking-scene:is([data-phase="booked"], [data-phase="confirmed"]) .slot-booked { display: inline; }
@media (min-width: 64rem) {
  .booking-layout { grid-template-columns: 1.1fr 1fr; gap: 2rem; }
  .booking-layout .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 359px) {
  .booking-stage { height: 465px; }
  .booking-calendar { right: 0; width: 225px; }
  .booking-phone { left: 0; width: 220px; top: 115px; transform: rotateY(5deg) rotateX(5deg) scale(.88); transform-origin: left top; }
  .booking-scene__label { font-size: .75rem; letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-scene *, .booking-scene *::before, .booking-scene *::after { transition: none !important; }
}
/* Keep the booked slot clear of the phone at intermediate widths. */
@media (min-width: 40rem) {
  .booking-calendar { right: 0; width: 50%; }
  .booking-phone { left: 0; width: 46%; }
}
@media (max-width: 39.999rem) {
  .booking-stage { height: 730px; }
  .booking-calendar { top: 0; right: 1%; }
  .booking-phone { top: 285px; left: 3%; }
}

/* Pass 1: editorial statistics and product panels. Scope preserves other sections. */
#producto, #funciones { padding-block: clamp(3.5rem, 7vw, 6rem); }
#producto .section-head, #funciones .section-head { max-width: 43rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
#producto .section-head > p:not(.eyebrow), #funciones .section-head > p:not(.eyebrow) { max-width: 58ch; }
#producto .stat-grid { gap: 0; border-top: 1px solid var(--border-medium); }
#producto .stat-card { background: transparent; border-radius: 0; box-shadow: none; padding: 2rem 0; gap: 1.25rem; }
#producto .stat-card + .stat-card { border-top: 1px solid var(--border); }
#producto .stat-value { color: var(--vibot-navy); font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; letter-spacing: -.055em; font-weight: 500; }
#producto .stat-value > span { font-size: .6em; margin-left: .06em; }
#producto .stat-summary { color: var(--vibot-navy); max-width: 30ch; font-size: 1.0625rem; line-height: 1.65; }
#producto .stat-source { margin-top: auto; padding-top: .5rem; max-width: 36ch; font-size: .75rem; line-height: 1.6; }
#producto .stat-source a { color: var(--vibot-navy); text-decoration: underline; text-decoration-color: var(--border-medium); text-underline-offset: .2em; }
#producto .stat-source a:hover { text-decoration-color: currentColor; }
#producto .stat-source span { display: block; margin-top: .3rem; color: var(--text-muted); }
#funciones .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
#funciones .feature-card { min-width: 0; padding: 1.75rem; gap: 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--vibot-white); box-shadow: none; }
#funciones .feature-card h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; }
#funciones .feature-card > p { max-width: 44ch; font-size: 1rem; line-height: 1.7; }
#funciones .feature-icon { background: transparent; border: 1px solid var(--border); border-radius: .75rem; margin-bottom: .4rem; }
#funciones .feature-card--lead { padding: clamp(1.5rem, 3vw, 2.5rem); gap: 1rem; }
#funciones .feature-card--lead h3 { font-size: clamp(1.5rem, 2.3vw, 1.875rem); line-height: 1.25; }
#funciones .feature-preview { margin-top: auto; position: relative; padding: 1.1rem; border-radius: .875rem; background: color-mix(in srgb, var(--vibot-pale-blue) 42%, var(--vibot-white)); border: 1px solid var(--border); }
#funciones .feature-card--lead > p { margin-bottom: 1rem; }
#funciones .feature-preview__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: .875rem; font-weight: 500; }
#funciones .feature-preview__status { font-size: .75rem; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .15rem .6rem; background: var(--vibot-white); }
#funciones .feature-schedule { padding: 1rem; background: var(--vibot-white); border-radius: .625rem; border: 1px solid var(--border); }
#funciones .feature-schedule__day { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .875rem; margin-bottom: .9rem; font-weight: 500; }
#funciones .feature-schedule__day > span { font-size: .75rem; color: var(--text-muted); font-weight: 400; }
#funciones .feature-schedule__row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); align-items: start; gap: .65rem; font-size: .75rem; line-height: 1.5; }
#funciones .feature-schedule__row > span { padding-top: .65rem; }
#funciones .feature-schedule__empty { padding: .65rem .7rem; border-top: 1px solid var(--border); color: var(--text-muted); }
#funciones .feature-schedule__event { padding: .65rem .7rem; margin-bottom: .5rem; border-radius: .4rem; border-left: 3px solid var(--vibot-navy); background: var(--vibot-pale-blue); }
#funciones .feature-schedule__event strong { display: block; font-size: .875rem; font-weight: 500; margin-bottom: .2rem; }
#funciones .feature-schedule__event b { margin-left: .25rem; }
#funciones .feature-call { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 241px; text-align: center; padding: .5rem; }
#funciones .feature-call__avatar { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--vibot-navy); color: var(--vibot-white); font-size: 1.5rem; font-weight: 600; }
#funciones .feature-wave { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 4.5rem; margin-block: .5rem; }
#funciones .feature-wave i { width: 4px; height: 12px; border-radius: 4px; background: var(--vibot-navy); opacity: .65; }
#funciones .feature-wave i:nth-child(3n) { height: 30px; }
#funciones .feature-wave i:nth-child(4n) { height: 44px; opacity: 1; }
#funciones .feature-wave i:nth-child(5n) { height: 22px; }
#funciones .feature-call p { color: var(--vibot-navy); font-size: .875rem; line-height: 1.6; max-width: 28ch; }
#funciones .feature-call__caption { margin-top: .65rem; color: var(--text-muted); font-size: .75rem; line-height: 1.5; }
@media (min-width: 48rem) {
  #producto .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 2.5rem; }
  #producto .stat-card { padding: 0 1.75rem; }
  #producto .stat-card:first-child { padding-left: 0; }
  #producto .stat-card:last-child { padding-right: 0; }
  #producto .stat-card + .stat-card { border-top: 0; border-left: 1px solid var(--border-medium); }
  #funciones .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 72rem) {
  #funciones .feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #funciones .feature-card--lead { grid-column: span 2; }
}

/* Dual-track layout: Vibot + AcceleratedCT framing */

.eyebrow-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.eyebrow-stack .eyebrow {
  margin: 0;
}

.eyebrow--partner {
  font-size: var(--text-small);
  line-height: var(--lh-small);
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--vibot-navy) 48%, transparent);
}

.transition-band {
  position: relative;
  z-index: 10;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--vibot-pale-blue) 28%, var(--vibot-white));
}

.transition-band__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.transition-band h2 {
  max-width: 22ch;
  font-size: var(--text-h3);
  line-height: var(--lh-h3);
}

.split-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  align-items: start;
}

.split-col--secondary .eyebrow {
  margin-bottom: 0.75rem;
}

.split-col h2 {
  margin-bottom: 1rem;
}

.split-col > p {
  color: var(--text-muted);
  max-width: 46ch;
}

.split-col--primary h2 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  line-height: 1.25;
}

.split-columns--process .steps {
  margin-top: 1.75rem;
}

.split-columns--process .booking-scene {
  margin-top: 2rem;
}

.process-label {
  margin: 2rem 0 1rem;
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vibot-mid-blue);
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: baseline;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--vibot-white);
}

.process-list__num {
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--vibot-mid-blue);
}

.process-list__text {
  color: var(--vibot-navy);
  font-weight: 500;
}

.capability-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.capability-list li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--vibot-white);
}

.capability-list__num {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--vibot-pale-blue) 55%, var(--vibot-white));
  color: var(--vibot-navy);
  font-size: var(--text-small);
  font-weight: 600;
}

.capability-list strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--vibot-navy);
}

.capability-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--text-small);
  line-height: var(--lh-small);
}

.capability-list--on-navy li {
  background: color-mix(in srgb, var(--vibot-white) 8%, transparent);
  border-color: color-mix(in srgb, var(--vibot-white) 16%, transparent);
}

.capability-list--on-navy strong {
  color: var(--text-on-navy);
}

.capability-list--on-navy p {
  color: color-mix(in srgb, var(--vibot-white) 78%, transparent);
}

.capability-list--on-navy .capability-list__num {
  background: color-mix(in srgb, var(--vibot-white) 18%, transparent);
  color: var(--vibot-white);
}

.blurb-pair {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.blurb-pair p {
  margin: 0;
  max-width: 46ch;
  color: var(--text-muted);
}

.blurb-pair strong {
  color: var(--vibot-navy);
  font-weight: 600;
}

.agency-onboarding {
  margin-top: 2rem;
}

.agency-onboarding p {
  margin-top: 0.75rem;
  max-width: 72ch;
  color: color-mix(in srgb, var(--vibot-white) 78%, transparent);
}

.contract-band .agency-cta {
  margin-top: 1.25rem;
}

.cta-content .lede--secondary {
  margin-top: 0.75rem;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  font-weight: 400;
  max-width: 42rem;
  color: color-mix(in srgb, var(--vibot-navy) 72%, transparent);
}

.faq-group-label {
  margin: 2rem 0 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vibot-mid-blue);
}

.faq-list > .faq-group-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

#producto .split-columns {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

#funciones .split-columns {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

#funciones .capability-list {
  margin-top: 2rem;
}

@media (min-width: 48rem) {
  .split-columns {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
    gap: 3rem 3.5rem;
  }

  .split-columns--process {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .capability-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .split-columns--process .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-columns--process .booking-stage {
    max-width: 100%;
  }
}
