@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/lexend-latin.woff2") format("woff2");
}

:root {
  --bg: #0b0711;
  --bg-soft: #120b1e;
  --bg-card: rgba(255, 255, 255, 0.075);
  --ink: #f8f4ff;
  --muted: #bdb0ce;
  --purple: #991dff;
  --purple-strong: #7f12dd;
  --cyan: #35e0ff;
  --line: rgba(255, 255, 255, 0.13);
  --white: #ffffff;
  --dark: #08050d;
  --radius-lg: 28px;
  --radius-xl: clamp(30px, 5vw, 64px);
  --container: min(100% - 48px, 1220px);
  --shadow: 0 28px 90px -48px rgba(0, 0, 0, 0.78);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(153, 29, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 84% 12%, rgba(53, 224, 255, 0.14), transparent 30rem),
    var(--bg);
  font-family: "Lexend", "Aptos", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 5, 15, 0.74);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 84px;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(240px, 45vw);
}

.brand img {
  width: 100%;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: rgba(248, 244, 255, 0.82);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--white);
}

.language-link {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-dropdown {
  position: relative;
  padding-block: 24px;
}

.nav-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: grid;
  min-width: 285px;
  padding: 12px;
  background: rgba(16, 9, 28, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  padding: 11px 12px;
  border-radius: 12px;
}

.nav-submenu a:hover {
  background: rgba(153, 29, 255, 0.18);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
  border-radius: 999px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), #c45cff);
  box-shadow: 0 22px 50px -28px rgba(153, 29, 255, 0.88);
}

.button-light {
  color: var(--dark);
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  background: transparent;
  border: 1px solid var(--line);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding-block: clamp(70px, 8vw, 118px) clamp(64px, 7vw, 98px);
}

.page-hero {
  padding-block: clamp(74px, 8vw, 122px);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 10% -10% auto;
  height: 280px;
  background: linear-gradient(90deg, transparent, rgba(153, 29, 255, 0.16), transparent);
  filter: blur(30px);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(380px, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 100px);
}

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 870px;
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5.8vw, 50px);
  line-height: 1.3;
  letter-spacing: -0.062em;
}

.hero h1 {
  max-width: 870px;
  line-height: 1.3;
  letter-spacing: -0.062em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.2vw, 54px);
  line-height: 1.3;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 0;
  line-height: 1.3;
}

.hero-copy > p:not(.eyebrow),
.page-hero-copy > p:not(.eyebrow),
.split-heading > p,
.story-copy p,
.team-preview-grid > div > p,
.final-cta p,
.service-hero-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 18px 13px 15px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(53, 224, 255, 0.2), transparent 42%),
    linear-gradient(135deg, #25d366, #128c7e);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  box-shadow: 0 20px 50px -22px rgba(37, 211, 102, 0.78);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transform: translateZ(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) translateZ(0);
  filter: saturate(1.08);
  box-shadow: 0 26px 58px -24px rgba(37, 211, 102, 0.9);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: currentColor;
}

body.menu-open .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
}

.hero-visual {
  position: relative;
  min-height: clamp(430px, 44vw, 620px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    radial-gradient(circle at 35% 30%, rgba(153, 29, 255, 0.44), transparent 24rem),
    #10091c;
  box-shadow: var(--shadow);
}

.hero-media,
.page-hero-media,
.case-hero-media {
  position: relative;
  min-height: clamp(370px, 39vw, 560px);
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #10091c;
  box-shadow: var(--shadow);
}

.hero-media::after,
.page-hero-media::after,
.case-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 36%),
    radial-gradient(circle at 70% 20%, rgba(153, 29, 255, 0.16), transparent 18rem);
  pointer-events: none;
}

.hero-media img,
.page-hero-media img,
.case-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.page-hero-media img[src$=".svg"],
.page-hero-media img[src*=".svg?"] {
  object-fit: contain;
  padding: clamp(10px, 1.8vw, 18px);
}

.page-hero-team-media {
  position: relative;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(12px, 2vw, 18px);
  min-height: clamp(370px, 39vw, 560px);
  overflow: hidden;
  margin: 0;
  padding: clamp(12px, 1.8vw, 18px);
  background:
    radial-gradient(circle at 18% 18%, rgba(53, 224, 255, 0.18), transparent 18rem),
    radial-gradient(circle at 80% 12%, rgba(153, 29, 255, 0.26), transparent 18rem),
    #10091c;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.page-hero-team-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 38%);
  pointer-events: none;
}

.page-hero-team-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: calc(clamp(370px, 39vw, 560px) - clamp(24px, 3.6vw, 36px));
  object-fit: cover;
  border-radius: clamp(22px, 3vw, 42px);
}

.page-hero-team-media img:first-child {
  transform: translateY(26px);
}

.page-hero-team-media img:last-child {
  transform: translateY(-18px);
}

.page-hero-team-media--solo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-team-media.page-hero-team-media--solo img {
  width: min(100%, 460px);
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  margin: auto;
}

