:root {
  --color-background: #ffffff;
  --color-surface: #1f2432;
  --color-surface-soft: #f4f8fb;
  --color-card: #2f2f32;
  --color-text: #202938;
  --color-text-soft: #4b5668;
  --color-accent: #31c2ea;
  --color-accent-dark: #2f5f96;
  --color-success: #28c84c;
  --color-border: #d7e4ee;
  --color-white: #ffffff;
  --container: 1280px;
  --shadow-soft: 0 18px 50px rgba(17, 31, 49, 0.08);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  overflow-x: clip;
}

body.has-mobile-nav-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1102;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(49, 194, 234, 0.12);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 97px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 116px;
  margin: 8px 0;
  object-fit: contain;
}

.main-nav,
.mobile-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a,
.main-nav button,
.mobile-nav a {
  color: #445066;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.main-nav a:hover,
.main-nav button:hover,
.mobile-nav a:hover {
  color: var(--color-accent);
}

.main-nav .is-active {
  color: var(--color-accent);
  position: relative;
}

.main-nav .is-active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

.flag {
  width: 24px;
  height: 16px;
  display: inline-block;
  border-radius: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background: linear-gradient(
    to bottom,
    #f8d046 0 50%,
    #2b61c2 50% 75%,
    #d5343d 75% 100%
  );
}

.flag--es {
  background: linear-gradient(
    to bottom,
    #f8d046 0 50%,
    #2b61c2 50% 75%,
    #d5343d 75% 100%
  );
}

.flag--us {
  background:
    linear-gradient(to right, #2f5ea8 0 40%, transparent 40% 100%),
    repeating-linear-gradient(to bottom, #c63d4a 0 8%, #ffffff 8% 16%);
}

.flag--fr {
  background: linear-gradient(
    to right,
    #2f4fa6 0 33.33%,
    #ffffff 33.33% 66.66%,
    #ef4c5b 66.66% 100%
  );
}

.flag--it {
  background: linear-gradient(
    to right,
    #2f8f43 0 33.33%,
    #ffffff 33.33% 66.66%,
    #f04a45 66.66% 100%
  );
}

.flag--ru {
  background: linear-gradient(
    to bottom,
    #ffffff 0 33.33%,
    #274eb9 33.33% 66.66%,
    #d63e49 66.66% 100%
  );
}

.language-dropdown {
  position: relative;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switcher__label {
  white-space: nowrap;
}

.language-switcher::after {
  content: "▼";
  font-size: 0.62rem;
  color: #7f8897;
}

.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 184px;
  padding: 8px 14px;
  border: 1px solid #d7dce6;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(17, 31, 49, 0.12);
}

.language-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid #e5eaf1;
  background: transparent;
  color: #18b7e2;
  text-align: left;
  cursor: pointer;
}

.language-option:last-child {
  border-bottom: 0;
}

.language-option.is-selected {
  font-weight: 700;
}

.language-dropdown--mobile {
  width: 100%;
}

.language-dropdown--mobile .language-menu {
  position: static;
  width: 100%;
  margin-top: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 600;
}

.button--whatsapp {
  color: var(--color-white);
  background: var(--color-success);
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(0, 0, 0, 0.02);
  box-shadow: 0 6px 14px rgba(40, 200, 76, 0.18);
  line-height: 1;
}

.main-nav .button--whatsapp,
.mobile-nav .button--whatsapp {
  color: var(--color-white);
  background: var(--color-success);
}

.button--whatsapp:hover {
  color: var(--color-white);
  background: var(--color-success);
  box-shadow: 4px 6px 14px rgba(17, 31, 49, 0.16);
  transform: translate(-1px, -1px);
}

.main-nav .button--whatsapp:hover,
.mobile-nav .button--whatsapp:hover {
  color: var(--color-white);
  background: var(--color-success);
  box-shadow: 4px 6px 14px rgba(17, 31, 49, 0.16);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-white);
  padding: 10px;
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: var(--color-text);
  transition:
    transform 0.28s ease,
    opacity 0.2s ease,
    background 0.25s ease;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1104;
  width: min(88vw, 360px);
  max-width: calc(100vw - 12px);
  height: 100dvh;
  padding: 88px 24px 28px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow: -18px 0 40px rgba(17, 31, 49, 0.16);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform 0.32s ease,
    opacity 0.32s ease,
    visibility 0.32s ease;
}

.mobile-nav .language-switcher,
.mobile-nav .language-option {
  color: #445066;
}

.mobile-nav.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav a,
.mobile-nav .language-switcher {
  font-size: 1.05rem;
}

.mobile-nav a,
.mobile-nav button,
.mobile-nav .language-dropdown,
.mobile-nav .language-menu {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.mobile-nav .button--whatsapp {
  width: 100%;
  margin-top: 6px;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1090;
  background: rgba(19, 28, 41, 0.38);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.has-mobile-nav-open .menu-toggle {
  border-color: rgba(49, 194, 234, 0.28);
  box-shadow: 0 10px 22px rgba(17, 31, 49, 0.08);
}

body.has-mobile-nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.has-mobile-nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.has-mobile-nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 54vh;
  overflow: hidden;
}

.hero-media {
  min-height: 54vh;
  border-radius: 0;
}

.hero-media--video {
  position: relative;
  min-height: 54vh;
  height: 54vh;
  overflow: hidden;
  background: #0f1722;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(
    90deg,
    rgba(17, 22, 31, 0.3),
    rgba(17, 22, 31, 0.22)
  );
}

.hero-card {
  width: min(100% - 40px, 720px);
  padding: 34px 28px;
  text-align: center;
  color: var(--color-white);
  background: rgba(170, 213, 235, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.hero-card h1 {
  margin: 0 0 28px;
  color: #182031;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.22;
  font-weight: 800;
}

.hero-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading--compact {
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: min(100%, 630px);
  height: 2px;
  margin: 14px auto 0;
  background: rgba(49, 194, 234, 0.7);
}

.section-heading p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-soft);
}

.section--pillars .section-heading h2 {
  font-size: clamp(1.7rem, 2.5vw, 1.8rem);
}

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

.pillar-card {
  min-height: 250px;
  padding: 34px 26px;
  border-radius: 8px;
  color: var(--color-white);
  text-align: center;
}

.pillar-card h3 {
  margin: 18px 0 18px;
  font-size: 2rem;
  font-weight: 800;
}

.pillar-card p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
}

