:root {
  --bg: #060606;
  --bg-soft: #111111;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --primary: #cf1020;
  --primary-dark: #930a16;
  --card: #111111;
  --border: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
}

.intro-splash {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 40%, #1b1b1b, #070707 55%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro-splash--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-splash__logo {
  width: min(360px, 72vw);
  animation: introLogoPulse 2.2s ease-in-out both;
  filter: drop-shadow(0 0 18px rgba(255, 58, 78, 0.35));
}

@keyframes introLogoPulse {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  70% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

.background-glow {
  position: fixed;
  inset: -10rem -8rem auto auto;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(207, 16, 32, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: min(1180px, 94vw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 6, 6, 0.85);
  border-bottom: 1px solid var(--border);
  z-index: 20;
  opacity: 0;
  transform: translateY(-12px);
  animation: headerEnter 0.7s ease 2.35s forwards;
}

@keyframes headerEnter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  display: block;
  height: 62px;
  width: auto;
  margin-bottom: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links li + li::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 16px;
  margin-right: 1.6rem;
  background: rgba(255, 255, 255, 0.2);
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.nav a:hover {
  color: #ff3a4e;
  text-shadow: 0 0 10px rgba(255, 58, 78, 0.55);
}

.nav-links li:last-child::before {
  display: none;
}

.nav-links li:last-child {
  margin-left: 0.35rem;
}

.nav-contacts {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--primary);
  border-radius: 999px;
  color: #ff3a4e !important;
  background: transparent;
  text-shadow: none !important;
  line-height: 1;
  white-space: nowrap;
}

.nav-contacts:hover {
  color: #ff3a4e !important;
  background: rgba(207, 16, 32, 0.1);
  text-shadow: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 1.4rem;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 6rem 0 2rem;
}

.hero--fullscreen {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  animation: heroImageEnter 1.4s ease 2.2s forwards;
}

@keyframes heroImageEnter {
  to {
    transform: scale(1);
  }
}

.hero-bg__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 6, 0.82) 0%,
    rgba(6, 6, 6, 0.45) 38%,
    rgba(6, 6, 6, 0.12) 100%
  );
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 7.5rem 0 4rem;
}

.hero-copy {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: 2rem 2.4rem 2.2rem;
  text-align: center;
}

.hero-copy__scrim {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 6, 0.35) 0%,
    rgba(6, 6, 6, 0.72) 100%
  );
  backdrop-filter: blur(6px);
  z-index: -1;
}

.hero-copy::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.6rem;
  transform: translateX(-50%);
  width: min(280px, 60%);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.85;
}

.hero-copy h1 {
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.hero-copy .hero-subtitle {
  margin: 1.1rem auto 0;
  max-width: 36ch;
  font-size: 1.05rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.55);
}

.reveal {
  opacity: 0;
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
}

.reveal--hero {
  transform: translateY(24px) scale(0.97);
}

.reveal--hero.is-visible {
  transform: translateY(0) scale(1);
}

.reveal--service {
  transform: translateY(40px) scale(0.88);
}

.reveal--service.is-visible {
  transform: translateY(0) scale(1);
}

.reveal--about {
  transform: translateX(-52px);
}

.reveal--about.is-visible {
  transform: translateX(0);
}

.reveal--works {
  transform: translateX(52px) rotate(2deg);
}

.reveal--works.is-visible {
  transform: translateX(0) rotate(0);
}

.reveal--fade {
  transform: translateY(28px);
}

.reveal--fade.is-visible {
  transform: translateY(0);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.35rem 0.7rem;
  background: rgba(207, 16, 32, 0.12);
  border: 1px solid rgba(207, 16, 32, 0.45);
  border-radius: 999px;
  color: #ff808b;
  font-weight: 600;
  font-size: 0.8rem;
}

.accent-red {
  color: #ff3a4e;
}

