/* ============================================================
   Pillar and Root — Main Stylesheet
   Colors: Navy #1B3060 | Gold #C4921C
   Fonts: Playfair Display (headings) | Lato (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --navy:        #1B3060;
  --navy-dark:   #111E40;
  --navy-light:  #24408A;
  --gold:        #C4921C;
  --gold-dark:   #A37818;
  --gold-light:  #F5EDD6;
  --white:       #FFFFFF;
  --off-white:   #F7F8FC;
  --light-gray:  #EEF0F5;
  --border:      #D9DCE8;
  --text:        #1C1C2E;
  --text-mid:    #4A5568;
  --text-light:  #718096;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: var(--white);
}
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.3;
}
a { color: var(--navy); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ---- Layout helpers ---- */
.container      { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section-pad    { padding: 86px 0; }
.bg-off-white   { background: var(--off-white); }
.bg-light       { background: var(--light-gray); }
.text-center    { text-align: center; }

/* ---- Section headings ---- */
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .6rem;
  display: block;
}
.section-title {
  font-size: 2.15rem;
  margin-bottom: .9rem;
}
.section-title::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--gold);
  margin-top: .7rem;
}
.section-title.centered { text-align: center; }
.section-title.centered::after { margin-inline: auto; }
.section-desc {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 640px;
}
.section-desc.centered { margin-inline: auto; text-align: center; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: 'Lato', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196,146,28,.3);
}
.btn-white-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn-white-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-navy-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-navy-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(27,48,96,.09);
  position: sticky;
  top: 0;
  z-index: 999;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.nav-logo img { height: 68px; width: auto; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--navy);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: all .3s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  transition: all .3s;
}

/* ============================================================
   DISCLAIMER BANNER
   ============================================================ */