.page-hero-team-media.page-hero-team-media--solo img:first-child {
  transform: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.orb-one {
  width: 260px;
  height: 260px;
  top: 48px;
  right: 34px;
  background: radial-gradient(circle, rgba(153, 29, 255, 0.92), rgba(153, 29, 255, 0.08));
}

.orb-two {
  width: 180px;
  height: 180px;
  right: 190px;
  bottom: 70px;
  background: radial-gradient(circle, rgba(53, 224, 255, 0.72), rgba(53, 224, 255, 0.05));
}

.hero-dashboard {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 28px;
  background: rgba(7, 4, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
}

.hero-dashboard span,
.service-hero-card span,
.case-card span,
.about-panel span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-dashboard strong {
  display: block;
  margin-block: 6px;
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.88;
}

.hero-dashboard p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-chip {
  position: absolute;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.chip-a {
  top: 82px;
  left: 38px;
}

.chip-b {
  top: 46%;
  right: 30px;
}

.chip-c {
  left: 62px;
  bottom: 180px;
}

.client-logos-band {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 6vw, 84px);
  padding-block: 8px 0;
}

.client-logos-title {
  margin: 0 0 16px;
  color: rgba(248, 244, 255, 0.68);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.client-logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.client-logo-track {
  display: flex;
  width: max-content;
  animation: client-logo-scroll 46s linear infinite;
  will-change: transform;
}

.client-logo-marquee:hover .client-logo-track {
  animation-play-state: paused;
}

.client-logo-set {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-inline: 9px;
}

.client-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(142px, 15vw, 214px);
  height: clamp(74px, 7vw, 96px);
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: 0 20px 60px -48px rgba(0, 0, 0, 0.8);
}

.client-logo-item img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.client-logo-item--invert img {
  filter: brightness(0) invert(1);
}

@keyframes client-logo-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-track {
    animation: none;
  }
}

.stats-band {
  padding-block: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.stats-grid strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-block: clamp(72px, 8vw, 124px);
}

.section,
.stats-band,
.final-cta,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

.section-muted {
  background:
    radial-gradient(circle at 8% 16%, rgba(153, 29, 255, 0.14), transparent 28rem),
    rgba(255, 255, 255, 0.035);
}

.section-dark,
.section-panel {
  background: linear-gradient(135deg, #10081b, #08050d);
  border-block: 1px solid var(--line);
}

.split-heading,
.story-grid,
.faq-grid,
.process-grid,
.team-preview-grid,
.service-map-grid,
.final-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.split-heading {
  margin-bottom: 34px;
}

.section-heading {
  display: grid;
  gap: 16px;
  max-width: 780px;
}

.section-heading.light h2,
.section-heading.light p {
  color: var(--white);
}

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

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

.service-card,
.case-card,
.detail-card,
.promise-card,
.value-card,
.team-profile,
.contact-card,
.about-panel,
.service-hero-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px -58px rgba(0, 0, 0, 0.82);
}

.service-card {
  min-height: 285px;
  padding: 25px;
}

.service-card::before,
.case-card::before,
.detail-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(153, 29, 255, 0.26), transparent 15rem);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover::before,
.case-card:hover::before,
.detail-card:hover::before {
  opacity: 1;
}

.card-index {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 46px;
  color: var(--white);
  background: rgba(153, 29, 255, 0.2);
  border: 1px solid rgba(153, 29, 255, 0.44);
  border-radius: 14px;
  font-weight: 950;
}

.service-card h3,
.case-card h3,
.case-card h2,
.detail-card h2,
.value-card h2,
.team-profile h2 {
  position: relative;
  font-size: 24px;
  line-height: 1.08;
}

.service-card p,
.case-card p,
.detail-card p,
.value-card p,
.team-profile p,
.faq-item p,
.service-map-grid span {
  position: relative;
  color: var(--muted);
  line-height: 1.7;
}

.card-link,
.text-link {
  position: relative;
  display: inline-flex;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 950;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 56px 0.45fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.process-list span,
.value-card span {
  color: var(--cyan);
  font-weight: 950;
}

.process-list h3,
.process-list p {
  margin-bottom: 0;
}

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

.case-card {
  padding: 26px;
}

.case-image-link,
.case-card > span,
.case-card h2,
.case-card h3,
.case-card p,
.case-card div,
.case-card .text-link {
  position: relative;
}

.case-image-link {
  display: block;
  margin: -8px -8px 22px;
  overflow: hidden;
  border-radius: 24px;
}

.case-card > .case-image {
  margin: -8px -8px 22px;
  border-radius: 24px;
}

.case-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: #12081d;
  transition: transform 360ms ease;
}

.case-card:hover .case-image {
  transform: scale(1.035);
}

