:root {
  --ink: #0b1b2b;
  --ink-soft: #526879;
  --paper: #f6faf9;
  --white: #ffffff;
  --accent: #12b5a2;
  --accent-dark: #0c8f80;
  --accent-soft: #dff6f2;
  --line: #dae7e5;
  --danger: #c2414b;
  --success: #0c8f80;
  --shadow: 0 22px 55px rgba(11, 27, 43, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.025em;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(18, 181, 162, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px max(20px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(218, 231, 229, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.brand-name span {
  color: var(--accent-dark);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--accent);
  color: #04231f;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #28c8b5;
  box-shadow: 0 10px 24px rgba(18, 181, 162, 0.28);
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.button-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.button-full {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 104px;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 22%, rgba(18, 181, 162, 0.24), transparent 34%),
    radial-gradient(circle at 10% 85%, rgba(46, 101, 141, 0.5), transparent 40%),
    linear-gradient(135deg, #0b1b2b 0%, #0e2940 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -220px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5.4vw, 4.45rem);
  font-weight: 850;
}

.lead {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(18, 181, 162, 0.2);
  color: var(--accent);
  font-size: 0.7rem;
}

.hero-visual {
  position: relative;
  min-height: 430px;
}

.visual-glow {
  position: absolute;
  inset: 12% 5% 5% 12%;
  border-radius: 50%;
  background: rgba(18, 181, 162, 0.16);
  filter: blur(45px);
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(8px);
}

.visual-card-main {
  top: 18px;
  right: 0;
  left: 32px;
  padding: 18px;
  border-radius: 26px;
  transform: rotate(-2deg);
}

.visual-card-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.visual-badge {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
}

.visual-badge-clean {
  background: var(--accent);
  color: #04231f;
}

.visual-surface {
  height: 230px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, 0.16) 59px 61px),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(255, 255, 255, 0.12) 55px 57px),
    linear-gradient(135deg, #72818b, #455966 58%, #8b989f);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.2);
}

.visual-spray {
  position: absolute;
  right: 46px;
  bottom: 88px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 45%, transparent 70%);
  filter: blur(4px);
}

.visual-caption {
  margin: 14px 0 2px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 650;
}

.visual-card-float {
  right: -10px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  transform: rotate(2deg);
}

.float-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.section-heading > p {
  margin-bottom: 6px;
  color: var(--ink-soft);
}

.services {
  background: var(--white);
}

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

.service-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--accent-dark);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.process {
  background:
    linear-gradient(180deg, var(--paper), #edf6f4);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 30px 26px;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(11, 27, 43, 0.06);
}

.step-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--accent);
  font-weight: 800;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.steps p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.quote {
  background: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.quote-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
}

.quote-intro > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.contact-card {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.contact-card h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.contact-card a {
  display: block;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-card p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.quote-form {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.field label,
.field legend {
  font-size: 0.9rem;
  font-weight: 700;
}

.field label span {
  color: var(--ink-soft);
  font-weight: 500;
}

.field input:not([type="checkbox"]),
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8ba0ac;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(18, 181, 162, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-hint {
  margin: -12px 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.field-error {
  margin: 0;
  color: var(--danger);
  font-size: 0.82rem;
}

.field-error:empty {
  display: none;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.88rem;
  cursor: pointer;
}

.checkbox-grid label:hover {
  border-color: var(--accent);
  background: var(--paper);
}

.checkbox-grid input {
  width: 17px;
  height: 17px;
  accent-color: var(--accent-dark);
}

.form-status {
  margin: -6px 0 0;
  font-size: 0.9rem;
  font-weight: 650;
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.form-status[data-state="success"] {
  color: var(--success);
}

.copy-button {
  justify-self: start;
  margin-top: -10px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.copy-button:hover {
  border-color: var(--accent);
}

.form-note {
  margin: -8px 0 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

button[hidden] {
  display: none !important;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-footer .brand-name {
  color: #ffffff;
}

.site-footer .brand-name span {
  color: var(--accent);
}

.site-footer p {
  margin: 0;
  font-size: 0.86rem;
}

.site-footer a {
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .hero-grid,
  .quote-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

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

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0 6px;
    margin: 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 9px 0;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding: 70px 0 80px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .service-grid,
  .form-row-two,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .visual-card-main {
    right: -8px;
    left: 8px;
  }

  .visual-card-float {
    right: 0;
    bottom: 8px;
    font-size: 0.78rem;
  }
}

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

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