:root {
  --ink: #162032;
  --muted: #586579;
  --line: #d9e0e8;
  --brand: #0d6b68;
  --accent: #c6932f;
  --soft: #f4f7f8;
  --white: #fff;
  --shadow: 0 16px 40px rgba(22, 32, 50, .09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

img { height: auto; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  background: var(--ink);
  color: var(--white);
  padding: .75rem 1rem;
}

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

.topbar {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: .55rem clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background: var(--ink);
  font-size: .9rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 36px;
  color: var(--white);
  background: var(--brand);
  border-radius: 6px;
  font-size: .95rem;
}

.brand-text { color: var(--ink); }

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

.nav-links a,
.dropdown-toggle {
  padding: .65rem .8rem;
  text-decoration: none;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.dropdown-toggle:hover {
  background: var(--soft);
  color: var(--brand);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-parent {
  padding-right: .35rem;
}

.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.dropdown-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + .55rem);
  left: 0;
  z-index: 20;
  display: none;
  width: min(340px, 90vw);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: .55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.dropdown-menu a {
  display: block;
  padding: .7rem .75rem;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  display: grid;
}

.menu-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 560px);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  min-height: 74vh;
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 4rem);
  background: linear-gradient(110deg, #f8fbfb 0%, #eef5f2 54%, #fff7e7 100%);
}

.hero h1,
.page-head h1 {
  max-width: 800px;
  margin: .2rem 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-head p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.08rem;
}

.eyebrow {
  margin: 0 0 .45rem;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .82rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .75rem 1rem;
  border: 0;
  border-radius: 6px;
  color: var(--white);
  background: var(--brand);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.button.ghost {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.section,
.page-head,
.detail,
.contact,
.breadcrumb {
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 4rem);
}

.section h2,
.site-footer h2 {
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.section-intro {
  max-width: 760px;
  margin: -0.35rem 0 1.5rem;
  color: var(--muted);
}

.muted { background: var(--soft); }

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

.card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.card img,
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand-logo-tile {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 1.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f4f7f8 100%);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.brand-logo-tile span {
  display: inline-grid;
  place-items: center;
  min-height: 64px;
  width: min(100%, 260px);
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0;
}

.brand-logo-img {
  width: min(100%, 260px);
  min-height: 74px;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.brand-logo-img img {
  width: 100%;
  height: 74px;
  object-fit: contain;
}

.card div { padding: 1rem; }

.card h2 {
  margin: 0 0 .5rem;
  font-size: 1.05rem;
}

.card a { text-decoration: none; }

.card p,
.detail p,
.site-footer p { color: var(--muted); }

.breadcrumb {
  padding-top: 1rem;
  padding-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  color: var(--muted);
  font-size: .92rem;
}

.breadcrumb a { text-decoration: none; }

.split,
.contact,
.detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.detail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

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

.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.faq {
  display: grid;
  gap: .75rem;
  max-width: 900px;
}

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

.feature-list p {
  margin: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 700;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--muted);
}

ol.content-list {
  counter-reset: step;
}

ol.content-list li {
  counter-increment: step;
}

ol.content-list li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: .55rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--brand);
  font-weight: 800;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: .35rem;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .8rem .9rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(13, 107, 104, .18);
  border-color: var(--brand);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: #9d2f2f;
  font-weight: 700;
}

.form-status.success {
  color: var(--brand);
}

.site-footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  color: var(--white);
  background: var(--ink);
}

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

.footer-links {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero,
  .split,
  .contact,
  .detail,
  .site-footer { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .topbar { display: none; }
  .menu-toggle {
    display: inline-flex;
    min-height: 40px;
    padding: .55rem .75rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + .5rem);
    padding: .75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }
  .nav-parent,
  .nav-link {
    min-height: 42px;
  }
  .dropdown-toggle {
    width: 44px;
    min-height: 42px;
    border-left: 1px solid var(--line);
  }
  .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }
  .dropdown-menu {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: none;
    margin: .15rem 0 .5rem;
    padding: .35rem;
    border-radius: 6px;
    box-shadow: none;
    background: var(--soft);
  }
  .has-dropdown:hover .dropdown-menu,
  .has-dropdown:focus-within .dropdown-menu {
    display: none;
  }
  .has-dropdown.open .dropdown-menu {
    display: grid;
  }
  .hero { min-height: auto; }
  .grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .content-list { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
}
