/* ==========================================================================
   Milvi et Associés — Sovereign Executive Editorial Design System
   Bilingual Static Website (FR / EN) — Production Ready for GoDaddy Hosting
   ========================================================================== */

:root {
  /* Sovereign Navy Brand Palette */
  --navy-950: #071426;
  --navy-900: #0B1F3A;
  --navy-800: #132C4E;
  --navy-700: #1D3E69;
  --navy-600: #2A5284;
  --navy-400: #5B7FA8;
  --navy-200: #A9C1DC;
  --navy-100: #D8E4F1;
  --navy-050: #F0F4F9;

  /* Refined Architectural Neutrals */
  --white: #FFFFFF;
  --paper: #F8F9FB;
  --stone: #F2F4F7;
  --border: #DDE3EC;
  --border-dark: rgba(255, 255, 255, 0.14);
  --ink-900: #0F1722;
  --ink-700: #334155;
  --ink-500: #5B687A;
  --ink-400: #808D9E;

  /* Typography */
  --font-serif: 'Source Serif 4', 'Baskerville', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout & Rhythm */
  --container-max: 1220px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-py: clamp(4.5rem, 8vw, 7.5rem);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --shadow-subtle: 0 1px 2px rgba(11, 31, 58, 0.05);
  --shadow-card: 0 12px 32px -12px rgba(11, 31, 58, 0.10);
  --shadow-photo: 0 24px 54px -20px rgba(7, 20, 38, 0.34);

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 82px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-700);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Navigation */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--navy-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-xs);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typography Helpers */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
  color: var(--navy-600);
  margin-bottom: 1.15rem;
  max-width: 100%;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 1px;
  background-color: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: var(--navy-200);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.section-title {
  font-size: clamp(1.95rem, 3.2vw, 2.85rem);
  line-height: 1.16;
}

.section-lead {
  margin: 1.15rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.section-header--split .section-lead {
  margin-top: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.65rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-editorial),
              color 0.25s var(--ease-editorial),
              border-color 0.25s var(--ease-editorial),
              transform 0.25s var(--ease-editorial);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-editorial);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn--primary:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn--white {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn--white:hover {
  background-color: var(--navy-050);
  border-color: var(--navy-050);
}

.btn--ghost-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn--ghost-light:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn--sm {
  padding: 0.625rem 1.15rem;
  font-size: 0.8125rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px -14px rgba(11, 31, 58, 0.14);
}

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

/* Brand Lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-crest {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.brand-divider {
  width: 1px;
  height: 30px;
  background-color: var(--border);
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--navy-900);
  text-transform: uppercase;
}

.brand-sub {
  margin-top: 0.28rem;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--navy-600);
  text-transform: uppercase;
}

/* Inverted Brand (Footer) */
.brand--inverted .brand-divider {
  background-color: rgba(255, 255, 255, 0.2);
}

.brand--inverted .brand-name {
  color: var(--white);
}

.brand--inverted .brand-sub {
  color: var(--navy-200);
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  padding-block: 0.35rem;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--navy-900);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-editorial);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy-900);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

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

/* Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.lang-switch a,
.lang-switch span {
  padding: 0.42rem 0.65rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch .is-current {
  background-color: var(--navy-900);
  color: var(--white);
}

.lang-switch a {
  color: var(--ink-500);
  background-color: var(--white);
}

.lang-switch a:hover {
  background-color: var(--navy-050);
  color: var(--navy-900);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  color: var(--navy-900);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 190;
  background-color: var(--white);
  padding: 2rem var(--gutter) 3rem;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.mobile-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-links a {
  display: block;
  padding: 1.15rem 0;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--navy-900);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

/* ==========================================================================
   Hero Section — Sovereign Navy Architectural Editorial
   ========================================================================== */
.hero {
  position: relative;
  background-color: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding-block: clamp(3.5rem, 6.5vw, 5.75rem);
}

/* Subtle Architectural Grid Lines in Hero Background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(ellipse at center, rgba(42, 82, 132, 0.32) 0%, rgba(11, 31, 58, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-content,
.hero-media {
  min-width: 0;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.25rem, 4.1vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 500;
}

.hero-lead {
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.72;
  color: rgba(236, 242, 249, 0.84);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-media {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-photo);
  background-color: var(--navy-950);
}

.hero-photo-frame img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  object-position: center 22%;
}

.hero-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.15rem;
  background-color: rgba(7, 20, 38, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--navy-200);
}

.hero-caption-loc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Institutional Credentials Strip */
.credentials-strip {
  background-color: var(--paper);
  border-bottom: 1px solid var(--border);
}

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

.credential-item {
  padding: 1.65rem 1.5rem;
  border-right: 1px solid var(--border);
}

.credential-item:first-child {
  padding-left: 0;
}

.credential-item:last-child {
  border-right: none;
  padding-right: 0;
}

.credential-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-600);
  margin-bottom: 0.35rem;
}

.credential-value {
  font-family: var(--font-serif);
  font-size: 1.075rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.35;
}

/* ==========================================================================
   Section 1: Core Practices (2x2 Architectural Grid)
   ========================================================================== */
.section {
  padding-block: var(--section-py);
}

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

.section--navy {
  background-color: var(--navy-900);
  color: var(--white);
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.practice-card {
  position: relative;
  padding: clamp(2rem, 3.5vw, 3rem);
  background-color: var(--white);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: background-color 0.3s var(--ease-editorial);
}

.practice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--navy-900);
  transition: width 0.4s var(--ease-editorial);
}

.practice-card:hover {
  background-color: var(--navy-050);
}

.practice-card:hover::before {
  width: 100%;
}

.practice-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.practice-num {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--navy-600);
}

