/* ==========================================================================
   sections.css — ported from the original static design.
   All colours now resolve to theme.json presets (var(--wp--preset--color--*))
   so editing the palette in theme.json (or a future style variation)
   recolours everything here for free. Radius/shadow stay as local tokens
   since they're not part of WordPress's global colour system.
   ========================================================================== */

:root {
  --cd-radius-lg: 28px;
  --cd-radius-md: 18px;
  --cd-pill: 999px;
  --cd-shadow: 0 25px 70px rgba(16, 35, 61, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body a { text-decoration: none; }

.ceepod-onepage .container,
.ceepod-booking .container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* --- Accessibility floor --- */
:where(a, button, summary, input, .wp-block-button__link):focus-visible {
  outline: 3px solid var(--wp--preset--color--orange);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================
   HEADER
========================= */

.cd-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--wp--preset--color--base) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--wp--preset--color--border);
}
.cd-header-inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.cd-logo-mark { width: 38px; height: 38px; object-fit: contain; flex-shrink: 0; }
.cd-nav { display: flex; gap: 30px; font-size: .875rem; color: var(--wp--preset--color--muted); }
.cd-nav a:hover { color: var(--wp--preset--color--orange); }
.cd-header-actions { display: flex; gap: 10px; align-items: center; }
.cd-theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--wp--preset--color--border);
  background: var(--wp--preset--color--surface); cursor: pointer; font-size: 17px;
}

/* =========================
   BUTTONS (mirrors theme.json button element, for non-core-button links)
========================= */

.cd-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; min-height: 46px; border-radius: var(--cd-pill);
  font-size: .875rem; font-weight: 700; border: 1px solid transparent; transition: .2s ease;
}
.cd-button:hover { transform: translateY(-2px); text-decoration: none; }
.cd-button-primary { background: var(--wp--preset--color--orange); color: white; box-shadow: 0 10px 25px rgba(232,74,44,.18); }
.cd-button-primary:hover { background: var(--wp--preset--color--orange-dark); }
.cd-button-secondary { border-color: var(--wp--preset--color--border); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--text); }
.cd-button-light { background: white; color: var(--wp--preset--color--text); }

/* theme.json colours every <a> (including :hover). Raise specificity so
   button text stays readable on its own background in every state. */
.cd-button.cd-button-primary,
.cd-button.cd-button-primary:hover,
.cd-button.cd-button-ghost,
.cd-button.cd-button-ghost:hover { color: #fff; }
.cd-button.cd-button-secondary,
.cd-button.cd-button-secondary:hover,
.cd-button.cd-button-light,
.cd-button.cd-button-light:hover { color: var(--wp--preset--color--text); }

/* =========================
   EYEBROW + LEAD (shared by several sections)
========================= */

.cd-eyebrow {
  color: var(--wp--preset--color--orange); font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .09em; display: flex; align-items: center;
}
.cd-eyebrow::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; margin-right: 8px;
}
.cd-lead { color: var(--wp--preset--color--muted); font-size: 1.125rem; line-height: 1.65; max-width: 650px; }

.cd-slider {
  --sl-orange: var(--wp--preset--color--orange);
  --sl-dark: var(--wp--preset--color--dark);
}

/* =========================
   HERO SLIDER
   Uses only --sl-* tokens (aliased per environment above this block)
========================= */

.cd-slider {
  position: relative;
  overflow: hidden;
  background: var(--sl-dark);
  color: #fff;
}

.cd-slides { display: grid; }

.cd-slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 80vh, 720px);
  padding: 90px 0 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility .6s;
}

.cd-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Slide backgrounds: dark base colour, with a photo per slide.
   Each slide uses a photo via the has-photo class and
   --slide-photo: url(...) on that .cd-slide-bg element. */