.pillar-card--cyan {
  background: #30b8d6;
}

.pillar-card--blue {
  background: #315f96;
}

.pillar-card--dark {
  background: #212735;
}

.pillar-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto;
  color: #ffffff;
}

.pillar-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

.service-card {
  min-height: 198px;
  padding: 0;
  border: 2px solid #3a4d69;
  border-radius: 6px;
  background: var(--color-card);
  color: var(--color-white);
  display: grid;
  align-content: stretch;
  justify-items: stretch;
  text-align: center;
  overflow: hidden;
}

.service-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section--brands {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.brands-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
}

.brands-marquee__track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: brand-marquee 65s linear infinite;
}

.brands-marquee:hover .brands-marquee__track {
  animation-play-state: paused;
}

.brand-card {
  width: 208px;
  min-width: 208px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(17, 31, 49, 0.1);
}

.brand-card img {
  display: block;
  width: 100%;
  max-width: 148px;
  height: 64px;
  object-fit: contain;
  object-position: center;
}

.brand-logo-placeholder,
.client-logo-placeholder,
.image-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--color-border);
  color: var(--color-text-soft);
  background:
    linear-gradient(135deg, rgba(49, 194, 234, 0.08), rgba(49, 194, 234, 0.02)),
    repeating-linear-gradient(
      -45deg,
      rgba(49, 194, 234, 0.08),
      rgba(49, 194, 234, 0.08) 10px,
      transparent 10px,
      transparent 20px
    );
}

.brand-logo-placeholder {
  min-height: 140px;
  padding: 18px;
  font-weight: 600;
}

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

.client-logo-card {
  min-height: 160px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-image {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: contain;
  object-position: center;
}

.image-placeholder--hero {
  padding: 80px 24px;
}

.image-placeholder--about-hero {
  min-height: 600px;
  padding: 48px 24px;
}

.image-placeholder span {
  max-width: 260px;
  font-weight: 600;
}

.about-page {
  background: linear-gradient(180deg, #eef5fb 0%, #f5f9fc 100%);
}

.about-intro {
  padding: 34px 0 18px;
}

.about-intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(460px, 0.95fr);
  gap: 0;
  align-items: center;
}

.about-card {
  position: relative;
  z-index: 1;
  margin: 40px -72px 40px 0;
  padding: 78px 64px 70px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(28, 42, 66, 0.12);
}

.about-card h1 {
  margin: 0 0 28px;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 800;
}

.about-card p {
  margin: 0 0 28px;
  font-size: 1.06rem;
  line-height: 1.8;
  color: #223147;
}

.about-card p:last-of-type {
  margin-bottom: 36px;
}

.about-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2f5f96;
  color: var(--color-white);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.about-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(47, 95, 150, 0.22);
}

