/* ============================================================
   Holandês Online — Marketing / Public page styles
   Nav, Hero, Course Grid, AI Block, Teacher section, Pricing,
   Footer, responsive breakpoints.
   ============================================================ */

/* ---------- Nav ---------- */
.ho-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 14px;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--ho-border);
  transition: box-shadow var(--ho-dur-2) var(--ho-ease-out);
}
.ho-nav.scrolled { box-shadow: var(--ho-shadow-md); }

.ho-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ho-font-display);
  font-weight: 800;
  font-size: 19px;
  color: var(--ho-ink-700);
  text-decoration: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.ho-nav-brand:hover { color: var(--ho-ink-700); text-decoration: none; }
.ho-nav-brand em { font-style: normal; color: var(--ho-orange-600); }
.ho-nav-brand img { width: 32px; height: 32px; flex-shrink: 0; }

/* Desktop: nav links in a horizontal row */
.ho-nav-panel {
  display: contents; /* children flow directly into the nav flex row */
}
.ho-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  padding: 0;
  margin: 0;
}

/* Drupal block/menu wrapper reset — make wrappers transparent in the flex row */
.ho-nav-links > div,
.ho-nav-links nav {
  display: contents;
}
.ho-nav-links .menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ho-nav-links .menu__item { list-style: none; }

.ho-nav-links a,
.ho-nav-links .ho-nav-link,
.ho-nav-links .menu__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--ho-fg);
  text-decoration: none;
  transition: color var(--ho-dur-1) var(--ho-ease-out);
}
.ho-nav-links a:hover,
.ho-nav-links .ho-nav-link:hover,
.ho-nav-links .menu__link:hover { color: var(--ho-orange-600); }

/* Active/current page link */
.ho-nav-links .menu__link--active-trail,
.ho-nav-links .menu__link.is-active { color: var(--ho-orange-600); }

/* ── Language switcher ── */
.ho-nav-lang {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.ho-nav-lang h2 { display: none; }  /* hide the block title */

/* Panel-lang and panel-auth are only shown inside the mobile hamburger panel */
.ho-nav-panel-lang { display: none; }
.ho-nav-panel-auth { display: none; }

.ho-lang-dropdown {
  position: relative;
}
/* Remove native disclosure marker */
.ho-lang-dropdown > summary { list-style: none; }
.ho-lang-dropdown > summary::-webkit-details-marker { display: none; }

.ho-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--ho-radius-pill);
  border: 1px solid var(--ho-border);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ho-fg-muted);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  transition: border-color var(--ho-dur-1) var(--ho-ease-out),
              color var(--ho-dur-1) var(--ho-ease-out);
}
.ho-lang-trigger:hover { border-color: var(--ho-orange-400); color: var(--ho-orange-600); }
.ho-lang-dropdown[open] .ho-lang-trigger { border-color: var(--ho-orange-500); color: var(--ho-orange-600); }
.ho-lang-chevron { transition: transform var(--ho-dur-2) var(--ho-ease-out); flex-shrink: 0; }
.ho-lang-dropdown[open] .ho-lang-chevron { transform: rotate(180deg); }

.ho-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  background: var(--ho-bg-raised);
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-md);
  box-shadow: var(--ho-shadow-lg);
  padding: 6px 0;
  list-style: none;
  margin: 0;
  z-index: 200;
  animation: ho-dropdown-in var(--ho-dur-2) var(--ho-ease-out);
}
@keyframes ho-dropdown-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ho-lang-menu li { list-style: none; margin: 0; }
.ho-lang-menu a {
  display: block;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ho-fg);
  text-decoration: none;
  transition: background var(--ho-dur-1) var(--ho-ease-out),
              color var(--ho-dur-1) var(--ho-ease-out);
}
.ho-lang-menu a:hover { background: var(--ho-polder-100); color: var(--ho-orange-600); }
.ho-lang-menu .is-active a { color: var(--ho-orange-600); font-weight: 600; }
.ho-lang-menu .is-active a::after { content: " ✓"; }

/* Desktop auth buttons */
.ho-nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Mobile-only auth buttons inside the dropdown — hidden on desktop */
.ho-nav-panel-auth { display: none; }

/* Hamburger toggle — hidden on desktop */
.ho-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ho-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ho-ink-700);
  border-radius: 2px;
  transition: transform var(--ho-dur-2) ease, opacity var(--ho-dur-2) ease;
}

/* ---------- Page wrapper for public pages ---------- */
.ho-public-page {
  min-height: 100vh;
  background: var(--ho-bg);
}

/* Main content wrapper — no outer padding so section blocks control their own rhythm */
#main-content {
  min-height: 40vh;
}

