:root {
  --background: #f4f7f6;
  --surface: #ffffff;
  --surface-muted: #eef4f2;
  --text: #13251f;
  --text-soft: #5d6c67;
  --border: #dce6e2;
  --accent: #237c64;
  --accent-dark: #185b4a;
  --accent-soft: #dff2ec;
  --success: #17815f;
  --error: #b13a35;
  --shadow: 0 24px 70px rgba(29, 61, 51, 0.12);
  --radius-large: 28px;
  --radius-medium: 16px;
  --page-width: 1180px;
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 0 0, rgba(35, 124, 100, 0.1), transparent 34rem),
    radial-gradient(
      circle at 100% 100%,
      rgba(35, 124, 100, 0.07),
      transparent 30rem
    ),
    var(--background);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--text);
  border-radius: 10px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 32px, var(--page-width));
  margin-inline: auto;
  padding: max(22px, env(safe-area-inset-top)) 0
    calc(112px + env(safe-area-inset-bottom));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 46px;
}

.status-brand,
.support-state {
  display: inline-flex;
  align-items: center;
}

.status-brand {
  gap: 10px;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-brand__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  background: var(--text);
  border-radius: 50%;
}

.status-brand__mark span {
  width: 9px;
  height: 9px;
  background: #9be0ca;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(155, 224, 202, 0.14);
}

.support-state {
  gap: 7px;
  padding: 8px 11px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(220, 230, 226, 0.9);
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.support-state strong {
  color: var(--text);
  font-weight: 800;
}

.support-state__dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(23, 129, 95, 0.12);
}

.main-grid {
  display: grid;
  gap: 38px;
}

.maintenance-copy {
  align-self: center;
  max-width: 620px;
  padding: 8px 0;
}

.maintenance-icon {
  display: grid;
  width: 78px;
  height: 78px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--text);
  background: linear-gradient(145deg, #fff, #edf5f2);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 38px rgba(29, 61, 51, 0.1);
}

.maintenance-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.6;
}

.maintenance-icon .maintenance-icon__accent {
  stroke: var(--accent);
  stroke-width: 3.2;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.65rem, 13vw, 4.55rem);
  font-weight: 760;
}

h2 {
  font-size: clamp(2rem, 8vw, 2.7rem);
  font-weight: 740;
}

.intro-copy {
  display: grid;
  gap: 14px;
  max-width: 600px;
  margin-top: 24px;
  color: var(--text-soft);
  font-size: clamp(1rem, 4.3vw, 1.08rem);
}

.intro-copy p,
.availability-card p,
.contact-card__header > p:last-child,
.form-note,
.field-hint,
.form-status {
  margin: 0;
}

.domain-context {
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 15px;
  color: #245347;
  background: var(--accent-soft);
  border: 1px solid #c8e7dd;
  border-radius: 13px;
  font-size: 0.93rem;
}

.domain-context:not([hidden]) {
  display: flex;
}

.domain-context svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 2px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.domain-context strong {
  font-weight: 800;
}

.availability-card {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 430px;
  margin-top: 22px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
}

.availability-card__icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 12px;
}

.availability-card svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.availability-card strong {
  display: block;
  margin-bottom: 1px;
  font-size: 0.92rem;
}

.availability-card p {
  color: var(--text-soft);
  font-size: 0.86rem;
}

.contact-card {
  position: relative;
  padding: 26px 20px;
  background: var(--surface);
  border: 1px solid rgba(220, 230, 226, 0.95);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.contact-card::before {
  position: absolute;
  inset: 0 24px auto;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--accent), #74bfa8);
  border-radius: 0 0 4px 4px;
}

.contact-card__header {
  margin-bottom: 24px;
}

.contact-card__header > p:last-child {
  max-width: 44ch;
  margin-top: 12px;
  color: var(--text-soft);
}

form {
  display: grid;
  gap: 17px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: #223c34;
  font-size: 0.87rem;
  font-weight: 720;
}

