/* ============================================================
   Base & Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #111111;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Avenir Next', 'Avenir', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #053495;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: #111111; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

a { color: #053495; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: #032678; }

ul, ol { padding-left: 1.25rem; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }
section.alt { background-color: #EEF2FB; }

/* ============================================================
   Navigation
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #ffffff;
  border-bottom: 1px solid #C5D3ED;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  text-decoration: none;
  color: #444444;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.nav-links a:hover { color: #053495; }

.nav-cta {
  font-size: 0.875rem !important;
  color: #053495 !important;
  border: 1.5px solid #053495;
  padding: 7px 18px;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #053495 !important;
  color: #fff !important;
}

/* ============================================================
   Site Banner
   ============================================================ */
.site-banner {
  width: 100%;
  line-height: 0;
}

.site-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: 80px 0 80px;
  background-color: #ffffff;
}

.hero-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #053495;
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: #111111;
  font-weight: 700;
  max-width: 620px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #444444;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero-tagline {
  font-size: 1rem;
  color: #053495;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.cta-primary {
  display: inline-block;
  background-color: #053495;
  color: #fff;
  text-decoration: none;
  padding: 14px 30px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.15s;
  font-weight: 600;
}

.cta-primary:hover {
  background-color: #032678;
  color: #fff;
}

/* ============================================================
   Photo Placeholders
   ============================================================ */
.photo-placeholder {
  background: #EEF2FB;
  border: 2px dashed #8AAAD4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
  color: #3A62A8;
  text-align: center;
  gap: 0.75rem;
}

.photo-placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.5;
}

.photo-placeholder .ph-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #053495;
}

.photo-placeholder .ph-note {
  font-size: 0.8rem;
  color: #5572A8;
  line-height: 1.5;
  max-width: 260px;
}

.photo-hero {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
}

.hero-inner picture {
  display: block;
  width: 100%;
}

.photo-about {
  width: 100%;
  aspect-ratio: 16/10;
  margin-top: 1rem;
}

/* ============================================================
   Section Labels
   ============================================================ */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #053495;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}

/* ============================================================
   Problems
   ============================================================ */
.problems-intro {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 2.5rem;
  max-width: 680px;
}

.problem-list {
  list-style: none;
  padding: 0;
  border-top: 1px solid #C5D3ED;
}

.problem-list li {
  padding: 1.1rem 0 1.1rem 1.75rem;
  border-bottom: 1px solid #C5D3ED;
  position: relative;
  color: #222;
  font-size: 1rem;
}

.problem-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #053495;
  font-weight: 700;
}

/* ============================================================
   Expertise grid
   ============================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-top: 1.5rem;
}

.expertise-item {
  background: #ffffff;
  padding: 2.25rem 2rem;
  border-top: 3px solid #053495;
}

.alt .expertise-item {
  background: #EEF2FB;
}

.expertise-number {
  font-size: 2.25rem;
  color: #C5D3ED;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
  font-weight: 700;
}

.expertise-item h3 {
  color: #053495;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.expertise-item p {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   Track record
   ============================================================ */
.proof-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proof-item {
  background: #ffffff;
  padding: 2rem 2.25rem;
  border-left: 4px solid #053495;
}

.proof-item h3 {
  font-size: 1.05rem;
  color: #111;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.proof-meta {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B8CBE;
  margin-bottom: 0.75rem;
  display: block;
  font-weight: 600;
}

.proof-item p {
  font-size: 0.925rem;
  color: #444;
  line-height: 1.7;
}

/* ============================================================
   Industries
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 1rem;
}

.industry-item h3 {
  color: #053495;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.industry-item p {
  font-size: 0.925rem;
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   About
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}

.about-body p { color: #333; }

.about-meta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #C5D3ED;
  font-size: 0.875rem;
  color: #666;
}

.about-meta span {
  display: inline-block;
  margin-right: 1.5rem;
  margin-bottom: 0.25rem;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
  background-color: #053495;
  color: #ffffff;
}

.contact-section h2 { color: #ffffff; }
.contact-section .section-label { color: #9BBCE8; }

.contact-intro {
  font-size: 1.1rem;
  color: #C5D8F0;
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 0.85rem;
  max-width: 400px;
}

.contact-link:last-child { border-bottom: none; padding-bottom: 0; }

.contact-link:hover {
  color: #9BBCE8;
  border-bottom-color: #9BBCE8;
}

.contact-link .arrow { opacity: 0.6; }

/* ============================================================
   Footer
   ============================================================ */
footer {
  background-color: #031E5C;
  color: #7090C0;
  padding: 32px 0;
  font-size: 0.85rem;
}

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

footer a {
  color: #7090C0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover { color: #C5D8F0; }

.footer-legal {
  display: flex;
  gap: 2rem;
}

/* ============================================================
   Legal pages
   ============================================================ */
.legal-page {
  padding: 72px 0 96px;
  max-width: 760px;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 2.5rem;
  color: #053495;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: #053495;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: #333;
}

.legal-page ul { margin-bottom: 1.25rem; }
.legal-page li { margin-bottom: 0.4rem; }

.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.875rem;
  color: #053495;
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover { color: #032678; text-decoration: underline; }

/* ============================================================
   Legal pages — two-column bilingual layout
   ============================================================ */
.legal-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.legal-col-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #053495;
  font-weight: 600;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #053495;
  margin-bottom: 1.75rem;
  display: block;
}

.legal-page h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #053495;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .legal-cols {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .photo-hero {
    aspect-ratio: unset;
    height: 320px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-portrait {
    aspect-ratio: 16/9 !important;
    max-height: 320px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }

  .hero { padding: 48px 0; }

  .nav-inner { height: 68px; }
  .nav-logo img { height: 52px; }

  .nav-links .nav-item-hide { display: none; }

  .nav-cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
  }

  .site-banner { display: none; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.6rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }

  section { padding: 48px 0; }

  .hero { padding: 40px 0; }
}
