/* CleanWhale Żniwa — farmer-first layout: big type, big buttons, plain words */

:root {
  --z-blue: #0b4fd8;
  --z-blue-deep: #0a3fae;
  --z-blue-soft: #eaf1ff;
  --z-yellow: #ffcc00;
  --z-yellow-deep: #f5be38;
  --z-ink: #17212b;
  --z-muted: #55606c;
  --z-bg: #f6f1e7;
  --z-band: #efe8d8;
  --z-surface: #ffffff;
  --z-border: #e2d9c3;
  --z-green: #1c7a3c;
  --z-green-soft: #e3f4e6;
  --z-amber: #8a5a00;
  --z-amber-soft: #fdf0cf;
  --z-red: #a32222;
  --z-red-soft: #fbe3e0;
  --z-radius: 20px;
  --z-radius-sm: 14px;
  --z-shadow: 0 2px 10px rgba(23, 33, 43, 0.06);
  --z-shadow-lg: 0 18px 44px rgba(23, 33, 43, 0.16);
  --z-font: "futura-pt", "Futura PT", "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--z-bg);
  color: var(--z-ink);
  font-family: var(--z-font);
  font-size: 19px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

#cw-shell-header {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.z-wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 600px) {
  .z-wrap {
    padding-inline: 16px;
  }
}

/* ── Header ─────────────────────────────────────────── */
.z-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--z-border);
}

.z-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.z-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--z-ink);
  flex-shrink: 0;
}

.z-brand__mark {
  display: inline-flex;
}

.z-brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.z-brand__text strong {
  font-size: 24px;
  font-weight: 700;
}

.z-brand__text small {
  font-size: 13px;
  font-weight: 500;
  color: var(--z-muted);
}

.z-nav {
  display: flex;
  gap: 4px;
}

.z-nav a {
  color: var(--z-ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

.z-nav a:hover {
  background: var(--z-blue-soft);
  color: var(--z-blue);
}

.z-header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.z-lang-switch {
  display: inline-flex;
  gap: 2px;
  background: var(--z-bg);
  border: 1px solid var(--z-border);
  padding: 3px;
  border-radius: 12px;
}

.z-lang-btn {
  border: 0;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  min-width: 40px;
  min-height: 36px;
  border-radius: 9px;
  cursor: pointer;
  color: var(--z-muted);
}

.z-lang-btn[aria-pressed="true"] {
  background: var(--z-surface);
  color: var(--z-blue);
  box-shadow: var(--z-shadow);
}

.z-auth-mount .cw-eco-bar {
  position: static !important;
  box-shadow: none !important;
  background: transparent !important;
  border: 1px solid var(--z-border) !important;
  padding: 4px 6px 4px 12px !important;
  font-family: var(--z-font) !important;
}

.z-auth-mount .cw-eco-btn {
  background: var(--z-ink) !important;
  font-family: var(--z-font) !important;
  font-weight: 700 !important;
}

@media (max-width: 1080px) {
  .z-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .z-auth-mount {
    display: none;
  }
  .z-header__inner {
    min-height: 64px;
    gap: 8px;
  }
  .z-brand__text small {
    display: none;
  }
  .z-lang-btn {
    min-width: 34px;
    font-size: 14px;
  }
}

@media (max-width: 640px) {
  .z-header .z-btn--sm {
    display: none;
  }
  .z-brand__mark svg {
    width: 36px;
    height: 36px;
  }
  .z-brand__text strong {
    font-size: 21px;
  }
}

/* Phone: the order button is always within thumb reach */
.z-mobile-cta {
  display: none;
}

@media (max-width: 640px) {
  .z-mobile-cta {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 900;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--z-border);
    box-shadow: 0 -6px 20px rgba(23, 33, 43, 0.1);
  }
  body {
    padding-bottom: 84px;
  }
}

/* ── Buttons ────────────────────────────────────────── */
.z-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: var(--z-radius-sm);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.z-btn:active {
  transform: translateY(1px);
}

.z-btn--primary {
  background: var(--z-blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 79, 216, 0.26);
}

.z-btn--primary:hover {
  background: var(--z-blue-deep);
}

.z-btn--yellow {
  background: var(--z-yellow);
  color: var(--z-ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.z-btn--yellow:hover {
  background: var(--z-yellow-deep);
}

.z-btn--ghost {
  background: var(--z-surface);
  color: var(--z-ink);
  border-color: var(--z-ink);
}

.z-btn--ghost:hover {
  background: var(--z-blue-soft);
  border-color: var(--z-blue);
  color: var(--z-blue);
}

.z-btn--lg {
  min-height: 62px;
  padding: 16px 30px;
  font-size: 22px;
}

.z-btn--sm {
  min-height: 46px;
  padding: 10px 18px;
  font-size: 18px;
  box-shadow: none;
}

.z-btn--block {
  width: 100%;
}

.z-btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.z-link-btn {
  border: 0;
  background: none;
  padding: 8px 4px;
  min-height: 44px;
  color: var(--z-blue);
  font-size: 17px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

:is(.z-btn, .z-link-btn, .z-tab, .z-scenario, .z-lang-btn, .z-dialog__close, .z-nav a, .z-row--click, input, select, textarea, a):focus-visible {
  outline: 3px solid var(--z-yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--z-ink);
}

/* ── Hero ───────────────────────────────────────────── */
.z-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #2b2412;
  overflow: hidden;
}

.z-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
  z-index: -2;
}

.z-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 22, 34, 0.9) 0%, rgba(12, 22, 34, 0.74) 42%, rgba(12, 22, 34, 0.12) 78%),
    linear-gradient(0deg, rgba(12, 22, 34, 0.55) 0%, rgba(12, 22, 34, 0) 40%);
}

