:root {
  --color-blue-900: #081a34;
  --color-blue-800: #0c2f55;
  --color-blue-700: #124c7a;
  --color-blue-500: #1389c9;
  --color-blue-300: #5ac0f2;
  --color-white: #ffffff;
  --color-light: #f4f7fb;
  --color-muted: #5b6472;
  --color-dark: #0d1d38;
  --color-border: rgba(19, 137, 201, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 30px 60px rgba(8, 26, 52, 0.15);
  --shadow-card: 0 18px 40px rgba(12, 47, 85, 0.12);
  --shadow-light: 0 10px 20px rgba(12, 47, 85, 0.08);
  --container-width: min(1160px, 92vw);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus {
  color: var(--color-blue-300);
}

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

figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Montserrat", "Poppins", sans-serif;
  font-weight: 700;
  margin: 0 0 1rem;
  color: var(--color-white);
}

h2,
h3 {
  color: var(--color-dark);
}

p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

strong {
  color: inherit;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 26, 52, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-white);
}

.logo__mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-blue-300));
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-white);
  box-shadow: var(--shadow-light);
}

.logo__text {
  font-family: "Montserrat", sans-serif;
}

.nav {
  position: relative;
}

.nav__list {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  transition: transform 0.35s ease;
}

.nav__list a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--color-blue-300), var(--color-blue-500));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

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

.nav__toggle {
  display: none;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.6rem;
  cursor: pointer;
}

.nav__toggle-line {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--color-white);
  transition: transform 0.3s ease;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero__slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 12s linear;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.12);
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, rgba(8, 26, 52, 0.58), rgba(12, 47, 85, 0.28));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at top left, rgba(19, 137, 201, 0.4), transparent 65%),
    radial-gradient(circle at bottom right, rgba(12, 47, 85, 0.5), transparent 60%);
}

.hero__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
  padding: clamp(6rem, 10vw, 8rem) 0 clamp(5rem, 12vw, 8rem);
}

.hero__content {
  position: relative;
  background: linear-gradient(150deg, rgba(8, 26, 52, 0.9) 0%, rgba(12, 47, 85, 0.86) 55%, rgba(19, 137, 201, 0.38) 100%);
  padding: clamp(2.2rem, 5vw, 3.4rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(90, 192, 242, 0.28);
  max-width: min(640px, 100%);
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(90, 192, 242, 0.2);
  color: var(--color-blue-300);
}

.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  line-height: 1.12;
  margin-top: 1.5rem;
}

.hero h1 {
  word-break: break-word;
}

.hero h1 span {
  color: var(--color-blue-300);
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero__list {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.hero__list li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.6rem;
  background: linear-gradient(135deg, var(--color-blue-300), var(--color-blue-500));
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.button--primary {
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-blue-300));
  color: var(--color-dark);
  box-shadow: var(--shadow-light);
}

.button--primary:hover,
.button--primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(19, 137, 201, 0.35);
}

.button--outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--color-white);
}

.button--outline:hover,
.button--outline:focus {
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--color-blue-300);
}

.hero__contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.contact-chip {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 47, 85, 0.85);
  border: 1px solid rgba(90, 192, 242, 0.2);
  box-shadow: var(--shadow-light);
}

.contact-chip h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: var(--color-blue-300);
}

.contact-chip a {
  font-weight: 600;
  color: var(--color-white);
}

.hero__panel {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-dark);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.concept-slider {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  row-gap: clamp(1.25rem, 2vw, 1.75rem);
  height: 100%;
  align-items: stretch;
}

.concept-slider__viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
  min-height: clamp(320px, 55vh, 520px);
}

.concept-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--color-white);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.concept-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 1;
}

.concept-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex: 1;
  border-bottom: 1px solid rgba(12, 47, 85, 0.12);
}

.concept-slide figcaption {
  padding: 1.1rem 1.25rem;
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--color-blue-900);
  background: linear-gradient(135deg, rgba(90, 192, 242, 0.12), rgba(12, 47, 85, 0.08));
}

.concept-slider__control {
  position: absolute;
  top: calc(50% - 1rem);
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 47, 85, 0.85);
  color: var(--color-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: var(--shadow-light);
}

.concept-slider__control:hover,
.concept-slider__control:focus {
  background: rgba(90, 192, 242, 0.95);
  transform: translateY(-50%) scale(1.05);
}

