:root {
  --ink: #0b1f22;
  --ink-mid: #0f2b30;
  --ink-soft: #152e33;
  --teal: #009aaa;
  --teal-light: #44c0c5;
  --teal-dim: rgba(0, 154, 170, 0.1);
  --teal-border: rgba(0, 154, 170, 0.25);
  --gold: #c9a96e;
  --paper: #f7f5f2;
  --paper-mid: #edeae5;
  --charcoal: #1a2e32;
  --body-text: #4a5c60;
  --light-line: rgba(0, 0, 0, 0.07);
  --white: #f5f0ea;
  --white-80: rgba(245, 240, 234, 0.8);
  --white-50: rgba(245, 240, 234, 0.5);
  --white-15: rgba(245, 240, 234, 0.15);
  --white-08: rgba(245, 240, 234, 0.08);
  --sans: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--charcoal);
  overflow-x: hidden;
}

main {
  display: block;
}

section[id] {
  scroll-margin-top: 92px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 10000;
  background: var(--teal);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform 0.25s var(--ease-out);
}

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--ink);
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 2px;
}

nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 200;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  transition: background 0.5s, backdrop-filter 0.5s, border-bottom 0.4s;
}

nav.scrolled {
  background: rgba(11, 31, 34, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--white-08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  color: var(--white);
  text-decoration: none;
}

.brand-lockup {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 42px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--white-50);
  text-decoration: none;
  position: relative;
  transition: color 0.3s, opacity 0.3s;
  padding-bottom: 0.18rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transition: width 0.35s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  opacity: 1;
}

.nav-links a:not(.active) {
  opacity: 0.9;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--teal);
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 154, 170, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 23px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mob-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 70px;
  background: rgba(11, 31, 34, 0.98);
  backdrop-filter: blur(25px);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mob-menu.open {
  display: flex;
}

.mob-menu a {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white-50);
  text-decoration: none;
  transition: color 0.3s;
  letter-spacing: -0.02em;
}

.mob-menu a:hover {
  color: var(--teal);
}

.mob-menu a:focus-visible {
  color: var(--white);
}

#home {
  min-height: 100vh;
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: 70px;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--white-08) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 20%, transparent 100%);
  opacity: 0.35;
}

.hero-glow {
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 154, 170, 0.14) 0%, transparent 65%);
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  animation: glowpulse 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glowpulse {
  0%, 100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
  }
}

.hero-inner {
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
  padding: 5rem 3rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: slideUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--teal);
  display: block;
}

.hero-h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: slideUp 0.9s var(--ease-out) 0.5s forwards;
  background: linear-gradient(135deg, #fff 0%, var(--white-50) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-h1 em,
.h2-dark em {
  font-style: normal;
  color: var(--teal);
  -webkit-text-fill-color: var(--teal);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white-50);
  max-width: 520px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: slideUp 0.9s var(--ease-out) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.9s var(--ease-out) 0.9s forwards;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--teal);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-teal::after,
.btn-submit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-teal:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 154, 170, 0.3);
}

.btn-teal:hover::after,
.btn-submit:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white-50);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.btn-outline:hover {
  color: var(--white);
}

.btn-outline svg {
  transition: transform 0.3s;
}

.btn-outline:hover svg {
  transform: translateX(4px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
  opacity: 0;
  animation: slideUp 0.9s var(--ease-out) 1.05s forwards;
}

.proof-item {
  padding: 1rem 1.1rem;
  border: 1px solid var(--white-08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 4px;
}

.proof-item strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.45rem;
}

.proof-item span {
  display: block;
  color: var(--white-80);
  font-size: 0.86rem;
  line-height: 1.6;
}

.hero-photo-wrap {
  position: relative;
  opacity: 0;
  animation: slideRight 1s var(--ease-out) 0.6s forwards;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  display: block;
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.75rem;
  background: var(--teal);
  color: var(--ink);
  padding: 1.1rem 1.6rem;
  border-radius: 2px;
  box-shadow: 0 16px 40px rgba(0, 154, 170, 0.35);
}

.hero-badge-num {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-badge-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-top: 0.3rem;
}

.hero-pill {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: rgba(11, 31, 34, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--white-15);
  border-radius: 30px;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-pill-text {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--white-80);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-50);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInScroll 1s var(--ease-out) 1.5s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: var(--teal);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeInScroll {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.ticker-bar {
  background: var(--teal);
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  animation: ticker 28s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.tick-item {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0 2.25rem;
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.tick-dot {
  width: 3px;
  height: 3px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.35;
  flex-shrink: 0;
}

.section-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 3rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.85rem;
}

.tag::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--teal);
  display: block;
}

.h2-light,
.h2-dark {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.h2-light {
  color: var(--charcoal);
}

.h2-light em {
  font-style: normal;
  color: var(--teal);
}

.h2-dark {
  color: var(--white);
  background: linear-gradient(135deg, #fff 0%, var(--white-50) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

.rv-d1 { transition-delay: 0.1s; }
.rv-d2 { transition-delay: 0.2s; }
.rv-d3 { transition-delay: 0.3s; }
.rv-d4 { transition-delay: 0.4s; }
.rv-d5 { transition-delay: 0.5s; }
.rv-d6 { transition-delay: 0.6s; }

#company,
#services,
#team,
#contact {
  padding: 8rem 0;
}

#company {
  background: var(--paper);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.company-copy p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--body-text);
  margin-bottom: 1.4rem;
}

.company-copy p strong {
  color: var(--charcoal);
  font-weight: 600;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 2rem 0 0.5rem;
}

.trust-chip {
  border: 1px solid var(--light-line);
  background: #fff;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.pillars {
  margin-top: 2rem;
}

.pillar {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--light-line);
}

