/* ===================================================================
   FILE        : main-theme.css
   PROJECT     : Lexvora Consulting
   PURPOSE     : Shared theme foundation loaded by EVERY page (home + all
                 template pages): resets, tokens, base elements, generic
                 buttons/labels, shared mega-menu content primitives, and
                 the generic repeatable template content sections (hero,
                 about-split, expertise, leadership, philosophy, why,
                 cta-about) used across all non-home pages.
   NOTE        : Header, footer and menu positioning/behaviour live in
                 their own dedicated stylesheets (header.css, footer.css,
                 menu-home.css, menu-theme.css). Home-page-only visual
                 sections live in home.css.
   =================================================================== */

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

:root {
  --dark: #061421;
  --dark-2: #0b2233;
  --blue: #102d40;
  --gold: #b88445;
  --gold-light: #d2a15f;
  --cream: #f7f3ed;
  --paper: #ffffff;
  --text: #101820;
  --muted: #5c6670;
  --border: rgba(184,132,69,.28);
  --gold2: var(--gold-light);
  --line: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===================== Generic labels/helpers ===================== */

.eyebrow,
.section-label {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.gold-line {
  width: 58px;
  height: 2px;
  background: var(--gold-light);
  margin: 0 0 25px 0;
}

.gold-line.center-line {
  margin: 12px auto 24px;
}

.center {
  text-align: center;
}

/* ===================== Generic buttons ===================== */

.top-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 15px 25px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold-light);
}

/* ===================================================================
   GENERIC TEMPLATE CONTENT SECTIONS
   Repeatable sections used across About Us and all other template
   pages (hero, split content, expertise cards, leadership, philosophy,
   why-choose, cta band). Class names are intentionally generic so
   every template page can reuse the same markup pattern.
   =================================================================== */