/* ---------- Container ---------- */
.ho-container {
  max-width: var(--ho-container);
  margin: 0 auto;
  padding: 0 var(--ho-gutter);
}
.ho-container--narrow {
  max-width: var(--ho-container-narrow);
  margin: 0 auto;
  padding: 0 var(--ho-gutter);
}

/* ── Universal content-alignment grid ─────────────────────────────────────
   max() centres content at --ho-container on wide screens,
   falls back to --ho-section-h clamp on narrow screens.
   All marketing sections share this horizontal rhythm.
   ───────────────────────────────────────────────────────────────────────── */
:is(.ho-nav, .ho-hero-block, .ho-hero-split, .ho-section, .ho-ai-block,
    .ho-teacher, .ho-pricing, .ho-cta-strip, .ho-stats-bar, .ho-footer,
    .ho-page-title-block) {
  padding-inline: max(var(--ho-section-h), calc((100% - var(--ho-container)) / 2));
}

/* ---------- Section ---------- */
.ho-section {
  padding-block: var(--ho-section-v);
}

/* Generic page title block for non-specialized anonymous pages */
.ho-page-title-block {
  background: var(--ho-delft-700);
  padding-block: var(--ho-section-v);
}
.ho-page-title-block h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0;
}

/* Icon variant — used for podcasts, cursussen, oefeningen (anonymous layout) */
.ho-page-title-block--icon .ho-page-title-block__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ho-page-title-block--icon .ho-page-title-block__icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--ho-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.ho-section-head {
  margin-bottom: var(--ho-sp-7);
}
.ho-section-head h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 14px;
}
.ho-section-sub {
  font-size: 18px;
  color: var(--ho-fg-muted);
  max-width: 56ch;
  margin: 0;
}

/* ---------- Hero (split layout) ---------- */
.ho-hero-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding-block: var(--ho-hero-v);
}
.ho-hero-copy h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.ho-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ho-fg-muted);
  max-width: 50ch;
  margin: 0 0 28px;
}
.ho-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ho-hero-meta {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ho-fg-muted);
}
.ho-hero-meta strong { color: var(--ho-ink-700); font-weight: 700; }

.ho-hero-art {
  position: relative;
  aspect-ratio: 1/1;
  min-height: 380px;
}
.ho-hero-art-block {
  position: absolute;
  inset: 0;
  background: var(--ho-orange-100);
  border-radius: var(--ho-radius-xl);
  border: 2px solid var(--ho-ink-700);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 24px 0;
  overflow: hidden;
}
.ho-hero-art-block img { width: 90%; height: auto; }
.ho-hero-art-floater {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 130px;
  transform: rotate(8deg);
  filter: drop-shadow(0 12px 24px rgba(16, 45, 94, 0.18));
}

/* Hero — dark full-bleed variant */
.ho-hero-block {
  background: var(--ho-delft-700);
  color: #fff;
  padding-block: var(--ho-hero-v);
}
.ho-hero-block h1 {
  color: #fff;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.ho-hero-block .ho-lede {
  color: var(--ho-delft-200);
  font-size: 20px;
  max-width: 56ch;
  margin-bottom: 28px;
}

/* ---------- Course grid ---------- */
.ho-course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ho-course-card {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all var(--ho-dur-2) var(--ho-ease-out);
  cursor: pointer;
}
.ho-course-card:hover {
  box-shadow: var(--ho-shadow-md);
  transform: translateY(-2px);
}
.ho-course-card--dark {
  background: var(--ho-delft-700);
  color: #fff;
  border: none;
  grid-column: span 2;
  position: relative;
  overflow: hidden;
}
.ho-course-card--dark::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  background: var(--ho-stroop);
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}
.ho-course-card h3 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 10px;
}
.ho-course-card--dark h3 { color: #fff; font-size: 36px; }
.ho-course-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ho-fg-muted);
  margin: 0 0 20px;
  flex: 1;
}
.ho-course-card--dark p { color: var(--ho-delft-200); font-size: 17px; max-width: 36ch; }
.ho-course-card footer {
  display: flex;
  gap: 10px;
  font-family: var(--ho-font-mono);
  font-size: 12px;
  color: var(--ho-fg-subtle);
  padding-top: 16px;
  border-top: 1px solid var(--ho-border);
}
.ho-course-card--dark footer { color: var(--ho-delft-300); border-color: var(--ho-delft-600); }
.ho-course-card footer strong { color: var(--ho-ink-700); font-weight: 600; }
.ho-course-card--dark footer strong { color: #fff; }

/* ---------- AI block ---------- */
.ho-ai-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--ho-polder-100);
  padding-block: var(--ho-section-v);
}
.ho-ai-chat {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--ho-shadow-lg);
  max-width: 460px;
  margin-left: auto;
  width: 100%;
}
.ho-ai-copy h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 18px;
}
.ho-ai-copy p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 48ch;
  margin: 0 0 18px;
}
.ho-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.ho-feature-list li {
  font-size: 15px;
  padding: 6px 0;
  color: var(--ho-fg-muted);
  display: flex;
  gap: 8px;
}
.ho-feature-list li::before {
  content: "•";
  color: var(--ho-orange-500);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Teacher / founder callout ---------- */
.ho-teacher {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding-block: var(--ho-section-v);
}
.ho-teacher-portrait {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
}
.ho-teacher-photo {
  position: absolute;
  inset: 0;
  background: var(--ho-delft-100);
  border-radius: var(--ho-radius-xl);
  border: 2px solid var(--ho-ink-700);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ho-delft-500);
  font-family: var(--ho-font-mono);
  font-size: 13px;
  box-shadow: 8px 8px 0 var(--ho-ink-700);
  overflow: hidden;
}
.ho-teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ho-teacher-tulip {
  position: absolute;
  top: -32px;
  right: -32px;
  width: 110px;
  transform: rotate(-12deg);
}
.ho-teacher-copy h2 {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  margin: 0 0 18px;
}
.ho-teacher-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ho-fg-muted);
  max-width: 52ch;
  margin: 0 0 32px;
}
.ho-teacher-stats {
  display: flex;
  gap: 32px;
}
.ho-teacher-stats > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
  border-right: 1px solid var(--ho-border);
}
.ho-teacher-stats > div:last-child { border-right: none; }
.ho-teacher-stats .ho-stat-value { font-size: 36px; }

