@import url('https://fonts.googleapis.com/css2?family=Encode+Sans+Semi+Expanded:wght@400;700&display=swap');

:root {
  --blue: #336699;
  --blue-deep: #244A6E;
  --blue-shade: #2C5680;
  --black: #000000;
  --white: #FFFFFF;
  --ink-70: rgba(0, 0, 0, 0.68);
  --ink-50: rgba(0, 0, 0, 0.5);
  --line: rgba(0, 0, 0, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.2);
  --paper-80: rgba(255, 255, 255, 0.82);
  --paper-65: rgba(255, 255, 255, 0.65);

  --font: 'Encode Sans Semi Expanded', -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

strong, b { font-weight: 400; }

a { color: inherit; }
img, svg { display: block; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.on-blue :focus-visible { outline-color: var(--white); }

/* ---------- Icon sprite ---------- */
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Header ---------- */

header.site-header {
  position: relative;
  z-index: 5;
  background: var(--blue);
  border-bottom: 1px solid var(--line-on-dark);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.wordmark { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wordmark img { height: 56px; width: auto; }
.wordmark-text { color: var(--white); font-weight: 700; font-size: 19px; letter-spacing: 0.01em; }

nav.site-nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }

nav.site-nav a {
  text-decoration: none;
  background: var(--white);
  color: var(--blue);
  padding: 7px 14px;
  border-radius: 5px;
  letter-spacing: 0.02em;
  transition: background 0.18s ease, color 0.18s ease;
}
nav.site-nav a:hover { background: #E4EDF4; }
nav.site-nav a.active { background: var(--blue-deep); color: var(--white); }

@media (max-width: 640px) {
  .header-row { padding-top: 12px; padding-bottom: 12px; }
  .wordmark img { height: 42px; }
  .wordmark-text { display: none; }
  nav.site-nav { gap: 8px; font-size: 12.5px; }
  nav.site-nav a { padding: 6px 11px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-deep); }

.btn-white { background: var(--white); color: var(--blue-deep); }
.btn-white:hover { background: #E4EDF4; }

.btn-outline { background: transparent; color: var(--white); border-color: var(--line-on-dark); }
.btn-outline:hover { border-color: var(--white); }

.btn-outline-dark { background: transparent; color: var(--black); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Hero ---------- */

.hero { background: var(--white); padding: 84px 0 96px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
}

.hero-eyebrow { font-size: 15px; color: var(--blue); margin: 0 0 16px; }

.hero-heading-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.hero-logo { width: 220px; height: auto; flex: none; }
.hero-heading-row h1 { margin: 0; max-width: none; }

@media (max-width: 900px) {
  .hero-heading-row { gap: 18px; }
  .hero-logo { width: 192px; }
}
@media (max-width: 560px) {
  .hero-heading-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-logo { width: 168px; }
}

.hero h1 {
  font-size: 52px;
  line-height: 1.12;
  margin: 0 0 24px;
  max-width: 11.5ch;
  letter-spacing: -0.005em;
  color: var(--blue);
}

@media (max-width: 900px) { .hero h1 { font-size: 38px; } }

.hero-heading-row h1 { font-size: 42px; }
@media (max-width: 900px) { .hero-heading-row h1 { font-size: 32px; } }
@media (max-width: 560px) { .hero-heading-row h1 { font-size: 38px; } }

.hero p.lede {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--ink-70);
  max-width: 46ch;
  margin: 0 0 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.15s; }
.reveal.d3 { animation-delay: 0.25s; }
.reveal.d4 { animation-delay: 0.35s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* ---------- Hero pack illustration ---------- */

.pack-art {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.pack-screengrab { width: 100%; height: auto; border-radius: 10px; }

.pack-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.pack-tab {
  background: rgba(255,255,255,0.1);
  border: 1px solid var(--line-on-dark);
  border-radius: 6px;
  padding: 10px 6px 8px;
  text-align: center;
}
.pack-tab.is-active { background: var(--white); border-color: var(--white); }
.pack-tab .icon { margin: 0 auto 6px; width: 20px; height: 20px; color: var(--white); }
.pack-tab.is-active .icon { color: var(--blue-deep); }
.pack-tab span {
  display: block;
  font-size: 10px;
  color: var(--paper-80);
  line-height: 1.2;
}
.pack-tab.is-active span { color: var(--blue-deep); }

.pack-body {
  background: var(--white);
  border-radius: 6px;
  padding: 18px;
}
.pack-body .pb-title { font-size: 15px; color: var(--black); margin-bottom: 4px; }
.pack-body .pb-sub { font-size: 12.5px; color: var(--ink-50); margin-bottom: 14px; }
.pack-row {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-70);
}
.pack-row span:last-child { color: var(--ink-50); }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head { max-width: 60ch; margin: 0 0 48px; }
.section-head h2 { font-size: 32px; margin: 0 0 14px; line-height: 1.22; letter-spacing: -0.005em; }
.section-head p { font-size: 16.5px; margin: 0; }

.on-blue .section-head p { color: var(--paper-80); }
.on-white .section-head p { color: var(--ink-70); }

/* Booking pack list (numbered, genuine sequence) */

.on-blue { background: var(--blue); color: var(--white); }
.on-shade { background: var(--blue-shade); color: var(--white); }
.on-white { background: var(--white); color: var(--black); }

.pack-list { border-top: 1px solid var(--line-on-dark); }
.pack-item {
  display: grid;
  grid-template-columns: 44px 32px 1fr 1.3fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.pack-item .num { font-size: 14px; color: var(--paper-65); }
.pack-item .icon { color: var(--white); align-self: center; }
.pack-item .p-name { font-size: 18px; }
.pack-item .p-desc { font-size: 14.5px; color: var(--paper-80); }

@media (max-width: 760px) {
  .pack-item { grid-template-columns: 30px 26px 1fr; }
  .pack-item .p-desc { grid-column: 1 / -1; padding-left: 56px; margin-top: 2px; }
}

/* Flow (field to invoice) */

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 44px;
}
@media (max-width: 760px) {
  .flow { grid-template-columns: 1fr; }
  .flow .flow-arrow { transform: rotate(90deg); margin: 4px auto; }
}
.flow-node {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px 20px;
  text-align: center;
}
.flow-node .icon { margin: 0 auto 12px; color: var(--blue); width: 30px; height: 30px; }
.flow-node .fn-title { font-size: 16px; margin-bottom: 6px; }
.flow-node .fn-desc { font-size: 13.5px; color: var(--ink-50); }
.flow-arrow { color: var(--ink-50); width: 22px; height: 22px; }

/* Chip rows (views, reports — not sequences) */

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.chip .icon { color: var(--blue); margin-bottom: 14px; width: 28px; height: 28px; }
.chip .chip-title { font-size: 16.5px; margin-bottom: 6px; }
.chip .chip-desc { font-size: 14px; color: var(--ink-70); line-height: 1.5; }

.on-shade .chip, .on-blue .chip { border-color: var(--line-on-dark); }
.on-shade .chip .icon, .on-blue .chip .icon { color: var(--white); }
.on-shade .chip .chip-desc, .on-blue .chip .chip-desc { color: var(--paper-80); }

/* Config list (numbered, genuine setup sequence) */

.config-list { border-top: 1px solid var(--line); margin-top: 44px; }
.config-item {
  display: grid;
  grid-template-columns: 40px 1fr 1.6fr;
  gap: 18px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.config-item .num { font-size: 14px; color: var(--blue); }
.config-item .c-name { font-size: 17px; }
.config-item .c-desc { font-size: 14.5px; color: var(--ink-70); }

@media (max-width: 720px) {
  .config-item { grid-template-columns: 28px 1fr; }
  .config-item .c-desc { grid-column: 1 / -1; padding-left: 46px; margin-top: 2px; }
}

/* Security band */

.security { text-align: left; }
.security-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.security .icon { width: 46px; height: 46px; color: var(--white); }
.security h2 { font-size: 28px; margin: 0 0 12px; line-height: 1.3; }
.security p { font-size: 16px; color: var(--paper-80); max-width: 62ch; margin: 0; }
@media (max-width: 640px) { .security-grid { grid-template-columns: 1fr; } }

/* CTA band */

.cta-band { border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 26px; margin: 0; letter-spacing: -0.005em; }

/* ---------- Footer ---------- */

footer.site-footer { background: var(--white); color: var(--ink-70); padding: 36px 0; font-size: 14px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-row .foot-mark { display: flex; align-items: center; gap: 10px; color: var(--black); }
.footer-row .foot-mark img { height: 30px; width: auto; }
.footer-credit { color: var(--ink-50); font-size: 13px; margin-top: 3px; }
.footer-row nav a { color: var(--ink-70); text-decoration: none; margin-left: 22px; }
.footer-row nav a:hover { color: var(--blue); }

/* ---------- Contact page ---------- */

.contact-hero { background: var(--blue); color: var(--white); padding: 72px 0 80px; }
.contact-hero h1 { font-size: 38px; margin: 0 0 16px; max-width: 16ch; letter-spacing: -0.005em; }
.contact-hero p { font-size: 17px; color: var(--paper-80); max-width: 48ch; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; padding: 80px 0; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 48px; padding: 56px 0; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; color: var(--black); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 15px; padding: 12px 14px;
  background: var(--white); border: 1.5px solid var(--line); border-radius: 4px; color: var(--black);
}
.field input:focus, .field textarea:focus { border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.info-card { background: var(--blue); color: var(--white); padding: 32px 28px; border-radius: 8px; }
.info-card .label { font-size: 12.5px; color: var(--paper-80); margin-bottom: 8px; display: block; }
.info-card .value { font-size: 16px; margin: 0 0 22px; }
.info-card .value:last-child { margin-bottom: 0; }
.info-card .note { border-top: 1px solid var(--line-on-dark); padding-top: 18px; margin-top: 22px; font-size: 14px; color: var(--paper-65); }

.confirm { padding: 40px 0; display: none; }
.confirm.show { display: block; }
.confirm .stamp-line { font-size: 13.5px; color: var(--blue); margin-bottom: 10px; }
.confirm h3 { font-size: 24px; margin: 0 0 10px; }
.confirm p { color: var(--ink-70); }
form.hidden { display: none; }