.practice-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
}

.practice-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.practice-title {
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

.practice-desc {
  margin: 0 0 1.5rem;
  font-size: 0.9625rem;
  line-height: 1.68;
  color: var(--ink-500);
}

.practice-list {
  list-style: none;
  margin: auto 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.55rem;
}

.practice-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.875rem;
  color: var(--ink-700);
  line-height: 1.45;
}

.practice-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 6px;
  height: 1.5px;
  background-color: var(--navy-600);
}

/* ==========================================================================
   Section 2: Forward Business Engineering (Editorial Split + Cadence)
   ========================================================================== */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.split-feature--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.editorial-figure {
  margin: 0;
}

.editorial-photo {
  overflow: hidden;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background-color: var(--navy-900);
}

.editorial-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 20%;
}

.editorial-figcaption {
  margin-top: 0.85rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--navy-600);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-500);
}

.cadence-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.cadence-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.cadence-step {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-600);
  padding-top: 0.1rem;
}

.cadence-title {
  font-family: var(--font-sans);
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

.cadence-text {
  margin: 0;
  font-size: 0.9125rem;
  line-height: 1.62;
  color: var(--ink-500);
}

/* ==========================================================================
   Section 3: Institutional Track Record & Executive Governance
   ========================================================================== */
.advisory-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.advisory-point h3 {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.advisory-point p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.58;
  color: var(--ink-500);
}

/* Institutional Pedigree Panel (Deep Navy) */
.institutions-panel {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  background-color: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-xs);
  padding: clamp(2.25rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}

.institutions-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.institutions-header {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.institutions-header h3 {
  color: var(--white);
  font-size: clamp(1.65rem, 2.7vw, 2.3rem);
  line-height: 1.2;
}

.institutions-header p {
  margin: 0.9rem 0 0;
  color: rgba(230, 238, 248, 0.8);
  font-size: 0.975rem;
  line-height: 1.68;
}

.institutions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.institution-card {
  padding: 1.75rem;
  background-color: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-xs);
  display: flex;
  flex-direction: column;
}

.institution-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-200);
  margin-bottom: 0.75rem;
}

.institution-card h4 {
  color: var(--white);
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.institution-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: rgba(226, 235, 246, 0.78);
}

/* ==========================================================================
   Section 4: Global Reach & Québec Headquarters
   ========================================================================== */
.global-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 3.75rem);
  align-items: stretch;
}

.global-photo-wrap {
  position: relative;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  min-height: 360px;
}

.global-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.global-photo-badge {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  padding: 1rem 1.25rem;
  background-color: rgba(11, 31, 58, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-left: 3px solid var(--navy-200);
}

.global-photo-badge strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.global-photo-badge span {
  font-size: 0.8125rem;
  color: rgba(232, 240, 249, 0.82);
}

.regions-stack {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid var(--border);
}

.region-row {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.region-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
}

.region-pill {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--navy-600);
}

.region-desc {
  margin: 0;
  font-size: 0.9125rem;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ==========================================================================
   Section 5: Executive Contact & Mandate Inquiry
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-detail-row {
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-600);
  margin-bottom: 0.3rem;
}

.contact-detail-value {
  font-size: 0.975rem;
  color: var(--navy-900);
  font-weight: 500;
}

.contact-detail-value a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.contact-detail-value a:hover {
  border-bottom-color: var(--navy-900);
}

.contact-card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

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

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

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

.form-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.72rem 0.95rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 0.92rem;
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  height: 46px;
  line-height: 1.3;
}

.form-field select {
  padding-right: 1.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink-500);
  max-width: 34ch;
  line-height: 1.45;
}

.form-status {
  margin-top: 1.15rem;
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  line-height: 1.55;
  display: none;
}

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

.form-status--success {
  background-color: #EDF6F0;
  border: 1px solid #B7DEC4;
  color: #164B2C;
}

.form-status--error {
  background-color: #FDF2F2;
  border: 1px solid #F3C4C4;
  color: #7A1F1F;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: rgba(226, 235, 246, 0.78);
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.82fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-about {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.68;
  max-width: 44ch;
  color: rgba(226, 235, 246, 0.72);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--navy-200);
  margin-bottom: 1.1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(226, 235, 246, 0.78);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8125rem;
  color: rgba(226, 235, 246, 0.56);
}

.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-lang a {
  color: var(--navy-200);
  border-bottom: 1px solid rgba(169, 193, 220, 0.35);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-lang a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* ==========================================================================
   Subtle Editorial Reveal Animation (Progressive & Print Safe)
   ========================================================================== */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.42s var(--ease-editorial), transform 0.42s var(--ease-editorial);
}

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

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

@media print {
  .has-reveal .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .split-feature,
  .split-feature--reverse,
  .global-showcase,
  .contact-grid,
  .section-header--split {
    grid-template-columns: minmax(0, 1fr);
  }
  .credentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .credential-item {
    padding: 1.35rem 1.25rem;
    border-bottom: 1px solid var(--border);
  }
  .credential-item:nth-child(odd) {
    padding-left: 0;
  }
  .credential-item:nth-child(even) {
    border-right: none;
    padding-right: 0;
  }
  .credential-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .institutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 72px;
  }
  .brand-crest {
    width: 36px;
    height: 36px;
  }
  .brand-divider {
    height: 24px;
  }
  .brand-name {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }
  .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.26em;
  }
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.35rem);
  }
  .practices-grid,
  .advisory-points,
  .form-grid,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .credentials-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .credential-item {
    padding: 1.15rem 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .credential-item:last-child {
    border-bottom: none;
  }
  .region-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.45rem;
  }
  .hero-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .hero-caption-loc {
    white-space: normal;
  }
}
