/* Renovo Capital — design tokens */
:root {
  --navy: #074b82;
  --navy-dark: #052a48;
  --navy-light: #5a97c8;
  --gold: #f58220;
  --text: #303030;
  --text-soft: #626262;
  --text-dark: #131313;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f7;
  --content-width: 1180px;
  --gutter: 1.5rem;

  --serif: "Cormorant Garamond", "Merriweather", Georgia, serif;
  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ============ NAV (top bar) ============ */
.site-nav {
  position: relative;
  z-index: 10;
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-nav .logo img { height: 64px; width: auto; }
.site-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dark);
}
.site-nav a:hover { color: var(--navy); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: .12;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--text-dark);
  letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--navy); display: inline-block; padding-left: 1.5rem; }
.hero .sub {
  font-family: var(--sans);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-soft);
  margin: 0;
}

/* ============ generic section ============ */
section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.row.reverse > :first-child { order: 2; }
.row.reverse > :last-child  { order: 1; }
@media (max-width: 820px) {
  .row { grid-template-columns: 1fr; gap: 2rem; }
  .row.reverse > :first-child { order: unset; }
  .row.reverse > :last-child  { order: unset; }
}

.section-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 1.25rem;
  color: var(--navy);
}

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--navy);
  letter-spacing: -.01em;
}
h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 .5rem;
}
p { margin: 0 0 1rem; max-width: 38em; }
.lead { font-size: 1.05rem; color: var(--text); margin-bottom: 1rem; }
.muted { color: var(--text-soft); font-size: .95rem; }

.section-image img {
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(7, 75, 130, .12);
}

/* ============ centered band (gold) ============ */
.band-centered {
  text-align: center;
  padding: 4rem 0;
}
.band-centered .section-icon { margin: 0 auto 1.25rem; color: var(--gold); }
.band-centered h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.01em;
}

/* ============ rehabbers (image bg) ============ */
.rehabbers {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  color: #fff;
}
.rehabbers::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 50, .55);
}
.rehabbers .container { position: relative; }
.rehabbers .card {
  background: rgba(20, 32, 50, .55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 4px;
}
.rehabbers .section-icon { color: #fff; margin: 0 auto 1.25rem; }
.rehabbers h2 { color: #fff; }
.rehabbers p { margin: 0 auto 1rem; color: rgba(255, 255, 255, .92); }

/* ============ navy strip (4 icons) ============ */
.strip-navy {
  background: var(--navy);
  color: #fff;
  padding: 4.5rem 0;
}
.strip-navy .grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.strip-navy .strip-item svg { width: 72px; height: 72px; margin-bottom: 1rem; color: #fff; }
.strip-navy .strip-item p {
  margin: 0 auto;
  color: #fff;
  font-size: .95rem;
}
.strip-navy .strip-item em {
  font-style: italic;
  font-weight: 700;
}
@media (max-width: 820px) {
  .strip-navy .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

/* ============ toolbelt (dark) ============ */
.toolbelt {
  position: relative;
  background: #181818 center/cover no-repeat;
  color: #fff;
  padding: 7rem 0;
  overflow: hidden;
}
.toolbelt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12, 14, 18, .92) 0%, rgba(12, 14, 18, .55) 55%, rgba(12, 14, 18, 0) 100%);
}
.toolbelt .container { position: relative; max-width: 920px; }
.toolbelt .section-icon { color: #fff; }
.toolbelt h2 {
  color: #fff;
  font-style: italic;
  font-weight: 700;
}
.toolbelt p { color: rgba(255, 255, 255, .85); }

/* ============ Ready to Get Started (navy) ============ */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 5rem 0;
}
.cta-band .row { gap: 2rem; }
.cta-band .cta-art {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-band .cta-art svg { width: 180px; height: 180px; color: #fff; }
.cta-band h2 { color: #fff; font-family: var(--sans); font-weight: 700; }
.cta-band p { color: rgba(255, 255, 255, .92); }

/* ============ Footer ============ */
.site-footer {
  background: #fff;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}
.site-footer .logo img { max-width: 280px; }
.site-footer h4 {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
}
.site-footer .col-nav ul,
.site-footer .col-contact ul {
  list-style: none;
  margin: 0; padding: 0;
  text-align: right;
}
.site-footer .col-nav li,
.site-footer .col-contact li { margin-bottom: .5rem; font-size: .95rem; }
.site-footer .col-nav a { color: var(--text); }
.site-footer .col-contact { color: var(--text); }
.site-footer .hours { font-weight: 700; margin-top: .5rem; font-size: .9rem; color: var(--text-dark); }
.site-footer .reference {
  margin-top: 2rem;
  text-align: right;
}
.site-footer .reference h4 { margin-bottom: .5rem; }
.site-footer .reference small { display: block; color: var(--text-soft); font-size: .85rem; margin-top: .35rem; }
@media (max-width: 820px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .site-footer h4 { text-align: left; }
  .site-footer .col-nav ul, .site-footer .col-contact ul, .site-footer .reference { text-align: left; }
  .site-footer .logo img { margin: 0 auto 1rem; max-width: 220px; }
}

/* ============ Inner page hero ============ */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0;
  color: #fff;
}
.page-hero p { color: rgba(255, 255, 255, .9); margin: .5rem auto 0; }

/* ============ Forms (contact) ============ */
.form-wrap { max-width: 640px; margin: 0 auto; padding: 3rem 0 5rem; }
.form-wrap .field { margin-bottom: 1.25rem; }
.form-wrap label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: .35rem;
}
.form-wrap input,
.form-wrap textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-wrap input:focus,
.form-wrap textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(7, 75, 130, .12);
}
.form-wrap textarea { min-height: 140px; resize: vertical; }
.btn {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: none;
  padding: .95rem 1.75rem;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
}
.btn:hover { background: var(--navy-dark); color: #fff; }
.btn:active { transform: translateY(1px); }

.form-success {
  margin: 0 auto;
  padding: 1.5rem;
  border-left: 4px solid #07820f;
  background: #f0fbf2;
  color: var(--text-dark);
  border-radius: 4px;
}
.form-success.hidden { display: none; }

/* ============ JotForm wrapper ============ */
.jotform-wrap {
  padding: 2rem 0 4rem;
}
.jotform-wrap iframe {
  width: 100%;
  min-height: 720px;
  border: 0;
}

/* ============ utility ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.tel-link, .mail-link { white-space: nowrap; }
