@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --red: #C8102E;
  --red-dark: #8C0C22;
  --black: #17181A;
  --white: #FFFFFF;
  --gray-line: #E4E1DC;
  --gray-panel: #F6F5F2;
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

h1, h2, h3, .logo {
  font-family: 'Barlow Semi Condensed', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
}

a { color: inherit; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 14px rgba(23, 24, 26, 0.06);
  position: relative;
  z-index: 10;
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-size: 28px;
  letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.logo span { color: var(--red); }

.main-nav {
  display: flex;
  gap: 36px;
}

.nav-link {
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--black);
  padding-bottom: 6px;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--red-dark);
}

.nav-link.active::after {
  background: var(--red-dark);
  transform: scaleX(1);
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 32px 64px;
}

.hero-text {
  flex: 1 1 460px;
}

.hero-eyebrow {
  color: var(--red-dark);
  font-weight: 600;
  font-size: 15px;
  margin: 0 0 14px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 58px);
  max-width: 14ch;
}

.hero-desc {
  max-width: 46ch;
  margin: 22px 0 32px;
  color: #3A3B3D;
  font-size: 17px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--black);
  border-radius: 0;
}

.btn-primary {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline {
  background: transparent;
  color: var(--black);
}

.btn-outline:hover,
.btn-outline:focus-visible { border-color: var(--red); color: var(--red-dark); }

.hero-graphic {
  width: 380px;
  height: 380px;
  margin: 0 auto;
  border-radius: 50%;
  border: 2px solid var(--black);
  background-color: var(--white);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-graphic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

/* ---------- Value strip ---------- */
.value-strip {
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
}

.value-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  border-top: 3px solid var(--red);
  padding-top: 18px;
}

.value-item h3 { font-size: 19px; margin-bottom: 8px; }
.value-item p { margin: 0; color: #4A4B4D; font-size: 15px; }

/* ---------- Services preview / list ---------- */
.section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 72px 32px;
}

.section-head {
  max-width: 60ch;
  margin-bottom: 40px;
}

.section-head h2 { font-size: clamp(28px, 3.4vw, 36px); }
.section-head p { color: #4A4B4D; margin-top: 14px; }

.service-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-line);
  position: relative;
}

.service-row:last-child { border-bottom: 1px solid var(--gray-line); }

.service-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  background: var(--red);
}

.service-row h2 {
  font-size: 22px;
  padding-left: 20px;
}

.service-row p {
  margin: 0;
  color: #3A3B3D;
  max-width: 62ch;
}

.equip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.equip-list li {
  position: relative;
  padding-left: 26px;
  font-size: 18px;
  color: var(--black);
  max-width: 68ch;
}

.equip-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  background: var(--red);
  transform: rotate(45deg);
}

/* ---------- Contact strip on homepage ---------- */
.contact-strip {
  background: var(--black);
  color: var(--white);
}

.contact-strip-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-strip h2 { font-size: 26px; }
.contact-strip .btn-primary { border-color: var(--red); }

/* ---------- Contact page ---------- */
.page-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 32px 0;
}

.page-header h1 { font-size: clamp(34px, 4.4vw, 46px); }
.page-header p { color: #4A4B4D; margin-top: 14px; max-width: 55ch; }

.contact-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 32px 88px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-size: 14px;
  font-weight: 600;
  color: var(--red-dark);
  margin-top: 26px;
}

.contact-info dt:first-child { margin-top: 0; }

.contact-info dd {
  margin: 4px 0 0;
  font-size: 19px;
  font-weight: 500;
}

.contact-graphic {
  border: 2px solid var(--black);
  background-color: var(--gray-panel);
  position: relative;
  height: 340px;
  overflow: hidden;
}

.contact-graphic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 3px solid var(--red);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 36px 32px;
}

.footer-name {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.footer-detail {
  margin: 4px 0 0;
  color: #6A6B6D;
  font-size: 14px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { padding-top: 48px; justify-content: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-graphic { width: 280px; height: 280px; }
  .value-grid { grid-template-columns: 1fr; gap: 28px; }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-row h2 { padding-left: 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}
