.contact-grid {
  gap: 2rem;
}

@media (min-width: 720px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .card {
    padding: 1.5rem;
  }

  .hero {
    grid-template-columns: minmax(320px, 1fr);
  }
}

@media (min-width: 1400px) {
  body {
    background: linear-gradient(180deg, #050609 0%, #080b13 35%, #050609 100%);
  }

  main {
    max-width: 1360px;
  }

  section {
    padding: clamp(2.4rem, 3vw, 3.6rem);
  }
}

@media (min-width: 1200px) {
  .nav-bar {
    max-width: 1000px;
  }
}

.contact-benefits {
  margin-top: 1.75rem;
  padding: 1.4rem;
  border-radius: 1.2rem;
  background: rgba(18, 22, 36, 0.88);
  border: 1px solid rgba(104, 133, 255, 0.22);
  box-shadow: 0 14px 32px rgba(7, 10, 28, 0.45);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-benefits h4 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.benefits-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.benefit-card {
  background: rgba(12, 15, 24, 0.9);
  border: 1px solid rgba(104, 133, 255, 0.2);
  border-radius: 1rem;
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.benefit-card h5 {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.benefit-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.card-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field label {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(18, 22, 36, 0.9);
  border: 1px solid rgba(104, 133, 255, 0.28);
  border-radius: 0.9rem;
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(122, 156, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(104, 133, 255, 0.2);
  outline: none;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-form .cta {
  align-self: flex-start;
}
.menu-toggle-label {
  display: none;
}

.share-block {
  margin-top: 2.75rem;
  padding: 1.8rem;
  border-radius: 1.4rem;
  background: rgba(18, 22, 36, 0.82);
  border: 1px solid rgba(104, 133, 255, 0.18);
  box-shadow: 0 16px 36px rgba(8, 11, 28, 0.38);
}

.share-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 133, 255, 0.26);
  background: rgba(20, 26, 46, 0.72);
  color: var(--text-main);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

.share-btn:hover,
.share-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(98, 173, 255, 0.4);
  background: rgba(26, 32, 58, 0.88);
}

.badge {
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(82, 120, 255, 0.16);
  border: 1px solid rgba(122, 156, 255, 0.4);
  color: var(--accent-strong);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.faq {
  margin-top: 4rem;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  padding: 1.6rem;
}

.faq-item h3 {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
:root {
  color-scheme: dark;
  --bg: #050609;
  --bg-secondary: #090b11;
  --bg-tertiary: #111527;
  --accent: linear-gradient(135deg, #62c5ff 0%, #6c7bff 48%, #ae4dff 100%);
  --accent-strong: #94a3ff;
  --accent-soft: rgba(82, 120, 255, 0.18);
  --accent-glow: radial-gradient(circle, rgba(97, 180, 255, 0.6), rgba(18, 22, 36, 0) 55%);
  --card-bg: rgba(12, 15, 24, 0.9);
  --card-border: rgba(104, 133, 255, 0.2);
  --text-main: #eef1ff;
  --text-muted: rgba(194, 203, 230, 0.78);
  --glow: rgba(82, 120, 255, 0.22);
  --shadow-xl: 0 22px 50px rgba(3, 6, 18, 0.65);
  --shadow-soft: 0 12px 30px rgba(6, 10, 24, 0.35);
  --radius-lg: 1.4rem;
  --radius-md: 1rem;
  --radius-pill: 999px;
  --blur-strong: 22px;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: linear-gradient(180deg, #050609 0%, #080b13 50%, #050609 100%);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a:focus-visible,
button:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid rgba(156, 196, 255, 0.8);
  outline-offset: 3px;
}

@keyframes auroraFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(30px, -20px, 0) scale(1.05);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.5rem 1rem;
  min-height: 86px;
  backdrop-filter: blur(var(--blur-strong));
  background: rgba(5, 6, 12, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.25s ease;
}

body.header-scrolled header {
  background: rgba(6, 7, 15, 0.78);
  box-shadow: 0 18px 40px rgba(2, 4, 15, 0.45);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  padding: 0.4rem 1rem;
}

header.is-condensed .nav-bar {
  padding: 0.55rem 1.2rem;
}

header.is-condensed .brand-logo img {
  width: 58px;
  height: 58px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  gap: 1.4rem;
  background:
    linear-gradient(135deg, rgba(7, 9, 18, 0.8), rgba(7, 9, 18, 0.55)),
    radial-gradient(circle at 10% 10%, rgba(106, 132, 255, 0.18), transparent 60%);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 18px 40px rgba(3, 10, 40, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transform-origin: center;
  transition:
    transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
  will-change: transform, padding;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 18px;
  background: transparent;
  border: 0.5px solid rgba(104, 133, 255, 0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.brand-logo:hover,
.brand-logo:focus-visible {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(122, 156, 255, 0.75);
  box-shadow: 0 20px 40px rgba(24, 34, 86, 0.55);
}

.brand-logo picture {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.brand-copy span:first-child {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 40ch;
  line-height: 1.2;
}

.brand-copy span:last-child {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap;
}

@media (min-width: 960px) {
  header.is-condensed .nav-bar {
    transform: scale(0.99);
  }
}

.menu-close {
  display: none;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 251, 0.12);
  background: rgba(12, 14, 24, 0.72);
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.menu-close:hover,
.menu-close:focus-visible {
  color: var(--text-main);
  border-color: rgba(248, 249, 251, 0.28);
  background: rgba(12, 14, 24, 0.9);
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding: 0.35rem 0;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  color: rgba(213, 219, 255, 0.85);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(245, 212, 147, 0.65));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
  opacity: 0.8;
}

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

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
  text-shadow: 0 0 12px rgba(148, 173, 255, 0.35);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 156, 255, 0.18);
  background: rgba(18, 22, 36, 0.9);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(122, 156, 255, 0.38);
  box-shadow: 0 12px 32px rgba(12, 16, 38, 0.45);
  color: var(--accent-strong);
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta:hover::after,
.cta:focus-visible::after {
  opacity: 1;
}

.cta {
  position: relative;
  overflow: hidden;
}

.cta:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(12, 16, 38, 0.6);
}

.cta i {
  font-size: 1.1rem;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2.4rem) clamp(1.2rem, 4vw, 2.5rem) clamp(5rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 7vw, 6rem);
}

section {
  margin: 0;
  scroll-margin-top: 120px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  position: relative;
  border-radius: 1.6rem;
  padding: clamp(2rem, 3vw, 3rem);
  background: rgba(9, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 28px rgba(3, 4, 12, 0.45);
}

section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

section.is-visible:nth-of-type(odd) {
  transition-delay: 0.05s;
}

section.is-visible:nth-of-type(even) {
  transition-delay: 0.1s;
}



.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: clamp(2rem, 4vw, 3rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  position: relative;
  isolation: isolate;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 4% auto 12% -18%;
  width: min(520px, 70%);
  height: 78%;
  background:
    radial-gradient(circle at 24% 24%, rgba(109, 243, 255, 0.28), transparent 68%),
    radial-gradient(circle at 80% 50%, rgba(146, 87, 255, 0.25), transparent 70%);
  filter: blur(0);
  opacity: 0.9;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 5% -18% 25%;
  height: 280px;
  background: var(--accent-glow);
  filter: blur(90px);
  opacity: 0.6;
  z-index: -1;
}

.hero-stats .stat {
  transform: translateY(6px);
  transition: transform 0.35s ease;
}

.hero-stats .stat strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.15rem;
  transform-origin: center;
}

.hero-stats .stat.stat-pulse strong {
  animation: statPulse 1.4s ease-out forwards;
}

.hero-stats .stat:hover {
  transform: translateY(0);
}

@keyframes statPulse {
  0% {
    transform: scale(0.96);
  }
  60% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(82, 120, 255, 0.16);
  color: var(--accent-strong);
  border: 1px solid rgba(122, 156, 255, 0.46);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.tag span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
}

h1 {
  font-size: clamp(2.8rem, 5vw + 1rem, 4.2rem);
  margin: 0 0 1rem;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.hero h1 {
  text-shadow: 0 0 18px rgba(75, 123, 255, 0.25);
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 520px;
  color: rgba(194, 203, 230, 0.9);
  border-left: 2px solid rgba(122, 156, 255, 0.4);
  padding-left: 1rem;
  backdrop-filter: blur(6px);
  background: linear-gradient(120deg, rgba(9, 12, 30, 0.85), rgba(9, 12, 26, 0.4));
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
}

.text-gradient {
  background: var(--accent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.primary {
  background: var(--accent);
  background-size: 180% 180%;
  animation: ctaGlow 8s ease infinite;
  color: #070314;
  box-shadow: 0 18px 40px rgba(138, 46, 255, 0.25);
}

.primary:hover {
  box-shadow: 0 22px 60px rgba(138, 46, 255, 0.28);
}

@keyframes ctaGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.stat {
  padding: 1.4rem 1.2rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(155deg, rgba(14, 17, 34, 0.95) 0%, rgba(12, 15, 30, 0.88) 55%, rgba(14, 17, 34, 0.95) 100%),
    radial-gradient(circle at top right, rgba(122, 156, 255, 0.18), transparent 65%);
  border: 1px solid rgba(132, 149, 255, 0.18);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(109, 243, 255, 0.22), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.stat:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

.stat strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2.1rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: clamp(120px, 20vw, 240px);
  height: 1px;
  background: linear-gradient(90deg, rgba(109, 243, 255, 0.5), transparent 95%);
  opacity: 0.4;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.6vw, 2.6rem);
  letter-spacing: 0.04em;
  position: relative;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(109, 243, 255, 0.8), rgba(77, 106, 255, 0));
  box-shadow: 0 0 12px rgba(109, 243, 255, 0.4);
}

.section-title p {
  margin: 0;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.6;
}

.grid {
  display: grid;
  gap: 1.85rem;
}

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

.card {
  padding: 1.75rem;
  border-radius: 1.4rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(122, 156, 255, 0.08), rgba(82, 120, 255, 0));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card.card-large {
  padding: 2rem;
  gap: 1.4rem;
  backdrop-filter: blur(14px);
}

.card.card-contact {
  align-items: flex-start;
  gap: 1.5rem;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(122, 156, 255, 0.48);
  box-shadow: 0 28px 60px rgba(10, 14, 36, 0.55);
}

.card:hover::after,
.card:focus-within::after {
  opacity: 1;
}

.card i {
  font-size: 1.8rem;
  color: rgba(122, 156, 255, 0.88);
}

.card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(122, 156, 255, 0.9);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  position: relative;
}

.service-cta::after {
  content: "→";
  font-size: 0.9rem;
  transition: transform 0.25s ease;
}

.service-cta::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: rgba(98, 173, 255, 0.45);
  transition: width 0.25s ease;
}

.service-cta:hover,
.service-cta:focus-visible {
  color: rgba(98, 173, 255, 0.96);
  border-color: rgba(98, 173, 255, 0.45);
}

.service-cta:hover::after,
.service-cta:focus-visible::after {
  transform: translateX(2px);
}

.service-cta:hover::before,
.service-cta:focus-visible::before {
  width: 100%;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(82, 120, 255, 0.18);
  border: 1px solid rgba(104, 133, 255, 0.32);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.chip:hover,
.chip:focus-visible {
  transform: translateY(-1px);
  background: rgba(82, 120, 255, 0.26);
  border-color: rgba(122, 156, 255, 0.6);
  box-shadow: 0 10px 24px rgba(10, 14, 36, 0.55);
}

.nav-links a {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease;
}

.nav-links a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.05rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  transition: transform 0.25s ease;
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  transform: scale(1);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-strong);
}

.card-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.text-muted {
  color: var(--text-muted);
}

.options-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.projects-carousel {
  display: grid;
  gap: 1.25rem;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.project-card {
  scroll-snap-align: start;
}

.project-media {
  position: relative;
  padding-bottom: 62%;
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(30, 36, 62, 0.26);
  border: 1px solid rgba(104, 133, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.project-card h3 {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.55;
}

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

.project-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-slide.is-active {
  opacity: 1;
}

.project-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(104, 133, 255, 0.3);
  background: rgba(20, 26, 50, 0.82);
  color: rgba(238, 241, 255, 0.92);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
  animation: sliderPulse 6s ease-in-out infinite;
}

.slider-btn:hover,
.slider-btn:focus-visible {
  transform: translateY(-50%) scale(1.05);
  border-color: rgba(98, 173, 255, 0.45);
  background: rgba(24, 30, 62, 0.95);
}

.slider-btn:hover,
.slider-btn:focus-visible {
  animation-play-state: paused;
}

@keyframes sliderPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(98, 173, 255, 0.45);
  }
  50% {
    box-shadow: 0 0 15px 4px rgba(98, 173, 255, 0.35);
  }
}

.slider-btn.prev {
  left: 0.75rem;
}

.slider-btn.next {
  right: 0.75rem;
}

.slider-btn i {
  font-size: 1.25rem;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.project-links a {
  font-size: 0.92rem;
  color: rgba(122, 156, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.05rem;
  text-decoration: none;
}

.project-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(109, 243, 255, 0.8), rgba(77, 106, 255, 0));
  transition: width 0.25s ease;
}

.project-links a:hover::after,
.project-links a:focus-visible::after {
  width: 100%;
}

.process {
  counter-reset: process;
}

.process-step {
  position: relative;
  padding-left: 3.5rem;
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.section-cta .cta {
  padding: 0.7rem 2rem;
}

.process-step::before {
  counter-increment: process;
  content: "0" counter(process);
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-size: 1.6rem;
  font-weight: 600;
  background: var(--accent);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

footer {
  margin-top: 6rem;
  padding: 3.5rem 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.socials {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(33, 39, 72, 0.22);
  border: 1px solid rgba(132, 149, 255, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease;
  color: var(--text-main);
  text-decoration: none;
}

.socials a:hover,
.socials a:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(109, 243, 255, 0.38);
  color: var(--accent-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 249, 251, 0.18);
  background: rgba(12, 16, 30, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.lang-switch__hint {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  flex: 0 0 auto;
  white-space: nowrap;
}

.lang-switch button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
  white-space: nowrap;
}

.lang-switch button.active {
  background: rgba(248, 249, 251, 0.25);
  color: #090b11;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(248, 249, 251, 0.12);
  background: rgba(248, 249, 251, 0.06);
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(248, 249, 251, 0.22);
}

.menu-toggle.is-open {
  transform: rotate(90deg);
}

.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 217, 245, 0.35);
  background: rgba(5, 3, 10, 0.8);
  color: rgba(0, 217, 245, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 15;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-4px);
}

@media (max-width: 720px) {
  body {
    padding: 0;
  }

  main {
    padding: 0 1.1rem 4.5rem;
  }

  section {
    padding: 1.8rem 1.4rem;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
  }

  .nav-links a::before {
    gap: 0.9rem 1rem;
  }

  .menu-toggle-label {
    display: block;
    width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    order: 1;
  }

  .brand-logo {
    padding: 2.5px;
    border-radius: 16px;
  }

  .brand-logo img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .menu-toggle {
    order: 2;
    margin-left: auto;
  }

  .nav-right {
    position: absolute;
    top: calc(100% + 0.85rem);
    left: 0;
    right: 0;
    padding: 1.6rem 1.5rem;
  }

  .menu-close {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .card.card-contact {
    gap: 1.25rem;
  }

  .card.card-contact .socials {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .card.card-contact .socials a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .share-actions {
    flex-direction: column;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-right {
    position: fixed;
    top: 88px;
    right: 1.5rem;
    left: 1.5rem;
    padding: 1.75rem 1.5rem;
    background: rgba(8, 6, 16, 0.96);
    border: 1px solid rgba(247, 248, 255, 0.08);
    border-radius: 1.4rem;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    gap: 1.65rem;
    z-index: 15;
    display: none;
  }

  .nav-right[data-visible="true"] {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .lang-switch {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .lang-switch button {
    flex: 1 1 auto;
    justify-content: center;
  }

  .lang-switch__hint {
    width: 100%;
    text-align: left;
    font-size: 0.68rem;
  }

  .cta {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero p {
    max-width: none;
  }

  .projects-carousel {
    grid-auto-columns: minmax(260px, 90%);
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.8rem;
  }

  .projects-carousel::-webkit-scrollbar {
    height: 6px;
  }

  .projects-carousel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
  }

  .nav-right {
    animation: navFadeIn 0.26s ease-out;
  }

  @keyframes navFadeIn {
    from {
      opacity: 0;
      transform: translateY(-8px) scale(0.98);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

p {
  max-width: 62ch;
}