.glitch-text {
  position: relative;
  display: inline-block;
  animation: glitch-skew 3s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glitch-text::before {
  color: #ffffff;
  animation: glitch-layer-1 2.8s infinite linear alternate-reverse;
  clip-path: polygon(0 2%, 100% 2%, 100% 38%, 0 38%);
}

.glitch-text::after {
  color: #cf1020;
  animation: glitch-layer-2 2.2s infinite linear alternate-reverse;
  clip-path: polygon(0 62%, 100% 62%, 100% 98%, 0 98%);
}

@keyframes glitch-skew {
  0%,
  88%,
  100% {
    transform: translate(0);
    text-shadow: none;
  }
  90% {
    transform: translate(-1px, 0);
    text-shadow: 2px 0 #ff3a4e, -2px 0 #ffffff;
  }
  92% {
    transform: translate(2px, -1px);
    text-shadow: -2px 0 #cf1020, 2px 0 #ffffff;
  }
  94% {
    transform: translate(-2px, 1px);
    text-shadow: 1px 0 #ff3a4e, -1px 0 #cf1020;
  }
}

@keyframes glitch-layer-1 {
  0%,
  85%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  86% {
    transform: translate(-3px, 1px);
    opacity: 0.85;
  }
  88% {
    transform: translate(3px, -1px);
    opacity: 0.7;
  }
  90% {
    transform: translate(-2px, 0);
    opacity: 0.9;
  }
}

@keyframes glitch-layer-2 {
  0%,
  80%,
  100% {
    transform: translate(0);
    opacity: 0;
  }
  81% {
    transform: translate(3px, 0);
    opacity: 0.8;
  }
  83% {
    transform: translate(-3px, 1px);
    opacity: 0.75;
  }
  85% {
    transform: translate(2px, -1px);
    opacity: 0.85;
  }
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.12;
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 42ch;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.services {
  padding-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem 1.5rem;
  border-top: 2px solid var(--primary);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card.is-visible:hover {
  transform: translateY(-4px);
  border-color: rgba(207, 16, 32, 0.45);
}

.service-card.is-visible {
  transition:
    opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s ease;
}

.service-card__icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.1rem;
  display: block;
}

.service-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.btn {
  border-radius: 0.8rem;
  padding: 0.72rem 1rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ea2132);
  color: #fff;
}

.btn-secondary {
  color: var(--text);
  background: #0b0b0b;
  border-color: var(--border);
}

.card,
.cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.55rem;
}

.section {
  padding: 3rem 0;
}

.section-subtitle {
  margin-top: -0.2rem;
  margin-bottom: 1rem;
}

.about {
  padding-top: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.card h3 {
  margin: 0 0 0.5rem;
}

.project-preview {
  width: 100%;
  margin-bottom: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0a0a0a;
}

.project-preview--image,
.project-preview--browser {
  display: block;
  text-decoration: none;
  position: relative;
}

.project-preview--image {
  aspect-ratio: 16 / 10;
}

.project-preview--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  color: var(--muted);
  font-size: 0.88rem;
  background: linear-gradient(135deg, #121212, #1a0b0d);
}

.project-preview--browser {
  overflow: hidden;
  background: #0d0d0d;
}

.project-preview__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  background: #141414;
}

.project-preview__chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #3a3a3a;
}

.project-preview__chrome span:first-child {
  background: #ff5f57;
}

.project-preview__chrome span:nth-child(2) {
  background: #febc2e;
}

.project-preview__chrome span:nth-child(3) {
  background: #28c840;
}

.project-preview__url {
  margin: 0 0 0 0.4rem;
  font-size: 0.72rem;
  color: #9a9a9a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-preview__body {
  display: grid;
  gap: 0.35rem;
  padding: 1.4rem 1rem;
  min-height: 7.5rem;
  background: linear-gradient(160deg, rgba(207, 16, 32, 0.12), #101010 55%);
}

.project-preview__body strong {
  color: var(--text);
  font-size: 0.95rem;
}

.project-preview__body span {
  color: #ff6b77;
  font-size: 0.86rem;
  font-weight: 600;
}

.project-preview--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}

.project-preview--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 6, 6, 0.45), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-preview--image:hover img {
  transform: scale(1.04);
}

.project-preview--image:hover::after {
  opacity: 1;
}

.project-preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem;
  background: linear-gradient(135deg, #121212, #1a0b0d);
}

.project-preview-placeholder span {
  color: #c2c2c2;
  font-size: 0.9rem;
}

