/* ============================================================
   Vision 19 Management Company LLC — Global Stylesheet
   ============================================================ */

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

/* ─── CUSTOM PROPERTIES ─────────────────────────────── */
:root {
  --navy:       #0d1b2e;
  --navy-mid:   #132236;
  --navy-light: #1a2f4a;
  --gold:       #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale:  #f5edd8;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --gray-100:   #f1f3f6;
  --gray-200:   #e4e7ec;
  --gray-400:   #9aa3b0;
  --gray-600:   #5c6675;
  --gray-800:   #2e3745;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-serif:   'Cormorant Garamond', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --transition: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm:  0 1px 3px rgba(13,27,46,0.08), 0 1px 2px rgba(13,27,46,0.06);
  --shadow-md:  0 4px 12px rgba(13,27,46,0.10), 0 2px 6px rgba(13,27,46,0.08);
  --shadow-lg:  0 16px 40px rgba(13,27,46,0.14), 0 4px 12px rgba(13,27,46,0.10);
  --shadow-gold: 0 4px 24px rgba(201,168,76,0.18);
}

/* ─── RESET & BASE ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--ff-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

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

/* ─── TYPOGRAPHY ─────────────────────────────────────── */
.display-xl {
  font-family: var(--ff-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.display-lg {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
}
.display-md {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.display-sm {
  font-family: var(--ff-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 500;
  line-height: 1.3;
}

.eyebrow {
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.body-lg { font-size: 1.0625rem; line-height: 1.75; }
.body-md { font-size: 0.9375rem; line-height: 1.7; }
.body-sm { font-size: 0.8125rem; line-height: 1.6; }

/* ─── SITE LAYOUT ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { position: relative; }

.section-pad      { padding: 6rem 0; }
.section-pad-lg   { padding: 8rem 0; }
.section-pad-sm   { padding: 4rem 0; }

/* ─── HEADER / NAVIGATION ────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}
#site-header.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
  padding: 0.875rem 0;
}
#site-header.transparent { background: transparent; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.logo-text-primary {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.1;
}
.logo-text-sub {
  font-family: var(--ff-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-family: var(--ff-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.875rem;
  right: 0.875rem;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

.btn-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 1.5px solid rgba(201,168,76,0.5);
  padding: 0.5rem 1.125rem;
  border-radius: 6px;
  transition: all var(--transition);
}
.btn-portal:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 0 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-size: 0.9rem;
}
.mobile-nav .btn-portal {
  margin: 1rem 1.5rem 0;
  display: inline-flex;
}

/* ─── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.875rem 1.75rem;
  border-radius: 7px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  line-height: 1;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: rgba(201,168,76,0.4);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,168,76,0.06) 0%, transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,0.02) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.6;
}

/* ─── PAGE HERO (inner pages) ────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* ─── SECTION HEADINGS ───────────────────────────────── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header .eyebrow { justify-content: center; }
.section-header .eyebrow::before { display: none; }
.section-header .eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1.5px;
  background: var(--gold);
}

/* ─── CARDS ──────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}
.card-dark {
  background: var(--navy-light);
  border-color: rgba(255,255,255,0.07);
  color: var(--white);
}
.card-dark:hover { border-color: rgba(201,168,76,0.3); }

/* ─── STAT / TRUST STRIP ─────────────────────────────── */
.trust-strip {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 2rem 1rem;
}
.trust-value {
  font-family: var(--ff-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.trust-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-600);
}

/* ─── PORTFOLIO CARDS ────────────────────────────────── */
.portfolio-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.portfolio-card-header {
  background: var(--navy);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portfolio-card-body { padding: 1.75rem; }

.status-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
}
.status-active { background: rgba(34,197,94,0.15); color: #22c55e; border: 1px solid rgba(34,197,94,0.25); }
.status-development { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.25); }

/* ─── ENTERPRISE DIAGRAM ─────────────────────────────── */
.diagram-wrap {
  background: var(--navy);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.diagram-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.diagram-node-parent {
  background: var(--gold);
  color: var(--navy);
  border-radius: 10px;
  padding: 1.25rem 2rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-align: center;
  display: inline-block;
  position: relative;
}
.diagram-connector {
  width: 2px;
  height: 40px;
  background: rgba(201,168,76,0.4);
  margin: 0 auto;
}
.diagram-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  position: relative;
}
.diagram-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 60%;
  height: 1.5px;
  background: rgba(201,168,76,0.3);
  transform: translateX(-50%);
}
.diagram-child {
  flex: 1;
  max-width: 220px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  position: relative;
}
.diagram-child::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  width: 1.5px; height: 40px;
  background: rgba(201,168,76,0.3);
  transform: translateX(-50%);
}
.diagram-child-icon {
  width: 38px; height: 38px;
  background: rgba(201,168,76,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--gold);
}

/* ─── CORE VALUES ────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}
.value-item {
  padding: 2.5rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  transition: background var(--transition);
}
.value-item:last-child { border-right: none; }
.value-item:hover { background: rgba(255,255,255,0.03); }
.value-number {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ─── DISCLOSURE BOX ─────────────────────────────────── */
.disclosure-box {
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,0.35);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  font-size: 0.8125rem;
  color: var(--gray-800);
  line-height: 1.65;
}
.disclosure-box strong { color: var(--navy); }

/* ─── CONTACT FORM ───────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ─── RESOURCE CARDS ─────────────────────────────────── */
.resource-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-top: 1rem;
  transition: gap var(--transition);
}
.resource-link:hover { gap: 0.65rem; }

/* ─── FAQ ────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--ff-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  gap: 1rem;
}
.faq-icon {
  width: 28px; height: 28px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
  color: var(--gold);
}
.faq-item.open .faq-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* ─── FOOTER ─────────────────────────────────────────── */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}
.footer-top {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-wrap { margin-bottom: 1.25rem; }
.footer-desc {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
}
.footer-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.625rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }

