:root {
  /* Brand colors */
  --ink: #10253f;
  --ink-2: #193a5f;
  --blue: #2866b0;
  --blue-deep: #174f91;
  --gold: #d7a83d;
  --gold-soft: #f4e7bf;

  /* UI colors */
  --cream: #fbfaf6;
  --paper: #ffffff;
  --muted: #68788b;
  --line: #dfe6ed;
  --surface-soft: #f7f9fc;
  --surface-blue: #edf4fc;

  /* Layout */
  --max-width: 1180px;
  --radius: 22px;
  --shadow: 0 20px 60px rgba(15, 39, 65, .12);
}

/* =========================================================
   1. RESET & BASE
   ========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

/* =========================================================
   2. TYPOGRAPHY & SHARED LAYOUT
   ========================================================= */
.container {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--gold);
  content: "";
  display: inline-block;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
}

.hero > .container > h1 {
  margin-top: 18px;
}

h2 {
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: 1.55rem;
}

/* Inner page typography */
.inner-page h1 {
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
}

.inner-page h2 {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
}

.inner-page h3 {
  font-size: 1.3rem;
}

.inner-page .text-lead {
  font-size: 1rem;
}

p {
  color: var(--muted);
}

.text-lead {
  max-width: 720px;
  margin-top: 25px;
  font-size: 1.1rem;
}

.text-narrow {
  max-width: 490px;
}

/* =========================================================
   3. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 800;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(16, 37, 63, 0.18);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}

.btn-light:hover {
  transform: translateY(-2px);
}

/* =========================================================
   4. HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

/* Header CTA */
.site-header .btn-primary {
  background: var(--ink);
  color: #fff;
}

.site-header .btn-primary:hover {
  background: var(--gold);
  color: var(--ink);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 145px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.88rem;
  font-weight: 750;
}

.nav-links a {
  position: relative;
  padding: 28px 0;
  color: var(--ink);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 19px;
    height: 2px;
    background: var(--gold);
    transition: 0.25s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
    right:0;
}

/* Highlight the current page */
.nav-links a[aria-current="page"]::after {
    right: 0;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.5rem;
}

/* =========================================================
   5. HERO VIDEO
   ========================================================= */

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.90;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.10) 0%,
      rgba(255, 255, 255, 0.58) 42%,
      rgba(255, 255, 255, 0.30) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 120px 0;
  margin-inline: auto;
  text-align: center;
}

.inner-page .hero-content {
  padding: 70px 0;
}

.inner-page .hero-content h1 {
  max-width: 780px;
}

.hero-content .eyebrow {
  color: var(--gold);
  justify-content: center;
}

.hero-content h1 {
  max-width: 900px;
  margin: 22px auto 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.inner-page .hero-content h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 3.5vw, 3.75rem);
  line-height: 1.08;
}

.hero-content p {
  max-width: 720px;
  margin: 28px auto 34px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-content .hero-actions {
  justify-content: center;
}

.hero-content .btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.hero-content .btn-primary:hover {
  background: var(--ink);
  color: #fff;
}

.hero-content .btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line);
  color: var(--ink);
}

.hero-content .btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* =========================================================
   6. TRUST STRIP
   ========================================================= */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 23px 25px;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
}

.trust-item span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

/* =========================================================
   7. SECTION HEADERS
   ========================================================= */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-head p {
  max-width: 490px;
}

/* =========================================================
   8. ABOUT / BRAND STORY
   ========================================================= */
.about {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 90px;
}

.about-lead p {
  margin-top: 20px;
  font-size: 1.1rem;
}

