/* ==========================================================================
   RC Advisors — Site Stylesheet
   Colour palette is intentionally kept as CSS custom properties (variables)
   so the whole site's tone can be retuned from one place, per Terry's
   direction (5 Aug): logo is locked, the colour swatch is not.
   ========================================================================== */

:root {
  /* --- Brand colour (working defaults — tune here, not locked) --- */
  --navy: #344765;         /* sampled from the actual logo pixels (4.png) */
  --navy-dark: #24334a;    /* darker shade for hover/depth */
  --navy-tint-10: #eef1f5; /* very light navy tint for section bands */
  --gold: #F5C13A;         /* logo dot colour */
  --gold-deep: #E8A61C;    /* House Style accent alt */

  --body-text: #222222;
  --meta-grey: #6B7280;
  --border-grey: #E2E5EA;
  --white: #FFFFFF;

  /* --- Type --- */
  --font-base: "Calibri", "Segoe UI", Arial, sans-serif;

  /* --- Layout --- */
  --max-width: 1160px;
  --radius: 10px;
  --shadow-card: 0 2px 8px rgba(52, 71, 101, 0.08);
  --shadow-card-hover: 0 10px 24px rgba(52, 71, 101, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--body-text);
  line-height: 1.6;
  background: var(--white);
}

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-deep); }

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

/* --- Header --- */
.site-header {
  border-bottom: 3px solid var(--gold);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.brand img { height: 110px; width: auto; } /* 2.5x the original 44px, per Terry's instruction (5 Aug) */

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav .nav-cta {
  background: var(--navy);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
}

.main-nav .nav-cta:hover {
  background: var(--navy-dark);
  color: var(--white);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 88px;
}

.hero .wrap { max-width: 880px; text-align: center; }

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 22px;
  font-weight: 700;
}

.hero p {
  font-size: 1.15rem;
  color: #DCE3EC;
  margin: 0 auto 16px;
  max-width: 700px;
}

.hero .hero-tags {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .hero-tags a {
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero .hero-tags a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

/* --- Section bands --- */
section { padding: 68px 0; }

.band-tint { background: var(--navy-tint-10); }

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

.section-head h2 {
  color: var(--navy);
  font-size: 1.9rem;
  margin: 0 0 14px;
}

.section-head p {
  color: var(--meta-grey);
  font-size: 1.05rem;
  margin: 0;
}

/* --- Accountant-introduction explainer --- */
.explainer {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px 44px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
}

.explainer h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0 0 16px;
}

.explainer p { margin: 0 0 14px; }
.explainer p:last-child { margin-bottom: 0; }

/* --- Audience cards --- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border-grey);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

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

/* icon-tile rule removed per Terry's instruction (5 Aug) — icons dropped everywhere, the owls do that job */

.audience-card h3 {
  color: var(--navy);
  font-size: 1.15rem;
  margin: 0 0 10px;
}

.audience-card p {
  color: var(--body-text);
  font-size: 0.97rem;
  margin: 0 0 18px;
}

.audience-card .card-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.audience-card .card-link::after { content: " \2192"; }

/* --- What we do: service pillars (icon badges removed per Terry's
   instruction, 5 Aug — the owl illustrations will do that job once
   generated; drop the relevant <img> straight into each .pillar-card
   when ready) --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 8px;
}

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

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

.pillar-card h3 {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 1.12rem;
}

.pillar-card p {
  margin: 0 0 16px;
  color: var(--meta-grey);
  font-size: 0.95rem;
}

/* --- Footer --- */
.site-footer {
  border-top: 3px solid var(--gold);
  padding: 28px 0;
  text-align: center;
  color: var(--meta-grey);
  font-size: 0.82rem;
}

.site-footer p { margin: 0; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .audience-grid, .pillar-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .main-nav ul { gap: 18px; }
  .explainer { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; gap: 12px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; }
}