.about-social svg {
  display: block;
  width: 20px;
  height: 20px;
}

.about-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 0 18px 18px 0;
  box-shadow: 0 28px 60px rgba(28, 42, 66, 0.12);
}

.about-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.about-hotspot {
  position: absolute;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 3px solid rgba(78, 234, 255, 0.95);
  background: rgba(31, 36, 50, 0.78);
  box-shadow: 0 0 0 6px rgba(103, 244, 255, 0.18);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.about-hotspot--top-left {
  top: 28px;
  left: 86px;
}

.about-hotspot--left {
  top: 232px;
  left: 64px;
}

.about-hotspot--center {
  top: 190px;
  left: 49%;
  transform: translateX(-50%);
  font-size: 2rem;
}

.about-hotspot--right {
  right: 160px;
  top: 328px;
}

.about-hotspot--top-right {
  top: 40px;
  right: 24px;
}

.about-hotspot--bottom-left {
  left: 52px;
  bottom: 28px;
}

.about-statement {
  background: #30b8d6;
  padding: 18px 0 20px;
}

.about-statement .container {
  width: min(calc(100% - 32px), 1480px);
}

.about-statement p {
  margin: 0;
  max-width: 1380px;
  margin-inline: auto;
  color: var(--color-white);
  text-align: center;
  font-size: 1.03rem;
  line-height: 1.45;
  font-weight: 700;
}

.services-page {
  background: linear-gradient(180deg, #eef2f6 0%, #f8fafc 100%);
}

.services-hero {
  padding: 48px 0 34px;
}

.services-hero h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.1;
}

.services-showcase {
  padding-bottom: 0;
}

.service-detail {
  position: relative;
  padding: 28px 0 30px;
}

.service-detail::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 32px;
  background: linear-gradient(
    180deg,
    rgba(25, 35, 49, 0.06),
    rgba(255, 255, 255, 0)
  );
}

.service-detail__inner {
  display: grid;
  grid-template-columns: minmax(320px, 1.02fr) minmax(420px, 0.98fr);
  gap: 44px;
  align-items: stretch;
  min-height: 360px;
}

.service-detail:nth-child(even) .service-detail__content {
  order: 2;
}

.service-detail:nth-child(even) .service-detail__media {
  order: 1;
}

.service-detail__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 18px 6px;
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.service-detail__title h2 {
  margin: 0;
  text-align: left;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.12;
  font-weight: 800;
}

.service-detail__media {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 24px 48px rgba(43, 62, 91, 0.1);
  opacity: 0;
  transform: translateX(34px) scale(0.985);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    box-shadow 0.35s ease;
}

.service-detail:nth-child(even) .service-detail__media {
  transform: translateX(-34px) scale(0.985);
}

.service-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.service-detail__copy {
  text-align: left;
}

.service-detail__copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: #374357;
}

.service-detail__copy strong {
  color: #344156;
}

.service-detail.is-visible .service-detail__content,
.service-detail.is-visible .service-detail__media {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.service-detail.is-visible .service-detail__image {
  transform: scale(1);
}

.service-detail:hover .service-detail__media {
  box-shadow: 0 28px 52px rgba(43, 62, 91, 0.14);
}

.service-detail:hover .service-detail__image {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .service-detail__content,
  .service-detail__media,
  .service-detail__image {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.button--primary {
  color: var(--color-white);
  background: #31c2ea;
}

.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.contact-top {
  padding: 58px 0 44px;
}

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

.contact-card {
  text-align: center;
  padding: 18px 16px 8px;
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 24px;
  color: #1887bf;
}

.contact-card__icon svg {
  display: block;
  width: 44px;
  height: 44px;
}

.contact-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
}

.contact-card:last-child h2 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.35;
}

.contact-card a,
.contact-card p,
.contact-card h2:last-child {
  display: block;
  margin: 0;
  color: #152540;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.4;
  font-weight: 700;
}

.contact-main {
  padding: 32px 0 56px;
}

.contact-main__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 640px);
  gap: 48px;
  align-items: start;
}