.cd-slide-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(232,74,44,.30), transparent 62%),
    radial-gradient(640px 420px at 6% 100%, rgba(32,137,87,.20), transparent 62%),
    var(--sl-dark);
}
.cd-slide-bg.has-photo {
  background-image:
    linear-gradient(90deg, rgba(7,17,29,.80) 0%, rgba(7,17,29,.68) 35%, rgba(7,17,29,.55) 56%, rgba(7,17,29,.15) 80%, rgba(7,17,29,0) 100%),
    var(--slide-photo);
  background-size: cover;
  background-position: center right;
}

.cd-slide-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}

.cd-slide-title {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -.06em;
  margin: 16px 0 20px;
  color: #fff;
}
.cd-slide-title, .cd-slide-text, .cd-slide .cd-eyebrow { text-shadow: 0 1px 14px rgba(7,17,29,.55); }
.cd-slide-title em { color: var(--sl-orange); font-style: normal; }

.cd-slide-text {
  color: #e6edf4;
  font-size: 18px;
  line-height: 1.65;
  max-width: 600px;
}

.cd-slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cd-button-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.cd-button-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* Controls */
.cd-slider-controls {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  z-index: 2;
}
.cd-slider-controls-inner { display: flex; align-items: center; gap: 12px; }
.cd-slider-btn {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(7,17,29,.5);
  color: #fff; cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.cd-slider-btn:hover { background: var(--sl-orange); border-color: var(--sl-orange); }
.cd-slider-btn:focus-visible,
.cd-slider-dot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.cd-slider-dots { display: flex; align-items: center; margin-left: 8px; }
.cd-slider-dot {
  width: 28px; height: 44px;
  display: grid; place-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.cd-slider-dot::before {
  content: "";
  width: 10px; height: 10px; border-radius: 999px;
  background: rgba(255,255,255,.4);
  transition: width .25s ease, background .25s ease;
}
.cd-slider-dot[aria-current="true"]::before { width: 28px; background: var(--sl-orange); }

.cd-slider-count { margin-left: auto; font-size: 13px; font-weight: 700; color: #b6c2cf; }

.cd-slider-toggle .cd-icon-play { display: none; }
.cd-slider.is-paused .cd-slider-toggle .cd-icon-pause { display: none; }
.cd-slider.is-paused .cd-slider-toggle .cd-icon-play { display: block; }

@media (max-width: 900px) {
  .cd-slide-inner { grid-template-columns: 1fr; gap: 0; }
  .cd-slide { padding: 60px 0 120px; min-height: 520px; }
  .cd-slide-bg.has-photo {
    background-image: linear-gradient(rgba(7,17,29,.64), rgba(7,17,29,.64)), var(--slide-photo);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cd-slide { transition: none; }
}

/* =========================
   SECTIONS (generic)
========================= */

.cd-section { padding: 95px 0; }
.cd-section-heading { max-width: 720px; margin-bottom: 40px; }
.cd-section-heading p { color: var(--wp--preset--color--muted); }

/* =========================
   FEATURES
========================= */

.cd-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.cd-feature-card {
  position: relative; min-height: 225px; padding: 25px; background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border); border-radius: var(--cd-radius-lg);
  box-shadow: 0 8px 25px rgba(16,35,61,.05); transition: .2s ease;
}
.cd-feature-card:hover { transform: translateY(-5px); box-shadow: var(--cd-shadow); }
.cd-feature-icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--wp--preset--color--orange-soft); color: var(--wp--preset--color--orange);
}
.cd-feature-icon svg { width: 25px; height: 25px; }
.cd-feature-card h3 { margin: 22px 0 8px; }
.cd-feature-card p { color: var(--wp--preset--color--muted); font-size: .8125rem; }
.cd-feature-arrow { position: absolute; right: 23px; bottom: 22px; color: var(--wp--preset--color--orange); }

.cd-feature-card { transform-origin: 50% 0; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, filter .25s ease; }
.cd-feature-card:hover, .cd-feature-card:focus-within {
  transform: translateY(-5px) scale(1.04); z-index: 20; border-color: var(--wp--preset--color--orange);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: none;
  filter: drop-shadow(0 26px 34px rgba(16,35,61,.16));
}
.cd-feature-more {
  position: absolute; left: -1px; right: -1px; top: calc(100% - 1px);
  padding: 14px 25px 24px; background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--orange); border-top: 0; border-radius: 0 0 var(--cd-radius-lg) var(--cd-radius-lg);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity .2s ease, transform .25s ease;
}
.cd-feature-more::before { content: ""; display: block; border-top: 1px solid var(--wp--preset--color--border); margin-bottom: 14px; }
.cd-feature-more strong { display: block; margin-bottom: 8px; font-size: 0.6875rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--wp--preset--color--orange); }
.cd-feature-more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cd-feature-more li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.8125rem; line-height: 1.45; color: var(--wp--preset--color--text); }
.cd-feature-more li::before { content: "✓"; flex-shrink: 0; font-weight: 800; color: var(--wp--preset--color--green); }
.cd-feature-card:hover .cd-feature-more, .cd-feature-card:focus-within .cd-feature-more { opacity: 1; transform: none; }
.cd-feature-card:hover .cd-feature-arrow, .cd-feature-card:focus-within .cd-feature-arrow { opacity: 0; }

