:root {
  --fg-ink: #073b34;
  --fg-green: #0d5f50;
  --fg-clay: #c7774b;
  --fg-text: #102522;
  --fg-muted: #5d6b67;
  --fg-line: #dce5df;
  --fg-soft: #f5f8f5;
  --fg-paper: #fbfcf9;
  --fg-white: #ffffff;
  --fg-shadow: 0 22px 70px rgba(21, 33, 31, 0.12);
  --fg-radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--fg-text);
  background: #eef4ef;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.fg-client-intake {
  min-height: 100vh;
  padding: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(199, 119, 75, 0.08), transparent 28rem),
    radial-gradient(circle at 85% 12%, rgba(13, 95, 80, 0.1), transparent 32rem),
    linear-gradient(180deg, #f8faf8 0%, #eef4ef 100%);
}

.client-page-shell {
  width: min(1440px, calc(100% - 2px));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(7, 59, 52, 0.12);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 90px rgba(21, 33, 31, 0.08);
}

.client-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 1.8vw, 28px);
  align-items: center;
  min-height: 104px;
  padding: 18px clamp(28px, 4vw, 58px);
  border-bottom: 1px solid rgba(7, 59, 52, 0.08);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.client-brand {
  display: grid;
  grid-template-columns: 64px minmax(0, auto);
  gap: 14px;
  align-items: center;
  min-width: 0;
  justify-self: start;
}

.client-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.client-brand strong {
  display: block;
  color: var(--fg-ink);
  font-size: clamp(24px, 1.8vw, 32px);
  font-weight: 860;
  line-height: 1.02;
  white-space: nowrap;
}

.client-brand small {
  display: block;
  margin-top: 6px;
  color: var(--fg-muted);
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 620;
  line-height: 1.15;
  white-space: nowrap;
}

.client-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.75vw, 28px);
  min-width: 0;
}

.client-nav a {
  color: #111f1d;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-size: clamp(15px, 0.95vw, 18px);
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}

.client-nav .language-link {
  min-width: 82px;
  padding: 0 18px;
  border: 1px solid rgba(7, 59, 52, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 6px 16px rgba(21, 33, 31, 0.04);
}

.client-book,
.client-menu,
.button-mail,
.button-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 850;
}

.client-book {
  min-height: 58px;
  min-width: 168px;
  padding: 0 24px;
  background: var(--fg-ink);
  color: var(--fg-white);
  font-size: 17px;
  line-height: 1;
  white-space: nowrap;
  justify-self: end;
}

.client-book svg {
  width: 22px;
  height: 22px;
}

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.client-menu {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  justify-self: end;
  display: none;
}

.client-menu span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 4px 0;
  background: var(--fg-ink);
  transition: transform 160ms ease, opacity 160ms ease;
}

.client-menu.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.client-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.client-menu.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  padding: 0 clamp(28px, 4vw, 58px) 32px;
}

.client-hero {
  display: grid;
  grid-template-columns: minmax(420px, 0.78fr) minmax(420px, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 470px;
  padding: 48px 28px 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82) 54%, rgba(255, 255, 255, 0.42)),
    radial-gradient(circle at 78% 20%, rgba(13, 95, 80, 0.1), transparent 26rem);
}

.client-hero-copy > p {
  margin: 0 0 22px;
  color: var(--fg-clay);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-hero h1 {
  margin: 0 0 22px;
  color: var(--fg-ink);
  font-size: clamp(52px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.client-hero-copy > span {
  display: block;
  max-width: 540px;
  color: #495c58;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.5;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 620px;
  margin-top: 44px;
}

.mobile-quick-actions {
  display: none;
}

.hero-trust div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  align-items: center;
  min-height: 54px;
  padding-right: 22px;
  border-right: 1px solid rgba(7, 59, 52, 0.16);
}

.hero-trust div:last-child {
  border-right: 0;
}

.hero-trust svg {
  color: var(--fg-green);
}

.hero-trust small {
  color: #1e3430;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.property-line-art {
  align-self: end;
  color: rgba(7, 59, 52, 0.48);
}

.property-line-art svg {
  width: 100%;
  height: auto;
  stroke-width: 1.25;
}

.client-intake-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(7, 59, 52, 0.12);
  border-radius: var(--fg-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--fg-shadow);
}

.form-step {
  margin: 0 0 30px;
}

.form-step h2 {
  margin: 0 0 6px;
  color: #0b2e2a;
  font-size: 23px;
  line-height: 1.2;
}

.form-step h2 span {
  color: var(--fg-ink);
}

.form-step h2 em {
  color: var(--fg-muted);
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
}

.form-step p {
  margin: 0 0 22px;
  color: var(--fg-muted);
  font-size: 16px;
}

.service-choice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-choice-grid label {
  position: relative;
  display: grid;
  min-height: 154px;
  place-items: center;
  padding: 20px 12px 18px;
  border: 1px solid rgba(7, 59, 52, 0.14);
  border-radius: 11px;
  background: var(--fg-white);
  color: var(--fg-ink);
  text-align: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(21, 33, 31, 0.045);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.service-choice-grid label:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(21, 33, 31, 0.08);
}

.service-choice-grid input,
.contact-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.service-choice-grid label:has(input:checked) {
  border-color: var(--fg-green);
  background: #f6fbf7;
  box-shadow: 0 0 0 1px rgba(13, 95, 80, 0.35) inset, 0 18px 34px rgba(21, 33, 31, 0.08);
}

.choice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 10px;
  color: var(--fg-green);
}