.z-hero__inner {
  padding-block: 72px 132px;
}

.z-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 500;
  color: var(--z-yellow);
  margin-bottom: 18px;
}

.z-hero__title {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
  max-width: 15ch;
  text-wrap: balance;
}

.z-hero__title span {
  display: block;
}

.z-hero__title-accent {
  color: var(--z-yellow);
}

.z-hero__sub {
  margin-top: 20px;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.4;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.94);
}

.z-hero-form {
  margin-top: 30px;
  background: var(--z-surface);
  color: var(--z-ink);
  border-radius: var(--z-radius);
  padding: 20px 22px 16px;
  max-width: 640px;
  box-shadow: var(--z-shadow-lg);
}

.z-hero-form > label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.z-hero-form__row {
  display: flex;
  gap: 10px;
}

.z-hero-form__row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 62px;
  padding: 0 18px;
  font-size: 22px;
  border: 2px solid var(--z-ink);
  border-radius: var(--z-radius-sm);
  background: #fff;
}

.z-hero-form__hint {
  margin-top: 10px;
  font-size: 17px;
  color: var(--z-muted);
}

.z-hero-form__hint a {
  color: var(--z-blue);
  font-weight: 700;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .z-hero__inner {
    padding-block: 40px 48px;
  }
  .z-hero__shade {
    background: linear-gradient(180deg, rgba(12, 22, 34, 0.82) 0%, rgba(12, 22, 34, 0.7) 60%, rgba(12, 22, 34, 0.78) 100%);
  }
  .z-hero-form__row {
    flex-direction: column;
  }
  .z-hero-form {
    padding: 16px;
  }
}

/* ── Facts strip ────────────────────────────────────── */
.z-facts {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.z-fact {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--z-shadow-lg);
}

.z-fact__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--z-yellow);
  color: var(--z-ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.z-fact strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.z-fact div > span {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.3;
  color: var(--z-muted);
}

@media (max-width: 1000px) {
  .z-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .z-facts {
    margin-top: 16px;
  }
  .z-fact {
    box-shadow: var(--z-shadow);
  }
}

@media (max-width: 520px) {
  .z-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .z-fact {
    padding: 16px;
    align-items: center;
  }
}

/* ── Sections ───────────────────────────────────────── */
.z-section {
  padding-block: 72px;
}

.z-band {
  background: var(--z-band);
  border-block: 1px solid var(--z-border);
}

@media (max-width: 720px) {
  .z-section {
    padding-block: 48px;
  }
}

.z-h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}

.z-h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.z-lead {
  margin-top: 12px;
  margin-bottom: 30px;
  font-size: 21px;
  color: var(--z-muted);
  max-width: 44em;
}

.z-card {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 26px;
  box-shadow: var(--z-shadow);
  min-width: 0;
}

.z-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.z-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.z-grid-map {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 920px) {
  .z-grid-2,
  .z-grid-map {
    grid-template-columns: 1fr;
  }
  .z-card {
    padding: 20px 18px;
  }
}

/* ── Steps ──────────────────────────────────────────── */
.z-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.z-step {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 24px 22px;
  box-shadow: var(--z-shadow);
}

.z-step__num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--z-blue);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.z-step h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.18;
}

.z-step p {
  margin-top: 8px;
  font-size: 18px;
  color: var(--z-muted);
}

@media (max-width: 1000px) {
  .z-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .z-steps {
    grid-template-columns: 1fr;
  }
  .z-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: 14px;
    padding: 18px 16px;
  }
  .z-step__num {
    grid-row: span 2;
    margin: 0;
  }
  .z-step p {
    grid-column: 2;
  }
}