/* ---------- Pricing strip ---------- */
.ho-pricing {
  background: var(--ho-delft-800);
  color: #fff;
  padding-block: var(--ho-section-v);
}
.ho-pricing-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.ho-pricing h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1;
  margin: 0 0 14px;
  color: #fff;
}
.ho-pricing-sub { color: var(--ho-delft-200); max-width: 44ch; margin: 0; font-size: 17px; }
.ho-pricing-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

/* ---------- Testimonials ---------- */
.ho-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ho-testimonial {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ho-testimonial-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ho-fg);
  flex: 1;
  margin: 0;
}
.ho-testimonial-quote::before { content: "\201C"; }
.ho-testimonial-quote::after  { content: "\201D"; }
.ho-testimonial-author { font-weight: 600; font-size: 15px; color: var(--ho-ink-700); }
.ho-testimonial-meta  { font-size: 13px; color: var(--ho-fg-muted); }

/* ---------- Final CTA strip ---------- */
.ho-cta-strip {
  background: var(--ho-orange-500);
  padding-block: var(--ho-section-v);
  text-align: center;
}
.ho-cta-strip h2 {
  color: #fff;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.ho-cta-strip p { color: rgba(255,255,255,0.85); font-size: 18px; margin: 0 auto 28px; max-width: 50ch; }

/* ---------- Footer ---------- */
.ho-footer {
  background: var(--ho-ink-700);
  color: var(--ho-polder-200);
  padding-block: var(--ho-section-v) 32px;
}
.ho-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ho-footer-brand img { margin-bottom: 14px; }
.ho-footer-brand p { font-size: 14px; max-width: 32ch; margin: 0; }
.ho-footer h6 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.ho-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ho-footer li { font-size: 14px; color: var(--ho-polder-200); }
.ho-footer a { color: var(--ho-polder-200); text-decoration: none; }
.ho-footer a:hover { color: var(--ho-orange-400); }
.ho-footer-bottom {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ho-polder-300);
}

