:root {
  --ink: #10252f;
  --ink-soft: #4c5d64;
  --petrol: #103e3a;
  --petrol-deep: #082b2d;
  --gold: #d39a2c;
  --paper: #f7f9f7;
  --white: #ffffff;
  --line: #d9e1dd;
  --error: #8a2338;
  --success: #397359;
  --max: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Aptos, Inter, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--petrol-deep);
  transform: translateY(-160%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(100% - 48px, var(--max));
  min-height: 92px;
  margin: 0 auto;
}

.brand img {
  width: 172px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.header-contact a { text-decoration: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  color: var(--white);
  background: var(--petrol);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover { background: var(--petrol-deep); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button svg, .direct-contact svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-small { min-height: 46px; padding: 9px 16px; }

.hero {
  display: grid;
  align-content: space-between;
  min-height: min(710px, calc(100vh - 92px));
  color: var(--white);
  background: var(--petrol-deep);
}

.hero-inner {
  width: min(100% - 48px, var(--max));
  margin: auto;
  padding: 104px 0 72px;
}

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 34px;
  color: #d8e6df;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

h1, h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 980px;
  font-size: clamp(48px, 6.2vw, 88px);
}

.hero-copy {
  max-width: 780px;
  margin: 32px 0 0;
  color: #d6e2de;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button-light { color: var(--petrol-deep); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--petrol); border-color: #70918a; }
.text-link { color: var(--white); text-underline-offset: 5px; }

.hero-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.2);
}

.hero-footer span {
  padding: 25px 28px;
  border-right: 1px solid rgba(255,255,255,.2);
  color: #d8e6df;
  font-size: 15px;
  font-weight: 700;
}

.hero-footer span:first-child { padding-left: 0; }
.hero-footer span:last-child { border-right: 0; }

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
  gap: clamp(56px, 8vw, 120px);
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: 112px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--success);
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

h2 { font-size: clamp(36px, 4vw, 58px); }

.contact-intro > p:not(.eyebrow) {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.contact-person {
  display: flex;
  align-items: center;
  margin-top: 38px;
  padding-left: 18px;
  border-left: 3px solid var(--gold);
}

.contact-person strong, .contact-person span { display: block; }
.contact-person strong { font-size: 19px; }
.contact-person span { color: var(--ink-soft); font-size: 14px; }

.direct-contact {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.direct-contact a {
  display: flex;
  align-items: center;
  gap: 15px;
  width: fit-content;
  font-weight: 750;
  text-decoration: none;
}

.direct-contact svg { color: var(--success); }
.direct-contact small { display: block; color: var(--ink-soft); font-size: 12px; font-weight: 650; }

.contact-form {
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-heading span { font-size: 22px; font-weight: 850; }
.form-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; }

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

label {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 750;
}

input, textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #b9c6c1;
  border-radius: 4px;
  color: var(--ink);
  background: var(--white);
}

input { min-height: 48px; padding: 9px 12px; }
textarea { min-height: 140px; padding: 12px; resize: vertical; }

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--ink-soft);
  font-weight: 500;
}

.privacy-check input { flex: 0 0 auto; width: 18px; min-height: 18px; margin-top: 3px; }
.privacy-check a { text-underline-offset: 3px; }
.button-submit { width: 100%; margin-top: 8px; }
.honeypot { position: absolute; left: -9999px; }

.form-status {
  display: none;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--error);
  color: var(--error);
  background: #f7ecef;
}

.form-status.visible { display: block; }

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  padding: 48px max(24px, calc((100vw - var(--max)) / 2));
  color: #d9e5e1;
  background: #061f26;
  font-size: 14px;
}

footer img {
  width: 135px;
  height: 58px;
  padding: 5px;
  background: var(--white);
  object-fit: contain;
}

footer p { margin: 16px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--white); }

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  padding: 22px max(24px, calc((100vw - 920px) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-header img { width: 150px; height: 56px; object-fit: contain; object-position: left; }
.legal-content { width: min(100% - 40px, 920px); margin: 0 auto; padding: 70px 0 100px; }
.legal-content h1 { font-size: clamp(40px, 7vw, 64px); }
.legal-content h2 { margin-top: 45px; font-size: 25px; }
.legal-content h3 { margin-top: 28px; font-size: 19px; }
.legal-content p, .legal-content li { color: var(--ink-soft); }
.legal-back { display: inline-block; margin-bottom: 32px; color: var(--success); font-weight: 750; }

@media (max-width: 900px) {
  .header-contact > a:first-child { display: none; }
  .hero { min-height: calc(100svh - 132px); }
  .hero-inner { padding: 75px 0 55px; }
  .hero-footer { grid-template-columns: 1fr; }
  .hero-footer span { padding: 13px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-footer span:last-child { border-bottom: 0; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { width: calc(100% - 32px); min-height: 82px; }
  .brand img { width: 130px; height: 52px; }
  .button-small { width: 46px; min-height: 46px; padding: 10px; font-size: 0; }
  .button-small svg { width: 22px; height: 22px; }
  .hero-inner, .hero-footer, .contact-section { width: calc(100% - 36px); }
  .hero-inner { padding: 48px 0 34px; }
  .hero-footer span { padding: 10px 0; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-copy { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-section { gap: 56px; padding: 78px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .contact-form { padding: 26px 20px; }
  footer { align-items: flex-start; flex-direction: column; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
