/* ==========================================================================
   Menjić Consulting — Royal Blue & Cool Slate-Gray Executive Stylesheet
   ========================================================================== */

:root {
  /* Balanced cool slate-gray surfaces (not blinding white) */
  --bg-page: #e8eef6;
  --bg-subtle: #dce5f2;
  --bg-card: #f6f8fc;
  --bg-card-hover: #ffffff;

  /* Rich Royal Blue brand surfaces */
  --royal-deep: #112754;
  --royal-dark: #16336d;
  --royal-main: #1d4ed8;
  --royal-bright: #2563eb;
  --royal-hover: #1e40af;
  --royal-soft: rgba(29, 78, 216, 0.11);
  --royal-glow: rgba(29, 78, 216, 0.28);

  --border-subtle: #cad6e6;
  --border-strong: #b4c4da;
  --border-accent: rgba(29, 78, 216, 0.42);
  --border-on-dark: rgba(255, 255, 255, 0.16);

  --text-primary: #0f1f3d;
  --text-secondary: #334866;
  --text-muted: #526785;

  --text-on-dark: #f8fafc;
  --text-on-dark-muted: #cbd8ee;

  --whatsapp: #16a34a;
  --whatsapp-dim: rgba(22, 163, 74, 0.12);

  --shadow-sm: 0 2px 6px rgba(17, 39, 84, 0.07);
  --shadow-md: 0 14px 32px -12px rgba(17, 39, 84, 0.16);
  --shadow-lg: 0 24px 52px -18px rgba(10, 24, 54, 0.34);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.65;
  background-color: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--royal-main);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  border-radius: var(--radius-sm);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Architectural subtle background grid on hero */
.bg-grid {
  position: relative;
}

.bg-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 35%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Header & Navigation (Deep Royal Blue — keeps original white logo sharp)
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 39, 84, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-on-dark);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(17, 39, 84, 0.98);
  box-shadow: 0 8px 28px -12px rgba(10, 24, 54, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #ffffff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--text-on-dark-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.lang-btn.active {
  background: #ffffff;
  color: var(--royal-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.78rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--royal-main);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--royal-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px -10px var(--royal-glow);
}

.site-header .btn-primary,
.hero .btn-primary {
  background: #ffffff;
  color: var(--royal-deep);
}

.site-header .btn-primary:hover,
.hero .btn-primary:hover {
  background: #dbeafe;
  color: var(--royal-deep);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-strong);
  color: var(--royal-deep);
}

.btn-secondary:hover {
  border-color: var(--royal-main);
  color: var(--royal-main);
  background: #ffffff;
}

.hero .btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
}

.site-header .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.site-header .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 0.58rem 1.05rem;
  font-size: 0.86rem;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 78px 0 0 0;
  background: rgba(17, 39, 84, 0.98);
  backdrop-filter: blur(20px);
  z-index: 95;
  padding: 2rem 1.5rem;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border-on-dark);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-on-dark);
  color: #ffffff;
}

/* ==========================================================================
   Hero Section (Rich Royal Blue Banner)
   ========================================================================== */

.hero {
  position: relative;
  padding: 5.5rem 0 5.25rem;
  overflow: hidden;
  background: linear-gradient(135deg, #0f2450 0%, #193b82 55%, #1e4cb3 100%);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-glow {
  position: absolute;
  top: -160px;
  right: -120px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.24) 0%, rgba(29, 78, 216, 0.06) 45%, rgba(15, 36, 80, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: 3.5rem;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--royal-main);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--royal-main);
  border-radius: 2px;
}

.hero .eyebrow {
  color: #93c5fd;
}

.hero .eyebrow::before {
  background: #93c5fd;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
  color: #ffffff;
}

.hero h1 .accent-word {
  color: #93c5fd;
}

.hero-lead {
  font-size: clamp(1.04rem, 1.38vw, 1.16rem);
  color: var(--text-on-dark-muted);
  max-width: 60ch;
  margin: 0 0 2.2rem;
  line-height: 1.72;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Right-side Practice Profile card on Royal Blue hero */
.hero-panel {
  background: rgba(15, 31, 66, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 197, 253, 0.28);
  border-top: 3px solid #60a5fa;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.15rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #93c5fd;
  font-weight: 600;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.7);
}