/* ---------- Features grid ---------- */
.ho-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.ho-feature-card {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-lg);
  padding: 32px 28px;
  transition: all var(--ho-dur-2) var(--ho-ease-out);
}
.ho-feature-card:hover {
  box-shadow: var(--ho-shadow-md);
  transform: translateY(-2px);
}
.ho-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--ho-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.ho-feature-icon--ai     { background: #EDE9FE; color: #7C3AED; }
.ho-feature-icon--video  { background: #E0F2FE; color: #0891B2; }
.ho-feature-icon--human  { background: #D1FAE5; color: #059669; }
.ho-feature-icon--audio  { background: var(--ho-delft-50); color: var(--ho-delft-600); }
.ho-feature-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.ho-feature-card p  { font-size: 14px; color: var(--ho-fg-muted); margin: 0; line-height: 1.55; }

/* ---------- Stats bar ---------- */
.ho-stats-bar {
  background: var(--ho-delft-800);
  padding-block: var(--ho-section-v);
}
.ho-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.ho-stats-grid .ho-stat-value { color: var(--ho-stroop); }
.ho-stats-grid .ho-stat-label { color: var(--ho-delft-200); }

/* ---------- De Stijl divider ---------- */
.ho-divider-destijl {
  height: 6px;
  display: flex;
}
.ho-divider-destijl span:nth-child(1) { flex: 2; background: var(--ho-delft-500); }
.ho-divider-destijl span:nth-child(2) { flex: 1; background: var(--ho-orange-500); }
.ho-divider-destijl span:nth-child(3) { flex: 1; background: var(--ho-stroop); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ho-nav { padding-block: 14px; gap: 20px; }
  .ho-hero-split { grid-template-columns: 1fr; gap: 48px; }
  .ho-hero-art { display: none; }
  .ho-course-grid { grid-template-columns: repeat(2, 1fr); }
  .ho-course-card--dark { grid-column: span 2; }
  .ho-ai-block { grid-template-columns: 1fr; gap: 40px; }
  .ho-ai-chat { margin: 0; }
  .ho-teacher { grid-template-columns: 1fr; gap: 40px; }
  .ho-teacher-portrait { display: none; }
  .ho-pricing-inner { grid-template-columns: 1fr; }
  .ho-pricing-actions { justify-content: flex-start; }
  .ho-testimonials { grid-template-columns: 1fr; }
  .ho-features { grid-template-columns: repeat(2, 1fr); }
  .ho-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ho-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  /* ── Mobile nav ── */
  .ho-nav {
    padding-block: 10px;
    position: relative;
    gap: 12px;
    justify-content: space-between;
  }

  /* Show hamburger, hide desktop auth buttons and language switcher */
  .ho-nav-toggle  { display: flex; }
  .ho-nav-actions { display: none; }
  .ho-nav-lang    { display: none; }

  /* Show panel-lang and panel-auth inside the mobile panel */
  .ho-nav-panel-lang { display: block; }
  .ho-nav-panel-auth { display: flex; flex-direction: column; gap: 8px; }

  /* Full-width dropdown panel */
  .ho-nav-panel {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ho-bg-raised);
    border-bottom: 1px solid var(--ho-border);
    box-shadow: var(--ho-shadow-md);
    padding: 16px;
    z-index: 49;
    animation: ho-nav-slide-in var(--ho-dur-2) var(--ho-ease-out);
  }
  .ho-nav-panel[hidden] { display: none; }

  @keyframes ho-nav-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Stack nav links vertically */
  .ho-nav-links {
    flex-direction: column;
    gap: 0;
    flex: none;
    border-bottom: 1px solid var(--ho-border);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
  .ho-nav-links .menu { flex-direction: column; gap: 0; }
  .ho-nav-links .menu__item,
  .ho-nav-links li { margin: 0; }
  .ho-nav-links a,
  .ho-nav-links .ho-nav-link,
  .ho-nav-links .menu__link {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--ho-border);
  }
  .ho-nav-links .menu__item:last-child a,
  .ho-nav-links li:last-child a { border-bottom: none; }

  /* Language switcher in mobile dropdown — full-width flat list */
  .ho-nav-panel-lang {
    padding: 12px 0;
    border-bottom: 1px solid var(--ho-border);
    margin-bottom: 4px;
  }
  .ho-nav-panel-lang h2 { display: none; }
  .ho-nav-panel-lang .ho-lang-dropdown { position: static; }
  .ho-nav-panel-lang .ho-lang-trigger { display: none; }
  /* Force-show the language list regardless of <details>[open] state */
  .ho-nav-panel-lang details > *:not(summary) { display: block !important; }
  .ho-nav-panel-lang .ho-lang-menu {
    position: static !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    animation: none !important;
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ho-nav-panel-lang .ho-lang-menu a {
    padding: 6px 12px;
    border-radius: var(--ho-radius-pill);
    border: 1px solid var(--ho-border);
    font-size: 13px;
    font-weight: 600;
  }
  .ho-nav-panel-lang .ho-lang-menu .is-active a {
    border-color: var(--ho-orange-500);
    background: var(--ho-orange-50);
  }
  .ho-nav-panel-lang .ho-lang-menu .is-active a::after { display: none; }

  /* Auth buttons at bottom of dropdown */
  .ho-nav-panel-auth {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* ── Page content ── */
  .ho-hero-split { padding-block: 40px 56px; }
  .ho-hero-copy h1 { font-size: clamp(32px, 8vw, 52px); }
  .ho-cta-row { flex-direction: column; align-items: stretch; }
  .ho-cta-row .ho-btn { text-align: center; }
  .ho-course-grid { grid-template-columns: 1fr; }
  .ho-course-card--dark { grid-column: span 1; }
  .ho-features { grid-template-columns: 1fr; }
  .ho-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ho-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .ho-footer-bottom { flex-direction: column; gap: 8px; }
  /* iOS: prevent auto-zoom on inputs (min 16px font-size) */
  input, textarea, select { font-size: 16px !important; }
}

/* ── Auth card: Drupal form elements ─────────────────────────────────────── */
.ho-auth-main {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--ho-polder-100);
}
.ho-auth-card {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-xl);
  padding: 10%;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--ho-shadow-lg);
}
.ho-auth-card__header {
  text-align: center;
  margin-bottom: 32px;
}
.ho-auth-card__header img { margin: 0 auto 16px; display: block; }
.ho-auth-card__header h1 { font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.ho-auth-card__header p  { color: var(--ho-fg-muted); font-size: 15px; margin: 0; }
.ho-auth-card__footer-link {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--ho-fg-muted);
}
.ho-auth-card__footer-link a { color: var(--ho-orange-600); font-weight: 600; text-decoration: none; }

/* Drupal form elements inside auth card */
.ho-auth-card .form-item { margin-bottom: 18px; }
.ho-auth-card label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ho-ink-700); }
.ho-auth-card input[type="text"],
.ho-auth-card input[type="email"],
.ho-auth-card input[type="password"] {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ho-border-strong);
  border-radius: var(--ho-radius-md);
  font-family: var(--ho-font-body);
  font-size: 16px;
  color: var(--ho-fg);
  background: #fff;
  transition: border-color var(--ho-dur-2) var(--ho-ease-out), box-shadow var(--ho-dur-2) var(--ho-ease-out);
  box-sizing: border-box;
}
.ho-auth-card input[type="text"]:focus,
.ho-auth-card input[type="email"]:focus,
.ho-auth-card input[type="password"]:focus {
  outline: none;
  border-color: var(--ho-orange-500);
  box-shadow: 0 0 0 3px var(--ho-orange-100);
}
.ho-auth-card .form-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.ho-auth-card .button,
.ho-auth-card input[type="submit"],
.ho-auth-card button[type="submit"],
.ho-auth-card .form-actions button,
.ho-auth-card .form-actions a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px 22px;
  font-family: var(--ho-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: var(--ho-ink-700);
  color: var(--ho-polder-50);
  border: none;
  border-radius: var(--ho-radius-pill);
  cursor: pointer;
  transition: background 160ms var(--ho-ease-out);
  text-align: center;
}
.ho-auth-card .button:hover,
.ho-auth-card input[type="submit"]:hover,
.ho-auth-card button[type="submit"]:hover,
.ho-auth-card .form-actions button:hover,
.ho-auth-card .form-actions a:hover {
  background: var(--ho-orange-600);
  color: #fff;
}
.ho-auth-card .form-item--description,
.ho-auth-card .description {
  font-size: 12px;
  color: var(--ho-fg-subtle);
  margin-top: 4px;
}
.ho-auth-card .messages { margin-bottom: 20px; }

