:root {
  --bg: #f5f2ea;
  --surface: #fffdfa;
  --surface-soft: #f2efe7;
  --text: #1d221f;
  --text-soft: #46584f;
  --primary: #0f7f62;
  --primary-strong: #0a5c46;
  --accent: #f2963f;
  --accent-strong: #d57222;
  --line: #d7ded8;
  --shadow: 0 20px 40px rgba(23, 34, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 9% 0%, #d5f0e0 0, rgba(213, 240, 224, 0) 45%),
    radial-gradient(circle at 88% 14%, #ffd7b5 0, rgba(255, 215, 181, 0) 36%),
    var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.bg-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite;
}

.bg-glow--a {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -80px;
  background: #8ed5bb;
}

.bg-glow--b {
  width: 260px;
  height: 260px;
  bottom: -70px;
  right: -40px;
  background: #f6b487;
  animation-delay: -5s;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(245, 242, 234, 0.86);
  z-index: 20;
  border-bottom: 1px solid rgba(215, 222, 216, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 68px;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.brand:hover .brand__logo {
  transform: rotate(-5deg) scale(1.04);
}

.brand__text {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  line-height: 1.15;
  color: var(--accent-strong);
}

.brand__text small {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--primary-strong);
}

.nav {
  display: inline-flex;
  gap: 1rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-strong);
}

.btn {
  text-decoration: none;
  border-radius: 14px;
  padding: 0.72rem 1.1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid #9cccb9;
  color: var(--primary-strong);
  background: #fff;
}

.btn--solid {
  color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  box-shadow: 0 12px 24px rgba(213, 114, 34, 0.25);
}

.btn--ghost {
  color: var(--primary-strong);
  background: #dbf2e6;
}

.hero {
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero__orbit {
  position: absolute;
  right: 2%;
  top: 0.5rem;
  width: 220px;
  aspect-ratio: 1;
  pointer-events: none;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: rgba(15, 127, 98, 0.85);
  border-left-color: rgba(15, 127, 98, 0.55);
  opacity: 0.8;
  animation: spinSlow 22s linear infinite;
}

.hero__orbit::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-right-color: rgba(242, 150, 63, 0.92);
  border-bottom-color: rgba(242, 150, 63, 0.65);
  animation: spinSlowReverse 16s linear infinite;
}

.hero__tag {
  display: inline-flex;
  background: #e4f4ec;
  border: 1px solid #a8d7c3;
  color: #0b664e;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
  max-width: 900px;
  margin-bottom: 1rem;
}

.hero__brand {
  display: block;
  color: var(--accent-strong);
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7);
}

.hero__subtitle {
  display: block;
  color: var(--primary-strong);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.75rem);
  margin-top: 0.7rem;
}

.hero__lead {
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero__actions {
  margin-top: 1.8rem;
  display: flex;
  animation: pulseTag 4.2s ease-in-out infinite;
  flex-wrap: wrap;
}

.section-title {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  margin-bottom: 1.5rem;
}

.services {
  padding: 3rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.card::after {
  content: "";
  position: absolute;
  inset: -120% auto auto -60%;
  width: 55%;
  height: 240%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(22deg);
  transition: transform 0.7s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: #98cdb8;
  box-shadow: 0 24px 44px rgba(23, 34, 29, 0.18);
}

.card:hover::after {
  transform: translateX(220%) rotate(22deg);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.card p {
  color: var(--text-soft);
}

.highlights {
  margin: 2.8rem 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(242, 150, 63, 0.18) 0, rgba(242, 150, 63, 0) 35%),
    linear-gradient(120deg, #092d22, #0f4e3a);
}

.highlights__inner {
  padding: 2.4rem 0;
}

.section-title--light {
  color: #ffffff;
}

.highlights ul {
  margin: 0;
  padding-left: 1rem;
  color: #d8f0e6;
  display: grid;
  gap: 0.55rem;
}

.contact {
  padding: 2rem 0 4rem;
}

.public-clients {
  padding: 2rem 0 1.2rem;
}

.public-clients__lead {
  max-width: 760px;
  color: var(--text-soft);
  margin-bottom: 1rem;
}

.public-clients__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.public-clients__list li {
  background: linear-gradient(145deg, #fffdfa, #f3f7f4);
  border: 1px solid #cfe0d7;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  box-shadow: 0 12px 24px rgba(23, 34, 29, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.public-clients__list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 28px rgba(23, 34, 29, 0.12);
}

.contact__box {
  background: linear-gradient(145deg, #fffdfa, #f2f8f4);
  border: 1px solid #cedbd3;
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.contact__box h2 {
  margin-bottom: 0.75rem;
}

.contact__box p {
  color: var(--text-soft);
}

.contact__channels {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.contact__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact__item:hover {
  border-color: #9ad1bc;
}

.contact__item span {
  color: var(--text-soft);
}

.footer {
  border-top: 1px solid #2e4b40;
  padding: 1.1rem 0 1.7rem;
  background: #0f1e19;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.footer__logo {
  width: 88px;
  height: auto;
  display: block;
}

.footer p {
  color: #d6e5de;
}

.footer p:first-of-type {
  color: #f4ae6b;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid .card:nth-child(1) {
  transition-delay: 0.04s;
}

.grid .card:nth-child(2) {
  transition-delay: 0.1s;
}

.grid .card:nth-child(3) {
  transition-delay: 0.16s;
}

.grid .card:nth-child(4) {
  transition-delay: 0.22s;
}

.grid .card:nth-child(5) {
  transition-delay: 0.28s;
}

.grid .card:nth-child(6) {
  transition-delay: 0.34s;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 18px, 0) scale(1.05);
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes spinSlowReverse {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes pulseTag {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(15, 127, 98, 0.2);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(15, 127, 98, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    display: none;
  }

  .hero__orbit {
    width: 170px;
    right: 0;
  }
}

  .btn--solid:hover {
    box-shadow: 0 16px 30px rgba(213, 114, 34, 0.32);
  }
@media (max-width: 680px) {
  .header {
    flex-wrap: wrap;
  }

  .brand__logo {
    width: 56px;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero__orbit {
    width: 130px;
    top: 0;
    opacity: 0.5;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .contact__channels {
    grid-template-columns: 1fr;
  }

  .public-clients__list {
    grid-template-columns: 1fr;
  }
}
