/* ==========================================================================
   Pramod Gyawali & Associates — Chartered Accountants
   Clean, Solid, High-Performance Stylesheet (Zero Gradients)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette (Solid Navy) */
  --brand-950: #061422;
  --brand-900: #0b2338;
  --brand-850: #102d48;
  --brand-800: #163858;
  --brand-700: #1d4870;
  --brand-600: #26598a;

  /* Accent Gold / Brass (Solid) */
  --accent-gold: #a8802c;
  --accent-gold-hover: #8f6c23;
  --accent-gold-light: #d3b06a;
  --accent-gold-soft: #fcf8ee;

  /* Neutrals & Text */
  --ink: #111827;
  --ink-secondary: #1f2937;
  --body: #374151;
  --muted: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --line-subtle: #f3f4f6;

  /* Surfaces */
  --surface: #ffffff;
  --surface-soft: #f9fafb;
  --surface-sunk: #f3f4f6;
  --surface-card: #ffffff;

  /* Dark Theme Surfaces */
  --dark-text: #d1d5db;
  --dark-muted: #9ca3af;
  --dark-line: rgba(255, 255, 255, 0.14);
  --dark-surface: #0b2338;

  /* Shadows (Subtle, Natural) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(11, 35, 56, 0.08);
  --shadow-lg: 0 12px 28px rgba(11, 35, 56, 0.12);

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Layout */
  --wrap: 1180px;
  --gutter: 24px;
  --gap: 24px;
  --section-y: 76px;

  /* Typography */
  --ff-head: Georgia, "Times New Roman", serif;
  --ff-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;

  /* Solid Background for Mastheads */
  --masthead-bg: #0b2338;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--ff-body);
  color: var(--body);
  background-color: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, canvas, audio, iframe, embed, object {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  vertical-align: middle;
}

svg {
  vertical-align: middle;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  color: var(--brand-900);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 1.6rem + 2vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p {
  margin-bottom: 1rem;
  color: var(--body);
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover {
  color: var(--accent-gold);
}

strong {
  color: var(--ink);
  font-weight: 600;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

::selection {
  background: var(--brand-900);
  color: #ffffff;
}

:focus-visible {
  outline: 2px solid var(--brand-700);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   4. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section--soft {
  background-color: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head h2 {
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

.eyebrow {
  display: block;
  font-family: var(--ff-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.eyebrow--light {
  color: var(--accent-gold-light);
}

.rule {
  width: 46px;
  height: 2px;
  background: var(--accent-gold);
  margin: 12px auto 18px;
}

.rule--left {
  margin-inline: 0;
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
  align-items: start;
}

.section-actions {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--brand-900);
  color: #ffffff;
  border-color: var(--brand-900);
}
.btn--primary:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: #ffffff;
}

.btn--accent {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}
.btn--accent:hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: #ffffff;
}

.btn--light {
  background: #ffffff;
  color: var(--brand-900);
  border-color: #ffffff;
}
.btn--light:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  color: var(--brand-950);
}

.btn--ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand__logo {
  height: 48px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-secondary);
  border-radius: var(--radius-sm);
  transition: color 0.16s ease, background 0.16s ease;
}

.nav-link:hover {
  color: var(--brand-900);
  background: var(--surface-sunk);
}

.nav-link.is-active {
  color: var(--brand-900);
  background: var(--surface-sunk);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--accent-gold);
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--brand-900);
}

.nav-toggle-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, top 0.2s ease;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. HERO & PAGE BANNERS (Solid Navy)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--masthead-bg);
  color: var(--dark-text);
  padding: 88px 0 106px;
  border-bottom: 3px solid var(--accent-gold);
}

.hero h1 {
  color: #ffffff;
  max-width: 18ch;
  margin: 10px 0 18px;
}

