:root {
  --ink: #071d45;
  --navy: #062f6f;
  --slate: #46536a;
  --muted: #687386;
  --paper: #f8fafc;
  --panel: #ffffff;
  --mist: #edf3f8;
  --teal: #2d6f8f;
  --coral: #b8892e;
  --gold: #c89b3c;
  --line: #d8e1ec;
  --shadow: 0 24px 70px rgba(16, 35, 63, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 12%, rgba(200,155,60,.18), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(45,111,143,.16), transparent 30%),
    linear-gradient(120deg, rgba(255,255,255,.98), rgba(237,243,248,.9) 48%, rgba(255,255,255,.98)),
    repeating-linear-gradient(90deg, rgba(7,29,69,.035) 0 1px, transparent 1px 112px);
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(223, 230, 234, .9);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; font-weight: 800; }
.brand-logo {
  width: clamp(138px, 18vw, 214px);
  height: auto;
  max-height: 54px;
  object-fit: contain;
}
.site-nav { display: flex; gap: 10px; align-items: center; color: var(--muted); font-weight: 800; }
.site-nav a { padding: 10px 12px; border-radius: 8px; }
.site-nav a:hover { color: var(--navy); background: var(--mist); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: white; border-radius: 8px; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .86fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 82px);
  padding: clamp(48px, 8vw, 92px) clamp(20px, 5vw, 72px) 44px;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p, li { overflow-wrap: anywhere; }
h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.8rem, 6.2vw, 5.85rem);
  line-height: .97;
  letter-spacing: 0;
}
h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: 0; }
h3 { margin: 18px 0 8px; font-size: 1.18rem; line-height: 1.18; }
.hero-text { max-width: 680px; margin: 24px 0 0; color: var(--slate); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary { color: white; background: var(--navy); border-color: var(--navy); box-shadow: 0 14px 30px rgba(6,41,92,.22); }
.button.primary:hover { background: linear-gradient(135deg, var(--navy), var(--teal)); border-color: var(--teal); }
.button.secondary { background: rgba(255,255,255,.58); }
.button.secondary:hover { border-color: var(--coral); color: var(--coral); background: white; }
.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #e6eee9;
}
.hero-media img { filter: saturate(1.08) contrast(1.03); }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(6,47,111,.08), transparent 42%, rgba(200,155,60,.15));
  pointer-events: none;
}
.hero-media::after {
  content: "Full-service consulting support";
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  max-width: 220px;
  padding: 12px 14px;
  color: white;
  background: rgba(6, 41, 92, .88);
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.25;
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 42px rgba(16,35,63,.08);
}
.trust-band div { padding: 22px; background: rgba(255,255,255,.9); }
.trust-band strong, .trust-band span { display: block; }
.trust-band strong { color: var(--navy); }
.trust-band span { color: var(--muted); font-size: .93rem; }

.section { padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px); }
.section-heading { max-width: 760px; margin-bottom: 36px; }
.services-section { padding-top: clamp(72px, 8vw, 118px); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 342px; perspective: 1200px; }
.service-toggle {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 342px;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.service-toggle:focus-visible { outline: 4px solid rgba(15,124,131,.28); outline-offset: 4px; }
.service-inner {
  position: relative;
  display: block;
  width: 100%;
  min-height: 342px;
  transition: transform .62s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.service-card.is-flipped .service-inner { transform: rotateY(180deg); }
.service-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 342px;
  padding: 26px;
  overflow: hidden;
  backface-visibility: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16,35,63,.08);
}
.service-front::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold), #eef3f8);
}
.service-back {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
  transform: rotateY(180deg);
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  aspect-ratio: 1;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}
.service-back .icon { color: var(--navy); background: white; }
.tap-hint, .return-hint {
  margin-top: 18px;
  color: var(--coral);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.return-hint { margin-top: auto; color: #f2c875; }
.service-face p { margin: 0; color: var(--muted); }
.service-back h3 { color: white; }
.service-back ul { display: grid; gap: 10px; margin: 4px 0 20px; padding-left: 18px; }
.service-back li { color: rgba(255,255,255,.88); }
.service-toggle:hover .service-front { transform: translateY(-4px); box-shadow: 0 24px 58px rgba(16,35,63,.13); }

.split-section, .about-section, .contact-section {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  border-top: 1px solid var(--line);
}
.split-section p, .about-section p, .contact-section p { color: var(--muted); }
.work-list { display: grid; gap: 12px; }
.work-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 38px rgba(16,35,63,.06);
}
.work-list a:hover { border-color: var(--teal); transform: translateY(-2px); }
.work-list strong { color: var(--coral); }
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  min-height: 330px;
}
.about-visual span { border-radius: 8px; box-shadow: 0 16px 34px rgba(16,35,63,.1); }
.about-visual span:nth-child(1) { grid-row: span 2; background: var(--teal); }
.about-visual span:nth-child(2) { background: linear-gradient(135deg, var(--gold), #f3d58a); }
.about-visual span:nth-child(3) { background: linear-gradient(135deg, #7b8798, #d6dde7); }
.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(16,35,63,.08);
}
label { display: grid; gap: 6px; font-weight: 800; }
input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfaf7;
}
input:focus, textarea:focus { outline: 3px solid rgba(15,124,131,.18); border-color: var(--teal); }
.fine-print {
  grid-column: 2;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .88rem;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: white;
  background: var(--navy);
}
footer p { margin: 0; }
footer a { font-weight: 800; color: #f3d58a; }

@media (max-width: 1120px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-band { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .site-header { min-height: 82px; }
  .brand-logo { width: 142px; max-height: 58px; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 42px; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.8rem); }
  .hero-media { min-height: 300px; aspect-ratio: 16 / 11; }
  .trust-band, .service-grid, .split-section, .about-section, .contact-section { grid-template-columns: 1fr; }
  .trust-band { margin-inline: 20px; }
  .trust-band div { padding: 20px; }
  .service-card, .service-toggle, .service-inner, .service-face { min-height: 330px; }
  .fine-print { grid-column: auto; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service-inner, .work-list a, .button { transition: none; }
}


.feature-section, .product-section { border-top: 1px solid var(--line); }
.feature-section .section-heading p:not(.eyebrow), .product-section .section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
}
.feature-grid, .product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.feature-grid article, .product-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16,35,63,.08);
}
.feature-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  aspect-ratio: 1;
  color: white;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}
.feature-grid p, .product-grid p { color: var(--muted); }
.product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid article { min-height: 220px; border-top: 5px solid var(--gold); }

@media (max-width: 1120px) {
  .feature-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .feature-grid, .product-grid { grid-template-columns: 1fr; }
}


.credentials-section { border-top: 1px solid var(--line); }
.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.credential-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(16,35,63,.08);
}
.credential-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  min-height: 44px;
  padding: 0 12px;
  color: white;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}
.credential-grid p { color: var(--muted); }
.credential-grid strong { display: block; margin: 14px 0; color: var(--navy); }
.text-link { color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 1120px) {
  .credential-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .credential-grid { grid-template-columns: 1fr; }
}