/* ── Register page: wide auth layout with social proof sidebar ───────────── */
.ho-auth-main--wide {
  align-items: flex-start;
  gap: 40px;
}
.ho-auth-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 240px;
  max-width: 260px;
  padding-top: 16px;
}
.ho-auth-stat-card {
  background: #fff;
  border: 1px solid var(--ho-border);
  border-radius: var(--ho-radius-lg);
  padding: 20px 22px;
}
.ho-auth-stat-card--accent {
  background: var(--ho-orange-50);
  border-color: var(--ho-orange-200);
}
.ho-auth-stat-card--accent p {
  font-size: 14px;
  color: var(--ho-ink-700);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .ho-auth-main--wide { flex-direction: column; align-items: center; }
  .ho-auth-sidebar { display: none; }
}

/* ── Login page: split layout ────────────────────────────────────────────── */
.ho-auth-main--split {
  align-items: stretch;
  padding: 0;
  min-height: calc(100vh - 72px);
  gap: 0;
}
.ho-auth-form-panel {
  flex: 0 0 auto;
  width: 100%;
  max-width: 520px;
  padding: 60px 56px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
/* Wider form inputs inside split layout */
.ho-auth-form-panel .ho-auth-card__header { text-align: left; margin-bottom: 28px; }
.ho-auth-form-panel .ho-auth-card__header img { margin: 0 0 16px; }
.ho-auth-form-panel .ho-auth-card__header h1 { font-size: 30px; }

/* Reuse .ho-auth-card styles but scoped to form-panel */
.ho-auth-form-panel .form-item { margin-bottom: 18px; }
.ho-auth-form-panel label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ho-ink-700); }
.ho-auth-form-panel input[type="text"],
.ho-auth-form-panel input[type="email"],
.ho-auth-form-panel input[type="password"] {
  display: block; width: 100%; padding: 12px 16px;
  border: 1px solid var(--ho-border-strong);
  border-radius: var(--ho-radius-md);
  font-family: var(--ho-font-body); font-size: 16px;
  color: var(--ho-fg); background: #fff;
  transition: border-color 160ms, box-shadow 160ms;
  box-sizing: border-box;
}
.ho-auth-form-panel input[type="text"]:focus,
.ho-auth-form-panel input[type="email"]:focus,
.ho-auth-form-panel input[type="password"]:focus {
  outline: none;
  border-color: var(--ho-orange-500);
  box-shadow: 0 0 0 3px var(--ho-orange-100);
}
.ho-auth-form-panel .form-actions {
  margin-top: 24px; display: flex; flex-direction: column; gap: 8px;
}
.ho-auth-form-panel .button,
.ho-auth-form-panel input[type="submit"],
.ho-auth-form-panel button[type="submit"] {
  display: block; width: 100%; box-sizing: border-box;
  padding: 13px 22px;
  font-family: var(--ho-font-body); font-size: 15px; font-weight: 600;
  background: var(--ho-ink-700); color: var(--ho-polder-50);
  border: none; border-radius: var(--ho-radius-pill);
  cursor: pointer; transition: background 160ms; text-align: center;
}
.ho-auth-form-panel .button:hover,
.ho-auth-form-panel input[type="submit"]:hover,
.ho-auth-form-panel button[type="submit"]:hover {
  background: var(--ho-orange-600); color: #fff;
}
.ho-auth-form-panel .form-item--description,
.ho-auth-form-panel .description { font-size: 12px; color: var(--ho-fg-subtle); margin-top: 4px; }
.ho-auth-form-panel .messages { margin-bottom: 20px; }