.about-hero {
  min-height: 520px;
  padding: 105px 5vw 58px;
  display: flex;
  align-items: center;
  grid-template-columns: unset;
  gap: 0;
  background-color: #061421;
  background-image:
    linear-gradient(
      90deg,
      rgba(5, 14, 22, 0.94) 0%,
      rgba(5, 14, 22, 0.78) 34%,
      rgba(5, 14, 22, 0.28) 62%,
      rgba(5, 14, 22, 0.05) 100%
    ),
    url("../images/about-hero-building.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 520px;
}

.about-hero__content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.about-hero .hero-kicker {
  color: var(--gold-light) !important;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.about-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5.6vw, 84px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: normal;
  color: #fff;
  margin-bottom: 22px;
}

.about-hero .gold-line {
  width: 58px;
  height: 2px;
  background: var(--gold-light);
  margin: 0 0 28px;
}

.about-hero .lead {
  max-width: 570px;
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.about-hero .hero-white {
  color: #ffffff !important;
}

.about-hero .hero-gold {
  color: var(--gold-light) !important;
  font-weight: 600;
}

.about-section {
  padding: 48px 5vw;
}

/* Shared long-form legal page content */
.legal-page-content {
  padding: 64px 5vw 80px;
  background: #fbf8f3;
}

.legal-document {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.legal-updated {
  margin-bottom: 38px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.legal-document section {
  margin-bottom: 38px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.legal-document section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-document h2 {
  margin-bottom: 16px;
  color: var(--dark);
  font-size: clamp(25px, 2.5vw, 36px);
  line-height: 1.2;
}

.legal-document h3 {
  margin: 22px 0 10px;
  color: var(--dark-2);
  font-size: 19px;
}

.legal-document p,
.legal-document li {
  color: #46535d;
  font-size: 16px;
  line-height: 1.75;
}

.legal-document p + p {
  margin-top: 14px;
}

.legal-document ul {
  margin: 14px 0 0 22px;
}

.legal-document li + li {
  margin-top: 8px;
}

.legal-document a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-split {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  justify-content: start;
}

.about-split.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.about-copy .eyebrow,
.gold-title {
  color: var(--gold) !important;
  font-family: "Montserrat", "Calibri", "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.about-copy h2 {
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-size: clamp(34px, 3.1vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 18px;
}

.about-copy p {
  font-size: 15px;
  line-height: 1.62;
}

.about-copy .dark-text {
  color: #dce6ec;
}

.about-copy {
  width: 100%;
  max-width: none;
}

.about-copy h2,
.about-copy p {
  max-width: none;
}

.about-visual {
  width: fit-content;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: none;
  box-shadow: none;
}

.about-visual img {
  width: auto;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.expertise {
  padding: 56px 5vw 64px;
  background: linear-gradient(180deg,#fdfbf7,#f2ece3);
  text-align: center;
}

.expertise h2 {
  font-size: clamp(2rem,3vw,3.5rem);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 16px;
  margin-top: 34px;
}

.product-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.service-card {
  background: #081722;
  color: #fff;
  border: 1px solid rgba(216,173,114,.38);
  padding: 26px 16px;
  min-height: 185px;
}

.service-card .icon {
  color: var(--gold2);
  font-size: 2rem;
  display: block;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.leadership {
  padding: 58px 5vw 70px;
  background: #fbf8f3;
}

.leadership h2 {
  text-align: center;
  font-size: clamp(2rem,3vw,3.4rem);
}

.leadership-intro {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 36px;
  color: #4d5963;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.founder-card {
  display: grid;
  grid-template-columns: 44% 56%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(10,20,30,.06);
}

.founder-photo {
  min-height: 340px;
  background: #ece7df;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info {
  padding: 28px 24px;
}

.founder-info h3 {
  margin-bottom: 4px;
  font-size: 1.25rem;
}

.role {
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.founder-info ul {
  padding-left: 18px;
  margin: 0 0 22px;
  color: #4d5963;
  font-size: .92rem;
}

.founder-info li {
  margin-bottom: 7px;
}

.profile-link {
  display: inline-block;
  border: 1px solid var(--gold);
  padding: 9px 16px;
  color: var(--gold);
  font-weight: 700;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.philosophy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
  background: #071722;
  color: #fff;
}

.philosophy-copy {
  padding: 62px 5vw;
}

.philosophy h2 {
  color: #fff;
  font-size: clamp(2.2rem,3.2vw,4rem);
}

.philosophy p {
  max-width: 680px;
  color: #dce6ec;
}

.philosophy-image {
  background: url("../images/about-philosophy.png") center/cover no-repeat;
  min-height: 380px;
}

.why {
  padding: 54px 5vw;
  background: #fffaf3;
  text-align: center;
}

.why h2 {
  font-size: clamp(2rem,3vw,3.3rem);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 18px;
  margin-top: 36px;
}

.why-item {
  border-left: 1px solid var(--line);
  padding: 0 16px;
}

.why-item:first-child {
  border-left: 0;
}

.why-item span {
  color: var(--gold);
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.why-item strong {
  display: block;
  font-size: .95rem;
  line-height: 1.35;
}

.cta-about {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 56px 5vw;
  color: #fff;
  background:
    linear-gradient(90deg,rgba(5,15,24,.96),rgba(5,15,24,.76)),
    url("../images/about-cta.png") center/cover no-repeat;
}

.cta-about h2 {
  font-size: clamp(2rem,3vw,3.5rem);
  color: #fff;
}

.cta-about p {
  color: #dce6ec;
  max-width: 690px;
}

/* Tablet */
@media (max-width: 1200px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    min-height: 280px;
  }
}

@media (max-width: 900px) {
  .about-hero {
    min-height: 560px;
    padding-top: 110px;
    background-position: 62% center;
  }

  .about-split,
  .about-split.reverse,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .about-split {
    gap: 34px;
  }

  .about-visual {
    width: 100%;
    height: 360px;
    justify-content: flex-start;
  }

  .about-visual img {
    height: 360px;
    min-height: 360px;
    max-height: 360px;
  }

  .about-copy {
    max-width: 100%;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cta-about {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .about-hero {
    min-height: 540px;
    padding: 78px 24px 48px;
    background-position: 62% center;
  }

  .about-hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .about-hero .lead {
    font-size: 15px;
  }

  .about-section,
  .expertise,
  .leadership,
  .why,
  .cta-about {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-section {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-visual {
    height: 300px;
  }

  .about-visual img {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-item {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }

  .why-item:first-child {
    border-top: 0;
  }
}

/* Small mobile (shared eyebrow/section-label tweak) */
@media (max-width: 420px) {
  .eyebrow,
  .section-label {
    font-size: 11px;
    letter-spacing: .17em;
  }
}
