:root {
  --bg: #07100f;
  --bg-soft: #0d1a18;
  --bg-ink: #101515;
  --panel: rgba(13, 26, 24, 0.78);
  --panel-solid: #111c1a;
  --text: #f4fbf8;
  --muted: #aab8b4;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #17d8c0;
  --lime: #b9ff4c;
  --yellow: #ffd166;
  --coral: #ff7a59;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  color-scheme: dark;
}

* {
  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;
  background:
    radial-gradient(circle at 78% 12%, rgba(23, 216, 192, 0.13), transparent 24rem),
    linear-gradient(180deg, #07100f 0%, #091311 44%, #f2f5ef 44%, #f2f5ef 100%);
  color: var(--text);
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--lime);
  color: #07100f;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(7, 16, 15, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  transition: background 0.2s ease, height 0.2s ease;
}

.site-header.is-scrolled {
  height: 64px;
  background: rgba(7, 16, 15, 0.92);
}

.brand,
.site-nav,
.trust-row,
.hero-actions,
.niche-list,
.metrics,
.timeline,
.plans-grid,
.service-grid,
.contact {
  display: flex;
}

.brand {
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--teal), var(--lime));
  color: #07100f;
  box-shadow: 0 0 28px rgba(23, 216, 192, 0.26);
}

.brand-text {
  font-size: 1rem;
}

.site-nav {
  align-items: center;
  gap: 1.4rem;
  color: rgba(244, 251, 248, 0.82);
  font-size: 0.94rem;
}

.site-nav a {
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--lime);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 82svh;
  overflow: hidden;
  padding: 7.5rem 5vw 3rem;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 10rem;
  background: linear-gradient(180deg, transparent, #091311);
  z-index: -1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.74;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 15, 0.98) 0%, rgba(7, 16, 15, 0.86) 36%, rgba(7, 16, 15, 0.24) 74%, rgba(7, 16, 15, 0.7) 100%),
    linear-gradient(180deg, rgba(7, 16, 15, 0.2), rgba(7, 16, 15, 0.82));
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  animation: slowZoom 15s ease-in-out infinite alternate;
}

.hero-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.62fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 6vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  color: rgba(244, 251, 248, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.08rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--lime), var(--teal));
  color: #07100f;
  box-shadow: 0 18px 48px rgba(185, 255, 76, 0.18);
}

.btn-secondary,
.btn-plan {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.trust-row {
  flex-wrap: wrap;
  gap: 0.7rem;
}

.trust-row span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.48rem 0.72rem;
  color: rgba(244, 251, 248, 0.78);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.86rem;
}

.hero-panel {
  position: relative;
  min-height: 360px;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(185, 255, 76, 0.24);
  border-radius: 999px;
  inset: 18% 7%;
  animation: spin 20s linear infinite;
}

.orbit-b {
  inset: 8% 18%;
  border-color: rgba(23, 216, 192, 0.24);
  animation-duration: 27s;
  animation-direction: reverse;
}

.live-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 160px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(8, 15, 14, 0.76);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: float 5.5s ease-in-out infinite;
}

.card-search {
  top: 16%;
  right: 4%;
}

.card-site {
  top: 48%;
  left: 0;
  animation-delay: -1.4s;
}

.card-lead {
  right: 9%;
  bottom: 13%;
  flex-direction: column;
  align-items: flex-start;
  color: var(--muted);
  animation-delay: -2.5s;
}

.card-lead strong {
  color: var(--lime);
  font-size: 1.55rem;
}

.dot,
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime);
}

.pulse {
  position: relative;
  background: var(--teal);
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--teal);
  border-radius: 50%;
  animation: ping 1.8s ease-out infinite;
}

.metrics {
  position: relative;
  z-index: 1;
  width: min(1180px, 90vw);
  margin: -2.5rem auto 0;
  align-items: stretch;
  background: #f2f5ef;
  color: #10201d;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.metric {
  flex: 1;
  min-height: 130px;
  padding: 1.5rem;
  border-right: 1px solid rgba(16, 32, 29, 0.12);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  display: block;
  font-size: 2.55rem;
  line-height: 1;
  color: #0b1715;
}

.metric span {
  display: block;
  margin-top: 0.65rem;
  color: #54625f;
  line-height: 1.45;
}

.section {
  padding: clamp(4rem, 8vw, 7.2rem) 5vw;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.section-heading h2,
.portfolio-copy h2,
.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: 1.02;
  color: #10201d;
  letter-spacing: 0;
}

.services,
.process,
.niches {
  background: #f2f5ef;
  color: #10201d;
}

.service-grid,
.plans-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card,
.plan,
.step,
.portfolio-stack article {
  border: 1px solid rgba(16, 32, 29, 0.11);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(16, 32, 29, 0.07);
}

.service-card {
  min-height: 250px;
  padding: 1.4rem;
}

