/*
Theme Name: Rajanshir Investment Consulting
Theme URI: https://rajanshir.com
Author: Rajanshir
Description: Classic theme for Rajanshir Investment Consulting — independent cross-border investment advisory. Navy/bronze identity, serif display type, full-bleed section layouts, Services & Industries custom post types, Insights blog, Contact Form 7 styling, and a one-click demo content importer (Appearance → Import Demo Content).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rajanshir
Tags: custom-menu, custom-logo, editor-style, two-columns
*/

/* ============================================================
   TOKENS + BASE
   ============================================================ */
:root {
  --navy: #0E1F3C;
  --navy-deep: #081326;
  --bronze: #AD8A4A;
  --bronze-light: #C9A968;
  --offwhite: #F6F3EC;
  --grey: #5B6270;
  --linegrey: #D8D4C9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Calibri, 'Segoe UI', Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--navy);
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: var(--bronze); }
a:hover { color: var(--navy); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 40px; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}

/* ============================================================
   NAV  (WordPress menu markup: ul.nav-links > li > a, ul.sub-menu)
   ============================================================ */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; border-bottom: 1px solid rgba(14,31,60,0.08);
  position: relative;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--serif); font-size: 20px; letter-spacing: 0.5px;
  color: var(--navy); font-weight: bold;
}
.logo img { width: 42px; height: 42px; object-fit: contain; display: block; }
.logo span { color: var(--navy); }
.logo:hover { color: var(--navy); }

ul.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links li { position: relative; }
.nav-links a { font-size: 14px; color: var(--navy); letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--bronze); }
.nav-links .current-menu-item > a,
.nav-links .current-menu-ancestor > a,
.nav-links .current-menu-parent > a {
  color: var(--bronze); font-weight: bold;
  border-bottom: 2px solid var(--bronze); padding-bottom: 4px;
}
/* CTA styling: add the class "cta" to the menu item in Appearance → Menus */
.nav-links li.cta > a {
  background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 2px; font-weight: bold; border-bottom: none;
}
.nav-links li.cta > a:hover { background: var(--navy-deep); color: #fff; }

/* Dropdowns */
.nav-links .sub-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--linegrey); border-radius: 2px;
  box-shadow: 0 12px 28px rgba(14,31,60,0.14); padding: 10px 0; margin-top: 14px;
  min-width: 240px; z-index: 20; list-style: none;
}
.nav-links .sub-menu::before {
  /* invisible hover bridge between trigger and menu */
  content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav-links li:hover > .sub-menu,
.nav-links li.dropdown-open > .sub-menu { display: block; }
.nav-links .sub-menu li { position: static; }
.nav-links .sub-menu a {
  display: block; padding: 9px 20px; font-size: 13.5px; color: var(--navy);
  white-space: nowrap; border-bottom: none;
}
.nav-links .sub-menu a:hover { background: var(--offwhite); color: var(--bronze); }
.nav-links .sub-menu .current-menu-item > a { border-bottom: none; }

/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Breadcrumb (service/industry/region details) */
.breadcrumb { padding: 18px 0 0; }
.breadcrumb a { font-size: 13px; color: var(--bronze); font-weight: bold; }

/* ============================================================
   HEROES
   ============================================================ */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; position: relative; overflow: hidden; padding: 100px 0 90px;
}
.hero-home { padding: 110px 0 140px; }
.hero-detail { padding: 60px 0 90px; }
.hero-network { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-eyebrow {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--bronze-light);
  font-weight: bold; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-size: 46px; line-height: 1.2; margin: 0 0 26px;
  font-weight: normal; color: #fff; max-width: 680px;
}
.hero-home h1 { font-size: 52px; line-height: 1.16; }
.hero p.subhead { font-size: 18px; line-height: 1.75; color: rgba(246,243,236,0.86); max-width: 640px; margin: 0; }
.hero-home p.subhead { max-width: 600px; margin-bottom: 46px; }
.hero p.subhead + p.subhead { margin-top: 16px; }
.hero p.position { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--bronze-light); margin: 0 0 22px; }
.hero p.guardrail { font-size: 15px; line-height: 1.75; color: rgba(246,243,236,0.68); font-style: italic; max-width: 700px; margin: 18px 0 0; }
.hero p.post-meta { font-size: 14px; color: rgba(246,243,236,0.7); margin: 0; }
.hero a { color: var(--bronze-light); }
.hero a:hover { color: #fff; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-bronze {
  display: inline-block; background: var(--bronze); color: #fff; font-weight: bold; font-size: 16px;
  padding: 19px 40px; border-radius: 2px; letter-spacing: 0.3px;
  box-shadow: 0 10px 28px rgba(173,138,74,0.32);
  border: 1px solid var(--bronze-light);
}
.btn-bronze:hover { background: var(--bronze-light); color: #fff; }
.btn-bronze.btn-navy { background: var(--navy); box-shadow: none; border-color: var(--navy); }
.btn-bronze.btn-navy:hover { background: var(--navy-deep); }
.btn-outline {
  display: inline-block; border: 1px solid rgba(255,255,255,0.4); color: #fff; font-weight: bold;
  font-size: 15px; padding: 15px 33px; border-radius: 2px;
}
.btn-outline:hover { border-color: var(--bronze-light); color: var(--bronze-light); }
.btn-bronze-lg {
  display: inline-block; background: var(--bronze); color: #fff; font-weight: bold; font-size: 16px;
  padding: 18px 44px; border-radius: 2px; letter-spacing: 0.3px;
  box-shadow: 0 10px 28px rgba(173,138,74,0.32); border: 1px solid var(--bronze-light);
}
.btn-bronze-lg:hover { background: var(--bronze-light); color: #fff; }

/* ============================================================
   SECTION SHELLS
   ============================================================ */
.section { padding: 96px 0; }
.section-white { background: #fff; padding: 90px 0; }
.section-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--bronze);
  font-weight: bold; text-align: center; margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif); font-size: 32px; text-align: center; color: var(--navy);
  margin: 0 0 60px; font-weight: normal;
}
.section-sub { text-align: center; max-width: 600px; margin: 0 auto 56px; font-size: 15px; line-height: 1.75; color: var(--grey); }

