:root {
  --sab-ink: #172225;
  --sab-paper: #f7f6f0;
  --sab-mist: #e7ece8;
  --sab-sage: #2f6f63;
  --sab-sage-dark: #24584f;
  --sab-rust: #a8563c;
  --sab-gold: #c59a4a;
  --sab-muted: #607075;
  --sab-line: rgba(23, 34, 37, 0.12);
  --sab-shadow: 0 22px 64px rgba(23, 34, 37, 0.12);
  --sab-focus: #f0b949;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #faf9f4 0%, #edf2ee 100%);
  color: var(--sab-ink);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
select,
textarea {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--sab-focus);
  outline-offset: 3px;
}

.sab-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.sab-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 34, 37, 0.08);
  background: rgba(247, 246, 240, 0.92);
  backdrop-filter: blur(16px);
}

.admin-bar .sab-header {
  top: 32px;
}

.sab-header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.sab-logo {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.sab-logo span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: var(--sab-ink);
  color: #fff;
}

.sab-logo:hover strong {
  color: var(--sab-sage);
}

.sab-menu-toggle {
  display: none;
}

.sab-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sab-menu {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(23, 34, 37, 0.08);
}

.sab-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  border-radius: 999px;
  padding: 9px 12px;
  color: #435257;
  font-size: 15px;
  font-weight: 800;
}

.sab-menu a:hover,
.sab-menu .current-menu-item > a,
.sab-menu .current_page_item > a {
  background: var(--sab-ink);
  color: #fff;
}

.sab-header-cta,
.sab-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
}

.sab-header-cta,
.sab-action-primary {
  background: var(--sab-sage);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 111, 99, 0.2);
}

.sab-header-cta:hover,
.sab-action-primary:hover {
  background: var(--sab-sage-dark);
  transform: translateY(-1px);
}