/* Social login buttons */
.ho-auth-social {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px;
}
.ho-btn-social {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 16px;
  border: 1px solid var(--ho-border-strong);
  border-radius: var(--ho-radius-md);
  background: #fff; color: var(--ho-ink-700);
  font-family: var(--ho-font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer;
  transition: border-color 160ms, box-shadow 160ms;
  position: relative;
}
.ho-btn-social:hover { border-color: var(--ho-ink-300); box-shadow: var(--ho-shadow-xs); }
.ho-btn-social[aria-disabled="true"] {
  opacity: 0.55; pointer-events: none; cursor: default;
}
.ho-btn-social svg { flex-shrink: 0; }
.ho-btn-social__badge {
  margin-left: auto; font-size: 11px; font-weight: 600;
  padding: 2px 7px; border-radius: var(--ho-radius-pill);
  background: var(--ho-polder-100); color: var(--ho-ink-400);
  letter-spacing: 0.02em;
}

/* Divider */
.ho-auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--ho-fg-subtle); font-size: 13px;
}
.ho-auth-divider::before,
.ho-auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--ho-border);
}

/* Benefits panel (right side) */
.ho-auth-benefits-panel {
  flex: 1;
  background: linear-gradient(160deg, var(--ho-delft-700) 0%, var(--ho-delft-900) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 48px;
}
.ho-auth-benefits-panel__inner { max-width: 380px; }
.ho-auth-benefits-panel__inner h2 {
  font-size: 26px; font-weight: 700; color: #fff;
  margin: 0 0 28px; line-height: 1.25;
}
.ho-auth-benefits-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.ho-auth-benefits-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ho-delft-100); line-height: 1.5;
}
.ho-auth-benefit-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.ho-auth-stats-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px;
}
.ho-auth-stat-pill {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--ho-radius-md); padding: 12px 16px;
  flex: 1; min-width: 80px;
}
.ho-auth-stat-pill strong {
  font-size: 20px; font-weight: 700; color: var(--ho-orange-300);
}
.ho-auth-stat-pill span { font-size: 12px; color: var(--ho-delft-200); }

/* Register box inside benefits panel */
.ho-auth-register-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--ho-radius-lg);
  padding: 24px;
}
.ho-auth-register-box__title {
  font-size: 16px; font-weight: 700; color: #fff; margin: 0 0 8px;
}
.ho-auth-register-box__desc {
  font-size: 14px; color: var(--ho-delft-100); line-height: 1.6; margin: 0 0 20px;
}
.ho-auth-register-box__desc strong { color: var(--ho-orange-300); font-weight: 600; }
.ho-btn--full { width: 100%; box-sizing: border-box; text-align: center; display: block; }

/* Responsive: stack vertically on tablet/mobile */
@media (max-width: 900px) {
  .ho-auth-main--split { flex-direction: column; }
  .ho-auth-form-panel { max-width: 100%; padding: 48px 24px; }
  .ho-auth-benefits-panel { padding: 40px 24px; }
  .ho-auth-benefits-panel__inner { max-width: 100%; }
}
@media (max-width: 480px) {
  .ho-auth-form-panel { padding: 32px 20px; }
  .ho-auth-form-panel .ho-auth-card__header h1 { font-size: 24px; }
}