/* ============================================================
   PHILOSOPHY / PULL QUOTE BANDS
   ============================================================ */
.philosophy { background: var(--navy-deep); padding: 80px 0; }
.philosophy .wrap { max-width: 760px; text-align: center; }
.philosophy .mark { color: var(--bronze); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: bold; margin-bottom: 22px; }
.philosophy p {
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.65;
  color: rgba(246,243,236,0.92); margin: 0;
}
.philosophy .rule { width: 46px; height: 2px; background: var(--bronze); margin: 26px auto 0; }

.philosophy-hero { background: var(--navy-deep); padding: 130px 0 120px; }
.philosophy-hero .wrap { max-width: 780px; text-align: center; }
.philosophy-hero .mark { color: var(--bronze); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: bold; margin-bottom: 26px; }
.core-statement { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.45; color: #fff; margin: 0; }
.philosophy-hero .rule { width: 46px; height: 2px; background: var(--bronze); margin: 30px auto; }
.core-substatement { font-size: 16px; line-height: 1.75; color: rgba(246,243,236,0.78); margin: 0 auto; max-width: 620px; }

/* ============================================================
   VALUE GRID (homepage + philosophy principles)
   ============================================================ */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px; }
.value-card { text-align: left; }
.value-num { font-family: var(--serif); font-size: 15px; color: var(--bronze); font-weight: bold; margin-bottom: 14px; letter-spacing: 1px; }
.value-card h3 {
  font-family: var(--serif); font-size: 22px; color: var(--navy); margin: 0 0 14px; font-weight: normal;
  border-bottom: 2px solid var(--bronze); padding-bottom: 14px;
}
.value-card p { font-size: 15px; line-height: 1.75; color: var(--grey); margin: 0; }
.value-card a.principle-link { font-size: 13px; color: var(--bronze); font-weight: bold; display: inline-block; margin-top: 14px; }

/* ============================================================
   TRUST MARKERS
   ============================================================ */