.hero p {
  color: var(--dark-text);
  font-size: 1.1rem;
  max-width: 58ch;
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.page-banner {
  position: relative;
  background: var(--masthead-bg);
  color: var(--dark-text);
  padding: 52px 0;
  border-bottom: 3px solid var(--accent-gold);
}

.page-banner h1 {
  color: #ffffff;
  margin-bottom: 6px;
}

.crumbs {
  font-size: 0.88rem;
  color: var(--dark-muted);
}
.crumbs a {
  color: var(--accent-gold-light);
}
.crumbs a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   9. STATS RIBBON
   -------------------------------------------------------------------------- */
.stats-ribbon {
  position: relative;
  z-index: 10;
  margin-top: -42px;
  margin-bottom: 16px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat-item {
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--line-subtle);
  transition: background 0.16s ease;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item:hover {
  background: var(--surface-soft);
}

.stat-value {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand-900);
  line-height: 1.15;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   10. CARDS & GRID COMPONENTS
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.card h3 {
  color: var(--brand-900);
  margin-bottom: 8px;
}

.card p {
  font-size: 0.94rem;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 0;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-700);
}

.card:hover .card__more,
.card__more:hover {
  color: var(--accent-gold);
}

.card__list {
  list-style: none;
  margin-top: 14px;
}

.card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--body);
  margin-bottom: 6px;
  line-height: 1.5;
}

.card__list li:last-child {
  margin-bottom: 0;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-gold);
}

/* --------------------------------------------------------------------------
   11. FOUNDER PROFILE & DIRECTOR SPOTLIGHT (ABOUT PAGE)
   -------------------------------------------------------------------------- */
.founder-profile {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 38px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 48px;
}

.founder-sidebar {
  background: var(--brand-900);
  color: var(--dark-text);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  border-top: 4px solid var(--accent-gold);
  text-align: center;
}

.founder-photo {
  width: 130px;
  height: 130px;
  max-width: 130px;
  max-height: 130px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  overflow: hidden;
  margin: 0 auto 18px;
  background: var(--brand-850);
  flex-shrink: 0;
  position: relative;
}

.founder-photo img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.founder-sidebar h3 {
  color: #ffffff;
  font-size: 1.32rem;
  margin-bottom: 4px;
}

.founder-sidebar .role-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 18px;
}

.founder-creds {
  list-style: none;
  text-align: left;
  border-top: 1px solid var(--dark-line);
  padding-top: 16px;
  font-size: 0.86rem;
}

.founder-creds li {
  margin-bottom: 8px;
  display: flex;
  gap: 8px;
  line-height: 1.4;
}

.founder-creds li svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: 16px;
  max-height: 16px;
  color: var(--accent-gold-light);
  margin-top: 2px;
}

.founder-content h2 {
  margin-bottom: 12px;
}

.director-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0;
}

.director-card {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand-700);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
}

.director-card h4 {
  color: var(--brand-900);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.director-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.director-card p {
  font-size: 0.88rem;
  color: var(--body);
  line-height: 1.5;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. GOOGLE CALENDAR APPOINTMENT SCHEDULER WIDGET
   -------------------------------------------------------------------------- */
.calendar-widget {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 36px 0;
}

.calendar-widget-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--surface-soft);
}

.calendar-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-avatar {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  flex-shrink: 0;
  position: relative;
}

.calendar-avatar img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.calendar-user-info h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}

.calendar-user-info p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0;
}

.calendar-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.86rem;
  color: var(--body);
  padding: 16px 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.calendar-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.calendar-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-700);
}

.calendar-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4285f4;
}

.calendar-brand-badge svg {
  width: 20px;
  height: 20px;
}

.calendar-body {
  padding: 28px;
}

.calendar-embed-container {
  width: 100%;
  min-height: 540px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.calendar-slot-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
}

.slot-days {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.slot-day-col {
  text-align: center;
}

.slot-day-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.slot-btn {
  display: block;
  width: 100%;
  padding: 8px 6px;
  margin-bottom: 8px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-900);
  cursor: pointer;
  transition: all 0.16s ease;
  text-align: center;
  text-decoration: none;
}

.slot-btn:hover {
  background: var(--brand-900);
  color: #ffffff;
  border-color: var(--brand-900);
}

/* --------------------------------------------------------------------------
   13. PROCESS STEPS & SECTORS
   -------------------------------------------------------------------------- */
.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: border-color 0.18s ease;
}

.step-card:hover {
  border-color: var(--brand-700);
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent-gold-soft);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 0.91rem;
  color: var(--muted);
  line-height: 1.5;
}

.sector-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.18s ease;
}

.sector-card:hover {
  border-color: var(--brand-700);
}

.sector-card h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
  color: var(--brand-900);
}

.sector-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   14. SERVICE BLOCKS & JUMP NAVIGATION (SERVICES PAGE)
   -------------------------------------------------------------------------- */
.service-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 0;
}

.service-nav a {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--brand-900);
  background: var(--surface);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.service-nav a:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.service-block {
  scroll-margin-top: 90px;
  margin-bottom: 52px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
}