/* ── Forms ──────────────────────────────────────────── */
.z-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  min-width: 0;
}

.z-field label,
.z-msg-form label {
  font-size: 18px;
  font-weight: 700;
}

.z-field input,
.z-field select,
.z-field textarea,
.z-search input,
.z-msg-form textarea {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  font-size: 20px;
  border: 2px solid #b9b19b;
  border-radius: var(--z-radius-sm);
  background: #fff;
}

.z-field textarea,
.z-msg-form textarea {
  resize: vertical;
  line-height: 1.4;
}

.z-field input:hover,
.z-field select:hover,
.z-search input:hover {
  border-color: var(--z-ink);
}

.z-field input:user-invalid,
.z-field select:user-invalid,
.z-field textarea:user-invalid,
.z-field [aria-invalid="true"] {
  border-color: var(--z-red);
  background: var(--z-red-soft);
}

.z-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

@media (max-width: 520px) {
  .z-form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
}

.z-checks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.z-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  font-size: 18px;
  line-height: 1.3;
  cursor: pointer;
}

.z-check input[type="checkbox"] {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--z-blue);
  cursor: pointer;
}

.z-search {
  display: flex;
  gap: 10px;
  max-width: 760px;
}

.z-search input {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 560px) {
  .z-search {
    flex-direction: column;
  }
}

.z-banner {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: var(--z-radius-sm);
  background: var(--z-surface);
  border: 2px solid var(--z-blue);
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.z-banner:empty {
  display: none;
}

.z-banner--error {
  border-color: var(--z-red);
  background: var(--z-red-soft);
  color: var(--z-red);
  font-weight: 700;
}

.z-banner__main strong {
  font-size: 21px;
}

.z-banner__meta {
  display: block;
  margin-top: 2px;
  font-size: 17px;
  color: var(--z-muted);
}

.z-banner__price {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.z-banner__price b {
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Tabs & scenario buttons ────────────────────────── */
.z-tabs-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 22px 16px;
}

.z-tabs-row__label {
  font-size: 18px;
  font-weight: 500;
}

.z-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.z-tabs--tight {
  margin-bottom: 14px;
}

.z-tab {
  min-height: 46px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 2px solid var(--z-border);
  background: var(--z-surface);
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.z-tab:hover {
  border-color: var(--z-blue);
}

.z-tab[aria-pressed="true"] {
  background: var(--z-ink);
  border-color: var(--z-ink);
  color: #fff;
}

.z-scenarios {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.z-scenario {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 14px 16px;
  text-align: left;
  border-radius: var(--z-radius-sm);
  border: 2px solid var(--z-border);
  background: var(--z-surface);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.z-scenario svg {
  flex-shrink: 0;
  color: var(--z-blue);
}

.z-scenario:hover {
  border-color: var(--z-blue);
}

.z-scenario[aria-pressed="true"] {
  background: var(--z-blue);
  border-color: var(--z-blue);
  color: #fff;
}

.z-scenario[aria-pressed="true"] svg {
  color: var(--z-yellow);
}

@media (max-width: 1000px) {
  .z-scenarios {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .z-scenarios {
    grid-template-columns: 1fr;
  }
  .z-scenario {
    min-height: 60px;
  }
}

/* ── Map ────────────────────────────────────────────── */
.z-map-card {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  padding: 10px;
  box-shadow: var(--z-shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.z-leaflet-map {
  width: 100%;
  flex: 1 1 auto;
  min-height: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #1d2e1d;
  z-index: 1;
}

@media (max-width: 720px) {
  .z-leaflet-map {
    min-height: 340px;
  }
}

.z-field-tooltip {
  background: rgba(23, 33, 43, 0.94) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 8px !important;
  padding: 4px 10px !important;
  font-family: var(--z-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
  white-space: nowrap !important;
}

.z-field-tooltip::before {
  display: none !important;
}

.z-inspector {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 12px 18px;
}

.z-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.z-meta div {
  background: var(--z-bg);
  border-radius: 12px;
  padding: 10px 12px;
}

.z-meta span {
  display: block;
  font-size: 15px;
  color: var(--z-muted);
  line-height: 1.2;
}

.z-meta strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Rows (plots, schedule stops) ───────────────────── */
.z-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.z-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-sm);
  background: var(--z-surface);
  width: 100%;
  text-align: left;
}

.z-row--click {
  cursor: pointer;
}

.z-row--click:hover {
  border-color: var(--z-blue);
  background: var(--z-blue-soft);
}

.z-row__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--z-yellow);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.z-row__body {
  flex: 1 1 auto;
  min-width: 0;
}

.z-row__body strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
}

.z-row__body span {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  line-height: 1.3;
  color: var(--z-muted);
}

@media (max-width: 480px) {
  .z-row {
    flex-wrap: wrap;
  }
  .z-row .z-badge {
    margin-left: 54px;
  }
  .z-row--click .z-badge {
    margin-left: 0;
  }
}

.z-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 700;
  background: var(--z-bg);
  color: var(--z-ink);
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.z-badge--green {
  background: var(--z-green-soft);
  color: var(--z-green);
}

.z-badge--amber {
  background: var(--z-amber-soft);
  color: var(--z-amber);
}

.z-badge--red {
  background: var(--z-red-soft);
  color: var(--z-red);
}

.z-badge--blue {
  background: var(--z-blue-soft);
  color: var(--z-blue-deep);
}

.z-deferred {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--z-radius-sm);
  background: var(--z-red-soft);
  border: 1px solid #efb8b1;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-deferred__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Rain / message card ────────────────────────────── */
.z-msg-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.z-msg-form textarea {
  font-size: 18px;
  background: var(--z-bg);
}

.z-ai-output {
  margin-top: 18px;
}

.z-ai-summary {
  font-size: 19px;
  line-height: 1.4;
  padding: 14px 16px;
  border-left: 5px solid var(--z-green);
  background: var(--z-green-soft);
  border-radius: 0 var(--z-radius-sm) var(--z-radius-sm) 0;
}

.z-sms-title {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 500;
  color: var(--z-muted);
}

.z-sms-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.z-sms {
  background: var(--z-blue-soft);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 14px;
  max-width: 34em;
}

.z-sms__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}

.z-sms__head span {
  font-weight: 500;
  color: var(--z-blue-deep);
}

.z-sms p {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.35;
}

/* ── Quote ──────────────────────────────────────────── */
.z-card--quote {
  border: 2px solid var(--z-ink);
}

.z-quote__eyebrow {
  font-size: 17px;
  font-weight: 500;
  color: var(--z-muted);
  margin-bottom: 10px;
}

.z-quote__line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-block: 11px;
  border-bottom: 1px solid var(--z-border);
  font-size: 19px;
}

.z-quote__line small {
  display: block;
  font-size: 16px;
  color: var(--z-muted);
}

.z-quote__line > strong {
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.z-quote__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding-block: 14px 4px;
  font-size: 22px;
  font-weight: 700;
}

.z-quote__total span:last-child {
  font-size: 32px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.z-quote__perha {
  text-align: right;
  font-size: 17px;
  color: var(--z-muted);
}

.z-quote__saving {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--z-green);
}

.z-quote__net {
  margin-block: 18px;
  padding: 18px;
  border-radius: var(--z-radius-sm);
  background: var(--z-green-soft);
}

.z-quote__net .z-quote__net-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--z-green);
}

.z-quote__net .z-quote__net-sum {
  margin-top: 0;
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--z-green);
  font-variant-numeric: tabular-nums;
}