.form-field input,
.form-field textarea {
  width: 100%;
  color: var(--text);
  background: #fbfcfc;
  border: 1px solid #cedbd6;
  border-radius: 12px;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.form-field input {
  min-height: 49px;
  padding: 10px 13px;
}

.form-field textarea {
  min-height: 130px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #acc1ba;
}

.form-field input:focus,
.form-field textarea:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(35, 124, 100, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  box-shadow: 0 0 0 4px rgba(177, 58, 53, 0.09);
}

.field-hint {
  color: var(--text-soft);
  font-size: 0.76rem;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.form-actions {
  display: grid;
  gap: 11px;
}

.submit-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 22px rgba(35, 124, 100, 0.2);
  cursor: pointer;
  font-weight: 780;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.submit-button:hover {
  background: var(--accent-dark);
  box-shadow: 0 13px 28px rgba(35, 124, 100, 0.26);
  transform: translateY(-1px);
}

.submit-button:focus-visible,
.live-chat-button:focus-visible {
  outline: 3px solid rgba(35, 124, 100, 0.26);
  outline-offset: 3px;
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.button-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.submit-button.is-loading .button-spinner {
  display: inline-block;
}

.form-note {
  color: var(--text-soft);
  font-size: 0.75rem;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  padding: 0 2px;
  font-size: 0.84rem;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  color: var(--text-soft);
  font-size: 0.78rem;
  text-align: center;
}

.live-chat-button {
  --avoid-shift: 0px;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom) + var(--avoid-shift));
  z-index: 30;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 10px;
  padding: 8px 13px 8px 10px;
  color: #fff;
  background: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(19, 37, 31, 0.25);
  cursor: pointer;
  transition:
    bottom 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.live-chat-button:hover {
  background: #1d3b32;
  box-shadow: 0 20px 48px rgba(19, 37, 31, 0.3);
  transform: translateY(-2px);
}

.live-chat-button__icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #0f3e31;
  background: #9be0ca;
  border-radius: 12px;
}

.live-chat-button__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.live-chat-button__copy {
  display: grid;
  min-width: 66px;
  text-align: left;
}

.live-chat-button__copy strong {
  font-size: 0.84rem;
  line-height: 1.2;
}

.live-chat-button__copy small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.66rem;
}

.live-chat-button__status {
  width: 7px;
  height: 7px;
  margin-left: 1px;
  background: #6ee7b7;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(110, 231, 183, 0.12);
}

.noscript-notice {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 60;
  padding: 12px 14px;
  color: #fff;
  background: #702b28;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .page-shell {
    width: min(100% - 64px, var(--page-width));
    padding-top: max(34px, env(safe-area-inset-top));
  }

  .site-header {
    margin-bottom: 64px;
  }

  .support-state {
    gap: 8px;
    padding: 9px 13px;
    font-size: 0.84rem;
  }

  .contact-card {
    padding: 36px;
  }

  .contact-card__header {
    margin-bottom: 28px;
  }

  .live-chat-button {
    right: max(24px, env(safe-area-inset-right));
    bottom: calc(24px + env(safe-area-inset-bottom) + var(--avoid-shift));
  }
}

@media (min-width: 980px) {
  .main-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    gap: clamp(54px, 7vw, 100px);
    align-items: center;
  }

  .maintenance-copy {
    padding: 24px 0;
  }

  .contact-card {
    padding: 40px;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: min(100% - 24px, var(--page-width));
  }

  .site-header {
    align-items: flex-start;
  }

  .status-brand {
    max-width: 150px;
    font-size: 0.72rem;
  }

  .support-state > span:not(.support-state__dot) {
    display: none;
  }

  .contact-card {
    padding: 25px 17px;
    border-radius: 23px;
  }

  .live-chat-button {
    min-width: 56px;
    min-height: 56px;
    justify-content: center;
    padding: 8px;
    border-radius: 17px;
  }

  .live-chat-button__copy,
  .live-chat-button__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .live-chat-button__icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
