/* ==========================================================================
   HRS GLOBAL LLC — Site Stylesheet
   Modern corporate, blue/white theme
   ========================================================================== */

:root {
  --navy: #0f2d52;
  --blue: #1b4f91;
  --blue-mid: #2f68b5;
  --blue-light: #3e8ede;
  --blue-pale: #eaf2fc;
  --blue-pale-2: #f4f8fd;
  --white: #ffffff;
  --gray-900: #1c2733;
  --gray-700: #4a5568;
  --gray-500: #718096;
  --gray-200: #e2e8f0;
  --gray-100: #f5f7fa;
  --success: #1f9d55;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(15, 45, 82, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 45, 82, 0.10);
  --shadow-lg: 0 20px 48px rgba(15, 45, 82, 0.16);
  --container: 1180px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-light); }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; color: var(--navy); font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--gray-700); }

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

section { padding: 80px 0; }
.section-alt { background: var(--gray-100); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.82); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-mid); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue); }
.btn-outline-blue { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}
.brand img { height: 36px; width: 36px; border-radius: 6px; }
.brand-sub { display: block; font-size: 0.68rem; font-weight: 600; color: var(--gray-500); letter-spacing: 0.5px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a.active,
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 8px;
}
.nav-cta:hover { background: var(--navy); color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(120deg, rgba(15,45,82,0.94), rgba(27,79,145,0.88)), var(--navy);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero.has-image { background-image: linear-gradient(120deg, rgba(9,30,58,0.90), rgba(27,79,145,0.80)), var(--hero-img); }
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 24px 90px;
  position: relative;
  z-index: 2;
}
.hero-inner.narrow { max-width: 820px; padding-top: 90px; padding-bottom: 70px; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 14px; }
.hero .tagline { font-size: 1.25rem; color: rgba(255,255,255,0.9); max-width: 640px; margin-bottom: 32px; }
.hero-inner.narrow .tagline { margin-left: auto; margin-right: auto; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; }
.hero-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,0.85); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.card a.card-link { font-weight: 700; font-size: 0.9rem; }
.card a.card-link::after { content: "→"; margin-left: 6px; }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split.reverse .split-text { order: 1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--gray-700);
}
.check-list .tick {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.section-navy .check-list .tick { background: rgba(255,255,255,0.15); color: var(--white); }
.section-navy .check-list li { color: rgba(255,255,255,0.88); }

/* ---------- Stats ---------- */
.stat-row { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.stat b { display: block; font-size: 2rem; color: var(--blue); }
.stat span { font-size: 0.85rem; color: var(--gray-500); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--navy); }
label .req { color: #c0392b; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-light);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}
.form-status.show { display: block; }
.form-status.ok { background: #e8f8ee; color: var(--success); border: 1px solid #bfe9cd; }
.form-status.err { background: #fdecea; color: #c0392b; border: 1px solid #f6c6c1; }

/* ---------- Info tiles (contact) ---------- */
.info-tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--blue-pale-2);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.info-tile .ic {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.info-tile h4 { margin: 0 0 4px; font-size: 1rem; color: var(--navy); }
.info-tile p { margin: 0; font-size: 0.92rem; }

/* ---------- Values grid (about) ---------- */
.value-card { text-align: center; padding: 30px 22px; }
.value-card .card-icon { margin: 0 auto 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 32px; width: 32px; border-radius: 6px; }
.footer-brand span { font-weight: 800; color: var(--white); font-size: 1.05rem; }
.site-footer h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.75); margin-left: 18px; }
.footer-bottom .legal-links a:first-child { margin-left: 0; }

/* ---------- Page sub-hero small pattern ---------- */
.mini-banner {
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.mini-banner .ic { font-size: 2rem; }
.mini-banner p { margin: 0; }

/* ---------- Legal pages ---------- */
.legal-content h2 { margin-top: 40px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { color: var(--gray-700); padding-left: 20px; }
.legal-content li { margin-bottom: 8px; }
.legal-updated { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 32px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 1; }
  .split.reverse .split-text { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 56px 0; }
  .nav-links {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    opacity: 0;
    transition: all 0.25s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
  .nav-cta { display: inline-block; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .cta-band { padding: 40px 24px; }
  .hero-inner { padding: 90px 24px 60px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .stat-row { gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .legal-links a:first-child { margin-left: 0; }
  .footer-bottom .legal-links a { margin-left: 0; margin-right: 16px; }
}