.z-quote__net p {
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
  color: #24452e;
}

.z-quote__note {
  margin-block: 14px 18px;
  font-size: 16px;
  color: var(--z-muted);
}

/* ── CTA band ───────────────────────────────────────── */
.z-cta {
  background: var(--z-blue);
  color: #fff;
  border-radius: 28px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.z-cta p {
  margin-top: 8px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 720px) {
  .z-cta {
    padding: 28px 20px;
  }
  .z-cta .z-btn {
    width: 100%;
  }
}

/* ── Footer ─────────────────────────────────────────── */
.z-footer {
  padding-block: 28px 40px;
  font-size: 16px;
  color: var(--z-muted);
  text-align: center;
  border-top: 1px solid var(--z-border);
}

/* ── Dialog ─────────────────────────────────────────── */
.z-dialog {
  border: 0;
  border-radius: 24px;
  padding: 0;
  width: min(680px, 94vw);
  max-height: 92vh;
  box-shadow: var(--z-shadow-lg);
  background: var(--z-surface);
  color: var(--z-ink);
}

.z-dialog::backdrop {
  background-color: rgba(12, 22, 34, 0.66);
}

.z-dialog__inner {
  padding: 26px;
}

@media (max-width: 520px) {
  .z-dialog__inner {
    padding: 18px 16px;
  }
}

.z-dialog__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.z-dialog__close {
  border: 2px solid var(--z-border);
  background: var(--z-surface);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.z-dialog__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  flex-wrap: wrap;
}

@media (max-width: 520px) {
  .z-dialog__foot .z-btn {
    flex: 1 1 100%;
  }
  .z-dialog__foot {
    flex-direction: column-reverse;
  }
}

.z-feedback {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: var(--z-radius-sm);
  background: var(--z-green-soft);
  color: #14532d;
  font-size: 18px;
}

.z-feedback strong {
  display: block;
  font-size: 21px;
}

.z-feedback--error {
  background: var(--z-red-soft);
  color: var(--z-red);
}


/* Full-screen map button exists for phones only */
.z-map-full-btn {
  display: none;
}

/* ══ Phone layout (≤640px): a compact ordering tool, not a long landing page ══ */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 64px;
  }

  html.z-no-scroll,
  html.z-no-scroll body {
    overflow: hidden;
  }

  body {
    font-size: 16px;
    padding-bottom: 72px;
  }

  /* Header: 56px, compact language switch */
  .z-header__inner {
    min-height: 56px;
  }
  .z-brand {
    gap: 8px;
  }
  .z-brand__mark svg {
    width: 32px;
    height: 32px;
  }
  .z-brand__text strong {
    font-size: 20px;
  }
  .z-lang-switch {
    padding: 2px;
    border-radius: 10px;
  }
  .z-lang-btn {
    min-width: 32px;
    min-height: 30px;
    font-size: 13px;
    border-radius: 8px;
  }

  /* The fixed bottom button is the only order button on a phone */
  .z-header [data-open-booking],
  main [data-open-booking],
  #zamow {
    display: none;
  }

  .z-mobile-cta {
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    box-shadow: none;
  }
  .z-mobile-cta .z-btn {
    min-height: 50px;
    font-size: 18px;
    box-shadow: none;
  }

  /* Hero: the parcel search fits on the first screen */
  .z-hero__inner {
    padding-block: 20px 22px;
  }
  .z-hero__eyebrow {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 10px;
    align-items: flex-start;
  }
  .z-hero__eyebrow svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .z-hero__title {
    font-size: 31px;
    line-height: 1.08;
    max-width: none;
  }
  .z-hero__sub {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.35;
  }
  .z-hero-form {
    margin-top: 16px;
    padding: 12px 14px 10px;
    border-radius: 16px;
  }
  .z-hero-form > label {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .z-hero-form__row {
    gap: 8px;
  }
  .z-hero-form__row input {
    min-height: 50px;
    font-size: 18px;
    padding: 0 14px;
    border-radius: 12px;
  }
  .z-hero-form .z-btn--lg {
    min-height: 50px;
    padding: 10px 20px;
    font-size: 18px;
    box-shadow: none;
  }
  .z-hero-form__hint {
    margin-top: 8px;
    font-size: 14px;
  }

  /* Benefits: 2 × 2 */
  .z-facts {
    margin-top: 12px;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .z-fact {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    box-shadow: none;
  }
  .z-fact__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .z-fact__icon svg {
    width: 20px;
    height: 20px;
  }
  .z-fact strong {
    font-size: 16px;
    line-height: 1.15;
  }
  .z-fact div > span {
    margin-top: 2px;
    font-size: 13.5px;
    line-height: 1.25;
  }

  /* Sections */
  .z-section {
    padding-block: 28px;
  }
  .z-h2 {
    font-size: 25px;
  }
  .z-h3 {
    font-size: 19px;
  }
  .z-lead {
    margin-top: 6px;
    margin-bottom: 14px;
    font-size: 15.5px;
    line-height: 1.35;
  }
  .z-card {
    padding: 14px;
    border-radius: 16px;
    box-shadow: none;
  }
  .z-card__head {
    margin-bottom: 10px;
  }
  .z-grid-2,
  .z-grid-map {
    gap: 12px;
  }

  /* How it works: four compact steps joined by a vertical line */
  .z-steps {
    display: block;
    background: var(--z-surface);
    border: 1px solid var(--z-border);
    border-radius: 16px;
    padding: 14px 14px 2px;
  }
  .z-step {
    position: relative;
    display: block;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 14px 44px;
    min-height: 44px;
  }
  .z-step__num {
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    font-size: 16px;
    margin: 0;
    z-index: 1;
  }
  .z-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: var(--z-blue);
    opacity: 0.25;
  }
  .z-step h3 {
    font-size: 17px;
    line-height: 1.2;
    padding-top: 4px;
  }
  .z-step p {
    margin-top: 3px;
    font-size: 14.5px;
    line-height: 1.3;
  }

  /* Forms */
  .z-field {
    gap: 4px;
    margin-bottom: 10px;
  }
  .z-field label,
  .z-msg-form label {
    font-size: 15px;
  }
  .z-field input,
  .z-field select,
  .z-field textarea,
  .z-search input,
  .z-msg-form textarea {
    min-height: 46px;
    padding: 9px 12px;
    font-size: 17px;
    border-radius: 12px;
  }
  .z-btn {
    min-height: 46px;
    font-size: 17px;
    padding: 10px 18px;
    border-radius: 12px;
  }

  /* Calculator: hectares and parcels share one row; the price recalculates by itself */
  #quote-calc-form .z-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  #quote-calc-form button[type="submit"] {
    display: none;
  }
  .z-checks {
    gap: 0;
    margin-bottom: 0;
  }
  .z-check {
    gap: 10px;
    padding: 7px 0;
    font-size: 15px;
  }
  .z-check input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }

  /* Result: what is left for the farmer first, then the saving, then the detail */
  .z-card--quote {
    border-width: 1px;
    border-color: var(--z-border);
  }
  #quote-breakdown-panel {
    display: flex;
    flex-direction: column;
  }
  .z-quote__net {
    order: 1;
    margin: 0;
    padding: 14px;
    border-radius: 14px;
  }
  .z-quote__net .z-quote__net-label {
    font-size: 15px;
  }
  .z-quote__net .z-quote__net-sum {
    font-size: 38px;
  }
  .z-quote__net p {
    margin-top: 6px;
    font-size: 14px;
  }
  .z-quote__saving {
    order: 2;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 14px;
    background: var(--z-yellow);
    color: var(--z-ink);
    font-size: 15px;
    line-height: 1.3;
  }
  .z-quote__note {
    order: 3;
    margin-block: 8px 6px;
    font-size: 13px;
  }
  .z-quote__eyebrow {
    order: 4;
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--z-border);
    font-size: 14px;
  }
  .z-quote__line {
    order: 5;
    padding-block: 8px;
    font-size: 16px;
  }
  .z-quote__line small {
    font-size: 13.5px;
  }
  .z-quote__total {
    order: 6;
    padding-block: 10px 0;
    font-size: 18px;
  }
  .z-quote__total span:last-child {
    font-size: 24px;
  }
  .z-quote__perha {
    order: 7;
    font-size: 14px;
  }

  /* Map: edge to edge, with a full-screen view */
  .z-search {
    flex-direction: row;
    gap: 8px;
  }
  .z-search .z-btn {
    padding-inline: 14px;
    box-shadow: none;
  }
  .z-banner {
    margin-top: 10px;
    padding: 12px 14px;
    border-width: 1px;
    font-size: 15px;
    gap: 8px 14px;
  }
  .z-banner__main strong {
    font-size: 17px;
  }
  .z-banner__meta {
    font-size: 14px;
  }
  .z-banner__price b {
    font-size: 20px;
  }
  .z-banner__price .z-btn {
    min-height: 40px;
    font-size: 15px;
  }
  .z-tabs-row {
    display: block;
    margin-block: 14px 10px;
  }
  .z-tabs-row__label {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
  }
  .z-tabs-row .z-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .z-tab {
    min-height: 40px;
    padding: 6px 10px;
    font-size: 14.5px;
    border-width: 1px;
    border-radius: 10px;
  }
  .z-tabs--tight {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px;
    margin-inline: -14px;
    padding-inline: 14px;
    margin-bottom: 10px;
    scrollbar-width: none;
  }
  .z-tabs--tight::-webkit-scrollbar {
    display: none;
  }
  .z-tabs--tight .z-tab {
    flex-shrink: 0;
  }
  .z-map-card {
    position: relative;
    margin-inline: -16px;
    padding: 0;
    border-radius: 0;
    border-inline: 0;
    box-shadow: none;
  }
  .z-leaflet-map {
    min-height: 300px;
    border-radius: 0;
  }
  .z-map-full-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 6px 12px;
    border: 0;
    border-radius: 10px;
    background: var(--z-surface);
    color: var(--z-ink);
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
  }
  .z-map-card--full {
    position: fixed;
    inset: 0;
    z-index: 2000;
    margin: 0;
    border: 0;
    background: #1d2e1d;
  }
  .z-map-card--full .z-leaflet-map {
    height: 100%;
    min-height: 0;
  }
  .z-map-card--full .z-map-full-btn {
    top: calc(10px + env(safe-area-inset-top));
    background: var(--z-ink);
    color: #fff;
  }
  .z-field-tooltip {
    font-size: 12.5px !important;
    padding: 3px 8px !important;
  }
  .z-inspector {
    gap: 8px;
    margin-block: 8px 0;
  }
  .z-meta {
    gap: 6px;
  }
  .z-meta div {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .z-meta span {
    font-size: 12.5px;
  }
  .z-meta strong {
    font-size: 17px;
  }

  /* Rows */
  .z-rows {
    gap: 6px;
  }
  .z-row {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 12px;
  }
  .z-row .z-badge {
    margin-left: 0;
  }
  .z-row__num {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .z-row__body strong {
    font-size: 15.5px;
  }
  .z-row__body span {
    font-size: 13px;
  }
  .z-badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 13.5px;
  }
  .z-deferred {
    padding: 10px;
    font-size: 14px;
    border-radius: 12px;
  }

  /* Rain and breakdowns */
  .z-scenarios {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
  }
  .z-scenario {
    min-height: 52px;
    padding: 8px 10px;
    gap: 8px;
    border-width: 1px;
    border-radius: 12px;
    font-size: 14.5px;
    line-height: 1.15;
  }
  .z-scenario svg {
    width: 20px;
    height: 20px;
  }
  .z-msg-form textarea {
    font-size: 15px;
  }
  .z-ai-output {
    margin-top: 12px;
  }
  .z-ai-summary {
    font-size: 15px;
    padding: 10px 12px;
  }
  .z-sms-title {
    margin-top: 10px;
    margin-bottom: 6px;
    font-size: 14px;
  }
  .z-sms {
    padding: 9px 12px;
  }
  .z-sms__head {
    font-size: 14px;
  }
  .z-sms p {
    font-size: 14.5px;
  }
  .z-link-btn {
    font-size: 15px;
    min-height: 36px;
    padding-block: 4px;
  }

  .z-footer {
    padding-block: 18px 22px;
    font-size: 13px;
  }

  /* Order dialog */
  .z-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 94vh;
    margin-bottom: 0;
    border-radius: 20px 20px 0 0;
  }
  .z-dialog__inner {
    padding: 16px;
  }
  .z-dialog__head {
    margin-bottom: 12px;
  }
  .z-dialog__close {
    width: 40px;
    height: 40px;
    border-width: 1px;
  }
  #booking-form .z-form-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  #booking-form .z-form-row:first-of-type {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .z-dialog__foot {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .z-dialog__foot .z-btn {
    flex: 1 1 0;
    padding-inline: 10px;
    box-shadow: none;
  }
  .z-feedback {
    padding: 12px;
    font-size: 15px;
  }
  .z-feedback strong {
    font-size: 17px;
  }
}