.trust { background: #fff; padding: 90px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.trust-item { text-align: left; }
.trust-icon { width: 30px; height: 30px; margin-bottom: 18px; }
.trust-item p { font-size: 15px; line-height: 1.7; color: var(--navy); margin: 0; padding-top: 14px; border-top: 1px solid var(--linegrey); }
.trust-note { text-align: center; font-size: 12.5px; color: var(--grey); font-style: italic; margin-top: 30px; }

/* ============================================================
   CONFIDENCE MATRIX (diamond + captions + connective band)
   ============================================================ */
.rcm { background: var(--navy); color: #fff; padding: 110px 0 100px; }
.rcm .section-label { color: var(--bronze-light); }
.rcm .section-title { color: #fff; margin-bottom: 20px; }
.rcm-sub {
  text-align: center; max-width: 560px; margin: 0 auto 60px; font-size: 16px; line-height: 1.75;
  color: rgba(246,243,236,0.82);
}
.diamond-wrap { max-width: 620px; margin: 0 auto 60px; position: relative; }
.diamond-svg { width: 100%; height: auto; display: block; }
.diamond-line {
  stroke: var(--bronze-light); stroke-width: 1; fill: none; opacity: 0.55;
  stroke-dasharray: 300; stroke-dashoffset: 300; transition: stroke-dashoffset 1.4s ease;
}
.diamond-wrap.in-view .diamond-line { stroke-dashoffset: 0; }
.node-circle { fill: var(--navy); stroke: var(--bronze); stroke-width: 1.5; }
.node-label { font-family: var(--serif); font-size: 15px; fill: #fff; text-anchor: middle; }
.rcm-cta { text-align: center; }

.pillar-captions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 900px; margin: 0 auto; }
.pillar-caption { text-align: center; }
.pillar-caption h3 { font-family: var(--serif); font-size: 16px; color: var(--navy); margin: 0 0 8px; font-weight: bold; }
.pillar-caption p { font-size: 14px; line-height: 1.6; color: var(--grey); margin: 0; font-style: italic; }

.rcm-connect { background: var(--navy); color: #fff; padding: 80px 0; text-align: center; }
.rcm-connect .section-label { color: var(--bronze-light); }
.rcm-connect p { font-size: 17px; line-height: 1.75; max-width: 640px; margin: 0 auto 34px; color: rgba(246,243,236,0.88); }

/* Concept row (how findings are communicated) */
.concept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.concept-item h3 { font-family: var(--serif); font-size: 17px; color: var(--navy); margin: 0 0 4px; font-weight: bold; }
.concept-item p { font-size: 15px; line-height: 1.7; color: var(--navy); margin: 0; padding-top: 16px; border-top: 2px solid var(--bronze); }

/* Disclaimer band */
.disclaimer-section { background: var(--offwhite); padding: 50px 0; border-top: 1px solid var(--linegrey); border-bottom: 1px solid var(--linegrey); }
.disclaimer-section .wrap { max-width: 780px; }
.disclaimer-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); font-weight: bold; margin-bottom: 12px; }
.disclaimer-text { font-size: 12.5px; line-height: 1.7; color: var(--grey); font-style: italic; margin: 0; }

/* ============================================================
   QUIET TRANSITIONAL BLOCK
   ============================================================ */
.quiet-block { max-width: 640px; margin: 0 auto; text-align: center; }
.quiet-block h2 { font-family: var(--serif); font-size: 28px; color: var(--navy); margin: 0 0 22px; font-weight: normal; }
.quiet-block p { font-size: 16px; line-height: 1.8; color: var(--grey); margin: 0 0 14px; }
.quiet-block p:last-child { margin-bottom: 0; }

/* ============================================================
   ABOUT — founder narrative, timeline, experience list
   ============================================================ */
.founder-intro { font-size: 17px; line-height: 1.8; color: var(--navy); margin: 0; }
.founder-cluster { margin-top: 52px; }
.founder-cluster h3 {
  font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--bronze); font-weight: bold; margin: 0 0 14px;
  border-bottom: 1px solid var(--linegrey); padding-bottom: 12px;
}
.founder-cluster p { font-size: 16px; line-height: 1.8; color: var(--navy); margin: 0; }
.portrait-reserve { height: 64px; }

.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 6px; }
.timeline::before { content: ''; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--linegrey); }
.timeline-item { position: relative; padding-left: 56px; margin-bottom: 40px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-marker {
  position: absolute; left: 6px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--offwhite); border: 2px solid var(--bronze);
}
.timeline-item.final .timeline-marker { background: var(--bronze); }
.timeline-content h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin: 0 0 6px; font-weight: bold; }
.timeline-content p { font-size: 14.5px; line-height: 1.7; color: var(--grey); margin: 0; }
.timeline-note { text-align: center; font-size: 12.5px; color: var(--grey); font-style: italic; margin: 0 auto 50px; max-width: 620px; }