.spec-list {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.spec-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.spec-row dt {
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

.spec-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  color: #ffffff;
  text-align: right;
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */

.section {
  padding: 5.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-page);
}

.section-alt {
  background: var(--bg-subtle);
}

.section-header {
  max-width: 700px;
  margin-bottom: 3.1rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.025em;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.04rem;
  margin: 0;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--royal-main);
  border-radius: var(--radius-md);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--royal-main);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.card-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--royal-main);
  letter-spacing: 0.08em;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   Regional Footprint / Markets Section
   ========================================================================== */

.markets-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.98fr);
  gap: 3rem;
  align-items: start;
}

.market-group {
  margin: 1.35rem 0;
}

.market-group-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-dark);
  margin: 0 0 0.65rem;
}

.markets-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.market-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.market-pill.hq {
  border-color: var(--royal-deep);
  background: var(--royal-deep);
  color: #ffffff;
  font-weight: 600;
}

.market-pill.featured {
  border-color: var(--royal-main);
  background: var(--royal-main);
  color: #ffffff;
  font-weight: 600;
}

.market-pill:hover {
  border-color: var(--royal-main);
}

.markets-cta-wrap {
  margin-top: 1.75rem;
}

.corridor-visual {
  background: var(--royal-deep);
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.corridor-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Who We Work With (Asymmetric Two-Column Split)
   ========================================================================== */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.audience-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--royal-main);
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.audience-tag.deep {
  background: var(--royal-deep);
}

.audience-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.9rem;
  line-height: 1.22;
  color: var(--text-primary);
}

.audience-card > p {
  color: var(--text-secondary);
  margin: 0 0 1.4rem;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 2px;
  background: var(--royal-main);
  border-radius: 2px;
}

/* ==========================================================================
   Methodology / Approach
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(29, 78, 216, 0.32);
  line-height: 1;
  margin-bottom: 1.15rem;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ==========================================================================
   About / Principal-Led Practice
   ========================================================================== */

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: start;
}

.about-copy p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  margin: 0 0 1.25rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.principal-card {
  background: var(--royal-deep);
  color: var(--text-on-dark);
  border: 1px solid rgba(147, 197, 253, 0.25);
  border-top: 3px solid #60a5fa;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.principal-monogram {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--royal-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.principal-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
  color: #ffffff;
}

.principal-role {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 1.2rem;
}

.principal-card p.principal-bio {
  font-size: 0.94rem;
  color: var(--text-on-dark-muted);
  margin: 0 0 1.35rem;
}

.principal-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.1rem;
  display: grid;
  gap: 0.45rem;
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.faq-list {
  max-width: 820px;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--royal-main);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-family: var(--font-mono);
  color: var(--royal-main);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.6rem 1.45rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.85rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--royal-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-card:hover {
  border-color: var(--royal-main);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card.whatsapp-card {
  border-left-color: var(--whatsapp);
}

.contact-card.whatsapp-card:hover {
  border-color: var(--whatsapp);
}

.contact-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--royal-main);
}

.whatsapp-card .contact-label {
  color: var(--whatsapp);
}

.contact-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--royal-main);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.82rem 0.95rem;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8093ad;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-main);
  box-shadow: 0 0 0 3px var(--royal-soft);
}

.form-group textarea {
  min-height: 132px;
  resize: vertical;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--royal-main);
  flex-shrink: 0;
}

.checkbox-row a {
  color: var(--royal-main);
  text-decoration: underline;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: var(--royal-soft);
  border: 1px solid var(--border-accent);
  color: var(--royal-deep);
}

.form-status.error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #b91c1c;
}

/* ==========================================================================
   Footer (Deep Royal Blue — matches Header & original white logo)
   ========================================================================== */

.site-footer {
  padding: 4rem 0 2.5rem;
  background: var(--royal-deep);
  color: var(--text-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
  max-width: 44ch;
  margin: 1rem 0 0;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #93c5fd;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   Legal / Sub-pages
   ========================================================================== */

.prose-section {
  padding: 5rem 0 6rem;
}

.prose-wrap {
  max-width: 780px;
}

.prose-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}

.prose-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--text-primary);
}

.prose-wrap p,
.prose-wrap li {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.prose-wrap a {
  color: var(--royal-main);
  text-decoration: underline;
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid,
  .markets-layout,
  .about-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 768px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 4rem 0 3.75rem;
  }

  .section {
    padding: 4rem 0;
  }

  .services-grid,
  .audience-grid,
  .steps-grid,
  .form-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    height: 34px;
  }
}