/* ── SEO Subpages, Breadcrumbs, Responsive Tables, FAQ Accordion & Directory ── */
.z-seo-crumb-bar {
  padding-top: 18px;
}

.z-breadcrumbs > ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 15px;
  color: var(--z-muted);
}

.z-breadcrumbs > ol > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.z-breadcrumbs > ol > li + li::before {
  content: "/" / "";
  color: var(--z-muted);
}

.z-breadcrumbs a {
  color: var(--z-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.z-breadcrumbs a:hover {
  color: var(--z-blue-deep);
}

.z-breadcrumbs a[aria-current="page"] {
  color: var(--z-ink);
  font-weight: 700;
  text-decoration: none;
}

.z-seo-hero {
  padding-block: 26px 40px;
}

.z-seo-eyebrow {
  font-size: 16px;
  font-weight: 700;
  color: var(--z-blue);
  margin-bottom: 10px;
}

.z-seo-h1 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--z-ink);
  max-width: 24ch;
  text-wrap: balance;
  margin-bottom: 16px;
}

.z-seo-lead {
  font-size: 21px;
  line-height: 1.48;
  color: var(--z-muted);
  max-width: 64ch;
  margin-bottom: 24px;
}

.z-seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.z-seo-bullets {
  margin: 14px 0 0;
  padding-inline-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  line-height: 1.48;
  color: var(--z-ink);
}