.portal-teaser {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  padding: 1.25rem;
  margin-top: 1rem;
}
.portal-teaser-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.portal-teaser-desc {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 0.875rem;
}
.btn-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.45rem 0.875rem;
  border-radius: 6px;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  max-width: 480px;
  line-height: 1.5;
}

/* ─── ANIMATIONS ─────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-fade-in { animation: fadeIn 0.6s ease both; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── UTILITY ────────────────────────────────────────── */
.gold { color: var(--gold); }
.navy { color: var(--navy); }
.text-muted { color: var(--gray-600); }
.bg-navy { background: var(--navy); }
.bg-navy-mid { background: var(--navy-mid); }
.bg-off-white { background: var(--off-white); }
.bg-gray-100 { background: var(--gray-100); }
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.25;
  margin: 0;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .value-item:nth-child(3) { border-right: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section-pad { padding: 4rem 0; }
  .section-pad-lg { padding: 5rem 0; }
  .main-nav { display: none; }
  .btn-portal-desktop { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .value-item:nth-child(2n) { border-right: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .diagram-row { flex-direction: column; align-items: center; }
  .diagram-row::before { display: none; }
  .diagram-child::before { display: none; }
  .diagram-child { max-width: 100%; width: 100%; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .value-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .trust-strip .container { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ─── SERVICE DETAIL ─────────────────────────────────── */
.service-section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.service-section:last-child { border-bottom: none; }
.service-icon-lg {
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.service-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}
.service-feature-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ─── PRINT ──────────────────────────────────────────── */
@media print {
  #site-header, #site-footer { display: none; }
  .section-pad { padding: 2rem 0; }
}

/* ─── FOOTER GRID RESPONSIVE ────────────────────────── */
@media (max-width: 1024px) {
  .footer-top .container > div { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
  .footer-top .container > div { grid-template-columns: 1fr !important; }
  .trust-strip .container > div { grid-template-columns: 1fr 1fr !important; }
  .trust-item { border-left: none !important; border-bottom: 1px solid var(--gray-200); }
  .form-group + .form-group { margin-top: 0; }
  /* Contact form 2-col grid collapses */
  form .form-group:first-of-type > div,
  form > div[style*="grid-template-columns"] { display: block !important; }
}

/* ─── SERVICES NAV RESPONSIVE ───────────────────────── */
@media (max-width: 900px) {
  /* 6-col service nav wraps to 3x2 */
  #services .reveal div[style*="grid-template-columns:repeat(6"] {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 600px) {
  #services .reveal div[style*="grid-template-columns:repeat(6"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ─── PORTAL GRID RESPONSIVE ────────────────────────── */
@media (max-width: 900px) {
  #portal .reveal > div > div[style*="grid-template-columns:1.3fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── CONTACT FORM GRID RESPONSIVE ─────────────────── */
@media (max-width: 600px) {
  form div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}