.sab-action-secondary {
  border-color: rgba(23, 34, 37, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.sab-action-secondary:hover,
.sab-action-text:hover {
  color: var(--sab-sage-dark);
}

.sab-main {
  min-height: 60vh;
}

.sab-page > * {
  width: min(1160px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.sab-section {
  margin-top: 0;
  margin-bottom: 0;
  padding: 78px 0;
}

.sab-section > * {
  width: min(1160px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.sab-hero {
  display: flex;
  min-height: 560px;
  align-items: center;
  border-radius: 0 0 36px 36px;
  background:
    radial-gradient(circle at 88% 18%, rgba(197, 154, 74, 0.17), transparent 28%),
    radial-gradient(circle at 10% 18%, rgba(47, 111, 99, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.42);
}

.sab-kicker {
  color: var(--sab-rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sab-hero-title,
.sab-error-content h1 {
  max-width: 960px;
  margin-top: 14px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
}

.sab-lead {
  max-width: 780px;
  color: var(--sab-muted);
  font-size: 22px;
  line-height: 1.58;
}

.sab-section-title {
  max-width: 840px;
  margin-bottom: 30px;
  font-size: clamp(38px, 4.8vw, 64px);
  line-height: 1.04;
}

.sab-card-grid {
  gap: 20px;
}

.sab-card {
  height: 100%;
  border-radius: 24px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--sab-shadow), inset 0 0 0 1px rgba(23, 34, 37, 0.07);
}

.sab-card h3 {
  margin-top: 0;
  font-size: 30px;
}

.sab-card p,
.sab-feature-list li,
.sab-cta p {
  color: var(--sab-muted);
  font-size: 18px;
  line-height: 1.62;
}

.sab-card a:not(.wp-block-button__link) {
  color: var(--sab-sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sab-section-soft {
  width: 100% !important;
  max-width: none !important;
  background: var(--sab-mist);
}

.sab-feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.sab-feature-list li {
  border-radius: 20px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(23, 34, 37, 0.07);
}

.sab-feature-list strong {
  color: var(--sab-ink);
  font-size: 22px;
}

.sab-button .wp-block-button__link {
  min-height: 46px;
  border-radius: 999px;
  padding: 13px 22px;
  background: var(--sab-sage);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(47, 111, 99, 0.23);
}

.sab-button .wp-block-button__link:hover {
  background: var(--sab-sage-dark);
  transform: translateY(-1px);
}

.sab-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.sab-cta {
  border-radius: 28px;
  margin-top: 56px;
  margin-bottom: 56px;
  padding: 44px;
  background: var(--sab-mist);
}

.sab-page > .sab-content {
  width: 100%;
  max-width: none;
}

.sab-content .sab-section {
  width: 100%;
  max-width: none;
}

.sab-section-inner {
  width: min(1160px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.sab-section-intro {
  max-width: 790px;
  margin-bottom: 34px;
  color: var(--sab-muted);
  font-size: 19px;
  line-height: 1.65;
}

.sab-narrow {
  max-width: 820px;
}

.sab-grid {
  display: grid;
  gap: 20px;
}

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

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

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

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

.sab-stage-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sab-card {
  position: relative;
}

.sab-card ul {
  padding-left: 20px;
  color: var(--sab-muted);
}

.sab-card-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 8px;
  color: var(--sab-sage-dark);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.sab-stage {
  position: relative;
  padding-top: 56px;
}

.sab-stage-number {
  position: absolute;
  top: 22px;
  left: 24px;
  color: var(--sab-rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.sab-two-column,
.sab-profile-grid,
.sab-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 44px;
  align-items: start;
}

.sab-dark {
  background: var(--sab-ink);
  color: #fff;
}

.sab-dark h2,
.sab-dark h3 {
  color: #fff;
}

.sab-dark p,
.sab-dark li {
  color: #cedad6;
}

.sab-dark .sab-kicker {
  color: #79d0c1;
}

.sab-process-section {
  background: #203330;
}

.sab-process-section .sab-section-inner {
  width: min(1460px, calc(100% - 40px));
}

.sab-process-section .sab-stage {
  min-width: 0;
  border: 1px solid rgba(23, 36, 37, 0.12);
  background: #f8f6f2;
}

.sab-process-section .sab-stage h3,
.sab-process-section .sab-stage p {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.sab-process-section .sab-stage h3 {
  color: #172425;
  font-size: clamp(24px, 2vw, 29px);
  line-height: 1.15;
}

.sab-process-section .sab-stage p {
  color: #52635f;
}

.sab-warm {
  background: #f3ece5;
}

.sab-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.sab-badge {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--sab-line);
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--sab-ink);
  font-size: 15px;
  font-weight: 800;
}

.sab-expert-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sab-expert-card-top {
  display: flex;
  min-height: 190px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.sab-expert-initials {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 22px;
  background: var(--sab-ink);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
}

.sab-expert-thumb {
  width: 190px;
  height: 190px;
  flex: 0 0 auto;
  border: 1px solid var(--sab-line);
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 14px 34px rgba(23, 36, 37, 0.14);
}

.sab-expert-role {
  color: var(--sab-rust);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sab-profile-photo {
  width: min(100%, 360px);
  height: auto;
  border-radius: 26px;
  box-shadow: var(--sab-shadow);
}

.sab-profile-photo--compact {
  width: min(100%, 300px);
}

.sab-clean-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.sab-clean-list li {
  position: relative;
  padding-left: 26px;
  color: var(--sab-muted);
  font-size: 18px;
}

.sab-clean-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sab-sage);
  content: "";
}

.sab-contact-card {
  border-radius: 24px;
  padding: 28px;
  background: var(--sab-ink);
  color: #fff;
}

.sab-contact-card h2,
.sab-contact-card h3 {
  color: #fff;
}

.sab-contact-card p {
  color: #c9d4cf;
}

.sab-contact-card a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.sab-form-anchor {
  scroll-margin-top: 110px;
}

.sab-accordion {
  margin-bottom: 12px;
  border: 1px solid var(--sab-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  overflow: clip;
}

.sab-accordion h3 {
  margin: 0;
}

.sab-accordion__button {
  position: relative;
  width: 100%;
  min-height: 56px;
  border: 0;
  padding: 18px 58px 18px 20px;
  background: transparent;
  color: var(--sab-ink);
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  text-align: left;
}

.sab-accordion__button::after {
  position: absolute;
  top: 50%;
  right: 22px;
  content: "+";
  color: var(--sab-sage);
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.sab-accordion__button[aria-expanded="true"]::after {
  content: "−";
}

.sab-accordion__button:hover {
  background: rgba(47, 111, 99, 0.07);
}

.sab-accordion__button:focus-visible {
  outline: 3px solid rgba(47, 111, 99, 0.42);
  outline-offset: -3px;
}

.sab-accordion__panel {
  padding: 0 20px 20px;
  color: var(--sab-muted);
  font-size: 17px;
}

.sab-accordion__panel[hidden] {
  display: none;
}

.sab-error-page {
  display: grid;
  min-height: 64vh;
  place-items: center;
}

.sab-error-content {
  padding: 96px 0;
}

.sab-error-content h1 {
  max-width: 780px;
}

.sab-footer {
  padding: 64px 0 24px;
  background: var(--sab-ink);
  color: #fff;
}

.sab-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 40px;
}

.sab-logo-footer {
  width: fit-content;
  color: #fff;
}

.sab-logo-footer span {
  background: #fff;
  color: var(--sab-ink);
}

.sab-footer-brand p {
  max-width: 330px;
}

.sab-footer h2 {
  margin: 4px 0 16px;
  color: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sab-footer p,
.sab-footer li,
.sab-footer button {
  color: #c9d4cf;
}

.sab-footer p {
  margin: 10px 0;
}

.sab-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sab-footer a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
}

.sab-footer a:hover,
.sab-footer button:hover {
  color: #fff;
}

.sab-footer-company strong {
  color: #fff;
}

.sab-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 46px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
  font-size: 14px;
}

.sab-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.sab-footer-cookie-settings {
  min-height: 32px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.sab-cookie-dialog {
  width: min(92vw, 640px);
  border: 1px solid var(--sab-line);
  border-radius: 22px;
  padding: 0;
  color: var(--sab-ink);
  background: var(--sab-paper);
  box-shadow: 0 28px 90px rgba(23, 34, 37, 0.28);
}

.sab-cookie-dialog::backdrop {
  background: rgba(16, 29, 31, 0.58);
  backdrop-filter: blur(3px);
}

.sab-cookie-dialog form {
  padding: clamp(24px, 5vw, 40px);
}

.sab-cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.sab-cookie-dialog-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.sab-cookie-dialog-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--sab-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sab-ink);
  font: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.sab-cookie-dialog p {
  color: var(--sab-muted);
}

.wpforms-container input,
.wpforms-container select,
.wpforms-container textarea {
  min-height: 48px;
  border: 1px solid rgba(23, 34, 37, 0.2) !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.wpforms-container textarea {
  min-height: 150px;
}

.wpforms-container button[type="submit"] {
  min-height: 48px;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 12px 22px !important;
  background: var(--sab-sage) !important;
  color: #fff !important;
  font-weight: 900 !important;
}

@media (max-width: 1080px) {
  .sab-header-inner {
    gap: 14px;
  }

  .sab-menu a {
    padding: 9px 10px;
    font-size: 14px;
  }

  .sab-header-cta {
    padding: 10px 14px;
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .admin-bar .sab-header {
    top: 46px;
  }

  .sab-shell,
  .sab-page > *,
  .sab-section > * {
    width: min(100% - 28px, 1160px);
  }

  .sab-header-inner {
    flex-flow: row wrap;
    align-items: center;
    padding: 12px 0;
  }

  .sab-nav {
    display: none;
    order: 3;
    width: 100%;
  }

  .sab-nav.is-open {
    display: grid;
    gap: 10px;
    margin-top: 8px;
  }

  .sab-menu-toggle {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-left: auto;
    border: 1px solid rgba(23, 34, 37, 0.12);
    border-radius: 999px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #435257;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
  }

  .sab-menu-toggle:hover {
    background: var(--sab-ink);
    color: #fff;
  }

  .sab-menu-icon,
  .sab-menu-icon::before,
  .sab-menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .sab-menu-icon {
    position: relative;
  }

  .sab-menu-icon::before,
  .sab-menu-icon::after {
    position: absolute;
    left: 0;
    content: "";
  }

  .sab-menu-icon::before {
    top: -6px;
  }

  .sab-menu-icon::after {
    top: 6px;
  }

  .sab-menu {
    width: 100%;
    flex-direction: column;
    gap: 4px;
    border-radius: 18px;
    padding: 8px;
  }

  .sab-menu a {
    min-height: 46px;
    border-radius: 12px;
    padding: 12px 14px;
  }

  .sab-header-cta {
    width: 100%;
  }

  .sab-hero {
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
    border-radius: 0 0 24px 24px;
  }

  .sab-hero-title,
  .sab-error-content h1 {
    margin-bottom: 18px;
    font-size: clamp(38px, 11vw, 56px);
    line-height: 1.02;
  }

  .sab-lead {
    font-size: 18px;
    line-height: 1.5;
  }

  .sab-section {
    padding: 58px 0;
  }

  .sab-section-title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .sab-grid-3,
  .sab-grid-4,
  .sab-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sab-two-column,
  .sab-profile-grid,
  .sab-contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

@media (max-width: 600px) {
  .sab-logo {
    font-size: 20px;
  }

  .sab-logo span {
    width: 40px;
    height: 40px;
  }

  .sab-card {
    border-radius: 20px;
    padding: 22px;
  }

  .sab-expert-card-top {
    min-height: 120px;
  }

  .sab-expert-thumb {
    width: 120px;
    height: 120px;
    border-radius: 20px;
  }

  .sab-card h3 {
    font-size: 27px;
  }

  .sab-grid-2,
  .sab-grid-3,
  .sab-grid-4,
  .sab-grid-5 {
    grid-template-columns: 1fr;
  }

  .sab-cta {
    border-radius: 22px;
    margin-top: 34px;
    margin-bottom: 34px;
    padding: 28px 20px;
  }

  .sab-action-row,
  .sab-action {
    width: 100%;
  }

  .sab-footer {
    padding-top: 48px;
  }

  .sab-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sab-footer-bottom,
  .sab-footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .sab-footer-legal {
    gap: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
