:root {
  --bg: #eef2ef;
  --surface: #ffffff;
  --ink: #0e1a22;
  --muted: #52616e;
  --brand: #006f61;
  --brand-2: #103a53;
  --brand-3: #c46a2c;
  --line: #d5dfdd;
  --shadow: 0 12px 36px rgba(7, 37, 52, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, #d5ebe4 0, transparent 38%),
    radial-gradient(circle at 90% 80%, #d2e9ee 0, transparent 34%),
    radial-gradient(circle at 55% 45%, #f6e9de 0, transparent 22%),
    url("../../media/legacy/2019/08/careerfy-trending-categories-pattren.png"),
    var(--bg);
  background-size: auto, auto, auto, 380px, auto;
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  line-height: 1.6;
}

a {
  color: var(--brand-2);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
    url("../../media/legacy/2022/09/solid-navy-blue-concrete-textured-wall.jpg");
  background-size: auto, cover;
  background-position: center;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(9, 34, 47, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: 1.36rem;
  letter-spacing: 0.01em;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  color: #102631;
}

.logo::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent url("../../media/legacy/2022/09/Logo-icon-no-text.png") center / contain no-repeat;
  box-shadow: 0 5px 12px rgba(16, 58, 83, 0.18);
  flex: 0 0 36px;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 10px;
}

.nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  padding: 6px;
  border: 1px solid #d8e2e0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: linear-gradient(120deg, #e6f3ef, #e8eff8);
  color: #0b2d3a;
}

.hero {
  padding: 78px 0 52px;
}

.hero-panel {
  background:
    linear-gradient(115deg, rgba(13, 58, 83, 0.82), rgba(0, 111, 97, 0.84)),
    linear-gradient(160deg, rgba(196, 106, 44, 0.2), rgba(255, 255, 255, 0)),
    url("../../media/legacy/2019/08/seventeen-banner-1.jpg");
  color: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: intro-rise 600ms ease-out;
  background-position: center;
  background-size: cover;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.hero-art {
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 28px rgba(4, 23, 33, 0.35);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    url("../../media/legacy/2017/12/about-us-thumb.png");
  background-size: cover;
  background-position: center;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0));
}

.hero h1 {
  margin-top: 0;
  font-family: "Bookman Old Style", "Palatino Linotype", serif;
  font-size: clamp(2.2rem, 5.2vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero p {
  font-size: 1.08rem;
  max-width: 70ch;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 11px 18px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn.primary {
  background: #fff;
  color: #0d2f3f;
}

.btn.secondary {
  border-color: #d6e7e1;
  color: #fff;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #b5c8c4;
  box-shadow: 0 16px 36px rgba(7, 37, 52, 0.15);
}

main section {
  padding: 30px 0;
}

h2 {
  font-family: "Bookman Old Style", "Palatino Linotype", serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-top: 0;
}

h3 {
  font-family: "Bookman Old Style", "Palatino Linotype", serif;
  margin-top: 0;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fbfa, #eef4f6);
}

.site-footer .container {
  padding: 20px 0;
  color: var(--muted);
}

.list-clean {
  padding-left: 18px;
}

.list-clean li {
  margin-bottom: 8px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #154b61;
  background: #e3eef4;
}

.lead {
  font-size: 1.08rem;
  color: #22313c;
  max-width: 74ch;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  background: #f7faf9;
  border: 1px solid #d7e4e0;
  border-radius: 14px;
  padding: 14px;
  text-align: center;
}

.kpi strong {
  display: block;
  font-size: 1.35rem;
  color: #0d3d52;
}

.faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfc;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq h3 {
  margin-bottom: 8px;
  font-size: 1.03rem;
}

.cta-band {
  border-radius: 18px;
  border: 1px solid #ccddd8;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    url("../../media/legacy/2017/12/multiple-logos.jpg"),
    linear-gradient(120deg, rgba(237, 248, 244, 0.9), rgba(238, 242, 249, 0.92)),
    url("../../media/legacy/2019/08/footer-bg-17.jpg");
  background-size: auto, cover, auto, cover;
  background-position: center, center, center, center;
  background-blend-mode: normal, soft-light, normal, normal;
  padding: 22px;
}

main.container > section:first-child {
  border-radius: 18px;
  padding: 26px;
  margin-top: 18px;
  background:
    linear-gradient(132deg, rgba(16, 58, 83, 0.86), rgba(0, 111, 97, 0.82)),
    url("../../media/legacy/2017/12/banner-bg.jpg");
  background-size: auto, cover;
  background-position: center;
}

main.container > section:first-child h1 {
  color: #f3f8fb;
  margin-top: 0;
  border-radius: 12px;
  padding: 14px 16px;
  background:
    linear-gradient(120deg, rgba(10, 34, 47, 0.72), rgba(10, 34, 47, 0.36)),
    url("../../media/legacy/2017/12/subheader-bg.jpg");
  background-size: auto, cover;
  background-position: center;
}

main.container > section:first-child > p,
main.container > section:first-child > h2,
main.container > section:first-child > h3,
main.container > section:first-child > .lead {
  color: #edf5f9;
}

main.container > section:first-child .notice {
  background: rgba(248, 239, 231, 0.96);
  color: #27323c;
}

.testimonials-panel {
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(246, 251, 250, 0.9)),
    url("../../media/legacy/2019/08/seventeen-testimonial-bg-full.png");
  background-size: cover;
  background-position: center;
}

.notice {
  border-left: 4px solid var(--brand-3);
  padding: 10px 12px;
  background: #f8efe7;
  border-radius: 8px;
}

.image-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.image-tile {
  min-height: 180px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cfddd9;
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 28, 39, 0.05), rgba(10, 28, 39, 0.25));
  z-index: 1;
}

@keyframes intro-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav-wrap {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .logo {
    font-size: 1.24rem;
  }

  .logo::before {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 220px;
  }

  .grid.three {
    grid-template-columns: 1fr;
  }

  .grid.two {
    grid-template-columns: 1fr;
  }

  .kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .image-band {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-block;
    margin-left: auto;
    font-weight: 600;
    color: #133747;
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 4px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #d4e1de;
    box-shadow: 0 10px 24px rgba(8, 31, 43, 0.12);
  }

  .nav a {
    width: 100%;
    border-radius: 8px;
  }

  .nav.open {
    display: flex;
  }
}
