:root {
  --ink: #1d2126;
  --steel: #2b3138;
  --steel-2: #3a424b;
  --muted: #5d6670;
  --line: #e2e5e8;
  --paper: #ffffff;
  --paper-2: #f4f5f6;
  --accent: #e0661b;
  --accent-dark: #b9520f;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 16px;
}
.logo img { height: 60px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 4px; padding: 8px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 10px 16px; text-decoration: none; color: var(--ink);
  font-family: "Oswald", Arial, sans-serif; text-transform: uppercase; letter-spacing: .04em;
  font-size: 15px; border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 16px; }
  .main-nav a { border-bottom: 1px solid var(--line); }
  .logo img { height: 48px; }
}

/* Carousel */
.carousel { position: relative; overflow: hidden; background: var(--steel); }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.slide.active { opacity: 1; position: relative; }
.slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,23,27,.75), rgba(20,23,27,.25)); }
.slide-inner {
  position: relative; min-height: 520px; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; color: #fff;
}
.slide h2 { font-size: clamp(30px, 5vw, 54px); text-transform: uppercase; max-width: 680px; }
.carousel-dots { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.carousel-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.carousel-dots button.active { background: #fff; }
@media (max-width: 760px) { .slide-inner { min-height: 360px; } }

/* Buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 12px 28px; border-radius: 3px; font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .05em; font-size: 15px; border: 0; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #fff; }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--steel); color: #fff; }
.section-title { text-align: center; font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; margin-bottom: 1em; }
.section-title::after { content: ""; display: block; width: 60px; height: 3px; background: var(--accent); margin: 16px auto 0; }
.intro h1 { font-size: clamp(22px, 3vw, 30px); text-align: center; max-width: 900px; margin: 0 auto 24px; }
.intro p { max-width: 900px; margin: 0 auto; text-align: center; color: var(--muted); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
.feature { display: flex; gap: 16px; }
.feature-icon {
  flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 19px; text-transform: uppercase; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--paper); border-top: 3px solid var(--accent); padding: 28px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.testimonial p { margin: 0 0 16px; font-style: italic; color: var(--steel-2); }
.testimonial h4 { margin: 0; font-size: 15px; text-transform: uppercase; letter-spacing: .03em; color: var(--accent); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }

/* Contact strip */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.info-grid h6 { font-family: "Open Sans", Arial, sans-serif; font-weight: 400; font-size: 14px; color: #b9c0c7; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.info-grid h4 { font-size: 20px; margin: 0; word-break: break-word; }
.info-grid a { color: #fff; text-decoration: none; }
.info-grid a:hover { color: var(--accent); }
@media (max-width: 700px) { .info-grid { grid-template-columns: 1fr; } }

.cta { text-align: center; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; }
.cta p { max-width: 700px; margin: 0 auto 24px; color: var(--muted); }

/* Page banner */
.page-banner { background: var(--steel); color: #fff; padding: 48px 0; }
.page-banner h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; margin-bottom: 8px; }
.crumbs { font-size: 14px; color: #b9c0c7; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

.prose { max-width: 880px; margin: 0 auto; }
.prose p { margin: 0 0 1.2em; color: var(--steel-2); }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.member { text-align: center; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin-bottom: 16px; background: var(--line); }
.member h5 { font-family: "Open Sans", Arial, sans-serif; font-size: 14px; font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; }
.member h3 { font-size: 22px; margin: 0; }
@media (max-width: 700px) { .team { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; } }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; }
.contact-grid h2 { font-size: 26px; text-transform: uppercase; }
.contact-grid h2 strong { color: var(--accent); }
form label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
form input, form textarea {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 3px;
  font: inherit; margin-bottom: 18px; background: var(--paper);
}
form input:focus, form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
form textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.contact-info { background: var(--paper-2); padding: 28px; }
.contact-info h6 { font-family: "Open Sans", Arial, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 0 0 4px; font-weight: 600; }
.contact-info p { margin: 0 0 20px; }
.map { margin-top: 48px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #171a1e; color: #b9c0c7; padding: 28px 0; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.site-footer a { color: #fff; text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--accent); }
