:root {
  --blue: #3893e8;
  --blue-dark: #1468b6;
  --blue-soft: #eaf5ff;
  --ink: #171c22;
  --muted: #65717d;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --line: #dce4ec;
  --yellow: #ffd735;
  --pink: #f14f8f;
  --green: #35b978;
  --violet: #7257d8;
  --shadow: 0 22px 60px rgba(26, 44, 67, 0.13);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body.welcome-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

.welcome-screen {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 92px clamp(18px, 5vw, 64px) 42px;
  background: rgba(246, 246, 246, 0.82);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}

.welcome-screen.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.welcome-screen.is-leaving {
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease 120ms, visibility 520ms ease;
}

.welcome-screen.is-hidden {
  display: none;
}

.welcome-close {
  position: fixed;
  top: clamp(28px, 6vw, 84px);
  right: clamp(24px, 4vw, 54px);
  width: 62px;
  height: 62px;
  padding: 0;
  border: 0;
  color: #000000;
  background: transparent;
  cursor: pointer;
}

.welcome-close span {
  position: absolute;
  top: 50%;
  left: 9px;
  width: 46px;
  height: 4px;
  background: currentColor;
  transform-origin: center;
}

.welcome-close span:first-child {
  transform: rotate(45deg);
}

.welcome-close span:last-child {
  transform: rotate(-45deg);
}

.welcome-dialog {
  width: min(670px, 100%);
  padding: clamp(26px, 4vw, 44px);
  background-color: #ffffff;
  background-image:
    radial-gradient(circle at 10px 10px, #000000 0 3px, transparent 4px),
    radial-gradient(circle at 38px 34px, #000000 0 3px, transparent 4px),
    linear-gradient(45deg, transparent 42%, #000000 43% 48%, transparent 49%),
    linear-gradient(-45deg, transparent 42%, #000000 43% 48%, transparent 49%);
  background-size: 56px 56px, 56px 56px, 34px 34px, 34px 34px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(-120vh) rotate(-4deg) scale(0.96);
}

.welcome-screen.is-visible .welcome-dialog {
  animation: welcome-fly-in 720ms cubic-bezier(0.18, 0.9, 0.2, 1.08) forwards;
}

.welcome-screen.is-leaving .welcome-dialog {
  animation: welcome-fly-out 560ms cubic-bezier(0.7, -0.08, 0.82, 0.42) forwards;
}

.welcome-card {
  display: grid;
  justify-items: center;
  min-height: 264px;
  padding: clamp(30px, 5vw, 42px) clamp(22px, 6vw, 62px);
  color: #000000;
  background: #ffdf4f;
}

.welcome-card p {
  margin: 0;
  text-align: center;
  font-size: clamp(1rem, 2.1vw, 1.18rem);
  line-height: 1.28;
  font-weight: 600;
}

.welcome-start {
  align-self: end;
  min-width: 174px;
  min-height: 46px;
  margin-top: 34px;
  padding: 11px 26px;
  border: 0;
  color: #ffffff;
  background: #000000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.welcome-start:hover,
.welcome-start:focus-visible {
  background: #202020;
  transform: translateY(-1px);
}

.welcome-start:active {
  transform: translateY(0);
}

@keyframes welcome-fly-in {
  0% {
    opacity: 0;
    transform: translateY(-120vh) rotate(-4deg) scale(0.96);
  }

  70% {
    opacity: 1;
    transform: translateY(18px) rotate(1deg) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes welcome-fly-out {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: translateY(-120vh) rotate(4deg) scale(0.96);
  }
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  min-height: 78px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(220, 228, 236, 0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  font-size: 1.04rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  color: #33404c;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 34px;
  border: 0;
  color: #4c5965;
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  color: #ffffff;
  background: var(--blue);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 6px;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) 0 clamp(42px, 7vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  line-height: 0.96;
  font-weight: 850;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 850;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  color: #ffffff;
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.social-pack {
  position: absolute;
  right: clamp(18px, 4vw, 54px);
  bottom: -38px;
  width: min(250px, 42%);
  filter: drop-shadow(0 18px 28px rgba(28, 44, 63, 0.18));
}

.quick-offer {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.quick-offer span {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 16px;
  color: #43505d;
  text-align: center;
  font-weight: 800;
  border-right: 1px solid var(--line);
}

.quick-offer span:last-child {
  border-right: 0;
}

.section {
  padding: clamp(72px, 9vw, 128px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
}

.split h2,
.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.2rem);
  line-height: 1.02;
  font-weight: 820;
}

.split p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.split img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(63, 56, 20, 0.14);
}

.intro {
  background: #ffffff;
}

.offer {
  background: var(--soft);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading.compact {
  max-width: 620px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

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

.service-card {
  min-height: 348px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(26, 44, 67, 0.05);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 0;
  min-height: 64px;
  font-size: 1.35rem;
  line-height: 1.18;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.45;
}

.service-card li {
  position: relative;
  padding-left: 20px;
}

.service-card li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  content: "";
  background: currentColor;
  border-radius: 50%;
}

.accent-pink .service-icon { background: var(--pink); }
.accent-yellow .service-icon { color: #2c2605; background: var(--yellow); }
.accent-green .service-icon { background: var(--green); }
.accent-violet .service-icon { background: var(--violet); }
.accent-dark .service-icon { background: var(--ink); }

.packages {
  color: #ffffff;
  background: #171c22;
}

.packages .eyebrow {
  color: var(--yellow);
}

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

.package-card {
  min-height: 270px;
  padding: 28px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.package-card.featured {
  color: #172033;
  background: var(--yellow);
  border-color: transparent;
}

.package-name {
  margin: 0 0 42px;
  color: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.package-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.52rem;
  line-height: 1.2;
}

.package-card.featured h3 {
  color: #172033;
}

.package-card p:last-child {
  margin: 18px 0 0;
  line-height: 1.65;
}

.clients {
  background: #ffffff;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.client-logo {
  min-height: 210px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  padding: 22px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.client-logo:hover,
.client-logo:focus-visible {
  border-color: rgba(56, 147, 232, 0.55);
  box-shadow: 0 18px 42px rgba(26, 44, 67, 0.11);
  transform: translateY(-2px);
}

.client-logo img {
  width: 100%;
  height: 118px;
  object-fit: contain;
}

.client-logo.dark-logo img {
  background: #050505;
  border-radius: 6px;
}

.client-logo span {
  color: #43505d;
  font-size: 0.9rem;
  font-weight: 850;
}

.contact {
  background: var(--blue-soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.7vw, 4rem);
  line-height: 1.02;
}

.contact p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 800;
}

.mail-button {
  color: #ffffff !important;
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}

.social-button svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.facebook svg circle {
  fill: #1877f2;
}

.facebook svg path {
  fill: #ffffff;
}

.instagram svg {
  border-radius: 7px;
  background:
    radial-gradient(circle at 30% 108%, #fdf497 0 22%, #fd5949 45%, #d6249f 62%, #285aeb 100%);
}

.instagram svg rect {
  fill: none;
}

.instagram svg circle,
.instagram svg rect {
  stroke: #ffffff;
  stroke-width: 1.9;
}

.instagram svg circle {
  fill: none;
}

.instagram svg circle:last-child {
  fill: #ffffff;
  stroke: none;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(36, 65, 92, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #4d5b67;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdbe5;
  border-radius: 6px;
  padding: 12px 13px;
  color: #20252a;
  background: #ffffff;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(56, 147, 232, 0.18);
  border-color: var(--blue);
}

.send-button {
  min-height: 48px;
  border: 0;
  color: #ffffff;
  background: var(--ink);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 850;
}

.chat-link {
  position: fixed;
  z-index: 15;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(33, 94, 153, 0.24);
  font-weight: 800;
}

.site-footer {
  padding: 20px;
  color: #77808a;
  text-align: center;
  background: #ffffff;
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding-bottom: 16px;
  }

  .hero,
  .split,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 0;
  }

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

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

@media (max-width: 760px) {
  .site-nav {
    flex-wrap: wrap;
    gap: 10px 20px;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    width: min(100% - 32px, 1220px);
    padding-top: 46px;
  }

  .hero-image {
    height: 360px;
  }

  .social-pack {
    width: 180px;
    right: 18px;
    bottom: -26px;
  }

  .quick-offer,
  .offer-grid,
  .package-grid,
  .client-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .quick-offer span {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-offer span:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 0;
  }

  .service-card h3 {
    min-height: 0;
  }

  .welcome-close {
    top: 20px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .welcome-close span {
    left: 8px;
    width: 38px;
  }
}

@media (max-width: 520px) {
  .brand span {
    display: none;
  }

  .hero-actions,
  .contact-links {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .contact-links a {
    width: 100%;
  }

  .chat-link {
    left: 18px;
    justify-content: center;
  }
}