.two-col-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 44px; list-style: none;
  margin: 50px auto 0; padding: 0; max-width: 900px;
}
.two-col-list li { font-size: 15px; line-height: 1.7; color: var(--navy); padding-left: 20px; position: relative; }
.two-col-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--bronze); }

/* ============================================================
   SERVICES — practice cards, capability list
   ============================================================ */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; }
.practice-card { background: #fff; border: 1px solid var(--linegrey); border-radius: 2px; padding: 32px 30px; text-align: left; }
.practice-card h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 0 0 8px; font-weight: normal; }
.practice-position { font-size: 13px; font-style: italic; color: var(--bronze); margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid var(--linegrey); }
.practice-card ul { margin: 0; padding: 0; list-style: none; }
.practice-card li { font-size: 14.5px; line-height: 1.65; color: var(--grey); margin: 0 0 10px; padding-left: 16px; position: relative; }
.practice-card li:last-child { margin-bottom: 0; }
.practice-card li::before { content: '\2014'; position: absolute; left: 0; color: var(--bronze); }
.learn-more, .practice-card a.learn-more { font-size: 13px; color: var(--bronze); font-weight: bold; display: inline-block; margin-top: 16px; }

.capability-list { max-width: 820px; margin: 0 auto; }
.capability-item { padding: 26px 0; border-bottom: 1px solid var(--linegrey); }
.capability-item:last-child { border-bottom: none; }
.capability-item h3 { font-family: var(--serif); font-size: 18px; color: var(--navy); margin: 0 0 8px; font-weight: bold; }
.capability-item p { font-size: 15px; line-height: 1.75; color: var(--grey); margin: 0; }

/* Client types */
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.client-item p { font-size: 15px; line-height: 1.7; color: var(--navy); margin: 0; padding-top: 16px; border-top: 2px solid var(--bronze); }

/* ============================================================
   INDEX CARDS (industries hub, markets & regions hub)
   ============================================================ */
.index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; max-width: 980px; margin: 0 auto; }
.index-card { background: #fff; border: 1px solid var(--linegrey); border-radius: 2px; padding: 32px 32px 28px; }
.index-card .range { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bronze); font-weight: bold; margin-bottom: 12px; }
.index-card h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); margin: 0 0 12px; font-weight: normal; }
.index-card p { font-size: 14.5px; line-height: 1.7; color: var(--grey); margin: 0 0 16px; }
.index-card a.learn-more { font-size: 13px; color: var(--bronze); font-weight: bold; margin-top: 0; }

/* ============================================================
   INSIGHTS — filters, article cards, lead capture
   ============================================================ */
.filter-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 50px; }
.filter-pill {
  font-size: 13px; font-weight: bold; color: var(--navy); background: #fff; border: 1px solid var(--linegrey);
  border-radius: 20px; padding: 9px 20px; cursor: pointer; font-family: var(--sans);
}
.filter-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.article-grid, .insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 940px; margin: 0 auto; }
.article-card, .insight-card { background: #fff; border: 1px solid var(--linegrey); border-radius: 2px; padding: 30px 30px 26px; }
.article-tag, .insight-cat {
  font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--bronze);
  font-weight: bold; margin-bottom: 12px; display: inline-block;
}
.insight-meta { display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px; }
.insight-date { font-size: 12.5px; color: var(--grey); }
.article-card h3, .insight-card h3 { font-family: var(--serif); font-size: 19px; color: var(--navy); margin: 0 0 12px; font-weight: normal; line-height: 1.35; }
.article-card h3 a, .insight-card h3 a { color: var(--navy); }
.article-card h3 a:hover, .insight-card h3 a:hover { color: var(--bronze); }
.article-card p, .insight-card p { font-size: 14.5px; line-height: 1.7; color: var(--grey); margin: 0 0 16px; }
.article-meta { font-size: 12.5px; color: var(--grey); border-top: 1px solid var(--linegrey); padding-top: 14px; }
.pagination-wrap { margin-top: 50px; text-align: center; }
.pagination-wrap .nav-links { display: flex; justify-content: center; gap: 10px; }

