:root {
  --ink: #141820;
  --navy: #10182c;
  --navy-2: #1a2744;
  --brass: #b5813a;
  --brass-2: #d7b06a;
  --brass-deep: #8c6230;
  --paper: #f4f1ea;
  --paper-2: #ebe6dc;
  --white: #fffcf8;
  --line: rgba(16, 24, 44, 0.1);
  --muted: #5c6572;
  --shadow: 0 22px 50px rgba(16, 24, 44, 0.12);
  --header: 74px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Manrope, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, .kicker, .btn { font-family: Outfit, sans-serif; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -0.03em; margin: 0; font-weight: 600; }
p { margin: 0; }
::selection { background: #ead7b0; color: var(--navy); }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.kicker {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.muted { color: var(--muted); }

.topbar {
  background: var(--navy);
  color: #d9deea;
  font-size: 0.82rem;
}
.topbar-in, .header-in, .foot-bottom, .hero-ui, .filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-in { min-height: 36px; }
.topbar a:hover { color: var(--brass-2); }
.topbar-right { display: flex; gap: 18px; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: #fffcf8;
  backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}
.header-in { height: 100%; }
.brand { display: flex; align-items: center; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover, .nav a.is-active { color: var(--brass-deep); }
.nav-cta {
  margin-left: 8px;
  background: var(--navy);
  color: #fff !important;
  padding: 10px 16px !important;
}
.nav-cta:hover { background: #243456 !important; }
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { padding: 28px 0 10px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 160px);
  min-height: calc(100svh - 160px);
}
.slide-copy { display: none; }
.slide-copy.is-on { display: block; animation: rise 0.7s ease; }
h1 { font-size: clamp(2.7rem, 5.5vw, 4.6rem); max-width: 16ch; }
.hero .lead { margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-chips span, .tag {
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.7);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy-2);
}
.hero-stage { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
[id] { scroll-margin-top: 96px; }
[hidden] { display: none !important; }
button.pcard-img, button.cert {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f6f3ed;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  font: inherit;
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hero-frame {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  visibility: hidden;
}
.hero-frame img.is-on {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 0.6s ease;
}
.hero-ui { width: min(420px, 100%); }
.hero-tag { font-weight: 700; font-size: 0.92rem; }
.dots { display: flex; gap: 8px; }
.dot, .arrow {
  border: 0;
  cursor: pointer;
  background: #fff;
  border: 1px solid var(--line);
}
.dot { width: 9px; height: 9px; border-radius: 99px; padding: 0; }
.dot.is-on { background: var(--brass); border-color: var(--brass); width: 22px; }
.arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
}
.arrow:hover, .dot:hover { border-color: var(--brass); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-brass {
  background: linear-gradient(180deg, #e0bc78, #b5813a);
  color: #21130c;
  box-shadow: 0 8px 20px rgba(181, 129, 58, 0.28);
}
.btn-brass:hover { transform: translateY(-2px); }
.btn-line { background: transparent; border: 1px solid rgba(16, 24, 44, 0.18); }
.btn-line:hover { border-color: var(--brass); color: var(--brass-deep); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.stats { padding: 18px 0 8px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  overflow: hidden;
}
.stats-grid div { padding: 26px 22px; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.stats-grid div:last-child { border: 0; }
.stats-grid strong {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  color: var(--brass-2);
}
.stats-grid span { color: #c5ccda; font-size: 0.92rem; }

.section { padding: 84px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head p { max-width: 42ch; }

.band-photo {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}
.band-photo img { width: 100%; height: auto; }

.cats, .why-grid, .certs, .cards, .duo, .contact-grid, .feature-grid {
  display: grid;
  gap: 18px;
}
.cats { grid-template-columns: repeat(4, 1fr); }
.cat, .fcard, .pcard, .cert, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.cat:hover, .fcard:hover, .pcard:hover, .cert:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-img, .fcard-img, .pcard-img {
  position: relative;
  background: #fff;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.cat-img img, .fcard-img img, .pcard-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s ease;
}
.cat:hover img, .fcard:hover img, .pcard:hover img { transform: scale(1.04); }
.cat-img.cover img, .fcard-img.cover img { object-fit: cover; object-position: center 30%; }
.cat-body, .fcard-body, .pcard-body, .panel { padding: 18px 18px 20px; }
.cat-body span, .idx {
  font-family: Outfit, sans-serif;
  color: var(--brass);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}
.cat h3, .fcard h3, .pcard h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.cat p, .fcard p, .pcard p, .panel p { color: var(--muted); font-size: 0.95rem; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split-photo {
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.split-photo img { width: 100%; height: auto; max-height: 740px; object-fit: cover; object-position: center 20%; }
.steps { display: grid; gap: 0; margin-top: 8px; }
.step {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step b { font-family: Outfit, sans-serif; font-size: 1.15rem; color: var(--brass-deep); }

.why-grid { grid-template-columns: repeat(4, 1fr); }
.panel h3 { margin: 10px 0; font-size: 1.15rem; }
.mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f6efe3;
  color: var(--brass-deep);
  font-weight: 800;
}

.logo-row { padding-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-item {
  height: 78px;
  min-width: 168px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.logo-item img { height: 32px; width: auto; max-width: 140px; object-fit: contain; }

.cta {
  margin: 10px auto 80px;
  width: min(1180px, calc(100% - 40px));
  background:
    radial-gradient(500px 180px at 100% 0%, rgba(215, 176, 106, 0.35), transparent 60%),
    var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 16ch; }
.cta p { color: #c9d0de; margin-top: 10px; max-width: 46ch; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.footer { background: var(--navy); color: #c5ccda; padding: 56px 0 22px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: 32px; }
.logo-plate {
  display: inline-flex;
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 16px;
}
.logo-plate img { height: 48px; width: auto; }
.footer h3 { color: #fff; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
.footer li { list-style: none; margin: 0 0 8px; }
.footer ul { margin: 0; padding: 0; }
.footer a:hover { color: var(--brass-2); }
.foot-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

form.panel { position: relative; z-index: 1; }
@media (min-width: 981px) {
  form.panel { margin-right: 28px; }
}
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 45;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1f8f4e;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(20, 90, 40, 0.35);
}
.wa:hover { transform: translateY(-2px); }

.page-hero {
  background:
    radial-gradient(620px 220px at 100% 0%, rgba(215, 176, 106, 0.28), transparent 55%),
    var(--navy);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { color: #c9d0de; margin-top: 14px; }
.page-hero .kicker { color: var(--brass-2); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.timeline { display: grid; gap: 14px; }
.t-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 18px 20px;
  border-left: 4px solid var(--brass);
}
.t-item b { display: block; font-family: Outfit, sans-serif; margin-bottom: 4px; }

.filters { justify-content: flex-start; flex-wrap: wrap; margin: 28px auto; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}
.chip.is-on, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.group { margin-bottom: 42px; }
.group-head { margin: 10px 0 16px; }
.group-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cards { grid-template-columns: repeat(3, 1fr); align-items: start; }
.pcard-img { aspect-ratio: 1; background: #f7f5f1; }
.pcard-img.tall { aspect-ratio: 3 / 4; }
.spec { margin-top: 10px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--brass-deep); }

.certs { grid-template-columns: repeat(4, 1fr); }
.cert { cursor: pointer; text-align: left; width: 100%; padding: 0; }
.cert img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; object-position: center; background: #fff; }
.cert span { display: block; padding: 14px 14px 16px; font-weight: 700; }

.contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.info-list { display: grid; gap: 12px; margin-top: 18px; }
.info-list a { font-weight: 700; }
.info-list a:hover { color: var(--brass-deep); }
.card-soft {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 16px 14px;
}
.card-soft b { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: 4px; }
form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field.two { grid-template-columns: 1fr 1fr; gap: 12px; }
label { font-size: 0.82rem; font-weight: 700; }
input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd4c6;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(181, 129, 58, 0.18); }
.field.error input, .field.error textarea, .field.error select { border-color: #a33b32; }
.form-note { min-height: 1.2em; font-size: 0.9rem; }
.form-note.ok { color: #1e7a43; }
.form-note.bad { color: #a33b32; }
.map-frame {
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 380px;
  background: #ddd;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.lb {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 14, 24, 0.82);
  display: none;
  place-items: center;
  padding: 24px;
}
.lb.open { display: grid; }
.lb figure {
  margin: 0;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 20px;
  overflow: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.lb img { width: 100%; height: 100%; max-height: 82vh; object-fit: contain; background: #f6f3ed; }
.lb figcaption { padding: 28px 24px; }
.lb h3 { font-size: 1.6rem; margin-bottom: 10px; }
.lb p { color: var(--muted); }
.lb-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 1.4rem;
}

.js .reveal { animation: rise 0.7s ease both; }
.js .reveal.d2 { animation-delay: 0.08s; }
.js .reveal.d3 { animation-delay: 0.16s; }

@keyframes rise {
  from { transform: translateY(16px); }
  to { transform: none; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .hero-grid, .split, .foot-grid, .contact-grid, .lb figure, .duo { grid-template-columns: 1fr; }
  .cats, .why-grid, .certs { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .hero-stage, .hero-frame, .hero-ui { width: min(420px, 100%); align-items: center; margin: 0 auto; }
  .hero-grid { min-height: 0; padding-bottom: 10px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 32px 22px; }
  .burger { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav-cta { margin: 4px 0 0; text-align: center; }
  .header { position: sticky; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .topbar-in span:first-child { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: min(1180px, calc(100% - 28px)); }
  .cats, .why-grid, .certs, .cards, .stats-grid, .field.two { grid-template-columns: 1fr; }
  .stats-grid div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  h1 { font-size: 2.45rem; }
  .page-hero { padding: 42px 0 36px; }
  .section { padding: 58px 0; }
  .hero-frame { width: min(280px, 72vw); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal { animation: none; }
  html { scroll-behavior: auto; }
}