.service-block:last-of-type {
  margin-bottom: 0;
}

.checklist {
  list-style: none;
  margin: 16px 0 24px;
}

.checklist li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.checklist li:last-child {
  margin-bottom: 0;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   15. CONTACT FORM & INFO (CONTACT PAGE)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-xs);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.field .req {
  color: #b91c1c;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.16s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9ca3af;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-700);
}

.field textarea {
  min-height: 125px;
  resize: vertical;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #b91c1c;
}

.error-msg {
  display: none;
  margin-top: 4px;
  font-size: 0.8rem;
  color: #b91c1c;
}

.field.has-error .error-msg {
  display: block;
}

.form-status {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  font-size: 0.92rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 3px solid #15803d;
  border-radius: var(--radius-sm);
  color: #166534;
}

.form-status.is-visible {
  display: block;
}

.info-list {
  list-style: none;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.info-item:first-child { padding-top: 0; }
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }

.info-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunk);
  color: var(--brand-700);
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.info-icon svg {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.info-content strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-900);
  margin-bottom: 2px;
}

.info-content span,
.info-content a {
  font-size: 0.93rem;
  color: var(--body);
}

.info-content a:hover {
  color: var(--accent-gold);
}

.map-embed {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
  margin-top: 18px;
}

.map-embed iframe {
  width: 100%;
  height: 270px;
  border: 0;
  display: block;
}

/* --------------------------------------------------------------------------
   16. CTA BANNER (Solid Navy)
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--masthead-bg);
  color: var(--dark-text);
  padding: 64px 0;
  text-align: center;
  position: relative;
  border-top: 3px solid var(--accent-gold);
}

.cta-banner h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-banner p {
  color: var(--dark-text);
  max-width: 54ch;
  margin: 0 auto 26px;
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   17. FOOTER (High-Contrast & Legible)
   -------------------------------------------------------------------------- */
.site-footer {
  background: #061422;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.site-footer p {
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 14px;
}

.site-footer strong {
  color: #ffffff;
  font-weight: 700;
}

.site-footer a {
  color: #cbd5e1;
  transition: color 0.18s ease;
}
.site-footer a:hover {
  color: var(--accent-gold-light);
}

.footer-top {
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1.15fr) minmax(0, 1.25fr);
  gap: 38px;
  align-items: start;
}

.footer-logo-card {
  display: inline-block;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-logo-card .footer-logo,
.footer-logo {
  height: 44px;
  width: auto;
  max-width: 280px;
  margin-bottom: 0;
  display: block;
  object-fit: contain;
}

.site-footer h4 {
  color: #ffffff;
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-links li:last-child {
  margin-bottom: 0;
}

.footer-contact {
  list-style: none;
  margin-top: 14px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.45;
  color: #cbd5e1;
}

.footer-contact li span,
.footer-contact li a {
  color: #cbd5e1;
}

.footer-contact svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  max-width: 16px;
  max-height: 16px;
  color: var(--accent-gold-light);
  margin-top: 3px;
}

.footer-map-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
  margin-bottom: 10px;
}

.footer-map-card iframe {
  width: 100%;
  height: 150px;
  border: 0;
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
  font-size: 0.84rem;
  color: #94a3b8;
}

.footer-bottom span {
  color: #94a3b8;
}

.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-y: 64px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .split { gap: 36px; }
  .founder-profile { grid-template-columns: 1fr; }
  .founder-sidebar { text-align: center; }
  .founder-creds { text-align: left; }
  .calendar-slot-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --section-y: 52px; }

  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .split,
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .director-grid { grid-template-columns: 1fr; }

  .hero { padding: 64px 0 78px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-item:nth-child(2) { border-right: 0; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--line-subtle); }

  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav-link {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line-subtle);
    border-radius: 0;
  }
  .nav-link.is-active::after { display: none; }
  .nav-cta { margin: 14px 0 0; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; --gap: 16px; --section-y: 44px; }

  .brand__logo { height: 42px; }
  .site-header .wrap { min-height: 62px; }

  .grid--2, .grid--4, .form-row { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: minmax(0, 1fr); }
  .stat-item { border-right: 0; border-bottom: 1px solid var(--line-subtle); }
  .stat-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .btn { width: 100%; }
  .form-card { padding: 22px 16px; }
  .service-block { padding: 22px 16px; }
  .founder-profile { padding: 22px 16px; }
  .slot-days { grid-template-columns: repeat(2, 1fr); }
}
