@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:opsz,wght@6..72,500;6..72,600&display=swap');

:root {
  --navy: #0b2b42;
  --navy-2: #123d59;
  --teal: #1f7a78;
  --teal-dark: #145d5b;
  --sand: #d8b47a;
  --ink: #18252f;
  --muted: #61717d;
  --paper: #f5f2eb;
  --paper-2: #ece8de;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

.font-editorial {
  font-family: 'Newsreader', serif;
}

::selection {
  background: rgba(31, 122, 120, 0.22);
  color: var(--navy);
}

.container-shell {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

@media (min-width: 768px) {
  .container-shell {
    width: min(1180px, calc(100% - 4rem));
  }
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 900ms ease, transform 7000ms ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 27, 43, 0.88) 0%, rgba(6, 27, 43, 0.66) 45%, rgba(6, 27, 43, 0.16) 100%),
    linear-gradient(0deg, rgba(6, 27, 43, 0.45) 0%, transparent 45%);
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.9), transparent 85%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 2.7rem;
  height: 1px;
  background: currentColor;
  opacity: 0.75;
}

.section-number {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--teal);
}

.woven-pattern {
  background-image:
    linear-gradient(45deg, rgba(31, 122, 120, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(31, 122, 120, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(31, 122, 120, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(31, 122, 120, 0.08) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}

.business-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.business-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--sand));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms ease;
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(11, 43, 66, 0.13);
}

.business-card:hover::after {
  transform: scaleX(1);
}

.business-card img {
  transition: transform 700ms cubic-bezier(.2,.7,.2,1), filter 300ms ease;
}

.business-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.05);
}

.image-frame {
  position: relative;
}

.image-frame::before {
  content: '';
  position: absolute;
  inset: -1.2rem 1.2rem 1.2rem -1.2rem;
  border: 1px solid rgba(31, 122, 120, 0.35);
  z-index: 0;
}

.image-frame > * {
  position: relative;
  z-index: 1;
}

.process-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(31,122,120,.65), rgba(216,180,122,.75), transparent);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.reveal-delay-1 { transition-delay: 90ms; }
.reveal-delay-2 { transition-delay: 180ms; }
.reveal-delay-3 { transition-delay: 270ms; }

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 30, 47, .92), rgba(7, 30, 47, .56)),
    var(--page-image) center/cover no-repeat;
}

.field {
  width: 100%;
  border: 1px solid #d8ddd9;
  background: #fff;
  padding: 0.85rem 0.95rem;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(31, 122, 120, 0.12);
}

.field.invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.10);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.floating-wa {
  box-shadow: 0 12px 30px rgba(6, 78, 59, .26);
}

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

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