/* ── Error / 404 / 403 pages ─────────────────────────────────────────────── */
.ho-error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  background: var(--ho-polder-100);
}
.ho-error-page__inner { text-align: center; max-width: 480px; }
.ho-error-page__code {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ho-ink-200);
  margin-bottom: 16px;
}
.ho-error-page__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--ho-ink-700);
  margin: 0 0 12px;
}
.ho-error-page__text {
  font-size: 16px;
  color: var(--ho-fg-muted);
  line-height: 1.6;
  margin: 0 0 32px;
}
.ho-error-page__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Public podcasts page — view grid ---------- */
.podcasts-page .view-content {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 32px 0;
}
.podcasts-page .views-row,
.podcasts-page .views-col { box-sizing: border-box; min-width: 0; }

/* Podcast teaser card (shared for anonymous & authenticated) */
.podcast-teaser {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.25rem;
  border: 1px solid var(--ho-border);
  border-radius: 12px;
  background: #fff;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.podcast-teaser:hover {
  transform: translateY(-4px);
  box-shadow: var(--ho-shadow-md);
  border-color: var(--ho-primary);
}
.podcast-teaser a:hover { text-decoration: none; }
.podcast-teaser--ready   { border-left: 3px solid var(--ho-primary); }
.podcast-teaser--pending { border-left: 3px solid var(--ho-border); opacity: 0.8; }

.podcast-teaser__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.podcast-teaser__icon {
  width: 40px;
  height: 40px;
  background: var(--ho-delft-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ho-delft-600);
  flex-shrink: 0;
}
.podcast-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}
.podcast-badge--ready   { background: var(--ho-delft-50); color: var(--ho-delft-700); }
.podcast-badge--pending { background: var(--ho-orange-50); color: var(--ho-orange-700); }
.podcast-teaser__content { flex: 1; }
.podcast-teaser__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
}
.podcast-teaser__description {
  color: var(--ho-fg-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.podcast-teaser__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ho-border);
  padding-top: 0.875rem;
  margin-top: auto;
}
.podcast-teaser__date     { font-size: 0.8rem; color: var(--ho-fg-subtle); }
.podcast-teaser__duration { font-size: 0.8rem; color: var(--ho-fg-muted); }
.podcast-teaser__listen   { padding: 0.4rem 0.875rem; font-size: 0.875rem; }

/* ---------- Layout Builder integration ---------- */

/* Section background variant */
.ho-section--alt { background: var(--ho-polder-100); }

/* Layout Builder multi-col regions → ho-features grid */
.layout--threecol-section,
.layout--fourcol-section {
  display: grid;
  gap: var(--ho-gap, 18px);
}
.layout--fourcol-section { grid-template-columns: repeat(4, 1fr); }
.layout--threecol-section { grid-template-columns: repeat(3, 1fr); }
.layout--threecol-section > .layout__region,
.layout--fourcol-section  > .layout__region {
  min-width: 0;
}

/* Card inside Layout Builder region fills the region */
.layout--threecol-section .ho-feature-card,
.layout--fourcol-section  .ho-feature-card {
  height: 100%;
}

/* ---------- Step cards ---------- */
.ho-step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ho-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ho-delft-500);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- FAQ accordion ---------- */
.ho-faq-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ho-faq-item {
  background: var(--ho-surface);
  border: 1px solid var(--ho-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.ho-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ho-text-1);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ho-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--ho-delft-400);
  flex-shrink: 0;
  margin-left: .5rem;
}
.ho-faq-item[open] summary::after { content: '−'; }
.ho-faq-answer {
  margin-top: .75rem;
  color: var(--ho-text-2);
  line-height: 1.7;
}

/* ---------- Responsive adjustments for layout columns ---------- */
@media (max-width: 1024px) {
  .layout--fourcol-section { grid-template-columns: repeat(2, 1fr); }
  .layout--threecol-section { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .layout--fourcol-section,
  .layout--threecol-section { grid-template-columns: 1fr; }
}

/* ============================================================
   Vertaalservice page components
   ============================================================ */

/* Hero inner wrapper — transparent pass-through; outer handles alignment */
.ho-hero-block-inner {
  width: 100%;
}

.ho-breadcrumb {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 18px;
}

.ho-breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.ho-breadcrumb a:hover { text-decoration: underline; }

.ho-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ho-btn--ghost-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--ho-radius-md, 8px);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s;
}