.z-seo-p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--z-ink);
}

.z-seo-subhead {
  margin: 18px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--z-ink);
}

.z-seo-note {
  margin: 14px 0 16px;
  font-size: 16px;
  color: var(--z-muted);
}

.z-text-green {
  color: var(--z-green);
  font-weight: 700;
}

.z-quote-dl {
  margin: 14px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.z-quote-dl > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--z-border);
  font-size: 17px;
}

.z-quote-dl dt {
  color: var(--z-muted);
}

.z-quote-dl dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.z-quote-dl__total {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  font-size: 21px !important;
}

.z-quote-dl__total dt,
.z-quote-dl__total dd {
  color: var(--z-blue);
  font-weight: 700;
}

.z-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.z-tag-list li {
  background: var(--z-bg);
  border: 1px solid var(--z-border);
  border-radius: 10px;
  padding: 5px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--z-ink);
}

/* Responsive Semantic Pricing & Data Tables (Container Query Stacked Layout) */
.z-ssr-rates {
  margin-top: 28px;
}

.z-ssr-rates__link {
  margin-top: 12px;
  font-size: 17px;
  font-weight: 700;
}

.z-ssr-rates__link a {
  color: var(--z-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.z-table-wrap {
  overflow-x: auto;
  max-inline-size: 100%;
  container-type: inline-size;
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius);
  box-shadow: var(--z-shadow);
}

.z-rates-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 17px;
}

