﻿:root {
  --ink: #101820;
  --muted: #5f6b76;
  --line: #d9e1e8;
  --paper: #f7fafc;
  --white: #ffffff;
  --blue: #176b87;
  --teal: #25a18e;
  --coral: #ef6f5e;
  --navy: #0a2433;
  --shadow: 0 20px 60px rgba(16, 24, 32, 0.14);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes floatPanel {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseMark {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 161, 142, 0.4); }
  50% { box-shadow: 0 0 0 9px rgba(37, 161, 142, 0); }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scanLine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}

@keyframes statusPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: 0 12px 40px rgba(10, 36, 51, 0.12);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--teal);
  color: var(--white);
  animation: pulseMark 3.4s ease-in-out infinite;
}
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); font-weight: 700; }
.site-nav a {
  position: relative;
  opacity: 0.9;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a:hover { opacity: 1; color: var(--teal); }
.nav-toggle { display: none; }

.section, .section-band {
  position: relative;
  padding: clamp(72px, 9vw, 120px) clamp(18px, 4vw, 56px);
}
.section { max-width: 1180px; margin: 0 auto; }
.section-band { overflow: hidden; }
.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  color: var(--white);
  padding-top: 120px;
}
.hero-media, .hero-media img, .hero-overlay { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center;
  animation: heroZoom 14s ease-in-out infinite alternate;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 36, 51, 0.94), rgba(10, 36, 51, 0.66) 50%, rgba(10, 36, 51, 0.2)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 96px);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% 20% 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(118, 240, 222, 0.9), transparent);
  animation: scanLine 5.4s ease-in-out infinite;
  z-index: 1;
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: end;
  gap: clamp(34px, 7vw, 96px);
  width: min(1240px, 100%);
}
.hero-content {
  position: relative;
  max-width: 780px;
  animation: fadeUp 720ms ease both 120ms;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero .eyebrow { color: #76f0de; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0;
  max-width: 900px;
}
h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}
h3 { margin: 0 0 12px; font-size: 1.22rem; line-height: 1.2; }
.hero-copy { max-width: 620px; margin: 24px 0 0; font-size: clamp(1.05rem, 2vw, 1.35rem); color: rgba(255,255,255,0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(16, 24, 32, 0.18);
}
.btn:active { transform: translateY(-1px) scale(0.99); }
.btn.primary { background: var(--coral); color: var(--white); }
.btn.primary:hover { background: #ff7d69; }
.btn.secondary { border-color: rgba(255,255,255,0.5); color: var(--white); background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); }
.hero-panel {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius);
  background: rgba(7, 25, 35, 0.62);
  box-shadow: 0 30px 80px rgba(0,0,0,0.34);
  backdrop-filter: blur(18px);
  animation: fadeUp 720ms ease both 260ms, floatPanel 7s ease-in-out infinite 900ms;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(118,240,222,0.16), transparent 38%, rgba(239,111,94,0.16));
  pointer-events: none;
}
.panel-header {
  position: relative;
  display: flex;
  gap: 7px;
  padding-bottom: 18px;
}
.panel-header span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
}
.panel-main {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
}
.panel-main p, .panel-main span { margin: 0; color: rgba(255,255,255,0.72); }
.panel-main strong {
  display: block;
  margin: 4px 0;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.95;
}
.signal-list { position: relative; display: grid; gap: 10px; margin-top: 14px; }
.signal-list div {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.07);
}
.signal-list p { margin: 0; color: rgba(255,255,255,0.78); }
.signal-list strong { font-size: 0.92rem; }
.signal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #76f0de;
  animation: statusPulse 1.8s ease-in-out infinite;
}
.signal-dot.coral { background: var(--coral); animation-delay: 220ms; }
.signal-dot.blue { background: #7ab8ff; animation-delay: 440ms; }
.trust-strip {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(960px, 100%);
  margin-top: 44px;
  animation: fadeUp 720ms ease both 360ms;
}
.trust-strip span {
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin-top: 64px;
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.25);
  animation: fadeUp 720ms ease both 300ms;
}
.hero-stats div {
  padding: 20px;
  background: rgba(10,36,51,0.62);
  backdrop-filter: blur(12px);
  transition: background 180ms ease, transform 180ms ease;
}
.hero-stats div:hover {
  background: rgba(10,36,51,0.78);
  transform: translateY(-4px);
}
.hero-stats strong { display: block; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1; }
.hero-stats span { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  transform: translateY(-34px);
  z-index: 3;
}
.proof div {
  min-height: 150px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16,24,32,0.08);
}
.proof strong {
  display: block;
  color: var(--blue);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1;
}
.proof span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.intro { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr); gap: clamp(28px, 6vw, 76px); align-items: start; }
.lead { margin: 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); }
.section-heading { max-width: 790px; }
.services { padding-top: 20px; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(16,24,32,0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37,161,142,0.14), transparent 46%, rgba(239,111,94,0.12));
  opacity: 0;
  transition: opacity 220ms ease;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 161, 142, 0.44);
  box-shadow: 0 20px 48px rgba(16,24,32,0.12);
}
.service-card small {
  display: inline-flex;
  margin-top: 26px;
  color: var(--blue);
  font-weight: 900;
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 42px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 14px 28px rgba(23,107,135,0.22);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.service-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, var(--coral), #f4a261); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #315c72, var(--teal)); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, var(--navy), var(--coral)); }
.service-card:hover .service-icon {
  transform: translateY(-5px) rotate(-2deg);
  box-shadow: 0 20px 42px rgba(16,24,32,0.18);
}
.service-card p, .feature-copy p, .timeline p, .testimonial p, .contact-info p { color: var(--muted); margin-bottom: 0; }

.portfolio {
  padding-top: 24px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(23,107,135,0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(247,250,252,0.92)),
    radial-gradient(circle at 20% 0%, rgba(37,161,142,0.18), transparent 34%);
  box-shadow: 0 18px 50px rgba(16,24,32,0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.portfolio-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(239,111,94,0.24);
  border-radius: 50%;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: rgba(239,111,94,0.4);
  box-shadow: 0 26px 70px rgba(16,24,32,0.15);
}
.portfolio-tag {
  display: inline-flex;
  margin-bottom: 28px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(37,161,142,0.12);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}
.portfolio-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.portfolio-card p {
  max-width: 620px;
  color: var(--muted);
}
.portfolio-card ul {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
  font-weight: 800;
}
.portfolio-card li {
  position: relative;
  padding-left: 26px;
}
.portfolio-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--coral);
}