.ho-btn--ghost-white:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ── Translation tier cards ──────────────────────────────────────────────── */
.ho-translation-tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.ho-translation-tier-card {
  background: var(--ho-surface, #fff);
  border: 1px solid var(--ho-border, #e5e7eb);
  border-radius: var(--ho-radius-lg, 14px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ho-translation-tier-card--featured {
  border-color: var(--ho-delft-500, #1d62d4);
  box-shadow: 0 0 0 2px var(--ho-delft-500, #1d62d4);
}

.ho-tier-badge {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  width: fit-content;
}

.ho-tier-badge--ai     { background: #e0f2fe; color: #0369a1; }
.ho-tier-badge--hybrid { background: #fef3c7; color: #92400e; }

.ho-translation-tier-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.ho-tier-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ho-delft-600, #1d62d4);
  margin: 0;
}

.ho-tier-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--ho-fg-muted, #6b7280);
}

.ho-tier-turnaround {
  font-size: 13px;
  color: var(--ho-fg-muted, #6b7280);
  margin: 0;
}

.ho-tier-features {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--ho-fg-muted, #6b7280);
  margin: 0;
}

.ho-tier-suitable {
  font-size: 12px;
  color: var(--ho-fg-muted, #6b7280);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--ho-border, #e5e7eb);
}

/* ── Quote form ──────────────────────────────────────────────────────────── */
.ho-quote-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ho-quote-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ho-quote-form-row > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 160px;
}

.ho-quote-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ho-text-1, #111827);
  display: block;
  margin-bottom: 4px;
}

.ho-quote-select {
  padding: 8px 12px;
  border: 1px solid var(--ho-border, #d1d5db);
  border-radius: 8px;
  font-size: 14px;
  background: var(--ho-surface, #fff);
  color: var(--ho-text-1, #111827);
  width: 100%;
}

.ho-quote-tier-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.ho-tier-radio {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}

.ho-quote-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--ho-border, #d1d5db);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  background: var(--ho-surface, #fff);
  color: var(--ho-text-1, #111827);
  box-sizing: border-box;
  min-height: 160px;
}

.ho-quote-textarea:focus {
  outline: none;
  border-color: var(--ho-delft-500, #1d62d4);
  box-shadow: 0 0 0 3px rgba(29, 98, 212, 0.12);
}

.ho-quote-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ho-quote-spinner {
  font-size: 13px;
  color: var(--ho-fg-muted, #6b7280);
  display: none;
}

.htmx-request .ho-quote-spinner { display: inline; }

/* ── Quote result ────────────────────────────────────────────────────────── */
.ho-quote-result-area { min-height: 2rem; }

.quote-result-card {
  background: var(--ho-surface, #fff);
  border: 1px solid var(--ho-border, #e5e7eb);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quote-result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.quote-result-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 12px;
}

.badge--easy   { background: #dcfce7; color: #166534; }
.badge--medium { background: #fef9c3; color: #854d0e; }
.badge--hard   { background: #fee2e2; color: #991b1b; }

.quote-result-dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  font-size: 14px;
  margin: 0;
}

.quote-result-dl dt { color: var(--ho-fg-muted, #6b7280); }
.quote-result-dl dd { margin: 0; color: var(--ho-text-1, #111827); }

.quote-result-reasoning {
  font-size: 13px;
  color: var(--ho-fg-muted, #6b7280);
  font-style: italic;
  margin: 0;
}

.btn-quote-cta {
  display: inline-block;
  background: var(--ho-delft-500, #1d62d4);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  transition: background 0.15s;
}

.btn-quote-cta:hover { background: var(--ho-delft-600, #1751b8); }

.quote-result-disclaimer {
  font-size: 12px;
  color: var(--ho-fg-muted, #6b7280);
  margin: 0;
}

.quote-error {
  color: #991b1b;
  background: #fee2e2;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

/* ── Language pairs grid ──────────────────────────────────────────────────── */
.ho-lang-pair-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}

.ho-lang-pair {
  background: var(--ho-surface, #fff);
  border: 1px solid var(--ho-border, #e5e7eb);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.ho-lang-pair strong {
  font-size: 15px;
  color: var(--ho-delft-600, #1d62d4);
}

.ho-lang-pair span {
  font-size: 12px;
  color: var(--ho-fg-muted, #6b7280);
}

.ho-lang-pair--more {
  border-style: dashed;
  justify-content: center;
}

.ho-lang-pair--more span { font-style: italic; }

/* ── Steps grid ──────────────────────────────────────────────────────────── */
.ho-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

@media (max-width: 640px) {
  .ho-translation-tier-grid,
  .ho-steps-grid,
  .ho-lang-pair-grid { grid-template-columns: 1fr; }
  .ho-quote-form-row  { flex-direction: column; }
}