.choice-icon svg {
  width: 45px;
  height: 45px;
  stroke-width: 1.45;
}

.service-choice-grid strong {
  display: block;
  color: #0b2e2a;
  font-size: 17px;
}

.service-choice-grid small {
  display: block;
  margin-top: 5px;
  color: var(--fg-muted);
  font-size: 14px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.detail-grid label,
.message-field {
  display: grid;
  gap: 9px;
}

.detail-grid span {
  color: #0b2e2a;
  font-size: 15px;
  font-weight: 780;
}

.detail-grid input,
.message-field textarea {
  width: 100%;
  border: 1px solid rgba(7, 59, 52, 0.16);
  border-radius: 8px;
  background: var(--fg-white);
  color: var(--fg-text);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.detail-grid input {
  min-height: 54px;
  padding: 0 18px;
}

.detail-grid input:focus,
.message-field textarea:focus {
  border-color: var(--fg-green);
  box-shadow: 0 0 0 4px rgba(13, 95, 80, 0.1);
}

.contact-choice-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.contact-choice-grid label {
  position: relative;
  display: grid;
  min-height: 56px;
  place-items: center;
  border-radius: 8px;
  background: #f2f5f2;
  color: var(--fg-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 820;
}

.contact-choice-grid label:has(input:checked) {
  background: var(--fg-green);
  color: var(--fg-white);
  box-shadow: 0 12px 28px rgba(13, 95, 80, 0.24);
}

.message-field {
  position: relative;
}

.message-field textarea {
  min-height: 128px;
  padding: 17px 18px 34px;
  resize: vertical;
}

.message-field small {
  position: absolute;
  right: 18px;
  bottom: 12px;
  color: var(--fg-muted);
  font-size: 13px;
}

.client-actions {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 22px;
}

.client-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 4px 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(7, 59, 52, 0.14);
  border-radius: 10px;
  background: #f6faf7;
  color: #29443f;
  font-size: 14px;
  line-height: 1.45;
}

.client-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--fg-green);
}

.button-mail,
.button-book {
  min-height: 66px;
  border: 1px solid var(--fg-ink);
  border-radius: 8px;
  font-size: 17px;
}

.button-mail {
  background: linear-gradient(135deg, var(--fg-green), var(--fg-ink));
  color: var(--fg-white);
  box-shadow: 0 16px 34px rgba(13, 95, 80, 0.24);
  cursor: pointer;
}

.button-book {
  background: var(--fg-white);
  color: var(--fg-ink);
}

.button-mail:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submission-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(13, 95, 80, 0.2);
  border-radius: 10px;
  background: #edf7f0;
  color: var(--fg-ink);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.submission-status.is-error {
  border-color: rgba(199, 119, 75, 0.36);
  background: #fff6ef;
  color: #7a3d20;
}

.privacy-note {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  margin: 28px 0 0;
  color: var(--fg-muted);
  font-size: 14px;
  text-align: center;
}

.privacy-note svg {
  width: 18px;
  height: 18px;
}

.privacy-note a {
  color: var(--fg-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.client-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 28px 0 34px;
  border: 1px solid rgba(7, 59, 52, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
}

.client-trust-bar article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  min-height: 132px;
  padding: 28px;
  border-right: 1px solid rgba(7, 59, 52, 0.12);
}

.client-trust-bar article:last-child {
  border-right: 0;
}

.client-trust-bar svg {
  width: 40px;
  height: 40px;
  color: var(--fg-green);
}

.client-trust-bar strong {
  display: block;
  color: #0b2e2a;
  font-size: 17px;
}

.client-trust-bar p {
  margin: 6px 0 0;
  color: #3e514d;
  font-size: 14px;
  line-height: 1.55;
}

.client-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 20px clamp(28px, 4vw, 58px);
  background: linear-gradient(135deg, var(--fg-green), var(--fg-ink));
  color: var(--fg-white);
}

.client-footer div {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 18px;
}