.feature { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr); gap: clamp(28px, 6vw, 72px); align-items: center; background: var(--white); }
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,107,135,0.08), transparent 42%);
  pointer-events: none;
}
.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: floatPanel 6s ease-in-out infinite;
}
.feature-copy { max-width: 620px; }
.impact-meter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin-top: 26px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdff;
}
.impact-meter span { color: var(--muted); font-weight: 900; }
.impact-meter strong { color: var(--coral); font-size: 1.35rem; }
.impact-meter div {
  grid-column: 1 / -1;
  height: 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #dde8ef;
}
.impact-meter div span {
  display: block;
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--coral));
}
.check-list { padding: 0; margin: 28px 0 0; list-style: none; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; font-weight: 800; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 14px; border-radius: 4px; background: var(--teal); }

.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 40px; background: var(--line); border: 1px solid var(--line); }
.timeline div {
  background: var(--paper);
  padding: 28px;
  min-height: 180px;
  transition: background 180ms ease, transform 180ms ease;
}
.timeline div:hover {
  background: var(--white);
  transform: translateY(-5px);
}
.timeline span { display: block; color: var(--blue); font-weight: 900; font-size: 1.2rem; margin-bottom: 12px; }
.testimonial { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.8fr); gap: clamp(28px, 6vw, 72px); align-items: center; background: var(--navy); color: var(--white); }
.testimonial p { color: rgba(255,255,255,0.78); font-size: 1.12rem; }
.testimonial cite { color: #76f0de; font-style: normal; font-weight: 800; }

.contact { display: grid; grid-template-columns: minmax(280px, 0.78fr) minmax(300px, 1fr); gap: clamp(32px, 7vw, 86px); }
.contact-methods { display: grid; gap: 10px; margin-top: 30px; font-weight: 800; }
.contact-methods a {
  color: var(--blue);
  transition: color 160ms ease, transform 160ms ease;
}
.contact-methods a:hover {
  color: var(--coral);
  transform: translateX(4px);
}
.contact-badge {
  margin-top: 30px;
  padding: 18px;
  border-left: 4px solid var(--coral);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16,24,32,0.08);
}
.contact-badge strong,
.contact-badge span {
  display: block;
}
.contact-badge span {
  margin-top: 4px;
  color: var(--muted);
}
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(16, 24, 32, 0.17);
}
.form-row { display: grid; gap: 8px; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
label { font-weight: 800; font-size: 0.94rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: #fbfdff;
}
textarea { resize: vertical; min-height: 136px; }
input, select, textarea { transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease; }
input:focus, select:focus, textarea:focus {
  outline: 3px solid rgba(37, 161, 142, 0.18);
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 8px 22px rgba(37, 161, 142, 0.1);
}
.form-submit { width: 100%; border: 0; }
.form-status { min-height: 24px; margin: 0; color: var(--muted); font-weight: 700; }
.form-status.success { color: #19735f; }
.form-status.error { color: #b94235; }

.site-footer { display: flex; justify-content: space-between; gap: 18px; padding: 28px clamp(18px, 4vw, 56px); background: #071923; color: rgba(255,255,255,0.75); }
.site-footer a { color: #76f0de; font-weight: 800; }
.visitor-counter { margin: 0; }
.visitor-counter strong { color: #76f0de; font-variant-numeric: tabular-nums; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card.reveal,
.portfolio-card.reveal,
.timeline div.reveal,
.check-list li.reveal {
  transition-delay: var(--delay, 0ms);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    border: 1px solid currentColor;
    border-radius: var(--radius);
    background: transparent;
    color: inherit;
  }
  .nav-toggle span { width: 18px; height: 2px; background: currentColor; }
  .site-nav {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .site-nav.is-open {
    display: grid;
    transform: translateY(0);
    opacity: 1;
  }
  .site-nav a { padding: 14px; }
  .hero-layout, .intro, .feature, .testimonial, .contact { grid-template-columns: 1fr; }
  .hero-panel { max-width: 520px; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); transform: none; padding-top: 32px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 14px 16px; }
  .brand span:last-child { max-width: 140px; }
  .hero { min-height: 94vh; padding: 106px 16px 42px; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10,36,51,0.88), rgba(10,36,51,0.64)); }
  .section, .section-band { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: clamp(2.2rem, 12vw, 3.8rem); }
  .hero-actions, .site-footer { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-panel { padding: 14px; }
  .panel-main { padding: 18px; }
  .signal-list div { grid-template-columns: 12px 1fr; }
  .signal-list strong { grid-column: 2; }
  .trust-strip { margin-top: 30px; }
  .trust-strip span { flex: 1 1 calc(50% - 10px); text-align: center; }
  .hero-stats, .service-grid { grid-template-columns: 1fr; }
  .hero-stats { margin-top: 42px; }
  .proof { grid-template-columns: 1fr; }
  .proof div { min-height: auto; }
  .service-card { min-height: auto; }
  .service-icon { margin-bottom: 28px; }
}

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

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