.lead-capture { background: var(--navy); color: #fff; padding: 60px 0; }
.lead-capture .wrap { max-width: 700px; text-align: center; }
.lead-capture h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 12px; font-weight: normal; }
.lead-capture p { font-size: 15px; line-height: 1.7; color: rgba(246,243,236,0.82); margin: 0 0 26px; }
.lead-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.lead-form input[type="email"] {
  font-family: var(--sans); font-size: 14px; padding: 13px 16px; border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: #fff; min-width: 260px;
}
.lead-form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.lead-form button, .lead-form input[type="submit"] {
  font-family: var(--sans); font-size: 14px; font-weight: bold; padding: 13px 26px; border-radius: 2px;
  background: var(--bronze); color: #fff; border: 1px solid var(--bronze-light); cursor: pointer;
}

/* ============================================================
   CONTACT — intro, discovery block, form (native + CF7/WPForms)
   ============================================================ */
.intro { padding: 60px 0 10px; text-align: center; }
.intro p { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--navy); margin: 0; }

.discovery-block {
  background: var(--navy); color: #fff; border-radius: 3px; padding: 44px 48px; text-align: center;
  margin: 40px auto 60px; max-width: 760px;
}
.discovery-block .label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--bronze-light); font-weight: bold; margin-bottom: 16px; }
.discovery-block h1, .discovery-block h2 { font-family: var(--serif); font-size: 30px; margin: 0 0 12px; font-weight: normal; color: #fff; }
.discovery-block p { font-size: 15px; color: rgba(246,243,236,0.82); margin: 0 0 26px; }

.form-section { padding: 0 0 90px; }
.form-shell { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--linegrey); border-radius: 3px; padding: 40px 44px; }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 12.5px; font-weight: bold; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-row .optional { font-weight: normal; color: var(--grey); font-style: italic; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checkbox-group label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: normal; color: var(--navy); }

.form-shell input[type="text"], .form-shell input[type="email"], .form-shell input[type="tel"],
.form-shell input[type="url"], .form-shell input[type="number"], .form-shell input[type="date"],
.form-shell select, .form-shell textarea {
  width: 100%; font-family: var(--sans); font-size: 14px; padding: 11px 13px; border-radius: 2px;
  border: 1px solid var(--linegrey); background: var(--offwhite); color: var(--navy);
}
.form-shell input:focus, .form-shell select:focus, .form-shell textarea:focus { border-color: var(--bronze); outline: none; }
.form-submit, .form-shell input[type="submit"], .form-shell button[type="submit"] {
  width: 100%; font-family: var(--sans); font-size: 15px; font-weight: bold; padding: 15px; border-radius: 2px;
  background: var(--bronze); color: #fff; border: 1px solid var(--bronze-light); cursor: pointer; margin-top: 6px;
}
.form-submit:hover, .form-shell input[type="submit"]:hover { background: var(--bronze-light); }

