:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f7f9fb;
  --surface-strong: #eef4f7;
  --text: #111827;
  --muted: #5d6675;
  --line: #dfe7ec;
  --blue: #0076ff;
  --green: #00b987;
  --radius: 24px;
  --shadow: 0 20px 60px rgba(24, 39, 75, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--blue);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 20;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  padding: 10px 16px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 231, 236, 0.8);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 156px;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.site-nav a[aria-current="page"],
.language-switcher a[aria-current="true"] {
  color: var(--text);
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
  font-size: 0.86rem;
}

.language-switcher a {
  border-radius: 999px;
  padding: 5px 9px;
}

.language-switcher a[aria-current="true"] {
  background: var(--surface-strong);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--text);
}

.hero,
.page-hero,
.section,
.site-footer {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: center;
  padding: 84px 0 72px;
}

.hero-copy {
  max-width: min(1040px, 100%);
}

.hero-logo {
  width: min(620px, 70vw);
  aspect-ratio: 3000 / 820;
  margin: 14px 0 24px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
  word-break: normal;
  line-break: strict;
}

h1 {
  max-width: min(1080px, 100%);
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
  font-weight: 780;
  text-wrap: balance;
}

.page-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.2;
}

.lead {
  max-width: min(920px, 100%);
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  line-height: 1.5;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.hero .lead {
  max-width: min(1040px, 100%);
}

.page-hero .lead {
  max-width: min(1040px, 100%);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 750;
}

.button.primary {
  background: linear-gradient(110deg, var(--blue), var(--green));
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 118, 255, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: #fff;
}

.page-hero {
  padding: 92px 0 44px;
}

.section {
  padding: 58px 0;
}

.section.narrow {
  max-width: 980px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading p,
.section-note,
.text-block p,
.empty-state p,
.contact-item p,
.card p,
.work-card p,
.business-info p {
  color: var(--muted);
  text-wrap: pretty;
}

.section-heading p {
  margin: 0;
  font-size: 1.08rem;
}

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

.card,
.empty-state,
.contact-item,
.contact-form,
.business-info {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--surface));
  box-shadow: var(--shadow);
}

.card {
  min-height: 230px;
  padding: 28px;
}

.card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.work-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
}

.status {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(0, 185, 135, 0.11);
  color: #08775a;
  padding: 6px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-note {
  margin: 24px 0 0;
}

.text-block {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.text-block:first-child {
  border-top: 0;
  padding-top: 0;
}

.text-block p {
  margin: 16px 0 0;
  white-space: pre-wrap;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.empty-state {
  padding: 34px;
}

.empty-state p {
  margin: 12px 0 0;
}

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-form {
  padding: 34px;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 750;
}

.form-field.full {
  grid-column: 1 / -1;
}

.character-count {
  justify-self: end;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 500;
  line-height: 1.5;
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 118, 255, 0.12);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #d92d20;
}

.turnstile-box {
  min-height: 78px;
  margin-top: 20px;
}

.form-config-error {
  margin: 0;
  color: #b42318;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.form-actions p,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.5em;
  margin-top: 14px;
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #08775a;
}

.business-info {
  margin-top: 22px;
  padding: 28px;
  background: #fff;
}

.business-info h2 {
  font-size: 1.4rem;
}

.business-info dl {
  display: grid;
  gap: 18px;
  margin: 18px 0 0;
}

.business-info div {
  display: grid;
  gap: 5px;
}

.business-info dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.business-info dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

.business-info p {
  margin: 0;
}

.contact-item {
  padding: 26px;
}

.contact-item h2 {
  font-size: 1.08rem;
}

.contact-item a,
.contact-item p {
  display: inline-block;
  margin: 10px 0 0;
  font-size: 1.08rem;
}

.contact-item a {
  color: var(--blue);
  font-weight: 750;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 56px;
  padding: 36px 0 44px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-logo {
  width: 132px;
}

.footer-inner p {
  margin: 12px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 650;
}

.copyright {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .header-inner,
  .hero,
  .page-hero,
  .section,
  .site-footer {
    width: min(100% - 28px, 1120px);
  }

  .brand {
    width: 138px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    padding: 10px;
    box-shadow: var(--shadow);
  }

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

  .site-nav > a,
  .language-switcher {
    padding: 12px 10px;
  }

  .language-switcher {
    justify-content: flex-start;
    margin: 6px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    min-height: auto;
    padding: 74px 0 54px;
  }

  .hero-logo {
    width: min(440px, 78vw);
    margin: 14px 0 20px;
  }

  .page-hero {
    padding: 70px 0 34px;
  }

  .section {
    padding: 44px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .card,
  .work-card {
    min-height: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .page-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .button {
    width: 100%;
  }

  .card,
  .empty-state,
  .contact-item,
  .contact-form,
  .business-info {
    border-radius: 20px;
    padding: 22px;
  }

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

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