/* Touch screens and narrow windows: expand in place instead of overlaying the next row */
@media (hover: none), (max-width: 900px) {
  .cd-feature-card:hover, .cd-feature-card:focus-within {
    transform: none; filter: none; border-radius: var(--cd-radius-lg); box-shadow: var(--cd-shadow);
  }
  .cd-feature-more {
    position: static; display: none; opacity: 1; transform: none; pointer-events: auto;
    padding: 0; border: 0; background: transparent; margin-top: 4px;
  }
  .cd-feature-card:hover .cd-feature-more, .cd-feature-card:focus-within .cd-feature-more { display: block; }
  .cd-feature-card:hover .cd-feature-arrow, .cd-feature-card:focus-within .cd-feature-arrow { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cd-feature-card, .cd-feature-more { transition: none; }
}

/* =========================
   PRICING
========================= */

.cd-pricing-note-top {
  display: inline-flex; align-items: center; gap: 8px; background: var(--wp--preset--color--orange-soft);
  color: var(--wp--preset--color--orange-dark); font-size: .75rem; font-weight: 700;
  padding: 8px 14px; border-radius: var(--cd-pill); margin-bottom: 18px;
}
.cd-billing-toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px;
  font-size: .875rem; font-weight: 600; color: var(--wp--preset--color--muted);
}
.cd-switch {
  width: 46px; height: 26px; border-radius: var(--cd-pill); background: var(--wp--preset--color--border);
  border: none; position: relative; cursor: pointer; flex-shrink: 0;
}
.cd-switch-thumb {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: white; box-shadow: 0 2px 6px rgba(16,35,61,.25); transition: transform .2s ease;
}
.cd-switch.on { background: var(--wp--preset--color--orange); }
.cd-switch.on .cd-switch-thumb { transform: translateX(20px); }
.cd-save-badge {
  background: var(--wp--preset--color--green-soft); color: var(--wp--preset--color--green);
  font-size: .6875rem; font-weight: 800; padding: 3px 8px; border-radius: var(--cd-pill); margin-left: 6px;
}
.cd-pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.cd-price-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--cd-radius-lg); box-shadow: 0 8px 25px rgba(16,35,61,.05);
}
.cd-price-card--popular { border-color: var(--wp--preset--color--orange); box-shadow: var(--cd-shadow); }
.cd-popular-badge {
  position: absolute; top: -13px; left: 28px; background: var(--wp--preset--color--orange); color: white;
  font-size: .6875rem; font-weight: 800; padding: 5px 12px; border-radius: var(--cd-pill);
}
.cd-price-desc { color: var(--wp--preset--color--muted); font-size: .8125rem; margin-top: 8px; min-height: 36px; }
.cd-price { display: flex; align-items: baseline; gap: 6px; margin: 20px 0 22px; }
.cd-price-amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; }
.cd-price-unit { color: var(--wp--preset--color--muted); font-size: .8125rem; }
.cd-price-features {
  list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px;
  font-size: .8125rem; color: var(--wp--preset--color--muted); flex-grow: 1;
}
.cd-price-features li { display: flex; gap: 9px; align-items: flex-start; }
.cd-price-features li::before { content: "✓"; color: var(--wp--preset--color--green); font-weight: 800; flex-shrink: 0; }
.cd-price-card .cd-button { width: 100%; }
.cd-pricing-note { text-align: center; color: var(--wp--preset--color--muted); font-size: .75rem; margin-top: 28px; }