/* Contact Form 7 specifics */
.form-shell .wpcf7-form p { margin: 0 0 20px; }
.form-shell .wpcf7-form label { display: block; font-size: 12.5px; font-weight: bold; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.3px; }
.form-shell .wpcf7-list-item { margin: 0; }
.form-shell .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form-shell .wpcf7-checkbox label { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: normal; }
.form-shell .wpcf7-checkbox input { width: auto; }
.form-shell .wpcf7-not-valid-tip { font-size: 12px; color: #A03B2E; margin-top: 5px; }
.form-shell .wpcf7-response-output { border: 1px solid var(--bronze); border-radius: 2px; padding: 12px 16px; font-size: 13.5px; margin: 20px 0 0; }
/* WPForms */
.form-shell .wpforms-field { margin-bottom: 20px !important; }
.form-shell .wpforms-field-label { font-size: 12.5px !important; font-weight: bold !important; color: var(--navy) !important; }
.form-shell button[type="submit"].wpforms-submit { width: 100%; background: var(--bronze) !important; border: 1px solid var(--bronze-light) !important; color: #fff !important; font-weight: bold !important; }

.response-note { text-align: center; font-size: 14.5px; color: var(--navy); font-weight: bold; margin: 26px auto 6px; max-width: 640px; }
.confidentiality-note { text-align: center; font-size: 12.5px; color: var(--grey); font-style: italic; margin: 0 auto 34px; max-width: 560px; }
.direct-contact { text-align: center; font-size: 13px; color: var(--grey); }
.direct-contact a { color: var(--bronze); font-weight: bold; }

/* ============================================================
   CLOSING CTA + FOOTER
   ============================================================ */
.closing { background: var(--offwhite); padding: 110px 0; text-align: center; border-top: 1px solid var(--linegrey); }
.closing h2 { font-family: var(--serif); font-size: 34px; color: var(--navy); margin: 0 0 18px; font-weight: normal; }
.closing p { font-size: 16px; color: var(--grey); margin: 0 0 38px; }

.site-footer { background: var(--navy-deep); color: rgba(246,243,236,0.6); padding: 50px 0 40px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; flex-wrap: wrap; gap: 20px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); color: #fff; font-size: 18px; }
.footer-logo img { width: 30px; height: 30px; object-fit: contain; display: block; }
.footer-logo span { color: #fff; }
ul.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: rgba(246,243,236,0.65); font-size: 13px; }
.footer-links a:hover { color: var(--bronze-light); }
.footer-links .current-menu-item > a { color: var(--bronze-light); font-weight: bold; }
.site-footer .fine { font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ============================================================
   ARTICLE BODY (posts + standard pages)
   ============================================================ */
.article-body { font-size: 16px; line-height: 1.8; color: var(--navy); }
.article-body h2 { font-family: var(--serif); font-size: 28px; font-weight: normal; margin: 48px 0 18px; }
.article-body h3 { font-family: var(--serif); font-size: 21px; font-weight: bold; margin: 38px 0 14px; }
.article-body p { margin: 0 0 20px; }
.article-body a { color: var(--bronze); font-weight: bold; }
.article-body blockquote {
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.65;
  border-left: 2px solid var(--bronze); margin: 32px 0; padding: 4px 0 4px 26px; color: var(--grey);
}
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body img { border-radius: 2px; }
.article-body .wp-caption-text, .article-body figcaption { font-size: 13px; color: var(--grey); font-style: italic; }

/* WP alignment helpers */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.alignwide { max-width: 1120px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .value-grid, .trust-grid, .practice-grid, .client-grid, .concept-grid,
  .article-grid, .insight-grid, .index-grid, .two-col-list { grid-template-columns: 1fr; }
  .pillar-captions { grid-template-columns: 1fr 1fr; }
  .form-two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-home h1 { font-size: 36px; }
  .core-statement { font-size: 24px; }
  .diamond-wrap { max-width: 100%; }
  .discovery-block { margin: 30px 20px 50px; padding: 34px 26px; }
  .form-shell { margin: 0 20px; padding: 30px 26px; }

  /* Mobile menu */
  .nav-toggle { display: flex; }
  ul.nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--linegrey);
    box-shadow: 0 18px 32px rgba(14,31,60,0.14); padding: 12px 0; z-index: 30;
  }
  .nav-open ul.nav-links { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 28px; font-size: 15px; }
  .nav-links .current-menu-item > a, .nav-links .current-menu-ancestor > a { border-bottom: none; }
  .nav-links li.cta { padding: 12px 28px; }
  .nav-links li.cta > a { text-align: center; }
  /* Sub-menus rendered inline on mobile */
  .nav-links .sub-menu {
    display: block; position: static; transform: none; box-shadow: none; border: none;
    padding: 0 0 4px; margin: 0; min-width: 0; background: var(--offwhite);
  }
  .nav-links .sub-menu a { padding: 10px 44px; font-size: 14px; }
}


/* ============================================================
   PAGE-SPECIFIC RULES (merged from mockups)
   ============================================================ */
/* index */ .nav-links { display: flex; gap: 36px; align-items: center; }
/* index */ footer { background: var(--navy-deep); color: rgba(246,243,236,0.6); padding: 50px 0 40px; }
/* index */ .footer-links { display: flex; gap: 30px; }
/* index */ footer .fine { font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
/* about */ .footer-links a.active { color: var(--bronze-light); font-weight: bold; }
/* real-estate */ .imagery-placement { height: 220px; position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy) 100%); }
/* real-estate */ .imagery-placement svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.35; }
/* real-estate */ .imagery-caption { position: absolute; bottom: 14px; right: 40px; font-size: 11.5px; color: rgba(246,243,236,0.55); font-style: italic; font-family: var(--sans); }
/* real-estate */ .challenges-list { max-width: 700px; margin: 0 auto; list-style: none; padding: 0; }
/* real-estate */ .challenges-list li { font-size: 15.5px; line-height: 1.75; color: var(--navy); padding: 16px 0 16px 26px; border-bottom: 1px solid var(--linegrey); position: relative; }
/* real-estate */ .challenges-list li:first-child { border-top: 1px solid var(--linegrey); }
/* real-estate */ .challenges-list li::before { content: '\2014'; position: absolute; left: 0; color: var(--bronze); }
/* real-estate */ .approach-card { background: #fff; border: 1px solid var(--linegrey); border-radius: 2px; padding: 34px 36px; max-width: 780px; margin: 0 auto; }
/* real-estate */ .approach-card ul { margin: 0 0 20px; padding: 0; list-style: none; }
/* real-estate */ .approach-card li { font-size: 15px; line-height: 1.7; color: var(--grey); margin: 0 0 12px; padding-left: 20px; position: relative; }
/* real-estate */ .approach-card li:last-child { margin-bottom: 0; }
/* real-estate */ .approach-card li::before { content: '\2014'; position: absolute; left: 0; color: var(--bronze); }
/* real-estate */ .approach-rcm-note { font-size: 14px; color: var(--navy); border-top: 1px solid var(--linegrey); padding-top: 18px; margin: 0; }
/* real-estate */ .approach-rcm-note a { color: var(--bronze); font-weight: bold; }
/* real-estate */ .range-block { text-align: center; }
/* real-estate */ .range-figure { font-family: var(--serif); font-size: 40px; color: var(--navy); margin: 0 0 10px; }
/* real-estate */ .range-caption { font-size: 14px; color: var(--grey); }
/* real-estate */ .reg-note { font-size: 13px; color: var(--grey); font-style: italic; margin: 18px auto 0; max-width: 620px; text-align: center; }
/* real-estate */ .other-sectors { text-align: center; padding: 40px 0 0; }
/* real-estate */ .other-sectors span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); display: block; margin-bottom: 14px; }
/* real-estate */ .other-sectors a { font-size: 14px; color: var(--bronze); font-weight: bold; margin: 0 14px; }
/* confidence-matrix */ .hero p.subhead:last-child { margin-bottom: 0; }
/* north-america */ .stat-row { display: grid; gap: 40px; max-width: 900px; margin: 0 auto 30px; }
/* north-america */ .stat-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* north-america */ .stat-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
/* north-america */ .stat-item { text-align: center; }
/* north-america */ .stat-figure { font-family: var(--serif); font-size: 38px; color: var(--navy); margin: 0 0 8px; }
/* north-america */ .stat-caption { font-size: 13.5px; line-height: 1.6; color: var(--grey); }
/* north-america */ .stat-narrative { max-width: 720px; margin: 0 auto; text-align: center; font-size: 15.5px; line-height: 1.8; color: var(--navy); }
/* north-america */ .stat-source { max-width: 720px; margin: 22px auto 0; text-align: center; font-size: 12px; line-height: 1.6; color: var(--grey); font-style: italic; }
/* north-america */ .reg-text { max-width: 780px; margin: 0 auto; text-align: center; font-size: 15.5px; line-height: 1.8; color: var(--navy); }
/* north-america */ .other-geo { text-align: center; padding: 40px 0 0; }
/* north-america */ .other-geo span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); display: block; margin-bottom: 14px; }
/* north-america */ .other-geo a { font-size: 14px; color: var(--bronze); font-weight: bold; margin: 0 14px; }
/* insights */ .lead-form input::placeholder { color: rgba(246,243,236,0.5); }
/* contact */ .form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"], .form-row select, .form-row textarea { width: 100%; font-family: var(--sans); font-size: 14px; padding: 11px 13px; border-radius: 2px; border: 1px solid var(--linegrey); background: var(--offwhite); color: var(--navy); }
/* contact */ .form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--bronze); outline: none; }
