:root {
  --primary: #1570c9;
  --primary-deep: #0d4f91;
  --accent: #77c79a;
  --accent-soft: #e8f7ef;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #12314f;
  --muted: #5d738c;
  --border: rgba(17, 73, 124, 0.12);
  --shadow: 0 20px 60px rgba(16, 75, 126, 0.16);
  --hero-image: linear-gradient(90deg, rgba(245, 251, 255, 0.94) 0%, rgba(245, 251, 255, 0.84) 42%, rgba(245, 251, 255, 0.3) 100%), url("images/background.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(119, 199, 154, 0.18), transparent 32%),
    linear-gradient(180deg, #f5fbff 0%, #edf8f4 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 20px 0;
}

.nav-shell {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--surface-strong);
  padding: 6px;
  box-shadow: 0 10px 26px rgba(18, 78, 126, 0.12);
}

.brand span {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--primary);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: var(--accent-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-deep);
  transition: transform 180ms ease, opacity 180ms ease;
}

main {
  width: min(1160px, calc(100% - 32px));
  margin: 22px auto 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 96px 64px;
  border-radius: 36px;
  background-image: var(--hero-image);
  background-position: center right;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at top left, rgba(119, 199, 154, 0.24), transparent 30%);
}

.hero-content,
.contact-panel,
.panel,
.service-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  width: min(680px, 100%);
}

.eyebrow,
.section-tag {
  margin: 0 0 16px;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.96;
  margin-bottom: 18px;
}

h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.hero-text,
.panel p,
.service-card p,
.contact-text,
.site-footer p,
.social-links a {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), #29a0e8);
  box-shadow: 0 16px 30px rgba(21, 112, 201, 0.22);
}

.button-secondary {
  border: 1px solid rgba(17, 73, 124, 0.16);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.stat-card {
  padding: 18px;
  border: 1px solid rgba(17, 73, 124, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.stat-card strong {
  display: block;
  color: var(--primary-deep);
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  padding: 88px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
}

.panel,
.service-card,
.contact-panel {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.panel {
  padding: 28px;
}

.emphasis {
  background: linear-gradient(180deg, rgba(232, 247, 239, 0.96), rgba(255, 255, 255, 0.92));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(16, 75, 126, 0.18);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 16px;
  color: var(--primary-deep);
  font-weight: 800;
  background: linear-gradient(180deg, #dff2fb, #ecfff4);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(232, 247, 239, 0.92)),
    url("");
  background-position: center;
  background-size: cover;
}

.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 40px auto 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 8px 0;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-links a {
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 80px 32px;
    background-position: 68% center;
  }

  .hero-stats,
  .service-grid,
  .about-grid,
  .contact-panel,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 14px 14px 0;
  }

  .nav-shell {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  main,
  .site-footer {
    width: min(100% - 20px, 1160px);
  }

  .hero {
    padding: 88px 22px 28px;
    border-radius: 28px;
    background-position: 72% center;
  }

  .hero-stats,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .panel,
  .service-card,
  .contact-panel {
    padding: 22px;
    border-radius: 22px;
  }
}