.case-card div {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.case-card small {
  padding: 8px 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.team-preview-grid {
  align-items: center;
}

.team-preview-grid > * {
  min-width: 0;
}

.team-preview-grid > div:first-child {
  display: grid;
  gap: 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.team-slider {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.team-slider__controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.team-slider__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.team-slider__button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}

.team-slider__viewport {
  min-width: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-slider__viewport::-webkit-scrollbar {
  display: none;
}

.team-slider__track {
  display: flex;
  gap: 18px;
  width: max-content;
}

.team-slide {
  flex: 0 0 clamp(250px, 23vw, 322px);
  scroll-snap-align: start;
}

.team-card,
.team-profile {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.team-card {
  padding: 14px;
}

.team-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
}

.team-card h3,
.team-card p {
  margin: 14px 8px 0;
}

.team-card p {
  color: var(--muted);
}

.story-copy {
  display: grid;
  gap: 14px;
}

.about-panel {
  display: grid;
  gap: 14px;
  padding: clamp(28px, 4vw, 44px);
}

.about-panel strong {
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
}

.team-profile {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px;
}

.team-profile img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
}

.team-profile span {
  display: block;
  margin-block: 8px 14px;
  color: var(--cyan);
  font-weight: 900;
}

.values-grid,
.promise-grid,
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card,
.promise-card,
.detail-card {
  padding: 26px;
}

.promise-card {
  display: flex;
  align-items: center;
  gap: 15px;
}

.promise-card span {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  background: var(--cyan);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(53, 224, 255, 0.92);
}

.promise-card h3 {
  font-size: 18px;
}

.service-detail-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-hero-card {
  padding: clamp(30px, 5vw, 52px);
}

.seo-copy-card {
  max-width: 1060px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(153, 29, 255, 0.18), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 90px -70px rgba(0, 0, 0, 0.9);
}

.seo-copy-card h2 {
  max-width: 900px;
  font-size: clamp(2rem, 4vw, 48px);
}

.seo-copy-card p:last-child {
  max-width: 930px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.related-services-grid .service-card {
  min-height: 250px;
}

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

.service-hero-card h2 {
  margin-block: 18px;
  font-size: clamp(2rem, 4vw, 46px);
}

.service-map-grid article {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.service-map-grid strong {
  font-size: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.faq-item summary {
  padding: 20px;
  font-weight: 900;
  cursor: pointer;
}

.faq-item p {
  padding: 0 20px 20px;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
}

.contact-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  padding: 14px 15px;
}

.contact-card textarea {
  resize: vertical;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
}

.contact-layout .section-heading p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.final-cta {
  padding-block: clamp(62px, 7vw, 98px);
}

.final-cta h2 {
  color: var(--white);
}

.site-footer {
  padding-block: 64px 26px;
  background: #07040b;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(170px, 0.5fr));
  gap: 42px;
}

.footer-brand img {
  width: min(260px, 100%);
  margin-bottom: 22px;
}

.footer-brand p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 16px;
  letter-spacing: 0;
}

.site-footer a:not(.button) {
  display: block;
  margin-top: 11px;
  color: var(--muted);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 52px;
  padding-top: 22px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (max-width: 1060px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 84px 18px auto;
    display: grid;
    gap: 4px;
    padding: 16px;
    background: rgba(13, 7, 22, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] + .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-dropdown {
    padding-block: 0;
  }

  .nav-submenu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .hero-grid,
  .page-hero-grid,
  .split-heading,
  .story-grid,
  .faq-grid,
  .process-grid,
  .team-preview-grid,
  .service-map-grid,
  .case-study-grid,
  .final-cta__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .services-grid-large,
  .cases-grid,
  .values-grid,
  .promise-grid,
  .service-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list article {
    grid-template-columns: 48px 1fr;
  }

  .process-list p {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --container: min(100% - 28px, 1220px);
  }

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

  .brand {
    width: min(212px, 58vw);
  }

  .site-nav {
    inset: 76px 14px auto;
  }

  .hero,
  .page-hero {
    padding-block: 56px 70px;
  }

  h1 {
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    line-height: 1.3;
  }

  .hero h1 {
    line-height: 1.3;
  }

  h2 {
    font-size: clamp(1.85rem, 10vw, 3.2rem);
    line-height: 1.3;
  }

  .hero-actions,
  .hero-actions .button,
  .final-cta .button,
  .contact-card .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-media,
  .page-hero-media,
  .case-hero-media {
    min-height: 320px;
    border-radius: 30px;
  }

  .page-hero-team-media {
    min-height: 320px;
    border-radius: 30px;
  }

  .page-hero-team-media img {
    min-height: 280px;
  }

  .page-hero-team-media img:first-child,
  .page-hero-team-media img:last-child {
    transform: none;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 12px 14px;
    font-size: 13px;
  }

  .team-slider__controls {
    justify-content: flex-start;
  }

  .team-slide {
    flex-basis: min(82vw, 320px);
  }

  .stats-grid,
  .services-grid,
  .services-grid-large,
  .cases-grid,
  .values-grid,
  .promise-grid,
  .service-detail-grid,
  .contact-layout,
  .team-mini,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-profile {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .process-list p {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