.contact-form-wrap h1 {
  margin: 0 0 34px;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
}

.contact-form {
  max-width: 600px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: #152540;
  font-size: 0.98rem;
}

.contact-form label span {
  color: #ff5347;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid #8ea0b8;
  color: #152540;
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(49, 194, 234, 0.22);
  border-color: #31c2ea;
}

.contact-form .button {
  min-width: 148px;
  border: 0;
  cursor: pointer;
}

.contact-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 18px;
}

.contact-visual__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.contact-visual__badge,
.contact-visual__brand {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-white);
}

.contact-visual__badge {
  width: 82px;
  height: 82px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 22px;
  background: rgba(16, 42, 118, 0.3);
  font-weight: 700;
}

.contact-visual__badge--one {
  top: 54px;
  left: 102px;
}

.contact-visual__badge--two {
  top: 56px;
  left: 235px;
  border-radius: 50%;
}

.contact-visual__badge--three {
  top: 54px;
  right: 178px;
}

.contact-visual__badge--four {
  top: 52px;
  right: 62px;
}

.contact-visual__brand {
  right: 34px;
  bottom: 32px;
  width: 220px;
  min-height: 72px;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.72);
  background: rgba(16, 42, 118, 0.22);
  font-weight: 700;
}

.site-footer {
  background: #1f2432;
  color: var(--color-white);
  padding: 38px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 340px) minmax(220px, 1fr);
  gap: 36px;
  align-items: center;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: center;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-white);
  color: #1f2432;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-social__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--color-white);
  color: #1f2432;
}

.footer-social a:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}

.footer-social svg {
  display: block;
  width: 22px;
  height: 22px;
}

.footer-contact {
  padding: 12px 20px;
  min-width: 280px;
  justify-self: center;
  text-align: center;
}

.footer-contact h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.footer-contact a {
  display: block;
  margin-bottom: 6px;
  color: var(--color-white);
}

