﻿:root {
  --bg-page: #e8eff5;
  --surface-1: #fdfefe;
  --surface-2: #f4f8fc;
  --ink: #122235;
  --ink-soft: #1d3047;
  --muted: #5a6c82;
  --line: #d4deea;
  --line-soft: #e3ebf4;
  --primary: #0f5f90;
  --primary-deep: #0a2e4b;
  --accent: #1b93a6;
  --accent-soft: #d7f2f0;
  --shadow-lg: 0 24px 50px rgba(16, 37, 60, 0.15);
  --shadow-md: 0 14px 32px rgba(16, 37, 60, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at -5% -10%, #d0e2f3 0%, transparent 48%),
    radial-gradient(circle at 110% 15%, #d4f0ea 0%, transparent 46%),
    linear-gradient(180deg, #ecf2f8 0%, var(--bg-page) 100%);
  padding: clamp(10px, 2vw, 24px);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-glow {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.45;
}

.site-glow-a {
  top: -190px;
  left: -140px;
  background: #b5d7f5;
}

.site-glow-b {
  right: -150px;
  bottom: -170px;
  background: #b7ece5;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1240px, 100%);
  margin: 0 auto;
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 4vw, 52px);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
}

.logo {
  text-decoration: none;
  font-family: "Sora", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--ink);
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.menu a,
.footer-columns a,
.link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.22s ease;
}

.menu a {
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.menu a:hover,
.footer-columns a:hover,
.link:hover {
  color: var(--ink-soft);
}

.menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

main {
  display: grid;
}

section {
  padding: clamp(34px, 4vw, 58px) clamp(22px, 5vw, 60px);
}

.hero-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  align-items: stretch;
  background:
    radial-gradient(circle at 8% 8%, #f6fafd 0%, transparent 42%),
    radial-gradient(circle at 90% 12%, #eef8ff 0%, transparent 44%),
    linear-gradient(160deg, #f7fbff 0%, #f2f7fc 60%, #eff5fb 100%);
  border-bottom: 1px solid var(--line-soft);
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #2f6f9f;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--ink);
}

h1 {
  margin-top: 14px;
  font-size: clamp(2.05rem, 4.3vw, 3.5rem);
  line-height: 1.08;
  max-width: 18ch;
}

.lead {
  margin: 16px 0 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border-radius: 12px;
  padding: 12px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

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

.btn-dark {
  color: #f8fcff;
  background: linear-gradient(140deg, #0b3554 0%, #0f5f90 54%, #16889a 100%);
  box-shadow: 0 12px 24px rgba(11, 61, 97, 0.25);
}

.btn-dark:hover {
  box-shadow: 0 18px 30px rgba(11, 61, 97, 0.3);
}

.btn-light {
  color: var(--ink-soft);
  background: #ffffff;
  border-color: #cad6e5;
  box-shadow: 0 8px 20px rgba(19, 40, 64, 0.08);
}

.btn-light:hover {
  border-color: #aec0d7;
  background: #f9fcff;
}

.btn-small {
  padding-inline: 14px;
  min-height: 40px;
  font-size: 0.82rem;
}

.hero-badges {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges li {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.hero-panel {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(165deg, #0a2d4a 0%, #0e4f7b 58%, #177d8b 100%);
  box-shadow: var(--shadow-md);
  color: #e6f4ff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.hero-panel h2 {
  font-size: clamp(1.22rem, 2.15vw, 1.7rem);
  color: #f5fbff;
}

.hero-panel p {
  margin: 0;
  color: rgba(232, 244, 255, 0.9);
  line-height: 1.6;
}

.kpi-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi-grid article {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.09);
  padding: 12px;
  min-height: 82px;
}

.kpi-grid strong {
  font-family: "Sora", sans-serif;
  font-size: 1.3rem;
  color: #ffffff;
  display: block;
}

.kpi-grid span {
  font-size: 0.82rem;
  color: rgba(232, 244, 255, 0.92);
}

.hero-main {
  position: relative;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(0.9) brightness(0.74);
  animation: heroFade 18s infinite;
}

.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  29% {
    opacity: 1;
  }

  37% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 23, 38, 0.18), rgba(7, 23, 38, 0.85));
}

.hero-main-overlay {
  position: relative;
  z-index: 1;
  min-height: 460px;
  padding: clamp(34px, 4.4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #f4fbff;
}

.hero-main-overlay .eyebrow {
  color: #8aceff;
}

.hero-main-overlay h2 {
  margin-top: 8px;
  max-width: 18ch;
  color: #f9fdff;
  font-size: clamp(1.85rem, 4.1vw, 3rem);
  line-height: 1.1;
}

.hero-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-strip article {
  border: 1px solid rgba(186, 222, 255, 0.26);
  border-radius: 14px;
  padding: 16px;
  background: rgba(7, 27, 44, 0.58);
  backdrop-filter: blur(4px);
}

.hero-strip h3 {
  font-size: 1rem;
  color: #ffffff;
}

.hero-strip p {
  margin: 10px 0 0;
  color: rgba(219, 237, 255, 0.92);
  font-size: 0.92rem;
  line-height: 1.55;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px clamp(22px, 5vw, 60px);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}

.quick-cards article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  min-height: 78px;
  padding: 16px;
  font-weight: 700;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(20, 48, 73, 0.06);
}

.quick-cards span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #d9ecfb, #d9f4f1);
  color: #0e5a89;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
}

.section {
  border-bottom: 1px solid var(--line-soft);
}

.section-head {
  margin-bottom: 22px;
  max-width: 880px;
}

.section-head.compact {
  max-width: 760px;
}

.section h3 {
  font-size: clamp(1.7rem, 3.5vw, 2.55rem);
  line-height: 1.15;
}

.section p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.66;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(150deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(17, 41, 67, 0.06);
}

.service-card h4 {
  font-size: 1.07rem;
}

.service-card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.media-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px rgba(18, 40, 62, 0.08);
}

.muted {
  background: #f4f8fc;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.testimonials article {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 10px 20px rgba(18, 40, 62, 0.06);
}

.testimonials h4 {
  font-size: 1rem;
}

.testimonials span {
  margin-top: 6px;
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.testimonials p {
  margin-top: 12px;
  font-size: 0.95rem;
}

.clients {
  background: #ffffff;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.clients-block {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 10px 20px rgba(18, 40, 62, 0.06);
}

.clients-block h4 {
  font-size: 1rem;
}

.clients-block ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.clients-block li + li {
  margin-top: 8px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ideas-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px 16px;
}

summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink-soft);
  position: relative;
  padding-right: 18px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: "Sora", sans-serif;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 10px 0 4px;
  font-size: 0.94rem;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 16px;
  background: linear-gradient(145deg, #102f4b 0%, #0f5581 52%, #167f8d 100%);
}

.visit-copy {
  max-width: 620px;
}

.visit .eyebrow {
  color: #8ee5f3;
}

.visit h3,
.visit p {
  color: #eef7ff;
}

.visit .hero-buttons {
  margin-top: 20px;
}

.visit .btn-light {
  background: rgba(255, 255, 255, 0.96);
}

.link-light {
  margin-top: 16px;
  display: inline-block;
  color: #c6f8f3;
}

.map-placeholder {
  border: 1px solid rgba(174, 220, 255, 0.38);
  border-radius: 16px;
  min-height: 220px;
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(3, 25, 42, 0.35)),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.07) 8px,
      rgba(255, 255, 255, 0.03) 8px,
      rgba(255, 255, 255, 0.03) 16px
    );
  display: grid;
  align-content: end;
}

.map-placeholder span {
  font-size: 0.94rem;
  line-height: 1.5;
  color: #dbedff;
  max-width: 28ch;
  font-weight: 600;
}

.partners {
  background: var(--surface-2);
}

.partner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-links a {
  text-decoration: none;
  border: 1px solid #c6d7e6;
  border-radius: 10px;
  background: #ffffff;
  color: #184268;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.partner-links a:hover {
  transform: translateY(-1px);
  border-color: #93b4d0;
  box-shadow: 0 10px 16px rgba(18, 40, 62, 0.09);
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
  gap: 24px;
  padding: 32px clamp(22px, 5vw, 60px) 38px;
  background: linear-gradient(160deg, #081c2e 0%, #102e49 52%, #154564 100%);
  color: #dce8f5;
}

.footer-brand strong {
  font-family: "Sora", sans-serif;
  font-size: 1.24rem;
  color: #ffffff;
}

.footer-brand p {
  margin: 10px 0 0;
  color: #aac0d3;
  max-width: 34ch;
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 16px;
}

.footer-columns h5 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 0.9rem;
}

.footer-columns a {
  display: block;
  margin-bottom: 7px;
  color: #bed1e0;
  font-weight: 500;
  font-size: 0.88rem;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #1b86cc;
  outline-offset: 3px;
  border-radius: 5px;
}

.hero-copy > *,
.hero-panel,
.quick-cards article,
.service-card,
.testimonials article,
.clients-block {
  opacity: 0;
  animation: riseIn 0.7s ease forwards;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.11s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.17s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.23s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.29s;
}

.hero-panel {
  animation-delay: 0.2s;
}

.quick-cards article:nth-child(2),
.service-card:nth-child(2),
.testimonials article:nth-child(2),
.clients-block:nth-child(2) {
  animation-delay: 0.09s;
}

.quick-cards article:nth-child(3),
.service-card:nth-child(3) {
  animation-delay: 0.14s;
}

.quick-cards article:nth-child(4),
.service-card:nth-child(4) {
  animation-delay: 0.19s;
}

.service-card:nth-child(5) {
  animation-delay: 0.24s;
}

.service-card:nth-child(6) {
  animation-delay: 0.29s;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

@media (max-width: 1120px) {
  .hero-intro {
    grid-template-columns: 1fr;
  }

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

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

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

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

@media (max-width: 900px) {
  .topbar {
    top: 6px;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .menu {
    order: 3;
    width: 100%;
    gap: 14px;
  }

  .btn-small {
    margin-left: auto;
  }

  .hero-main-overlay {
    min-height: 500px;
  }

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

  .split,
  .visit,
  .footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .page-shell {
    border-radius: 20px;
  }

  .hero-main-overlay {
    min-height: 520px;
  }

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

  .testimonials,
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .map-placeholder {
    min-height: 170px;
  }
}

@media (max-width: 560px) {
  body {
    padding: 8px;
  }

  .topbar {
    position: static;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .menu {
    gap: 10px 14px;
  }

  h1 {
    font-size: 1.88rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .kpi-grid,
  .quick-cards,
  .services-grid,
  .media-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
