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

:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2d42;
  --accent: #2d6cdf;
  --text: #1e1e1e;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e0e4ea;
  --font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-mid);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav { display: flex; gap: 2rem; }

.nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

/* ── Hero ── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 7rem 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
  max-width: 580px;
  margin-bottom: 2.5rem;
}

/* ── Button ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

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

.btn-primary:hover {
  background: rgba(255,255,255,0.88);
}

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-light { background: var(--light); }

.section h2 {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--navy);
}

.section-intro {
  color: #4a5568;
  font-size: 1rem;
  margin-bottom: 2rem;
  margin-top: -1.5rem;
}

/* ── About ── */
.about-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: -1.75rem;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.bio-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-self: start;
}

.bio-group p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0;
}

.accordion-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font);
  text-align: left;
}

.accordion-toggle:hover .toggle-label {
  text-decoration: underline;
}

.accordion-content {
  padding-top: 0.25rem;
}

.about-text {
  font-size: 1.05rem;
  color: #4a5568;
  max-width: 100%;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.principals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr auto;
  column-gap: 2rem;
}

.principal {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  row-gap: 0.5rem;
}

.principal h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  align-self: start;
}

.principal-title {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
  align-self: start;
}

.principal > p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.8;
  align-self: start;
}

.principal-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-self: start;
}

.principal-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.principal-link:hover {
  text-decoration: underline;
}

/* ── Grids ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.card h3 a {
  color: var(--navy);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.75;
  flex: 1;
}

.card-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-grid p {
  margin-bottom: 0.35rem;
  color: #4a5568;
}

.contact-spacer { margin-top: 1.25rem !important; }

.contact-grid a {
  color: var(--accent);
  text-decoration: none;
}

.contact-grid a:hover { text-decoration: underline; }

address {
  font-style: normal;
  color: #4a5568;
  line-height: 1.75;
  margin-top: 0.25rem;
}

/* ── Footer ── */
.footer {
  background: var(--navy);
  padding: 2.5rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0;
}

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ── Carousel ── */
.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track .card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  min-width: 260px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 1;
}

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

@media (max-width: 900px) {
  .carousel-track .card { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 640px) {
  .carousel-track .card { flex: 0 0 85%; }
}

/* ── Legal pages ── */
.legal-body { padding: 4rem 0 6rem; }
.legal-body h1 { font-size: 2rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.legal-body .effective { color: #4a5568; font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-body h2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.legal-body p, .legal-body li { color: #4a5568; line-height: 1.8; margin-bottom: 0.75rem; }
.legal-body ul { padding-left: 1.5rem; }
.legal-body a { color: var(--accent); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3, .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .grid-3, .grid-2, .contact-grid {
    grid-template-columns: 1fr;
  }

  .principals-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .principal {
    grid-template-rows: none;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }

  .nav { gap: 1.2rem; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand { align-items: center; }
}