.pillar:first-child {
  border-top: 1px solid var(--light-line);
}

.pil-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 2rem;
  padding-top: 2px;
  letter-spacing: 0.04em;
}

.pil-body h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.pil-body p {
  font-size: 0.8rem;
  color: var(--body-text);
  line-height: 1.65;
  margin: 0;
}

.company-visual {
  position: relative;
}

.company-photo-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.company-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  filter: brightness(0.97) saturate(0.9);
  transition: transform 0.8s var(--ease-out), filter 0.6s;
}

.company-photo-wrap:hover .company-photo {
  transform: scale(1.03);
  filter: brightness(1) saturate(1);
}

.company-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 31, 34, 0.6) 0%, transparent 55%);
  border-radius: 4px;
}

.company-photo-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.company-photo-caption p {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.badge-small {
  background: var(--teal);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 2px;
}

.vision-card,
.promise-box {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 4px;
  padding: 2rem 2.25rem;
  margin-top: 1.25rem;
  position: relative;
  overflow: hidden;
}

.vision-card::before,
.promise-box::before,
.form-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
}

.vision-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--white-50);
  margin: 0;
}

.vision-card p strong,
.promise-box p {
  color: var(--white);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1.25rem;
}

.metric-cell {
  background: var(--paper);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: background 0.3s;
}

.metric-cell:hover {
  background: var(--paper-mid);
}

.metric-val {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--charcoal);
  line-height: 1;
}

.metric-val sup {
  font-size: 0.8rem;
  color: var(--teal);
  vertical-align: super;
}

.metric-desc {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--body-text);
  margin-top: 0.35rem;
}

#services {
  background: var(--ink-mid);
  position: relative;
}

#services::before,
#services::after,
#contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
}

#services::before {
  top: 0;
}

#services::after {
  bottom: 0;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.services-count {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--teal);
  opacity: 0.12;
  line-height: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--white-08);
  border: 1px solid var(--white-08);
}

.svc-tile {
  background: var(--ink-mid);
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
}

.svc-tile::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transition: width 0.5s var(--ease-out);
}

.svc-tile:hover {
  background: var(--ink-soft);
}

.svc-tile:hover::after {
  width: 100%;
}

.svc-num {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
  opacity: 0.5;
  margin-bottom: 1.25rem;
}

.svc-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--white-15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  margin-bottom: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.svc-tile:hover .svc-icon {
  border-color: var(--teal);
  background: var(--teal-dim);
}

.svc-tile h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.svc-tile p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--white-50);
  margin-bottom: 1.5rem;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.svc-list li {
  font-size: 0.73rem;
  color: var(--white-50);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.svc-list li::before {
  content: "";
  display: block;
  width: 12px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
  flex-shrink: 0;
}

#team {
  background: var(--paper-mid);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.team-grid p {
  font-size: 1rem;
  line-height: 1.82;
  color: var(--body-text);
  margin-top: 1.5rem;
}

.promise-box p {
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--white-80);
  margin: 0;
}

.team-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--light-line);
  border: 1px solid var(--light-line);
  border-radius: 4px;
  overflow: hidden;
}

.team-card {
  background: var(--paper);
  padding: 1.75rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.75rem;
  transition: background 0.3s;
}

.team-card:hover {
  background: #fff;
}

.tc-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
}

.team-card:hover .tc-badge {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 154, 170, 0.25);
}

.tc-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.tc-desc {
  font-size: 0.78rem;
  color: var(--body-text);
  line-height: 1.6;
}

.tc-arr {
  color: var(--paper-mid);
  transition: color 0.3s, transform 0.3s;
}

.team-card:hover .tc-arr {
  color: var(--teal);
  transform: translateX(4px);
}

#contact {
  background: var(--ink);
  position: relative;
}

#contact::before {
  top: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 5rem;
  align-items: start;
}

.contact-left > p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--white-50);
  margin-top: 1.4rem;
  margin-bottom: 2.5rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--white-08);
  text-decoration: none;
  transition: opacity 0.3s;
}