.project-link {
  display: inline-block;
  margin-top: 0.7rem;
  color: #ff6b77;
  text-decoration: none;
  font-weight: 600;
}

.project-link:hover {
  text-decoration: underline;
}

.cta {
  text-align: center;
  padding: 2.6rem;
  background: linear-gradient(180deg, #101010, #0b0b0b);
}

.contact-form {
  max-width: 40rem;
  margin: 1.6rem auto 0;
  text-align: left;
}

.contact-form__honey {
  display: none;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form__field {
  display: grid;
  gap: 0.35rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  background: #0d0d0d;
  color: var(--text);
  font: inherit;
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(207, 16, 32, 0.65);
  box-shadow: 0 0 0 3px rgba(207, 16, 32, 0.12);
}

.contact-form__submit {
  width: 100%;
  margin-top: 1rem;
  border: none;
  cursor: pointer;
}

.contact-form__alt {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form__link {
  border: none;
  background: none;
  padding: 0;
  color: #ff6b77;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-form__link:hover {
  color: #ff3a4e;
}

.thankyou-page {
  min-height: calc(100vh - 12rem);
  min-height: calc(100dvh - 12rem);
  display: flex;
  align-items: center;
  padding: 6rem 0 3rem;
}

.thankyou-card {
  max-width: 38rem;
  margin: 0 auto;
  padding: 2.2rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: linear-gradient(180deg, #101010, #0b0b0b);
}

.thankyou-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b77;
}

.thankyou-card h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.thankyou-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.contact-form__consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
}

.contact-form__consent a {
  color: #ff6b77;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  align-items: center;
  padding-top: 1.2rem;
  margin-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal a,
.footer-legal button {
  border: none;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.86rem;
  text-decoration: none;
  cursor: pointer;
}

.footer-legal a:hover,
.footer-legal button:hover {
  color: #ff6b77;
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 90;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
}

.cookie-banner--hide {
  transform: translateY(110%);
  pointer-events: none;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 1.2rem;
}

.cookie-banner__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.cookie-banner__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.cookie-banner__text a {
  color: #ff6b77;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex: 0 0 auto;
  justify-content: flex-end;
}

.cookie-banner__btn {
  white-space: nowrap;
}

.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-preferences.open {
  display: flex;
}

.cookie-preferences__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.cookie-preferences__dialog {
  position: relative;
  width: min(32rem, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #101010;
}

.cookie-preferences__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.cookie-preferences__close:hover {
  color: var(--text);
}

.cookie-preferences__dialog h2 {
  margin: 0 1.5rem 0.5rem 0;
  font-size: 1.2rem;
}

.cookie-preferences__intro {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-pref-item {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-pref-item p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.cookie-pref-item--toggle {
  cursor: pointer;
}

.cookie-pref-item--toggle input {
  margin-top: 0.2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.cookie-pref-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff6b77;
}

.cookie-preferences__actions {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.legal-page {
  padding: 6rem 0 3rem;
  max-width: 46rem;
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.legal-updated {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.legal-section {
  margin-bottom: 1.8rem;
}

.legal-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.15rem;
}

.legal-section h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
}

.legal-section p,
.legal-section li {
  color: #d8d8d8;
  line-height: 1.65;
  font-size: 0.94rem;
}

.legal-section ul {
  padding-left: 1.2rem;
}

.legal-section a {
  color: #ff6b77;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.86rem;
}

.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 0.55rem 0.65rem;
  text-align: left;
}

.legal-table th {
  background: #141414;
  color: var(--text);
}

.legal-inline-link {
  border: none;
  background: none;
  padding: 0;
  color: #ff6b77;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.legal-back {
  margin-top: 2rem;
}

.site-footer {
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, #080808, #050505);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  padding: 2.8rem 0 2.2rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 1rem;
}

.footer-brand__top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social {
  display: grid;
  gap: 0.55rem;
}

.footer-social__links {
  display: flex;
  gap: 0.55rem;
}

.footer-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.55rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.footer-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-social__link:hover {
  color: #ff6b77;
  border-color: rgba(255, 107, 119, 0.45);
  background: rgba(207, 16, 32, 0.08);
}

.footer-logo {
  width: 64px;
  height: auto;
  display: block;
  flex-shrink: 0;
  margin: 0;
}

.footer-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.footer-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.footer-block {
  display: grid;
  gap: 0.45rem;
}

.footer-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b77;
}

.footer-block p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-block a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 107, 119, 0.35);
}

.footer-block a:hover {
  color: #ff6b77;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1rem;
}

.contact-modal.open {
  display: flex;
}

.contact-modal.open .contact-modal__backdrop {
  animation: modalBackdropIn 0.35s ease forwards;
}

.contact-modal.open .contact-modal__dialog {
  animation: modalDialogIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes modalBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalDialogIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 4, 0.72);
  backdrop-filter: blur(8px);
}

.contact-modal__dialog {
  position: relative;
  width: min(480px, 100%);
  background: rgba(14, 14, 14, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.6rem;
  z-index: 1;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(207, 16, 32, 0.12);
  backdrop-filter: blur(18px);
}

.contact-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-modal__close span {
  position: relative;
  width: 0.75rem;
  height: 0.75rem;
}

.contact-modal__close span::before,
.contact-modal__close span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #ddd;
  border-radius: 1px;
}

.contact-modal__close span::before {
  transform: translateY(-50%) rotate(45deg);
}

.contact-modal__close span::after {
  transform: translateY(-50%) rotate(-45deg);
}

.contact-modal__close:hover {
  border-color: rgba(255, 58, 78, 0.45);
  background: rgba(207, 16, 32, 0.1);
}

.contact-modal__header {
  padding-right: 2rem;
  margin-bottom: 1.4rem;
}

.contact-modal__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b77;
}

.contact-modal__header h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  line-height: 1.2;
}

