:root {
  --red-bright: #b3141c;
  --red-deep: #7a0e13;
  --black: #1a1a1a;
  --grey-dark: #4a4a4a;
  --grey-mid: #8a8a8a;
  --grey-light: #f3f2f0;
  --white: #ffffff;

  --font-body: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  --font-head: 'Merriweather', Georgia, serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid #e7e5e2;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--black);
}

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

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--grey-dark);
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--red-bright); }

.header-ctas {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  display: inline-block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 3px;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-ghost {
  border-color: var(--black);
  color: var(--black);
}

.btn-ghost:hover {
  border-color: var(--red-bright);
  color: var(--red-bright);
}

/* ---------- Hero ---------- */

.hero {
  background: var(--black);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, var(--red-deep) 0%, transparent 70%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red-bright);
  margin-bottom: 18px;
}

.eyebrow.light { color: #ffb3b6; }
.eyebrow.center { text-align: center; }

.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.08rem;
  color: #d6d4d1;
  max-width: 560px;
  margin-bottom: 36px;
}

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

.hero .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}

.hero .btn-ghost:hover {
  border-color: var(--red-bright);
  color: var(--red-bright);
}

/* ---------- Section titles ---------- */

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.section-title.center { text-align: center; }
.section-title.light { color: var(--white); }

/* ---------- Services / Lines of Business ---------- */

.lines-section {
  background: var(--white);
  padding-top: 100px;
}

.lines-head {
  text-align: center;
}

.lines-logo {
  display: block;
  width: 0%;
  max-width: 460px;
  margin: 0 auto 0;
  opacity: 0;
  will-change: width, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .lines-logo {
    width: 100%;
    margin-bottom: 28px;
    opacity: 1;
  }
}

.lines-row {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.line-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  padding: 24px;
  text-align: left;
  color: var(--white);
  font: inherit;
  cursor: pointer;
  overflow: hidden;
}

.line-panel:last-child { border-bottom: none; }

.line-panel:nth-child(1) { background: var(--black); }
.line-panel:nth-child(2) { background: var(--red-deep); }
.line-panel:nth-child(3) { background: var(--grey-dark); }
.line-panel:nth-child(4) { background: var(--red-bright); }

.line-head-row {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: margin-bottom 0.3s ease;
}

.line-panel.is-active .line-head-row {
  margin-bottom: 14px;
}

.line-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.line-toggle::before,
.line-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.line-toggle::before {
  width: 14px;
  height: 2px;
}

.line-toggle::after {
  width: 2px;
  height: 14px;
  transition: transform 0.3s ease;
}

.line-panel.is-active .line-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.line-title {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  transition: font-size 0.3s ease;
}

.line-panel.is-active .line-title {
  font-size: 1.4rem;
}

.line-detail {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease 0.1s;
}

.line-panel.is-active .line-detail {
  max-height: 300px;
  opacity: 1;
}

.line-detail p {
  font-size: 0.98rem;
  color: rgba(255,255,255,0.88);
  max-width: 400px;
}

/* ---------- About ---------- */

.about {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text p {
  color: var(--grey-dark);
  margin-bottom: 18px;
  max-width: 560px;
}

.about-fact {
  background: var(--grey-light);
  border-left: 4px solid var(--red-bright);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 2px;
}

.fact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red-deep);
}

.fact-value {
  font-weight: 600;
  font-size: 1.02rem;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--black);
  color: var(--white);
  padding: 100px 0 110px;
}

.contact-sub {
  text-align: center;
  color: #cfcdca;
  max-width: 520px;
  margin: -20px auto 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #262626;
  border: 1px solid #3a3a3a;
  padding: 26px 24px;
  border-radius: 4px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-card:hover {
  border-color: var(--red-bright);
  background: #2c2c2c;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff8a8f;
}

.contact-value {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-card-links {
  cursor: default;
}

a.contact-value {
  transition: color 0.15s ease;
}

a.contact-value:hover,
a.contact-value:focus-visible {
  color: var(--red-bright);
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 28px 0;
  background: var(--black);
  border-top: 1px solid #333;
  color: #9c9a97;
  font-size: 0.85rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .nav { display: none; }
  .header-ctas { gap: 8px; }
  .header-ctas .btn { padding: 10px 16px; font-size: 0.85rem; }
  .about-inner { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 70px; }
  .lines-section, .about, .contact { padding: 70px 0; }

  .line-panel { padding: 20px 24px; }
  .line-title { font-size: 1.05rem; }
  .line-panel.is-active .line-title { font-size: 1.2rem; }
  .line-panel.is-active .line-detail { max-height: 360px; }
}
