:root {
  --body-font: "Open Sans", Arial, sans-serif;
  --heading-font: Montserrat, Arial, sans-serif;
  --page: #f9f9f9;
  --white: #fff;
  --text: #626262;
  --heading: #2d2d2d;
  --accent: #2b7bc0;
  --accent-dark: #22669f;
  --footer: #2e333d;
  --footer-text: #c3c7cf;
  --line: #e0e0e0;
  --field: #d0d0d0;
}

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

html { background: var(--footer); }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 15px/1.7 var(--body-font);
}

a { color: var(--accent); }

h1, h2, h3 { font-family: var(--heading-font); color: var(--heading); }

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--white);
  color: var(--heading);
}
.skip-link:focus { top: 8px; }

.site-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 30px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 85px;
}
.brand { min-width: 0; }
.brand img { display: block; width: 235px; max-width: 100%; height: auto; }
.main-nav { display: flex; gap: 42px; }
.main-nav a {
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  color: var(--heading);
  font: 600 12px/1.5 var(--heading-font);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Buttons */
.button {
  display: inline-block;
  padding: 11px 25px;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font: 600 13px/1.4 var(--body-font);
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--accent-dark); }
.button:disabled { opacity: .6; cursor: default; }

/* Home */
.hero { padding: 96px 0; background: var(--footer); color: var(--footer-text); }
.hero h1 { max-width: 760px; margin: 0 0 16px; color: var(--white); font-size: 44px; font-weight: 600; line-height: 1.2; }
.hero p { max-width: 720px; margin: 0 0 30px; font-size: 18px; }

.services { padding: 72px 0; background: var(--white); }
.services h2, .call-to-action h2 { margin: 0 0 16px; font-size: 26px; font-weight: 600; line-height: 1.3; }
.services h2 { margin-bottom: 36px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.service svg { display: block; width: 36px; height: 36px; margin-bottom: 16px; fill: var(--accent); }
.service h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.service p { margin: 0; }

.call-to-action { padding: 72px 0; }
.call-to-action p { max-width: 620px; margin: 0 0 26px; }

/* Content pages */
.content-area { flex: 1; padding: 60px 0 72px; }
.page-title { margin: 0 0 24px; font-size: 26px; font-weight: 600; line-height: 1.3; }

/* Contact form */
.contact-form label { display: block; margin-bottom: 18px; color: var(--heading); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px solid var(--field);
  background: var(--white);
  color: var(--heading);
  font: inherit;
}
.contact-form .wide textarea { max-width: none; }
.contact-form .hp { position: absolute; left: -9999px; }
.cf-turnstile { min-height: 65px; margin-bottom: 18px; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { padding: 10px 12px; }
.form-status.ok { background: #e8f5e9; color: #1b5e20; }
.form-status.err { background: #fdecea; color: #8c1d18; }

/* Footer */
.site-footer { margin-top: auto; padding: 24px 0; background: var(--footer); color: var(--footer-text); font-size: 13px; text-align: center; }
.site-footer p { margin: 0; }

@media (max-width: 760px) {
  .site-container { padding: 0 20px; }
  .brand img { width: 170px; }
  .main-nav { gap: 20px; }
  .hero { padding: 64px 0; }
  .hero h1 { font-size: 32px; }
  .hero p { font-size: 16px; }
  .services, .call-to-action { padding: 52px 0; }
  .service-grid { grid-template-columns: 1fr; gap: 36px; }
  /* 16px stops iOS zooming into the field on focus. */
  .contact-form input, .contact-form textarea { max-width: none; font-size: 16px; }
}