.concept-slider__control--prev {
  left: 1rem;
}

.concept-slider__control--next {
  right: 1rem;
}

.concept-slider__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
}

.concept-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 47, 85, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.concept-slider__dot.is-active {
  transform: scale(1.4);
  background: linear-gradient(135deg, var(--color-blue-500), var(--color-blue-300));
}

.hero__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
}

.hero__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero__dot.is-active {
  background: var(--color-blue-300);
  transform: scale(1.2);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section--accent {
  background: linear-gradient(135deg, var(--color-blue-800), var(--color-blue-500));
  color: var(--color-white);
}

.section-heading {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.section-heading h2 {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
}

.section-heading p {
  font-size: 1rem;
}

.section-heading--light h2,
.section-heading--light p,
.section-heading--light .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-blue-500);
  margin-bottom: 1rem;
}

.section-heading--light .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 28px 50px rgba(12, 47, 85, 0.18);
}

.service-card__icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-blue-800);
  background: linear-gradient(135deg, rgba(19, 137, 201, 0.18), rgba(90, 192, 242, 0.22));
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.section--accent .work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.work-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(8, 26, 52, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.work-card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.work-card:hover .work-card__image img {
  transform: scale(1.08);
}

.work-card__body {
  padding: 1.8rem;
  color: var(--color-white);
}

.work-card__body h3 {
  color: var(--color-white);
}

.work-card__body p {
  color: rgba(255, 255, 255, 0.8);
}

.section--features {
  background: var(--color-light);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}

.feature-card h3 {
  color: var(--color-blue-700);
}

.gallery-grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: clamp(2rem, 3vw, 3rem);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
  border: 1px solid var(--color-border-subtle);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item figcaption {
  padding: 1rem 1.25rem 1.4rem;
  font-weight: 500;
  color: var(--color-slate-900);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.06);
}

.section--contact {
  background: linear-gradient(135deg, rgba(8, 26, 52, 0.92), rgba(19, 137, 201, 0.65));
  color: var(--color-white);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__intro h2,
.contact__intro p,
.contact__intro .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.contact__details {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.contact__details h3 {
  color: var(--color-blue-300);
  margin-bottom: 0.4rem;
}

.contact__details a {
  color: var(--color-white);
  font-weight: 600;
}

.contact__details ul {
  display: grid;
  gap: 0.6rem;
}

.contact__form {
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 30px 60px rgba(8, 26, 52, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.contact__form h3 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.contact__form p {
  color: rgba(255, 255, 255, 0.75);
}

.contact__form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(8, 26, 52, 0.35);
  color: var(--color-white);
  font-family: inherit;
  font-size: 1rem;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: 2px solid rgba(90, 192, 242, 0.6);
}

.contact__form textarea {
  resize: vertical;
}

.contact__form .button {
  width: 100%;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer {
  background: #050e20;
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0 2rem;
}

.footer__inner {
  display: grid;
  justify-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__logo .logo__mark {
  box-shadow: none;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.footer__copyright {
  font-size: 0.85rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  .nav__list {
    position: absolute;
    right: 0;
    top: calc(100% + 0.75rem);
    flex-direction: column;
    background: rgba(8, 26, 52, 0.95);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transform: translateY(-10px) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }

  .nav__list.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .topbar__inner {
    padding: 0.8rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__content,
  .hero__panel {
    padding: 1.75rem;
  }

  .concept-slider {
    row-gap: 1rem;
  }

  .concept-slider__viewport {
    min-height: clamp(260px, 52vh, 400px);
  }

  .concept-slider__control {
    width: 40px;
    height: 40px;
  }

  .concept-slide figcaption {
    font-size: 0.9rem;
  }

  .hero__contacts {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .hero__dots {
    bottom: 1.5rem;
  }

  .service-grid {
    gap: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 540px) {
  .logo__mark {
    width: 36px;
    height: 36px;
  }

  .hero__inner {
    padding-top: 7rem;
  }

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

  .hero__panel {
    order: -1;
    padding: 1.5rem;
  }

  .concept-slider__control {
    display: none;
  }

  .concept-slider {
    row-gap: 0.85rem;
  }

  .concept-slider__viewport {
    min-height: 260px;
  }

  .hero__dots {
    display: none;
  }

  .contact__form {
    padding: 1.5rem;
  }
}