.service-card h3,
.step h3,
.plan h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.service-card p,
.step p,
.plan p,
.portfolio-copy p,
.contact-copy p {
  color: #5b6864;
  line-height: 1.7;
}

.icon-shape {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  background: #10201d;
  color: var(--lime);
  font-weight: 800;
}

.proof-band {
  background: #111c1a;
}

.proof-band .eyebrow,
.contact .eyebrow {
  color: var(--teal);
}

.portfolio-copy {
  width: min(820px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  text-align: center;
}

.portfolio-copy h2,
.contact-copy h2 {
  color: var(--text);
}

.portfolio-copy p,
.contact-copy p {
  color: rgba(244, 251, 248, 0.72);
}

.text-link {
  color: var(--lime);
  font-weight: 800;
}

.contact-details {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-details a,
.contact-details span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.78rem 0.9rem;
  color: rgba(244, 251, 248, 0.86);
  font-weight: 800;
  line-height: 1.35;
}

.portfolio-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.portfolio-card {
  grid-column: span 2;
  min-height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.portfolio-card:nth-child(4),
.portfolio-card:nth-child(5) {
  grid-column: span 3;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: rgba(185, 255, 76, 0.36);
  background: rgba(255, 255, 255, 0.1);
}

.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-card div {
  padding: 1rem;
}

.portfolio-card span,
.plan-label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.portfolio-card strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
}

.portfolio-card small {
  display: block;
  margin-top: 0.45rem;
  color: rgba(244, 251, 248, 0.62);
}

.timeline {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  min-height: 220px;
  padding: 1.3rem;
}

.step span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1.3rem;
  border-radius: 50%;
  background: #e3ede4;
  color: #10201d;
  font-weight: 900;
}

.plans {
  background: #0d1a18;
}

.plans .section-heading h2 {
  color: var(--text);
}

.plans-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan {
  min-height: 430px;
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
  color: var(--text);
}

.plan.featured {
  position: relative;
  transform: translateY(-0.8rem);
  background: linear-gradient(180deg, rgba(23, 216, 192, 0.14), rgba(255, 255, 255, 0.07));
  border-color: rgba(185, 255, 76, 0.34);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.plan ul {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
  color: rgba(244, 251, 248, 0.78);
}

.plan li {
  padding-left: 1.15rem;
  position: relative;
}

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.niche-list {
  width: min(980px, 100%);
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.niche-list span {
  border: 1px solid rgba(16, 32, 29, 0.12);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.7rem 0.95rem;
  color: #31403d;
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  background:
    radial-gradient(circle at 84% 22%, rgba(255, 209, 102, 0.15), transparent 20rem),
    #07100f;
}

.contact-copy {
  width: min(620px, 100%);
  margin-left: auto;
}

.lead-form {
  width: min(500px, 100%);
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
  color: rgba(244, 251, 248, 0.84);
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(7, 16, 15, 0.74);
  color: var(--text);
  padding: 0 0.9rem;
  font: inherit;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 2px solid rgba(185, 255, 76, 0.55);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  color: rgba(244, 251, 248, 0.62);
  font-size: 0.88rem;
  line-height: 1.5;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0 0.95rem;
  border-radius: 999px;
  background: var(--lime);
  color: #07100f;
  box-shadow: 0 18px 45px rgba(7, 16, 15, 0.28);
  font-weight: 900;
}

.whatsapp-float span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #07100f;
  animation: pingDot 1.8s ease-in-out infinite;
}

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

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

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

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

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

@keyframes ping {
  from {
    opacity: 0.8;
    transform: scale(0.8);
  }
  to {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes pingDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.72);
    opacity: 0.6;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 8rem;
  }

  .hero-inner,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 260px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card,
  .portfolio-card:nth-child(4),
  .portfolio-card:nth-child(5) {
    grid-column: auto;
  }

  .plan.featured {
    transform: none;
  }

  .contact-copy {
    margin-left: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 68px;
  }

  .brand-text {
    font-size: 0.92rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 68px 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(7, 16, 15, 0.96);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem;
  }

  .hero {
    padding: 6rem 5vw 2rem;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
    line-height: 1;
    margin-bottom: 0.9rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-actions {
    margin: 1.2rem 0 1rem;
  }

  .hero-bg::before {
    background:
      linear-gradient(180deg, rgba(7, 16, 15, 0.96) 0%, rgba(7, 16, 15, 0.78) 58%, rgba(7, 16, 15, 0.92) 100%),
      linear-gradient(90deg, rgba(7, 16, 15, 0.94), rgba(7, 16, 15, 0.42));
  }

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

  .trust-row span {
    font-size: 0.8rem;
  }

  .hero-panel {
    display: none;
  }

  .metrics {
    width: 90vw;
    margin-top: -1rem;
    flex-direction: column;
  }

  .metric {
    min-height: 112px;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 32, 29, 0.12);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    left: auto;
    right: 0.85rem;
    min-height: 44px;
    padding: 0 0.78rem;
  }
}

@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;
  }
}