.about-copy p {
  margin-bottom: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.pill {
  padding: 8px 13px;
  background: #fff;
  border: 1px solid #d8e0e8;
  border-radius: 999px;
  color: #3e5874;
  font-size: 0.78rem;
  font-weight: 750;
}

/* =========================================================
   9. CARDS
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: 0.25s ease;
}

.card:hover {
  border-color: #cbd8e6;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  background: var(--surface-blue);
  border-radius: 14px;
  color: var(--blue);
  font-weight: 900;
}

.card p {
  margin-top: 12px;
  font-size: 0.9rem;
}

/* =========================================================
   10. PRODUCTS
   ========================================================= */
.products {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.products p {
  color: #aebfd2;
}

.products .eyebrow {
  color: #c7dcf4;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
}

.product-card {
  position: relative;
  min-height: 235px;
  overflow: hidden;
  padding: 25px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
}

.product-card::after {
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 120px;
  height: 120px;
  background: rgba(215, 168, 61, 0.11);
  border-radius: 50%;
  content: "";
}

.product-number {
  color: #8fa6bf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.product-card h3 {
  margin-top: 50px;
  font-size: 1.65rem;
}

.product-card p {
  margin-top: 9px;
  font-size: 0.82rem;
}

/* =========================================================
   11. CAPABILITIES
   ========================================================= */
.capabilities {
  background: var(--surface-soft);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cap {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.cap .card-icon {
  margin: 0;
}

.cap p {
  margin-top: 7px;
  font-size: 0.88rem;
}

/* =========================================================
   12. PRINCIPLE / PROMISE
   ========================================================= */
.promise {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5ead0, #fff 58%);
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.quote {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.3vw, 3.2rem);
  line-height: 1.2;
}

.promise-list {
  display: grid;
  gap: 13px;
}

.promise-list > div {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 37, 63, 0.12);
}

.check {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 25px;
  height: 25px;
  background: var(--ink);
  border-radius: 50%;
  color: #fff;
  font-size: 0.72rem;
}

/* =========================================================
   13. CONTACT
   ========================================================= */
.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.contact-panel {
  padding: 35px;
  background: #fbfcfe;
  border: 1px solid var(--line);
  border-radius: 26px;
}

.contact-panel > h2 {
  margin-top: 15px;
}

.contact-panel h3 {
  margin-bottom: 22px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  background: #eaf2fb;
  border-radius: 12px;
  color: var(--blue);
  font-weight: 900;
}

.contact-row strong {
  display: block;
  color: #607186;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row span,
.contact-row a {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-weight: 650;
}

.contact-row a:hover {
  color: var(--blue);
}

.contact-cta {
  position: relative;
  overflow: hidden;
  padding: 42px;
  background: var(--ink);
  border-radius: 26px;
  color: #fff;
}

.contact-cta::after {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(215, 168, 61, 0.28);
  border-radius: 50%;
  content: "";
}

.contact-cta > h2 {
  margin-top: 16px;
}

.contact-cta p {
  max-width: 430px;
  margin: 15px 0 28px;
  color: #b8c8d9;
}

/* =========================================================
   14. FOOTER
   ========================================================= */
.footer {
  padding: 45px 0 25px;
  background: #0b1b2c;
  color: #fff;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  position: relative;
}

.footer-brand img {
  width: 145px;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(215, 168, 61, 0.35);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  opacity: 1;
  filter: none;
}

.footer p {
  max-width: 390px;
  margin-top: 14px;
  color: #9db0c4;
  font-size: 0.82rem;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #bdcad7;
  font-size: 0.82rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  color: #71869d;
  font-size: 0.75rem;
}

/* =========================================================
   15. SIMPLE REVEAL EFFECT
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   16. RESPONSIVE: TABLET
   ========================================================= */
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 82px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 13px;
  }

  .nav-links a::after {
    display: block;
    right: 100%;
    bottom: 8px;
  }

  .nav-links a:hover::after,
  .nav-links a[aria-current="page"]::after {
    right: 0;
  }

  .menu-toggle {
    display: block;
  }

  .nav > .btn {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .promise-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero {
    min-height: calc(100svh - 72px);
  }

  .hero-content {
    padding: 90px 0;
  }

  .hero-content h1 {
    font-size: clamp(2.7rem, 12vw, 4.5rem);
  }

  .hero-visual {
    max-width: 600px;
  }

  .cards,
  .product-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cap-grid {
    grid-template-columns: 1fr;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 75px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 15px;
  }
}

/* =========================================================
   17. RESPONSIVE: MOBILE
   ========================================================= */
@media (max-width: 600px) {
  .container {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .brand img {
    width: 120px;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .cards,
  .product-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .trust-item:last-child {
    border-bottom: 0 !important;
  }

  .cap {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
  }

  .contact-panel,
  .contact-cta {
    padding: 27px;
  }
}


/* =========================================================
   19. ERROR PAGE
   ========================================================= */
.error-page {
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  text-align: center;
}

.error-page-content {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.error-logo {
  width: min(360px, 80%);
  margin-bottom: 35px;
}

.error-page h1 {
  margin: 18px auto;
}

.error-page p {
  max-width: 560px;
  margin-bottom: 28px;
}