.contact-modal__intro {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  gap: 0.65rem;
}

.contact-modal-social {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.contact-modal-social__label {
  margin: 0 0 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6b77;
}

.contact-modal-social__links {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.contact-modal-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.contact-modal-social__link svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.contact-modal-social__link:hover {
  color: #ff6b77;
  border-color: rgba(255, 107, 119, 0.45);
  background: rgba(207, 16, 32, 0.08);
}

.contact-action {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-action:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 58, 78, 0.35);
  background: rgba(207, 16, 32, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-action__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
}

.contact-action__icon::before {
  content: "";
  width: 1rem;
  height: 1rem;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.contact-action__icon--call {
  color: #ff6b77;
  background: rgba(207, 16, 32, 0.14);
}

.contact-action__icon--call::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M6.6 10.8c1.5 2.9 3.7 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

.contact-action__icon--email {
  color: #f5f5f5;
  background: rgba(255, 255, 255, 0.08);
}

.contact-action__icon--email::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.contact-action__icon--whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
}

.contact-action__icon--whatsapp::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.5 14.5c-.3-.1-1.6-.8-1.8-.9-.3-.1-.5-.1-.7.1-.2.3-.8.9-1 .1-.1-.2-.4-.7-.6-1-.2-.2 0-.4.1-.6.1-.1.2-.7.1-1 0-.1 0-.2-.1-.3-.1-.1-.7-.1-1-.1-.9 0-1.6.3-2.2 1-.8.9-1.2 2.1-1.2 3.4 0 1.2.4 2.4 1.1 3.4.2.3 3.5 5.5 8.5 7.5.6.2 1.1.4 1.6.5.7.2 1.3.2 1.8.1.5-.1 1.6-.7 1.8-1.3.2-.6.2-1.2.1-1.3-.1-.1-.3-.2-.6-.3zM12 2C6.5 2 2 6.5 2 12c0 1.8.5 3.5 1.3 5L2 22l5.2-1.3c1.5.8 3.2 1.3 4.8 1.3 5.5 0 10-4.5 10-10S17.5 2 12 2z'/%3E%3C/svg%3E");
}

.contact-action__body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.contact-action__body strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-action__body span {
  font-size: 0.86rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-action__arrow {
  color: #ff6b77;
  font-size: 1rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-action:hover .contact-action__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 900px) {
  .hero-layout {
    align-items: flex-start;
    padding: 6rem 0 2.5rem;
    min-height: 88vh;
    min-height: 88dvh;
  }

  .hero-copy {
    max-width: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.2rem 0 1.8rem;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(1180px, 96vw);
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    padding: 0.35rem 0;
  }

  .logo img {
    height: 48px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.7rem;
    display: none;
    flex-direction: column;
    min-width: 12rem;
  }

  .nav-links li + li::before {
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li:last-child {
    margin-left: 0;
    width: 100%;
  }

  .nav-contacts {
    width: 100%;
    padding: 0.5rem 0;
    border: none;
    border-radius: 0;
    font-size: inherit;
    color: var(--muted) !important;
    background: transparent;
    justify-content: flex-start;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0.35rem;
    padding-top: 0.65rem;
  }

  .nav-contacts:hover {
    color: #ff3a4e !important;
    background: transparent;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    width: min(1180px, calc(100% - 1.25rem));
    padding: 0.9rem 0 1.1rem;
  }

  .cookie-banner__copy {
    flex-basis: auto;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: stretch;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .cookie-banner__btn:last-child {
    grid-column: 1 / -1;
  }

  .cookie-banner__btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .thankyou-card {
    padding: 1.6rem 1.1rem;
  }

  .hero-layout {
    align-items: flex-start;
    min-height: 72vh;
    min-height: 72dvh;
    padding: 5.5rem 0 1.8rem;
  }

  .hero-copy {
    padding: 1.15rem 0.9rem 1.35rem;
  }

  .hero-copy::after {
    width: min(200px, 50%);
  }

  h1 {
    font-size: clamp(1.55rem, 6.8vw, 2.1rem);
    line-height: 1.15;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
  }

  .hero-subtitle,
  .hero-copy .hero-subtitle {
    font-size: 0.88rem;
    margin-top: 0.75rem;
  }

  .section {
    padding: 1.75rem 0;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
  }

  .about p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .services-grid,
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .service-card,
  .card {
    padding: 0.8rem 0.7rem;
    border-radius: 0.75rem;
  }

  .service-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.5rem;
  }

  .service-card h3,
  .card h3 {
    font-size: 0.78rem;
    line-height: 1.3;
    margin-bottom: 0.35rem;
  }

  .service-card p,
  .card p {
    font-size: 0.7rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card p {
    -webkit-line-clamp: 3;
  }

  .project-preview {
    margin-bottom: 0.55rem;
    border-radius: 0.5rem;
  }

  .project-preview--image,
  .project-preview--loading,
  .project-preview-placeholder {
    aspect-ratio: 4 / 3;
  }

  .project-preview-placeholder span {
    font-size: 0.72rem;
    padding: 0.4rem;
  }

  .project-preview__body {
    padding: 0.85rem 0.65rem;
    min-height: 4.5rem;
  }

  .project-preview__body strong {
    font-size: 0.78rem;
  }

  .project-preview__body span {
    font-size: 0.72rem;
  }

  .project-link {
    font-size: 0.72rem;
    margin-top: 0.45rem;
  }

  .cta {
    padding: 1.6rem 1rem;
  }

  .btn {
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
  }

  .footer-inner {
    padding: 1.6rem 0 1.4rem;
    gap: 1.4rem;
  }

  .footer-brand {
    gap: 0.7rem;
  }

  .footer-logo {
    width: 52px;
  }

  .footer-name {
    font-size: 0.95rem;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-block p,
  .footer-label {
    font-size: 0.82rem;
  }

  .contact-modal__dialog {
    padding: 1.2rem;
    border-radius: 1rem;
  }

  .contact-modal__header h3 {
    font-size: 1.2rem;
  }

  .contact-action {
    padding: 0.8rem 0.85rem;
    gap: 0.7rem;
  }

  .contact-action__icon {
    width: 2.1rem;
    height: 2.1rem;
  }

  .contact-action__body strong {
    font-size: 0.88rem;
  }

  .contact-action__body span {
    font-size: 0.78rem;
  }
}

@media (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-splash__logo {
    animation: none;
  }

  .site-header {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-bg__image {
    transform: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .glitch-text,
  .glitch-text::before,
  .glitch-text::after {
    animation: none;
  }

  .contact-modal.open .contact-modal__backdrop,
  .contact-modal.open .contact-modal__dialog {
    animation: none;
  }
}