.footer-copy {
  margin: 0;
  font-size: 1rem;
  justify-self: center;
  text-align: center;
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .main-nav,
  .mobile-nav {
    gap: 20px;
  }

  .brand-logo-image {
    height: 98px;
  }

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

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

  .about-intro__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-card {
    margin: 0;
    padding: 52px 40px;
  }

  .service-detail__inner {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
  }

  .service-detail:nth-child(even) .service-detail__content,
  .service-detail:nth-child(even) .service-detail__media {
    order: initial;
  }

  .service-detail__content {
    padding: 0;
    text-align: center;
  }

  .service-detail__title h2,
  .service-detail__copy {
    text-align: center;
  }

  .service-detail__media {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    min-height: 300px;
  }

  .contact-top__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .contact-main__grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 100%;
  }

  .contact-visual {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    min-height: 520px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    position: relative;
    z-index: 140;
  }

  .header-inner {
    min-height: 81px;
  }

  .brand-logo-image {
    height: 94px;
    margin: 6px 0;
  }

  .pillars-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .pillar-card {
    flex: 0 0 250px;
    min-height: 220px;
    padding: 24px 16px;
    scroll-snap-align: start;
  }

  .pillar-card h3 {
    margin: 14px 0 12px;
    font-size: 1.55rem;
  }

  .pillar-card p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .pillar-icon {
    width: 58px;
    height: 58px;
  }

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

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

  .section--clients .client-logo-card {
    min-height: 140px;
    padding: 8px;
  }

  .section--clients .client-logo-image {
    height: 124px;
  }

  .footer-inner {
    justify-items: center;
    gap: 24px;
  }

  .about-card {
    padding: 42px 30px;
  }

  .about-visual,
  .image-placeholder--about-hero {
    min-height: 520px;
  }

  .service-detail {
    padding: 24px 0 28px;
  }

  .service-detail__title h2 {
    font-size: clamp(1.45rem, 4vw, 2rem);
  }

  .contact-visual {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  .hero-media {
    min-height: 54vh;
  }

  .hero-card {
    padding: 26px 20px;
  }

  .hero-card h1 {
    margin-bottom: 18px;
    font-size: clamp(1.55rem, 7vw, 2.2rem);
  }

  .hero-card p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .section {
    padding: 56px 0;
  }

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

  .pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    overflow: visible;
    padding-bottom: 0;
  }

  .pillar-card {
    flex: initial;
    min-height: 210px;
  }

  .brand-logo-image {
    height: 76px;
    margin: 5px 0;
  }

  .mobile-nav {
    width: min(90vw, 340px);
    max-width: calc(100vw - 10px);
    padding: 82px 20px 24px;
  }

  .brands-marquee {
    mask-image: none;
  }

  .brand-card {
    width: 172px;
    min-width: 172px;
    height: 96px;
    padding: 14px;
  }

  .about-intro {
    padding-top: 24px;
  }

  .about-card {
    padding: 36px 22px;
  }

  .about-card h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .about-card p {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .about-social {
    justify-content: center;
  }

  .about-visual,
  .image-placeholder--about-hero {
    min-height: 420px;
  }

  .about-hotspot {
    width: 82px;
    height: 82px;
    font-size: 0.68rem;
  }

  .about-hotspot--top-left {
    left: 22px;
    top: 20px;
  }

  .about-hotspot--left {
    left: 18px;
    top: 178px;
  }

  .about-hotspot--center {
    top: 154px;
    font-size: 1.5rem;
  }

  .about-hotspot--right {
    right: 24px;
    top: 246px;
  }

  .about-hotspot--top-right {
    right: 14px;
    top: 16px;
  }

  .about-hotspot--bottom-left {
    left: 16px;
    bottom: 18px;
  }

  .about-statement p {
    font-size: 0.96rem;
  }

  .services-hero {
    padding: 34px 0 24px;
  }

  .service-detail__media {
    min-height: 210px;
    max-width: 100%;
    border-radius: 18px;
  }

  .service-detail__image {
    min-height: 210px;
  }

  .service-detail__copy p {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .contact-top {
    padding: 34px 0 22px;
  }

  .contact-top__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .contact-card h2 {
    font-size: 1.35rem;
  }

  .contact-card a,
  .contact-card p,
  .contact-card h2:last-child {
    font-size: 0.98rem;
  }

  .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .contact-card:last-child h2 {
    font-size: 1rem;
    max-width: 300px;
    margin-inline: auto;
  }

  .contact-card__icon {
    margin-bottom: 16px;
  }

  .contact-main {
    padding: 24px 0 44px;
  }

  .contact-form-wrap h1 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .contact-form input,
  .contact-form textarea {
    margin-bottom: 18px;
  }

  .contact-visual {
    min-height: 420px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    gap: 12px;
    min-height: 72px;
  }

  .brand-logo-image {
    height: 68px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 9px;
  }

  .mobile-nav {
    width: min(92vw, 320px);
    max-width: calc(100vw - 8px);
    padding: 78px 18px 22px;
    gap: 16px;
  }

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

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

  .hero-card {
    width: min(100% - 20px, 720px);
    padding: 22px 16px;
  }

  .brand-card {
    width: 158px;
    min-width: 158px;
    height: 88px;
    padding: 12px;
  }

  .brand-card img {
    max-width: 132px;
    height: 54px;
  }

  .client-logo-card {
    min-height: 132px;
  }

  .client-logo-image {
    height: 122px;
  }

  .about-intro {
    padding-top: 18px;
  }

  .about-card {
    padding: 30px 18px;
    border-radius: 14px;
  }

  .about-visual {
    min-height: 320px;
    border-radius: 14px;
  }

  .about-visual__image {
    min-height: 320px;
  }

  .about-statement {
    padding: 16px 0 18px;
  }

  .services-hero h1 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .service-detail {
    padding: 20px 0 22px;
  }

  .service-detail__media {
    min-height: 190px;
  }

  .service-detail__image {
    min-height: 190px;
  }

  .contact-card {
    padding-inline: 8px;
  }

  .contact-card__icon {
    margin-bottom: 18px;
  }

  .contact-card a,
  .contact-card p,
  .contact-card h2:last-child {
    font-size: 0.92rem;
  }

  .contact-card h2 {
    font-size: 1.2rem;
  }

  .contact-card:last-child h2 {
    font-size: 0.94rem;
  }

  .contact-form-wrap h1 {
    font-size: clamp(2rem, 13vw, 2.8rem);
  }

  .contact-visual {
    min-height: 300px;
    border-radius: 14px;
  }

  .contact-visual__image {
    min-height: 300px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-contact {
    min-width: 100%;
    padding-inline: 8px;
  }
}

@keyframes brand-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}