.cd-price-tagline { margin: 10px 0 0; font-weight: 800; font-size: 0.875rem; line-height: 1.35; color: var(--wp--preset--color--orange-dark); }
.cd-price-tagline + .cd-price-desc { margin-top: 6px; }
.cd-compare { margin-top: 56px; }
.cd-compare-title { text-align: center; font-size: 1.375rem; margin: 0 0 18px; }
.cd-compare-scroll { overflow-x: auto; border: 1px solid var(--wp--preset--color--border); border-radius: 20px; background: var(--wp--preset--color--surface); }
.cd-compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 0.875rem; }
.cd-compare-table th, .cd-compare-table td { padding: 13px 18px; text-align: center; border-top: 1px solid var(--wp--preset--color--border); }
.cd-compare-table thead th { border-top: 0; font-weight: 800; background: var(--wp--preset--color--surface-soft); vertical-align: bottom; }
.cd-compare-table tbody th { text-align: left; font-weight: 600; }
.cd-compare-table th:first-child { text-align: left; }
.cd-compare-price { display: block; font-size: 0.75rem; font-weight: 600; color: var(--wp--preset--color--muted); margin-top: 2px; }
.cd-tick { color: var(--wp--preset--color--green); font-weight: 800; }
.cd-dash { color: var(--wp--preset--color--muted); }
.cd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cd-price-amount--text { font-size: 1.375rem; line-height: 1.3; }

/* =========================
   DEPLOYMENT OPTIONS
========================= */

.cd-deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.cd-deploy-card {
  display: flex; flex-direction: column; padding: 32px 28px;
  background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--cd-radius-lg); box-shadow: 0 8px 25px rgba(16,35,61,.05);
}
.cd-deploy-badge {
  display: inline-flex; align-self: flex-start; background: var(--wp--preset--color--orange-soft);
  color: var(--wp--preset--color--orange-dark); font-size: .6875rem; font-weight: 800;
  padding: 4px 10px; border-radius: var(--cd-pill); margin: 18px 0 6px;
}
.cd-deploy-card h3 { margin-bottom: 6px; }
.cd-deploy-card .cd-button { margin-top: auto; align-self: flex-start; }


/* =========================
   WHY CEEPOD
========================= */

.cd-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.cd-care-image {
  aspect-ratio: 16 / 9; border-radius: 30px; overflow: hidden; position: relative;
  background: var(--wp--preset--color--surface-soft); box-shadow: var(--cd-shadow);
}
.cd-care-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cd-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.cd-benefit { display: flex; gap: 10px; color: var(--wp--preset--color--muted); font-size: .75rem; }
.cd-benefit-icon {
  width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 9px;
  color: var(--wp--preset--color--orange); background: var(--wp--preset--color--orange-soft); font-weight: 800;
}

/* =========================
   DARK SECTION (how it works)
========================= */