.contact-item:first-child {
  border-top: 1px solid var(--white-08);
}

.contact-item:hover {
  opacity: 0.75;
}

.ci-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--teal-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.ci-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.2rem;
}

.ci-value {
  font-size: 0.88rem;
  color: var(--white);
}

.hours-box {
  background: var(--white-08);
  border: 1px solid var(--white-08);
  border-radius: 4px;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.hours-box h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  padding: 0.38rem 0;
  border-bottom: 1px solid var(--white-08);
  color: var(--white-50);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row span:last-child {
  color: var(--white);
}

.hours-row.accent span:first-child {
  color: var(--teal);
}

.form-box {
  background: var(--ink-mid);
  border: 1px solid var(--white-08);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.form-box::before {
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--gold));
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.82rem;
  color: var(--white-50);
  margin-bottom: 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fg {
  margin-bottom: 0.82rem;
}

.fg label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 0.35rem;
}

.req {
  color: var(--teal);
}

.fc {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--white-08);
  border-radius: 2px;
  padding: 0.8rem 0.95rem;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  -webkit-appearance: none;
}

.fc::placeholder {
  color: rgba(245, 240, 234, 0.2);
}

.fc:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 154, 170, 0.08);
}

.fc.err {
  border-color: #e05c5c;
}

.fc option {
  background: var(--ink-mid);
  color: var(--white);
}

select.fc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(245,240,234,0.35)'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

textarea.fc {
  resize: vertical;
  min-height: 110px;
}

.err-msg {
  font-size: 0.68rem;
  color: #e05c5c;
  margin-top: 0.3rem;
  display: none;
}

.form-status {
  min-height: 1.1rem;
  margin: 0.1rem 0 0.75rem;
  font-size: 0.72rem;
  color: var(--white-50);
}

.form-status.is-error {
  color: #e05c5c;
}

.form-status.is-success {
  color: var(--teal-light);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem;
  border: none;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 154, 170, 0.3);
}

.btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.75rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--white-08);
  border-radius: 4px;
  animation: slideUp 0.6s var(--ease-out) forwards;
}

.success-ring {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 154, 170, 0.2);
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.form-success p {
  font-size: 0.82rem;
  color: var(--white-50);
  margin-bottom: 1.75rem;
}

.reset-lnk {
  font-size: 0.72rem;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s;
}

.reset-lnk:hover {
  opacity: 0.65;
}

footer {
  background: var(--ink);
  border-top: 1px solid var(--white-08);
  padding: 4rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.f-brand .f-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.f-brand .f-logo .brand-lockup {
  max-height: 48px;
}

.f-brand p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: var(--white-50);
  max-width: 320px;
}

.f-col h4 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.1rem;
}

.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.f-col a {
  font-size: 0.8rem;
  color: var(--white-50);
  text-decoration: none;
  transition: color 0.3s;
}

.f-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--white-08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--white-50);
}

.social-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.social-link {
  color: var(--white-50);
  transition: color 0.3s, transform 0.3s;
  display: block;
}

.social-link:hover {
  color: var(--teal);
  transform: translateY(-2px);
}

#toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--ink-mid);
  border: 1px solid var(--teal);
  border-radius: 2px;
  padding: 0.9rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 9999;
  pointer-events: none;
  transform: translateY(70px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.5s;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

#toast svg {
  color: var(--teal);
  flex-shrink: 0;
}

#toast span {
  font-size: 0.8rem;
  color: var(--white);
}

.wa-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 154, 170, 0.35);
  z-index: 9990;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

.wa-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 154, 170, 0.45);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section-wrap {
    padding: 0 1.5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem 3.5rem;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-photo-wrap {
    max-width: 36rem;
    width: 100%;
    margin: 0 auto;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .company-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-logo {
    min-height: 40px;
  }

  .nav-logo .brand-lockup {
    max-height: 36px;
  }

  .services-grid,
  .form-row,
  .footer-grid,
  .hero-proof {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .form-box {
    padding: 1.75rem;
  }

  nav {
    padding: 0 1.25rem;
  }

  .hero-inner {
    padding-inline: 1.25rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .btn-teal,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-photo-wrap {
    max-width: 100%;
  }

  .hero-pill {
    top: 1rem;
    right: 1rem;
  }

  .hero-badge {
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }

  .company-photo-caption,
  .hours-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .tc-arr {
    display: none;
  }

  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 1.25rem;
    left: 1.25rem;
  }

  .wa-float svg {
    width: 24px;
    height: 24px;
  }

  #toast {
    right: 1.25rem;
    left: 1.25rem;
    bottom: 5.2rem;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-glow,
  .hero-scroll,
  .ticker-track {
    animation: none !important;
  }

  .rv,
  .hero-eyebrow,
  .hero-h1,
  .hero-sub,
  .hero-actions,
  .hero-proof,
  .hero-photo-wrap {
    opacity: 1;
    transform: none;
  }
}
