:root {
  --ink: #111827;
  --muted: #5b6472;
  --line: #d9e0e7;
  --paper: #f7f8f7;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #134e4a;
  --gold: #c18a3d;
  --charcoal: #0c1118;
  --shadow: 0 20px 50px rgba(17, 24, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(12, 17, 24, 0.82), rgba(12, 17, 24, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand-mark {
  display: grid;
  width: 5vw;
  height: 5vw;
  max-width: 100px;
  max-height: 100px;
  place-items: center;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a:hover {
  color: var(--white);
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  min-width: 86px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.language-button {
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.language-button.is-active {
  color: var(--charcoal);
  background: var(--white);
}

.language-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: var(--white);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 18, 0.92) 0%, rgba(8, 12, 18, 0.78) 38%, rgba(8, 12, 18, 0.18) 72%),
    linear-gradient(0deg, rgba(8, 12, 18, 0.72) 0%, rgba(8, 12, 18, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 92vh;
  max-width: 820px;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(20px, 5vw, 72px) 72px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 6vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  line-height: 1.2;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}
.button.secondary.dark:hover {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.hero-facts {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 52px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}

.hero-facts div {
  padding: 18px;
  background: rgba(12, 17, 24, 0.52);
}

.hero-facts dt {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.section {
  padding: 86px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
}

.section h2,
.contact h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 96px);
  background: var(--white);
}

.intro-text {
  color: var(--muted);
  font-size: 1.06rem;
}

.portrait-section {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(220px, 300px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--paper);
}

.portrait-media {
  position: relative;
  grid-column: 2;
  order: 2;
  margin: 0;
  width: min(100%, 300px);
  justify-self: center;
}

.portrait-media::before {
  position: absolute;
  inset: 14px -14px -14px 14px;
  z-index: 0;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  content: "";
}

.portrait-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.16);
}

.portrait-copy {
  grid-column: 1;
  order: 1;
  max-width: 680px;
}

.portrait-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.local-note {
  padding-left: 16px;
  border-left: 3px solid var(--teal);
  color: var(--teal-dark) !important;
  font-weight: 800;
}

.portrait-cta {
  margin-top: 12px;
}

.services {
  background: #eef3f2;
}

.intent-section {
  background: var(--white);
}

.intent-section .section-heading p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.intent-card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.intent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.36);
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.09);
}

.intent-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.intent-card strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.intent-card small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3,
.value-list h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.service-card p,
.value-list p,
.proof p,
.contact p {
  color: var(--muted);
}

.values {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 1fr);
  gap: clamp(36px, 7vw, 98px);
  background: var(--paper);
}

.value-list {
  display: grid;
  gap: 18px;
}

.value-list article {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.value-list article:last-child {
  border-bottom: 0;
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: clamp(32px, 6vw, 88px);
  color: var(--white);
  background: var(--charcoal);
}

.proof p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 0.78fr);
  gap: 30px;
  align-items: start;
  margin: clamp(20px, 5vw, 72px);
  padding: clamp(28px, 5vw, 58px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact p {
  max-width: 720px;
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfc;
}

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

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

.field label {
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.field small {
  color: var(--muted);
  font-size: 0.82rem;
}

.trap-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.captcha-question {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--teal-dark);
  background: #e4f3f1;
  font-weight: 800;
}

.captcha-refresh {
  min-width: 150px;
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 700;
}

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

.form-status[data-status="error"] {
  color: #a83232;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px) 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--teal-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .intro,
  .portrait-section,
  .values,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .portrait-media {
    grid-column: auto;
    width: min(100%, 300px);
    justify-self: start;
  }

  .portrait-copy {
    grid-column: auto;
  }

  .contact-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 20px;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    gap: 0;
  }

  .nav {
    display: none;
  }

  .language-switcher {
    min-width: 74px;
  }

  .language-button {
    min-height: 32px;
    font-size: 0.72rem;
  }

  .hero,
  .hero-content {
    min-height: 760px;
  }

  .hero-content {
    justify-content: flex-end;
    padding: 112px 20px 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 12, 18, 0.42) 0%, rgba(8, 12, 18, 0.9) 48%, rgba(8, 12, 18, 0.96) 100%),
      linear-gradient(90deg, rgba(8, 12, 18, 0.76), rgba(8, 12, 18, 0.18));
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .section {
    padding: 62px 20px;
  }

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

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

  .portrait-media::before {
    inset: 10px -10px -10px 10px;
  }

  .service-card {
    min-height: auto;
  }

  .contact {
    margin: 20px;
  }

  .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }
}
