/* ================================================
   Hemispheres Financial Group — Shared Stylesheet
   ================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Georgia', serif;
  color: #1A1A1A;
  background: #FFFFFF;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---------- Variables ---------- */
:root {
  --navy:   #0D2340;
  --navy2:  #162E50;
  --gold:   #C9A84C;
  --gold2:  #E0C06A;
  --white:  #FFFFFF;
  --light:  #F4F6F9;
  --text:   #1A1A1A;
  --muted:  #555E6B;
  --border: #DDE3EA;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { font-family: 'Arial', sans-serif; color: var(--muted); font-size: 1.05rem; }

.section-label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1.2rem;
}

.section-subtext {
  max-width: 580px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: var(--muted);
}

/* ---------- Layout Utilities ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 96px 0;
}

.section--light { background: var(--light); }
.section--navy  { background: var(--navy); }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy2);
  border-color: var(--navy2);
  transform: translateY(-1px);
}

/* ---------- Navigation ---------- */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  line-height: 1.1;
}

.navbar__logo img {
  height: 46px;
  width: auto;
  max-width: 340px;
  display: block;
}

.navbar__links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.navbar__links a {
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s;
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--gold);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1B3A5C 60%, #0D2340 100%);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: 60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.1);
  pointer-events: none;
}

.hero__content {
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  margin-bottom: 2.4rem;
  max-width: 540px;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- Gold Divider ---------- */
.gold-rule {
  width: 56px;
  height: 3px;
  background: var(--gold);
  margin: 1.2rem 0 1.8rem;
}

.gold-rule--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.8rem;
}

.card-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow 0.25s, transform 0.2s;
}

.card:hover {
  box-shadow: 0 8px 32px rgba(13,35,64,0.12);
  transform: translateY(-3px);
}

.card__icon {
  width: 52px; height: 52px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

.card h3 { margin-bottom: 0.6rem; }

/* ---------- Team Card ---------- */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
  text-align: center;
}

.team-card:hover {
  box-shadow: 0 8px 32px rgba(13,35,64,0.12);
  transform: translateY(-3px);
}

.team-card__photo {
  width: 100%;
  height: 320px;
  background: var(--light);
  display: flex; align-items: flex-start; justify-content: center;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-card__photo-placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--navy);
}

.team-card__body {
  padding: 1.5rem;
}

.team-card__name {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.team-card__title {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.team-card p { font-size: 0.92rem; }

/* ---------- Stats Bar ---------- */
.stats-bar {
  background: var(--navy);
  padding: 52px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: 'Georgia', serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: bold;
  display: block;
  line-height: 1.1;
}

.stat__label {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: 0.4rem;
  display: block;
}

/* ---------- Contact Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-info__label {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-info__value {
  font-family: 'Arial', sans-serif;
  color: var(--navy);
  font-size: 0.97rem;
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.4rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Arial', sans-serif;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--navy);
  padding: 72px 0;
}

.testimonial__quote {
  font-family: 'Georgia', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white);
  font-style: italic;
  max-width: 740px;
  margin: 0 auto 1.8rem;
  text-align: center;
  line-height: 1.7;
}

.testimonial__author {
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Page Hero ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1B3A5C 100%);
  padding: 72px 0 64px;
  color: var(--white);
}

.page-hero h1 { color: var(--white); }

.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 580px;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.footer {
  background: #07162A;
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

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

@media (max-width: 540px) {
  .footer__grid { grid-template-columns: 1fr; }
}

.footer__brand-name {
  font-family: 'Georgia', serif;
  font-size: 1.15rem;
  color: var(--white);
  display: block;
  margin-bottom: 0.3rem;
}

.footer__brand-sub {
  font-family: 'Arial', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.footer__desc {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer__col-title {
  font-family: 'Arial', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.1rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer__links a {
  font-family: 'Arial', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--gold); }

.footer__disclaimer {
  font-family: 'Arial', sans-serif;
  font-size: 0.78rem;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}

.footer__bottom {
  font-family: 'Arial', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  text-align: center;
}

/* ---------- Responsive Nav ---------- */
@media (max-width: 720px) {
  .navbar__links { display: none; }
}