.cd-dark-section { background: var(--wp--preset--color--dark); color: white; }
.cd-dark-section .cd-lead { color: #b6c2cf; }
.cd-dark-section h2 { color: white; }
.cd-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.cd-step { display: grid; grid-template-columns: 45px 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid #26374a; }
.cd-step-number { color: #f2694b; font-weight: 800; }
.cd-step h3 { color: white; margin-bottom: 5px; }
.cd-step p { color: #aebbc8; font-size: .8125rem; }

/* =========================
   FAQ
========================= */

.cd-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; }
.cd-faq details { padding: 20px 0; border-top: 1px solid var(--wp--preset--color--border); }
.cd-faq details:last-child { border-bottom: 1px solid var(--wp--preset--color--border); }
.cd-faq summary { cursor: pointer; font-weight: 700; list-style: none; }
.cd-faq summary::-webkit-details-marker { display: none; }
.cd-faq summary::after { content: "+"; float: right; color: var(--wp--preset--color--orange); font-size: 1.25rem; }
.cd-faq details[open] summary::after { content: "\2212"; }
.cd-faq p { color: var(--wp--preset--color--muted); font-size: .875rem; margin-top: 12px; }

/* =========================
   CTA
========================= */

.cd-cta {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; min-height: 440px; padding: clamp(32px, 6vw, 72px); border-radius: 30px;
  background-color: #fbefe6; background-image: var(--cta-photo); background-size: cover;
  background-position: right center; color: #10233d;
}
/* soft light wash so the text stays readable over the photo */
.cd-cta::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,250,246,.9) 0%, rgba(255,250,246,.72) 38%, rgba(255,250,246,0) 66%);
}
.cd-cta > * { position: relative; }
.cd-cta .cd-eyebrow { color: var(--wp--preset--color--orange-dark); }
.cd-cta h2 { max-width: 520px; color: #10233d; }
.cd-cta p { max-width: 460px; color: #3a4c63; font-size: 1.125rem; font-weight: 600; margin-bottom: 25px; }

/* =========================
   FOOTER
========================= */

.cd-footer { padding: 60px 0 30px; border-top: 1px solid var(--wp--preset--color--border); }
.cd-footer-grid { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 50px; padding-bottom: 40px; }
.cd-footer-column { display: flex; flex-direction: column; gap: 9px; }
.cd-footer-column p, .cd-footer-column a { font-size: .8125rem; color: var(--wp--preset--color--muted); }
.cd-footer-bottom {
  border-top: 1px solid var(--wp--preset--color--border); padding-top: 20px; display: flex;
  justify-content: space-between; color: var(--wp--preset--color--muted); font-size: .6875rem;
}

/* =========================
   DARK MODE
========================= */

body.dark {
  --wp--preset--color--base: #07111D;
  --wp--preset--color--surface: #0D1A2A;
  --wp--preset--color--surface-soft: #111F31;
  --wp--preset--color--text: #F7FAFC;
  --wp--preset--color--muted: #B4C0CF;
  --wp--preset--color--border: #26384D;
  --wp--preset--color--orange-soft: rgba(232,74,44,.13);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .cd-nav { display: none; }
  .cd-why-grid, .cd-story-grid, .cd-faq-grid, .cd-pricing-grid, .cd-deploy-grid {
    grid-template-columns: 1fr;
  }
  .cd-feature-grid { grid-template-columns: 1fr 1fr; }
  .cd-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .cd-header-actions .cd-button { display: none; }
  .cd-feature-grid { grid-template-columns: 1fr; }
  .cd-benefits { grid-template-columns: 1fr; }
  .cd-cta { padding: 40px 25px; }
  .cd-cta::before { background: rgba(255,250,246,.82); }
  .cd-footer-grid { grid-template-columns: 1fr; }
  .cd-footer-bottom { flex-direction: column; gap: 8px; }
}

/* =========================
   BOOKING PAGE
   Uses only --bk-* tokens (aliased per environment)
========================= */

.bk-page {
  --bk-orange: var(--wp--preset--color--orange); --bk-orange-dark: var(--wp--preset--color--orange-dark);
  --bk-orange-soft: var(--wp--preset--color--orange-soft);
  --bk-bg: var(--wp--preset--color--base); --bk-surface: var(--wp--preset--color--surface);
  --bk-text: var(--wp--preset--color--text); --bk-muted: var(--wp--preset--color--muted);
  --bk-border: var(--wp--preset--color--border); --bk-green: var(--wp--preset--color--green);
  --bk-green-soft: var(--wp--preset--color--green-soft);
}

[hidden] { display: none !important; }

.bk-page {
  position: relative;
  min-height: calc(100vh - 160px);
  padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 8vw, 96px);
  background:
    radial-gradient(760px 420px at 96% 0%, color-mix(in srgb, var(--bk-orange) 14%, transparent), transparent 65%),
    var(--bk-bg);
}
.bk-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
  max-width: 1080px;
}
.bk-title {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.03;
  letter-spacing: -.06em;
  margin: 16px 0 20px;
  color: var(--bk-text);
}
.bk-title em { color: var(--bk-orange); font-style: normal; }
.bk-lead { color: var(--bk-muted); font-size: 18px; line-height: 1.65; max-width: 520px; }
.bk-subtitle { font-size: 16px; font-weight: 800; letter-spacing: -.01em; margin: 34px 0 14px; color: var(--bk-text); }
.bk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.bk-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--bk-text); font-size: 15px; }
.bk-list li::before {
  content: "✓"; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
  background: var(--bk-green-soft); color: var(--bk-green);
}
.bk-aside { margin-top: 30px; color: var(--bk-muted); font-size: 14px; }
.bk-aside a { color: var(--bk-orange-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.bk-card {
  background: var(--bk-surface);
  border: 1px solid var(--bk-border);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 25px 70px rgba(16,35,61,.12);
}
.bk-card-title { font-size: 24px; letter-spacing: -.04em; margin: 0 0 6px; color: var(--bk-text); }
.bk-preview-note {
  margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 12px; line-height: 1.5;
  background: var(--bk-orange-soft); color: var(--bk-text); border: 1px dashed var(--bk-orange);
}
.bk-form { display: grid; gap: 18px; margin-top: 18px; }
.bk-required-note { margin: 0; font-size: 12px; color: var(--bk-muted); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bk-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.bk-field label { font-size: 13px; font-weight: 700; color: var(--bk-text); }
.bk-optional { font-weight: 500; color: var(--bk-muted); }
.bk-field input, .bk-field select, .bk-field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  font: inherit; font-size: 15px; color: var(--bk-text);
  background: var(--bk-bg); border: 1px solid var(--bk-border); border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bk-field textarea { resize: vertical; min-height: 92px; }
.bk-field input:hover, .bk-field select:hover, .bk-field textarea:hover { border-color: var(--bk-muted); }
.bk-field input:focus-visible, .bk-field select:focus-visible, .bk-field textarea:focus-visible {
  outline: none; border-color: var(--bk-orange);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bk-orange) 28%, transparent);
}
.bk-field input:user-invalid, .bk-field select:user-invalid { border-color: #c0392b; }
.bk-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--bk-muted); cursor: pointer; }
.bk-consent input { width: 20px; height: 20px; margin-top: 1px; flex-shrink: 0; accent-color: var(--bk-orange); }
.bk-consent a { color: var(--bk-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.bk-form .cd-button.bk-submit { width: 100%; min-height: 52px; font-size: 16px; }

.bk-error {
  margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px;
  background: #fdecea; color: #8a1c10; border: 1px solid #f3b6ae;
}
.bk-error a { text-decoration: underline; font-weight: 700; }
.bk-done { text-align: center; padding: 28px 8px 8px; outline: none; }
.bk-done h2 { font-size: 26px; letter-spacing: -.04em; margin: 16px 0 8px; color: var(--bk-text); }
.bk-done p { color: var(--bk-muted); margin-bottom: 22px; }
.bk-done-icon {
  width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; font-weight: 800; background: var(--bk-green-soft); color: var(--bk-green);
}
.bk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.bk-back { font-size: 14px; font-weight: 600; color: var(--bk-muted); }
.bk-back:hover { color: var(--bk-orange-dark); }

@media (max-width: 900px) {
  .bk-wrap { grid-template-columns: 1fr; }
  .bk-lead { font-size: 16px; }
}
@media (max-width: 560px) {
  .bk-row { grid-template-columns: 1fr; }
}
