/* Rina Staffing LLC — site styles */

:root {
  --bg: #FBF9F5;
  --surface: #FFFFFF;
  --ink: #1C2B2A;
  --text-muted: #5C6B69;
  --teal: #135E63;
  --teal-deep: #0B3E42;
  --teal-soft: #E4EFED;
  --amber: #A65E1C;
  --amber-bright: #E0A45C;
  --border: #E6E1D6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(28, 43, 42, 0.04), 0 12px 32px -16px rgba(28, 43, 42, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--teal-soft); color: var(--teal-deep); }

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow { max-width: 720px; }
.center { text-align: center; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.9rem); max-width: 13em; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 0.6em; text-wrap: balance; }
h3 { font-size: 1.12rem; font-family: "Inter", system-ui, sans-serif; font-weight: 600; letter-spacing: 0; line-height: 1.35; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.1em;
}

.lede {
  font-size: 1.17rem;
  color: var(--text-muted);
  max-width: 34em;
}

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

.btn {
  display: inline-block;
  background: var(--teal);
  color: #FBF9F5;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.78em 1.5em;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--teal-deep); color: #FBF9F5; transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--teal);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}

.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-deep); transform: translateY(-1px); }

.btn-small { padding: 0.55em 1.15em; font-size: 0.9rem; }
.btn-large { padding: 0.9em 1.9em; font-size: 1.08rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark { width: 30px; height: 30px; border-radius: 8px; }

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.btn) {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover { color: var(--teal); }

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

.hero {
  position: relative;
  padding: 104px 0 88px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cpath d='M15 10v10M10 15h10' stroke='%23135E63' stroke-opacity='0.10' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 90% at 75% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(70% 90% at 75% 10%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 38px;
}

.chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.chip-row li {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--teal-deep);
  background: var(--teal-soft);
  border: 1px solid rgba(19, 94, 99, 0.14);
  padding: 0.36em 0.95em;
  border-radius: 999px;
}

/* ---------- Sections ---------- */

.section { padding: 84px 0; }

.section-tint {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.card-icon,
.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.card-icon svg, .why-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.45em; }
.card p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Why grid ---------- */

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 40px;
  margin-top: 44px;
}

.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item .why-icon { margin-bottom: 0; margin-top: 2px; }
.why-item h3 { margin-bottom: 0.35em; }
.why-item p { color: var(--text-muted); font-size: 0.97rem; }

/* ---------- Clinician strip ---------- */

.section-strip {
  padding: 44px 0;
  background: var(--teal-deep);
  color: #EAF2F0;
  text-align: center;
}

.section-strip p { font-size: 1.05rem; }
.section-strip strong { color: #FFFFFF; }
.section-strip a { color: var(--amber-bright); font-weight: 600; }
.section-strip a:hover { color: #F0C48A; }

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

.section-contact { padding: 96px 0; }
.section-contact p { color: var(--text-muted); max-width: 32em; margin-left: auto; margin-right: auto; }
.section-contact .btn-large { margin-top: 26px; }

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

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.footer-nav a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Legal pages ---------- */

.legal { padding: 72px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal .meta { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2.5em; }

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

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; max-width: 560px; }
  .why-grid { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .site-nav { gap: 16px; }
  .site-nav a:not(.btn) { font-size: 0.88rem; }
  .brand-name { font-size: 1.1rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .site-nav a:not(.btn) { display: none; }
}
