:root {
  --ink: #102a3a;
  --muted: #5d7280;
  --line: #d9e4e8;
  --paper: #ffffff;
  --soft: #edf5f6;
  --deep: #063349;
  --accent: #0f7a8a;
  --accent-2: #b68a35;
  --success: #3a8d65;
  --shadow: 0 18px 45px rgba(6, 51, 73, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--paper);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 228, 232, 0.8);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  gap: 1.5rem;
}

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

.brand-logo {
  width: clamp(280px, 30vw, 430px);
  height: 78px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--accent));
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
}

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

.nav-toggle,
.lang-toggle,
.credits button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

.lang-toggle {
  padding: 0.52rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1.1rem;
  border: 1px solid var(--deep);
  border-radius: 8px;
  color: #fff;
  background: var(--deep);
  box-shadow: 0 10px 24px rgba(6, 51, 73, 0.14);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #0b405a;
}

.button-small {
  min-height: 40px;
  padding: 0.55rem 0.8rem;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.76);
}

.button-outline {
  color: var(--deep);
  background: #fff;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 51, 73, 0.92), rgba(6, 51, 73, 0.72) 43%, rgba(6, 51, 73, 0.18)),
    linear-gradient(0deg, rgba(6, 51, 73, 0.44), transparent 48%);
}

.hero-content {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 7rem 0 4rem;
  color: #fff;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e6c77e;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 5.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.hero-lead {
  max-width: 710px;
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  margin: 3rem 0 0;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  overflow: hidden;
}

.hero-facts div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts dt {
  font-weight: 900;
}

.hero-facts dd {
  margin: 0.15rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 5.5rem 0;
}

.light {
  width: 100%;
  padding-inline: max(16px, calc((100% - 1180px) / 2));
  background: var(--soft);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 4rem;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-section {
  padding-top: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: start;
}

.about-story {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-story p:first-child {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.22rem;
  font-weight: 750;
}

.about-highlight {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.about-highlight strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.about-highlight ul {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  font-weight: 750;
}

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

.team-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.team-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff, #f7fbfc);
}

.team-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.team-card p + p {
  margin-top: 0.9rem;
}

.role {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--deep);
  background: #e3f1f3;
  font-size: 0.78rem;
  font-weight: 900;
}

.notice {
  padding: 1rem;
  border-left: 4px solid var(--accent-2);
  background: #fff7e6;
  color: #5c471a;
  border-radius: 0 8px 8px 0;
}

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

.service-card,
.product-card,
.pathway-grid > div {
  min-height: 220px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  background: var(--deep);
  color: #fff;
  font-weight: 900;
}

.service-card p,
.product-card p,
.pathway-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.check-list li {
  padding-left: 2rem;
  position: relative;
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--success);
}

.ai-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--deep), #0f5a68);
}

.ai-panel p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.barometer {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.barometer span:first-child,
.barometer strong {
  display: block;
}

.meter {
  height: 12px;
  margin: 1rem 0;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.meter span {
  display: block;
  width: 76%;
  height: 100%;
  background: linear-gradient(90deg, #65d39a, #e6c77e);
}

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

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

.mini-grid span {
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

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

.product-card {
  min-height: 180px;
}

.product-card button {
  margin-top: 1rem;
  border: 1px solid var(--deep);
  border-radius: 8px;
  background: transparent;
  padding: 0.6rem 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.book {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 4rem;
  align-items: start;
}

.book-copy {
  position: sticky;
  top: 110px;
}

.book-copy p:not(.eyebrow) {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c8d7dc;
  border-radius: 8px;
  padding: 0.78rem 0.85rem;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 600;
  color: var(--muted);
}

.checkbox input {
  width: auto;
  margin-top: 0.32rem;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--success);
  font-weight: 800;
}

.footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem max(16px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep);
}

.footer strong,
.footer a {
  color: #fff;
}

.credits button {
  color: #fff;
  padding: 0;
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 30;
  display: none;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  width: min(960px, calc(100% - 32px));
  transform: translateX(-50%);
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: grid;
}

.cookie-banner h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cookie-banner p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.cookie-options,
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.cookie-options label {
  font-weight: 750;
}

.cookie-actions {
  align-items: center;
  margin-top: 0;
}

@media (max-width: 980px) {
  .brand-logo {
    width: clamp(230px, 58vw, 350px);
    height: 68px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .section-heading,
  .intro,
  .about-grid,
  .split,
  .ai-panel,
  .book,
  .footer,
  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .book-copy {
    position: static;
  }

  .service-grid,
  .product-grid,
  .pathway-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card.featured {
    grid-column: span 2;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .button {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 220px;
    height: 58px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(6, 51, 73, 0.94), rgba(6, 51, 73, 0.62));
  }

  .hero-facts,
  .service-grid,
  .product-grid,
  .pathway-grid,
  .mini-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card.featured {
    grid-column: auto;
  }

  .hero-content,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .section,
  .light {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ai-panel {
    padding: 1.35rem;
  }

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