:root {
  --font: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  --page: #fcfcfc;
  --dark: #343538;
  --footer: #2f3033;
  --footer-text: #b9b9b9;
  --nav-text: #e2e2e2;
  --title: #5e5e5e;
  --heading: #3b3b3b;
  --text: #5e5e5e;
  --label: #666;
  --link: #248cc8;
  --border: #ccc;
}

*, *::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: 13px/1.6 var(--font);
}

a { color: var(--link); }
img { max-width: 100%; height: auto; }

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

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

/* Header */
.site-header { background: var(--page); }
.site-header .site-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 20px; color: var(--title); text-decoration: none; }
.brand img { flex: none; width: 75px; height: 75px; }
.site-title { margin: 0; font-size: 36px; font-weight: 400; line-height: 1.2; color: var(--title); }
.phone { color: #4b4b4b; font-style: italic; text-decoration: none; white-space: nowrap; }
.phone:hover { text-decoration: underline; }

/* Navigation */
.main-nav { background: var(--dark); }
.main-nav .site-container { display: flex; }
.main-nav a {
  padding: 20px 35px;
  color: var(--nav-text);
  font-weight: 700;
  line-height: 13px;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--footer); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; }

/* Hero slider */
.hero { position: relative; background: var(--dark); }
.slides { display: grid; aspect-ratio: 16 / 5; overflow: hidden; }
.slide {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .6s ease;
}
.slide.is-active { opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  background: none;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: .8;
}
.slider-arrow:hover, .slider-arrow:focus-visible { opacity: 1; }
.slider-arrow svg { display: block; width: 100%; height: 100%; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }
.slider-dots { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 8px; }
.slider-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  cursor: pointer;
}
.slider-dot[aria-current="true"], .slider-dot:hover, .slider-dot:focus-visible { background: #fff; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding-top: 35px;
  padding-bottom: 40px;
  text-align: center;
}
.circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 65px;
  margin: 0 auto 13px;
  border-radius: 50%;
  background: var(--dark);
}
.circle-icon svg { width: 24px; height: 24px; fill: #fff; }
.service h2 { margin: 0 0 13px; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--heading); }
.service p { margin: 0; }

/* Content pages */
.content-area { flex: 1; padding: 35px 0 48px; }
.page-title { margin: 0 0 20px; font-size: 20px; font-weight: 500; line-height: 27px; color: var(--heading); }

/* Contact form */
.contact-form label { display: block; margin-bottom: 14px; color: var(--label); }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  max-width: 334px;
  margin-top: 2px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: #fff;
  color: var(--label);
  font: inherit;
}
.contact-form .wide textarea { max-width: none; }
.contact-form .hp { position: absolute; left: -9999px; }
.cf-turnstile { min-height: 65px; margin-bottom: 14px; }
.button {
  padding: 12px 20px;
  border: 1px solid #bebebe;
  border-radius: 3px;
  background: linear-gradient(#fff, #dfdfdf);
  color: #646464;
  font: 700 12px/12px var(--font);
  cursor: pointer;
}
.button:hover { background: linear-gradient(#fff, #d2d2d2); }
.button:disabled { opacity: .6; cursor: default; }
.form-status { margin-top: 14px; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err { padding: 10px 12px; border-radius: 3px; }
.form-status.ok { background: #e8f5e9; color: #1b5e20; }
.form-status.err { background: #fdecea; color: #8c1d18; }

/* Footer */
.site-footer { margin-top: auto; padding: 30px 0 45px; background: var(--footer); color: var(--footer-text); }
.footer-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.site-footer p { margin: 0 0 20px; }
.footer-columns > :last-child, .footer-center { margin-bottom: 0; }
.footer-center { text-align: center; }
.footer-right { text-align: right; }

@media (max-width: 1140px) {
  .site-container { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 680px) {
  .site-header .site-container { flex-direction: column; gap: 8px; }
  .brand { gap: 12px; }
  .site-title { font-size: 30px; }
  .main-nav .site-container { padding-left: 10px; padding-right: 10px; }
  .main-nav a { padding: 18px 20px; }
  .slider-arrow { display: none; }
  .services { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
  /* 16px stops iOS zooming into the field on focus. */
  .contact-form input, .contact-form textarea { max-width: none; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
}
