/* ============================================
   RKG Corp Consulting — Site Stylesheet
   ============================================ */

:root {
  --navy: #0e2a47;
  --navy-dark: #081c31;
  --navy-light: #16395e;
  --gold: #c9a227;
  --gold-light: #e3c565;
  --ink: #1f2937;
  --slate: #52627a;
  --mist: #f4f6f9;
  --line: #e3e8ef;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(14, 42, 71, 0.10);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--white);
  font-size: 17px;
}

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

img { max-width: 100%; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.2;
}

.brand-name span {
  display: block;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--navy); }

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

.nav-cta:hover { background: var(--navy-light); }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 162, 39, 0.14), transparent 60%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-inner { max-width: 720px; }

.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(227, 197, 101, 0.45);
  border-radius: 100px;
  padding: 7px 18px;
  margin-bottom: 26px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 32px;
  border-radius: 8px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy-dark);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201, 162, 39, 0.45); }

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  margin-left: 14px;
}

.btn-outline:hover { border-color: var(--white); }

.hero-trust {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-trust li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-trust svg { flex-shrink: 0; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 54px;
  text-align: center;
}

.section-head .kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.section-head p { color: var(--slate); }

/* ---------- Services ---------- */
.services { background: var(--mist); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.15rem; margin-bottom: 12px; }

.card p { color: var(--slate); font-size: 0.97rem; }

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 34px;
  counter-reset: step;
}

.step { text-align: center; padding: 0 8px; }

.step-num {
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-family: "Merriweather", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 1.08rem; margin-bottom: 10px; }

.step p { color: var(--slate); font-size: 0.95rem; }

/* ---------- About ---------- */
.about { background: var(--mist); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 20px; }

.about-grid p { color: var(--slate); margin-bottom: 16px; }

.about-points { list-style: none; margin-top: 26px; }

.about-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 600;
}

.about-points svg { flex-shrink: 0; margin-top: 4px; }

.about-panel {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 70%, var(--navy-light) 100%);
  border-radius: var(--radius);
  color: var(--white);
  padding: 44px 38px;
  box-shadow: var(--shadow);
}

.about-panel h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  margin-bottom: 18px;
}

.about-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.98rem;
}

.about-panel .stat-row {
  display: flex;
  gap: 36px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-panel .stat b {
  display: block;
  font-family: "Merriweather", Georgia, serif;
  font-size: 1.7rem;
  color: var(--gold-light);
}

.about-panel .stat span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 400;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item .faq-body {
  padding: 0 24px 20px;
  color: var(--slate);
  font-size: 0.97rem;
}

/* ---------- Contact / Chat ---------- */
.contact { background: var(--mist); }

.contact-box {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px 46px;
  text-align: center;
}

.contact-box h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 16px; }

.contact-box > p { color: var(--slate); max-width: 560px; margin: 0 auto 28px; }

.chat-hint {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--mist);
  border: 1px dashed var(--gold);
  border-radius: 100px;
  padding: 13px 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 30px;
}

.contact-alt {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 40px;
  color: var(--slate);
  font-size: 0.97rem;
  margin-bottom: 30px;
}

.contact-alt a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-alt a:hover { text-decoration: underline; }

.sms-disclosure {
  text-align: left;
  background: #fbf8ef;
  border: 1px solid #ecdfb6;
  border-radius: 10px;
  padding: 22px 26px;
  font-size: 0.86rem;
  color: #6b5d2e;
  line-height: 1.7;
}

.sms-disclosure strong { color: #4d4013; }

.sms-disclosure a { color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 34px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-brand .brand-name { color: var(--white); }

.footer-grid p { margin-top: 14px; max-width: 320px; }

.footer-grid ul { list-style: none; }

.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--gold-light); }

.footer-sms {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 26px;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  margin-left: 18px;
}

.footer-legal a:first-child { margin-left: 0; }

.footer-legal a:hover { color: var(--gold-light); }

/* ---------- Legal pages ---------- */
.legal-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 64px 0 56px;
}

.legal-hero h1 { color: var(--white); font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 10px; }

.legal-hero p { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; }

.legal-body { padding: 60px 0 80px; }

.legal-body .container { max-width: 860px; }

.legal-body h2 {
  font-size: 1.35rem;
  margin: 40px 0 14px;
  padding-top: 8px;
}

.legal-body h3 { font-size: 1.08rem; margin: 26px 0 10px; }

.legal-body p, .legal-body li { color: var(--ink); margin-bottom: 12px; }

.legal-body ul, .legal-body ol { padding-left: 26px; margin-bottom: 16px; }

.legal-body li { margin-bottom: 8px; }

.legal-body a { color: var(--navy); font-weight: 600; }

.legal-callout {
  background: #fbf8ef;
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 22px 0;
}

.legal-callout p { margin-bottom: 8px; }
.legal-callout p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }

  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.2rem;
    color: var(--navy);
    cursor: pointer;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .nav-cta { text-align: center; }

  .hero { padding: 70px 0 90px; }
  .btn-outline { margin-left: 0; margin-top: 12px; }
  section { padding: 64px 0; }
  .contact-box { padding: 36px 24px; }
}