.client-footer img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.client-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.client-footer a {
  justify-self: end;
  font-weight: 800;
}

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

  .client-nav.is-open {
    position: absolute;
    top: calc(100% - 8px);
    right: 18px;
    display: grid;
    min-width: 240px;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(7, 59, 52, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(21, 33, 31, 0.16);
  }

  .client-nav.is-open a {
    padding: 14px 16px;
    border-radius: 8px;
  }

  .client-nav.is-open a:hover {
    background: #f0f6f2;
  }

  .client-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .client-book {
    justify-self: end;
  }

  .client-menu {
    display: none;
  }

  .client-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .property-line-art {
    max-width: 680px;
    margin: 0 auto;
  }

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

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

  .client-trust-bar {
    grid-template-columns: 1fr;
  }

  .client-trust-bar article {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 59, 52, 0.12);
  }

  .client-trust-bar article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  body {
    background: #f7faf7;
  }

  .client-page-shell {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  .client-header {
    grid-template-columns: auto 1fr auto;
    min-height: 84px;
    padding: 12px 16px;
  }

  .client-brand {
    grid-template-columns: 54px auto;
    min-width: 0;
  }

  .client-brand img {
    width: 54px;
    height: 54px;
  }

  .client-brand strong {
    font-size: 20px;
  }

  .client-brand small {
    font-size: 12px;
  }

  .client-book {
    display: none;
  }

  main {
    padding: 0 12px 18px;
  }

  .client-hero {
    gap: 12px;
    padding: 24px 8px 16px;
  }

  .client-hero-copy > p {
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .client-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.02;
  }

  .client-hero-copy > span {
    max-width: 36rem;
    font-size: 17px;
    line-height: 1.45;
  }

  .mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 20px;
  }

  .mobile-quick-actions a {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(7, 59, 52, 0.18);
    border-radius: 10px;
    background: #f5f9f6;
    color: var(--fg-ink);
    font-size: 15px;
    font-weight: 850;
    text-align: center;
    box-shadow: 0 12px 28px rgba(21, 33, 31, 0.06);
  }

  .mobile-quick-actions a:first-child {
    border-color: var(--fg-ink);
    background: linear-gradient(135deg, var(--fg-green), var(--fg-ink));
    color: var(--fg-white);
  }

  .hero-trust,
  .detail-grid,
  .client-actions,
  .client-footer {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 0;
  }

  .hero-trust div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    min-height: 88px;
    justify-items: center;
    padding: 12px 8px;
    border-right: 0;
    border: 1px solid rgba(7, 59, 52, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.78);
    text-align: center;
  }

  .hero-trust svg {
    width: 22px;
    height: 22px;
  }

  .hero-trust small {
    font-size: 12px;
    line-height: 1.25;
  }

  .property-line-art {
    display: none;
  }

  .client-intake-card {
    margin-top: 12px;
    padding: 20px 14px;
    border-radius: 12px;
    box-shadow: 0 14px 42px rgba(21, 33, 31, 0.09);
  }

  .form-step {
    margin-bottom: 24px;
  }

  .form-step h2 {
    font-size: 20px;
  }

  .form-step p {
    margin-bottom: 16px;
    font-size: 14px;
  }

  .service-choice-grid,
  .contact-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-choice-grid label {
    min-height: 116px;
    padding: 16px 8px 14px;
  }

  .choice-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }

  .choice-icon svg {
    width: 34px;
    height: 34px;
  }

  .service-choice-grid strong {
    font-size: 14px;
    line-height: 1.22;
  }

  .service-choice-grid small {
    font-size: 12px;
    line-height: 1.25;
  }

  .detail-grid {
    gap: 14px;
  }

  .detail-grid input {
    min-height: 50px;
  }

  .contact-choice-grid label {
    min-height: 52px;
    font-size: 14px;
  }

  .message-field textarea {
    min-height: 118px;
  }

  .client-actions {
    gap: 12px;
  }

  .client-consent {
    margin-bottom: 16px;
    padding: 14px;
    font-size: 12px;
  }

  .button-mail,
  .button-book {
    min-height: 58px;
    padding: 0 12px;
    font-size: 15px;
    text-align: center;
  }

  .privacy-note {
    align-items: flex-start;
    margin-top: 18px;
    font-size: 12px;
    line-height: 1.45;
  }

  .client-trust-bar {
    margin: 18px 0 20px;
  }

  .client-trust-bar article {
    min-height: auto;
    padding: 18px 16px;
  }

  .client-trust-bar svg {
    width: 32px;
    height: 32px;
  }

  .client-trust-bar strong {
    font-size: 15px;
  }

  .client-trust-bar p {
    font-size: 12px;
  }

  .client-footer {
    min-height: auto;
    padding: 18px 16px;
    justify-items: start;
  }

  .client-footer a {
    justify-self: start;
  }
}