.z-rates-table caption {
  text-align: left;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--z-muted);
  background: var(--z-bg);
  border-bottom: 1px solid var(--z-border);
}

.z-rates-table thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--z-band);
}

.z-rates-table th,
.z-rates-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--z-border);
  vertical-align: top;
}

.z-rates-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: var(--z-ink);
}

.z-rates-table tbody th {
  position: sticky;
  inset-inline-start: 0;
  z-index: 1;
  background: var(--z-surface);
  font-weight: 700;
  color: var(--z-ink);
}

.z-rates-table tbody tr.is-highlight th,
.z-rates-table tbody tr.is-highlight td {
  background: var(--z-blue-soft);
}

.z-rates-table tbody th a {
  color: var(--z-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@container (width < 640px) {
  .z-rates-table,
  .z-rates-table thead,
  .z-rates-table tbody,
  .z-rates-table tr,
  .z-rates-table th,
  .z-rates-table td {
    display: block;
  }

  .z-rates-table thead {
    display: none;
  }

  .z-rates-table tbody tr {
    margin: 12px;
    border: 1px solid var(--z-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--z-surface);
  }

  .z-rates-table tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--z-bg);
    border-bottom: 1px solid var(--z-border);
  }

  .z-rates-table td {
    padding: 9px 14px;
    border-bottom: 1px solid #f0e9da;
  }

  .z-rates-table td:last-child {
    border-bottom: 0;
  }

  .z-rates-table td:nth-child(2)::before {
    content: var(--label-2) ": ";
    font-weight: 700;
    color: var(--z-muted);
  }

  .z-rates-table td:nth-child(3)::before {
    content: var(--label-3) ": ";
    font-weight: 700;
    color: var(--z-muted);
  }

  .z-rates-table td:nth-child(4)::before {
    content: var(--label-4) ": ";
    font-weight: 700;
    color: var(--z-muted);
  }

  .z-rates-table td:nth-child(5)::before {
    content: var(--label-5) ": ";
    font-weight: 700;
    color: var(--z-muted);
  }

  .z-rates-table td:nth-child(6)::before {
    content: var(--label-6) ": ";
    font-weight: 700;
    color: var(--z-muted);
  }
}

