:root {
  --ink: #071126;
  --ink-2: #0d1b35;
  --cyan: #26c6da;
  --cyan-dark: #126d86;
  --gold: #d7b56d;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --muted: #607086;
  --line: rgba(7, 17, 38, 0.12);
  --glass: rgba(255, 255, 255, 0.72);
  --shadow: 0 24px 70px rgba(7, 17, 38, 0.14);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(38, 198, 218, 0.85);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  border-radius: 999px;
}

.skip-link:focus {
  transform: translateY(0);
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 35%, #163457, var(--ink) 58%);
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  color: var(--paper);
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.22), rgba(215, 181, 109, 0.14));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(7, 17, 38, 0.08);
}

.nav {
  width: min(calc(100% - 28px), var(--max));
  min-height: 78px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: clamp(170px, 19vw, 238px);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(7, 17, 38, 0.76);
}

.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(38, 198, 218, 0.1);
  transform: translateY(-1px);
}

.nav-links .nav-cta {
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink), #123e63);
  box-shadow: 0 12px 28px rgba(7, 17, 38, 0.18);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  border-radius: 99px;
}

.section {
  padding: clamp(76px, 9vw, 132px) 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #f7fbfd 0%, #ffffff 48%, #eaf8fb 100%);
  padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(7, 17, 38, 0.08) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 18% 18%, rgba(38, 198, 218, 0.22), transparent 28%),
    radial-gradient(circle at 82% 26%, rgba(215, 181, 109, 0.18), transparent 24%);
  background-size: 54px 54px, auto, auto;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: start;
  gap: clamp(34px, 6vw, 86px);
}

.hero-visual {
  display: flex;
  flex-direction: column;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 4.5vw, 3.8rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 5vw, 4.6rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.24;
}

.hero-text,
.section-head p,
.card p,
.service-card p,
.process-card p p,
.cta-panel p,
.footer p,
.faq-list p p {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink), #0b5976 54%, var(--cyan-dark));
  box-shadow: 0 20px 46px rgba(7, 17, 38, 0.24);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(7, 17, 38, 0.16);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 13px;
  border: 1px solid rgba(7, 17, 38, 0.1);
  border-radius: 999px;
  color: rgba(7, 17, 38, 0.68);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  font-weight: 750;
}

.portrait-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 0;
  background: transparent;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.82);
}

.portrait-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  border-radius: 32px;
  object-position: center;
  background: transparent;
}


.light {
  background: var(--paper);
}

.dark {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(38, 198, 218, 0.12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(215, 181, 109, 0.14), transparent 26%),
    var(--ink);
}

.dark .section-head p,
.dark .service-card p {
  color: rgba(255, 255, 255, 0.68);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(30px, 5vw, 56px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.service-card,
.process-card {
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.service-card:hover,
.process-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f8fbfc);
}

.icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 16px;
  font-weight: 900;
  color: var(--cyan-dark);
  background: rgba(38, 198, 218, 0.12);
}

.service-card {
  min-height: 310px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 850;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 109, 134, 0.35), transparent);
}

.process-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--cyan-dark);
  background: #eaf9fb;
  font-size: 0.85rem;
  font-weight: 900;
}



.faq-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(30px, 5vw, 72px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(7, 17, 38, 0.05);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--ink);
  font-weight: 850;
}

summary::marker {
  color: var(--cyan-dark);
}

details p {
  padding: 0 22px 22px;
}

.final-cta {
  background: linear-gradient(180deg, #ffffff, #eef8fb);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 76px);
  border-radius: 32px;
  color: var(--paper);
  background:
    radial-gradient(circle at 85% 20%, rgba(38, 198, 218, 0.34), transparent 26%),
    linear-gradient(135deg, var(--ink), #123e63 70%, #0b5976);
  box-shadow: var(--shadow);
}

.cta-panel p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.74);
}

.cta-panel .eyebrow {
  color: var(--gold);
}

.footer {
  padding: 58px 0 26px;
  color: rgba(255, 255, 255, 0.78);
  background: #050b18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 28px;
}

.footer img {
  max-width: 210px;
  height: auto;
  margin-bottom: 16px;
  filter: brightness(1.18);
}

.footer h2 {
  margin-bottom: 14px;
  color: var(--paper);
  font-size: 1rem;
}

.footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.footer a:hover {
  color: var(--cyan);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom div {
  display: flex;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .process-line,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line::before {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 78px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

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

  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    min-height: auto;
    padding: 24px 0 48px;
  }

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

  .trust-row span {
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .process-line,
  .footer-grid {
    grid-template-columns: 1fr;
  }


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

.contact-section {
  background: linear-gradient(180deg, #ffffff, #f4f8fb);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.06rem;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(7, 17, 38, 0.06);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(7, 17, 38, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row.full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-row label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 850;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(7, 17, 38, 0.14);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  min-height: 54px;
  padding: 13px 15px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 132px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(38, 198, 218, 0.9);
  box-shadow: 0 0 0 4px rgba(38, 198, 218, 0.14);
}

.form-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}
@media (max-width: 760px) {
  .contact-copy {
    position: static;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hero Section Scroll Sequence Canvas Styles
   ========================================================================== */
.hero-canvas-card {
  position: relative;
  overflow: hidden;
  /* Full viewport width — break out of any parent padding */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 21 / 9; /* Cinematic widescreen — shorter, premium look */
  background: #ced1d6;
  margin-bottom: 0; /* spacing handled by hero-grid margin-top */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-grid {
  margin-top: clamp(28px, 4vw, 48px);
}

/* Portrait below canvas in hero */
.hero-visual .portrait-card {
  border-radius: 24px;
  overflow: hidden;
}

.hero-visual .portrait-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
}

#hero-scroll-canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0; /* Hidden initially, faded in when the first frame loads */
  transition: opacity 0.4s ease;
}

#hero-scroll-canvas.is-visible {
  opacity: 1;
}

.hero-canvas-loader {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #ced1d6;
  z-index: 2;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.hero-canvas-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-loader-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(7, 17, 38, 0.1);
  border-top-color: var(--cyan-dark);
  border-radius: 50%;
  animation: hero-spin 1s linear infinite;
}

@keyframes hero-spin {
  to { transform: rotate(360deg); }
}

/* Adjustments for general styles */
.site-header {
  z-index: 50;
}