/* trrcd.com — 2026 redesign */
:root {
  --navy: #16365c;
  --navy-deep: #0d2340;
  --ink: #16222f;
  --slate: #55677a;
  --mist: #eff3f7;
  --line: #dde5ec;
  --river: #2e6da4;
  --paper: #ffffff;
  --radius: 14px;
  --font: "Avenir Next", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--river); text-decoration: none; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  color: var(--slate); font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); }
.nav .btn { color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 999px;
  border: 0; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.btn:hover { background: var(--river); transform: translateY(-1px); }
.btn.ghost {
  background: transparent; color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .75);
}
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 78vh; display: flex; align-items: center;
  isolation: isolate; overflow: hidden;
}
.hero picture, .hero picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg,
    rgba(10, 26, 46, .82) 0%, rgba(13, 35, 64, .55) 46%, rgba(13, 35, 64, .12) 100%);
}
.hero .inner { padding: 130px 0 150px; max-width: 640px; }
.kicker {
  font-size: 12px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: #a8c4de; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -.01em; margin-bottom: 22px;
}
.hero p.lead {
  font-size: clamp(16px, 1.7vw, 19px);
  color: #d5e2ee; max-width: 520px; margin-bottom: 36px;
}

/* ---------- value cards ---------- */
.values { padding: 96px 0 88px; }
.values .grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin-top: 48px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: 0 14px 34px rgba(13, 35, 64, .1); transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--mist); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy); }
.card p { font-size: 15px; color: var(--slate); }

.section-head { max-width: 640px; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700;
  color: var(--navy); line-height: 1.18; letter-spacing: -.01em;
}
.section-head p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* ---------- quote band ---------- */
.band {
  position: relative; color: #fff; text-align: center;
  isolation: isolate; overflow: hidden;
  padding: 110px 24px;
}
.band picture, .band picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(13, 35, 64, .45);
}
.band blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 3vw, 32px); line-height: 1.4;
  max-width: 720px; margin: 0 auto;
}
.band .rule {
  width: 54px; height: 2px; background: #a8c4de;
  margin: 26px auto 0;
}

/* ---------- about strip ---------- */
.about { padding: 96px 0; background: var(--mist); }
.about .cols {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px;
  align-items: start;
}
.about .facts {
  background: var(--paper); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 30px 32px;
}
.about .facts h4 {
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 16px;
}
.about .facts ul { list-style: none; }
.about .facts li {
  padding: 12px 0; font-size: 15.5px; color: var(--ink);
  border-top: 1px solid var(--line);
  display: flex; gap: 12px; align-items: baseline;
}
.about .facts li::before {
  content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%;
  background: var(--river); position: relative; top: -1px;
}

/* ---------- CTA panel ---------- */
.cta { padding: 100px 0; }
.cta .panel {
  position: relative; overflow: hidden;
  background: var(--navy-deep); color: #fff;
  border-radius: 22px; padding: 72px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta .panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='400' viewBox='0 0 560 400'%3E%3Cg fill='none' stroke='%235b83ad' stroke-opacity='.28' stroke-width='1.2'%3E%3Cpath d='M-20 60c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3Cpath d='M-20 120c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3Cpath d='M-20 180c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3Cpath d='M-20 240c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3Cpath d='M-20 300c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3Cpath d='M-20 360c90 30 150-40 240-10s130 70 220 40 140-60 140-60'/%3E%3C/g%3E%3C/svg%3E");
}
.cta .panel > * { position: relative; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; max-width: 480px; }
.cta p { color: #b9cbdd; margin-top: 10px; font-size: 16px; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 52px; color: var(--slate); font-size: 14px;
}
.site-footer .cols {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
}
.site-footer img { height: 40px; width: auto; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a {
  color: var(--slate); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.site-footer nav a:hover { color: var(--navy); }

/* ---------- contact page ---------- */
.contact-hero { background: var(--mist); padding: 72px 0 64px; }
.contact-main { padding: 0 0 100px; margin-top: -8px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 0;
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 35, 64, .14);
  margin-top: 46px; background: var(--paper);
}
.contact-side {
  position: relative; color: #fff; isolation: isolate;
  padding: 54px 44px; display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 460px;
}
.contact-side picture, .contact-side picture img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.contact-side::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 35, 64, .25), rgba(10, 26, 46, .78));
}
.contact-side h3 { font-size: 24px; margin-bottom: 10px; }
.contact-side p { color: #cfdde9; font-size: 15px; }
.contact-form { padding: 54px 50px; }
.contact-form h3 { color: var(--navy); font-size: 22px; margin-bottom: 6px; }
.contact-form .hint { color: var(--slate); font-size: 14.5px; margin-bottom: 30px; }
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--slate); margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fbfcfe; border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--river);
  box-shadow: 0 0 0 3px rgba(46, 109, 164, .14);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; top: auto; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--slate); margin-top: 16px; }
.alert {
  border-radius: 10px; padding: 15px 18px; font-size: 15px;
  margin-bottom: 22px; display: none;
}
.alert.ok { display: block; background: #edf7ef; color: #1d6b2f; border: 1px solid #cbe6d0; }
.alert.err { display: block; background: #fbeeee; color: #a33030; border: 1px solid #efd2d2; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .values .grid { grid-template-columns: 1fr; }
  .about .cols { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { min-height: 300px; }
  .cta .panel { padding: 52px 34px; }
  .hero .inner { padding: 100px 0 110px; }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 40px 26px; }
  .contact-side { padding: 36px 26px; }
}