/* Native Details/Summary FAQ Accordion */
.z-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.z-faq__item {
  background: var(--z-surface);
  border: 1px solid var(--z-border);
  border-radius: var(--z-radius-sm);
  box-shadow: var(--z-shadow);
  overflow: clip;
}

.z-faq__q {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  font-size: 19px;
  font-weight: 700;
  color: var(--z-ink);
  cursor: pointer;
}

.z-faq__q::-webkit-details-marker {
  display: none;
}

.z-faq__q::before {
  content: "";
  inline-size: 18px;
  block-size: 18px;
  flex-shrink: 0;
  background-color: var(--z-blue);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.z-faq__item[open] > .z-faq__q::before {
  rotate: 0deg;
}

@media (prefers-reduced-motion: no-preference) {
  .z-faq__q::before {
    transition: rotate 0.2s ease;
  }
}

.z-faq__q:hover {
  background: var(--z-blue-soft);
}

.z-faq__item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.z-faq__item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .z-faq__item::details-content {
    transition: block-size 0.25s ease-in-out, content-visibility 0.25s ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.z-faq__a {
  padding: 0 20px 18px 50px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--z-muted);
}

/* Local Directory & Internal Linking Hub */
.z-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .z-dir-grid {
    grid-template-columns: 1fr;
  }
}

.z-dir-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.z-dir-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 17px;
  font-weight: 500;
  color: var(--z-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.z-dir-link:hover {
  color: var(--z-blue-deep);
}

.z-dir-link.is-active {
  color: var(--z-ink);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 640px) {
  .z-seo-lead {
    font-size: 17px;
  }
  .z-faq__q {
    padding: 15px 16px;
    font-size: 17px;
  }
  .z-faq__a {
    padding: 0 16px 15px 44px;
    font-size: 16px;
  }
}
