/* RHI Services — site stylesheet */

:root {
  --navy: #1b3a5c;
  --navy-dark: #12283f;
  --teal: #2e7d7b;
  --teal-dark: #235f5d;
  --ink: #24303b;
  --ink-soft: #51606e;
  --paper: #ffffff;
  --paper-tint: #f4f7fa;
  --line: #dde5ec;
  --accent: #c9a227;
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.25; color: var(--navy); }

a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.container { max-width: 1060px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { background: var(--paper); border-bottom: 3px solid var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; border-radius: .5rem;
  background: var(--navy); color: #e8f0f7;
  font-family: Georgia, serif; font-weight: bold; font-size: 1.05rem;
}
.brand-logo { height: 50px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: Georgia, serif; font-size: 1.3rem; font-weight: bold; color: var(--navy); }
.brand-tag { font-size: .8rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: .45rem .7rem; border-radius: .35rem; }
.site-nav a:hover { background: var(--paper-tint); color: var(--navy); }
.site-nav .nav-phone { background: var(--teal); color: #fff; margin-left: .35rem; }
.site-nav .nav-phone:hover { background: var(--teal-dark); color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy-dark), var(--navy) 55%, var(--teal-dark)); color: #eaf1f8; padding: 4.5rem 0; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 2.9rem); max-width: 34ch; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 58ch; margin-bottom: 1.75rem; color: #d4e0ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.page-hero { padding: 3rem 0; }
.page-hero p { margin-bottom: 0; }

/* Buttons */
.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none; font-weight: 600; }
.btn-primary { background: var(--accent); color: var(--navy-dark); }
.btn-primary:hover { background: #b8921f; color: var(--navy-dark); }
.btn-ghost { border: 1.5px solid #9db8cf; color: #eaf1f8; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-tint { background: var(--paper-tint); }
.section h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.section .lede { color: var(--ink-soft); max-width: 68ch; margin-bottom: 2rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: .5rem; padding: 1.75rem; }
.card h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); margin-bottom: 1rem; }
.card ul { color: var(--ink-soft); padding-left: 1.2rem; margin-bottom: 1rem; }
.card li { margin-bottom: .35rem; }
.card .card-link { font-weight: 600; text-decoration: none; }

/* Feature rows / checklists */
.checklist { list-style: none; padding: 0; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: .8rem; color: var(--ink-soft); }
.checklist li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .8rem;
  display: grid; place-items: center;
}
.checklist li strong { color: var(--ink); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.steps li { counter-increment: step; background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; padding: 1.5rem; }
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: bold;
  margin-bottom: .8rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.steps p { color: var(--ink-soft); font-size: .95rem; }

/* Callout */
.callout { background: var(--navy); color: #d4e0ec; border-radius: .6rem; padding: 2.5rem; text-align: center; }
.callout h2 { color: #fff; margin-bottom: .5rem; }
.callout p { max-width: 60ch; margin: 0 auto 1.5rem; }

.note { background: var(--paper-tint); border-left: 4px solid var(--accent); padding: 1rem 1.25rem; border-radius: 0 .4rem .4rem 0; color: var(--ink-soft); font-size: .95rem; }

/* Carrier grid — logo tiles, falling back to the carrier name as text
   until approved artwork is dropped into assets/logos/. */
.carrier-grid { list-style: none; padding: 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.carrier-tile {
  background: var(--paper); border: 1px solid var(--line); border-radius: .5rem;
  min-height: 108px; padding: 1.1rem 1rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .4rem;
}
.carrier-link { display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: .4rem; text-decoration: none; width: 100%; }
.carrier-tile img { max-width: 100%; max-height: 46px; object-fit: contain; }
.carrier-tile:hover { border-color: var(--teal); box-shadow: 0 2px 8px rgba(27,58,92,.10); }
.carrier-tile:focus-within { outline: 2px solid var(--teal); outline-offset: 2px; }
.carrier-name { font-weight: 600; color: var(--navy); line-height: 1.3; }
.carrier-note { font-size: .82rem; color: var(--ink-soft); }
.carrier-disclaimer { margin-top: 1.25rem; font-size: .8rem; line-height: 1.5;
  color: var(--ink-soft); max-width: 78ch; }

/* FAQ */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 1rem 1.25rem; list-style-position: inside; }
.faq summary:hover { color: var(--teal-dark); }
.faq details p { padding: 0 1.25rem 1rem 1.25rem; color: var(--ink-soft); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: .5rem; padding: 1.75rem; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.contact-card p { color: var(--ink-soft); }
.contact-card .big { font-size: 1.3rem; font-weight: 700; }
.contact-card a { text-decoration: none; }

/* Footer */
.site-footer { background: var(--navy-dark); color: #b8c8d8; margin-top: 3.5rem; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; padding-top: 2.75rem; padding-bottom: 1.5rem; }
.footer-brand { font-family: Georgia, serif; font-size: 1.2rem; font-weight: bold; color: #fff; margin-bottom: .4rem; }
.footer-col p { margin-bottom: .4rem; font-size: .95rem; }
.footer-col a { color: #b8c8d8; }
.footer-col a:hover { color: #fff; }
.footer-badge { margin-top: 1rem; }
.footer-badge img { max-width: 200px; height: auto; background: #fff; padding: .5rem .6rem; border-radius: .35rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; padding-bottom: 1.75rem; font-size: .85rem; color: #8fa3b5; }
.footer-legal p { margin-bottom: .35rem; }