.disclaimer-bar {
  background: var(--gold-light);
  border-bottom: 1px solid #e8d9ac;
  padding: 8px 2rem;
  text-align: center;
}
.disclaimer-bar p {
  font-size: .78rem;
  color: var(--navy);
  font-style: italic;
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(196,146,28,.12) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1.4rem;
  line-height: 1.2;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 2.5rem;
  line-height: 1.85;
  max-width: 580px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-note {
  margin-top: 2.5rem;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  font-style: italic;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 72px 0;
  text-align: center;
}
.page-hero .breadcrumb {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.page-hero .breadcrumb a { color: var(--gold); }
.page-hero h1 { color: var(--white); font-size: 2.7rem; margin-bottom: .8rem; }
.page-hero p { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 580px; margin: 0 auto; }

/* ============================================================
   SERVICE CARDS — Home overview
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 3rem;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(27,48,96,.05);
  transition: all .3s;
}
.svc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(27,48,96,.12);
}
.svc-icon {
  width: 52px;
  height: 52px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
}
.svc-card h3 { font-size: 1.2rem; margin-bottom: .65rem; }
.svc-card p { color: var(--text-mid); font-size: .93rem; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 86px 0;
  text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 2.2rem; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,.78); max-width: 580px; margin: 0 auto 2.5rem; }
.cta-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.cta-card {
  background: rgba(255,255,255,.07);
  border: 2px solid rgba(255,255,255,.18);
  border-radius: 6px;
  padding: 1.75rem 2rem;
  width: 200px;
  text-align: center;
  text-decoration: none;
  transition: all .3s;
  display: block;
}
.cta-card:hover {
  background: rgba(196,146,28,.2);
  border-color: var(--gold);
  transform: translateY(-4px);
  color: inherit;
}
.cta-card-icon { font-size: 2.4rem; display: block; margin-bottom: .75rem; }
.cta-card h4 { color: var(--white); font-size: .95rem; }
.cta-card p { color: rgba(255,255,255,.6); font-size: .8rem; margin: .3rem 0 0; }

/* ============================================================
   WHY / VALUES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value-item { text-align: center; padding: 2rem 1.25rem; }
.value-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .4rem;
}
.value-item h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.value-item p { color: var(--text-mid); font-size: .9rem; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.blog-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27,48,96,.05);
  transition: all .3s;
  background: var(--white);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(27,48,96,.11); }
.blog-thumb {
  height: 195px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.blog-thumb-icon { font-size: 3.5rem; opacity: .22; }
.blog-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}
.blog-body { padding: 1.5rem; }
.blog-meta { font-size: .78rem; color: var(--text-light); margin-bottom: .65rem; }
.blog-body h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.blog-body p { color: var(--text-mid); font-size: .9rem; margin-bottom: 1rem; }
.read-more {
  color: var(--gold);
  font-weight: 700;
  font-size: .83rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.read-more:hover { color: var(--gold-dark); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.about-img-placeholder {
  background: linear-gradient(145deg, var(--light-gray), var(--border));
  height: 420px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .88rem;
}
.mission-box {
  background: var(--gold-light);
  border-left: 5px solid var(--gold);
  padding: 2rem 2.5rem;
  border-radius: 0 4px 4px 0;
  margin: 2.5rem 0;
}
.mission-box .eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}
.mission-box blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  font-style: italic;
  line-height: 1.85;
}
.disclaimer-box {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  padding: 1.5rem 2rem;
  border-radius: 0 4px 4px 0;
  margin-top: 2rem;
}
.disclaimer-box h4 { font-size: .88rem; color: var(--navy); margin-bottom: .4rem; }
.disclaimer-box p { font-size: .88rem; color: var(--text-mid); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.services-list { display: grid; gap: 2rem; }
.svc-detail {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(27,48,96,.05);
  transition: all .3s;
}
.svc-detail:hover {
  box-shadow: 0 8px 26px rgba(27,48,96,.1);
  border-color: rgba(196,146,28,.4);
}
.svc-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
}
.svc-detail-body h3 { font-size: 1.35rem; margin-bottom: .7rem; }
.svc-detail-body p { color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.svc-tag {
  background: var(--gold-light);
  color: var(--navy);
  font-size: .73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
  gap: 0;
}
.rtab {
  padding: .9rem 2rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-mid);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: all .3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: 'Lato', sans-serif;
}
.rtab.active, .rtab:hover { color: var(--navy); border-bottom-color: var(--gold); }
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}
.resource-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(27,48,96,.05);
  transition: all .3s;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(27,48,96,.11); }
.resource-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 2.25rem;
  text-align: center;
}
.res-type-badge {
  background: var(--gold);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 1rem;
}
.res-icon { font-size: 2.8rem; display: block; margin: 0 auto .5rem; opacity: .9; }
.resource-card-body { padding: 1.5rem; background: var(--white); }
.resource-card-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.resource-card-body p { color: var(--text-mid); font-size: .88rem; margin-bottom: 1.25rem; }

/* ============================================================
   BLOG PAGE
   ============================================================ */
.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-filter-bar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.filter-btn {
  padding: 7px 18px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  background: var(--white);
  color: var(--text-mid);
  transition: all .3s;
  font-family: 'Lato', sans-serif;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 { font-size: 1.8rem; margin-bottom: 1.2rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.c-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.c-icon svg { width: 20px; height: 20px; fill: var(--gold-dark); }
.contact-item h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: .2rem;
}
.contact-item p, .contact-item address {
  font-style: normal;
  color: var(--text-mid);
  font-size: .95rem;
}

.form-wrapper {
  background: var(--off-white);
  padding: 2.75rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.form-wrapper h3 { font-size: 1.55rem; margin-bottom: .4rem; }
.form-lead { color: var(--text-mid); font-size: .9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--navy);
  margin-bottom: .45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: all .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,48,96,.09);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-note {
  font-size: .76rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-main {
  background: var(--navy-dark);
  padding: 64px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}
.footer-brand img {
  height: 58px;
  margin-bottom: 1.4rem;
  filter: brightness(0) invert(1);
  opacity: .88;
}
.footer-brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  line-height: 1.75;
  max-width: 300px;
}
.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 1.2rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .88rem; }
.footer-col ul a:hover { color: var(--gold); }
.footer-col p { color: rgba(255,255,255,.6); font-size: .88rem; line-height: 1.85; }

.footer-bottom {
  background: rgba(0,0,0,.25);
  padding: 1.2rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.38); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--gold); }

.footer-disclaimer {
  background: rgba(0,0,0,.35);
  padding: 1rem 0;
  text-align: center;
}
.footer-disclaimer p {
  font-size: .74rem;
  color: rgba(255,255,255,.38);
  font-style: italic;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-split { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .about-img-placeholder { height: 280px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 1.25rem 2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,.1);
    gap: 0;
  }
  .nav-links.open li { border-bottom: 1px solid var(--border); }
  .nav-links.open a { display: block; padding: .85rem 0; }
  .hero h1 { font-size: 2.1rem; }
  .section-title { font-size: 1.75rem; }
  .svc-detail { grid-template-columns: 1fr; gap: .75rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .cta-cards { flex-direction: column; align-items: center; }
  .cta-card { width: 100%; max-width: 300px; }
}
