/* ========== Tokens ========== */
:root {
  --navy: #0a1b45;
  --navy-deep: #06122e;
  --navy-mid: #132b5e;
  --blue: #4d6ef5;
  --blue-soft: #6b8cff;
  --purple: #7a5af8;
  --violet: #5b4dff;
  --grad: linear-gradient(135deg, #6a4dff 0%, #4d6ef5 52%, #5b8cff 100%);
  --grad-text: linear-gradient(90deg, #7a5af8, #4d6ef5);
  --grad-cta: linear-gradient(135deg, #5b3fd4 0%, #4d6ef5 45%, #6a5cff 100%);
  --ink: #0f1b33;
  --muted: #5b6478;
  --line: #e6eaf3;
  --bg: #f5f7fc;
  --white: #ffffff;
  --shadow: 0 10px 36px rgba(15, 35, 90, 0.07);
  --shadow-lg: 0 22px 55px rgba(15, 35, 90, 0.13);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.section {
  padding: 5.5rem 0;
}

.section__head {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section__head h2,
.midstrip h2,
.testimonial h2,
.process h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.65rem;
}

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

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--sm {
  padding: 0.7rem 1.2rem;
  font-size: 0.875rem;
}

.btn--primary,
.btn--dark {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 31, 69, 0.25);
}

.btn--primary:hover,
.btn--dark:hover {
  background: var(--navy-mid);
}

.btn--gradient {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(79, 110, 247, 0.35);
}

.btn--gradient:hover {
  box-shadow: 0 16px 36px rgba(79, 110, 247, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--violet);
  border-color: #c8c4ff;
}

.btn--outline:hover {
  background: #f3f1ff;
  border-color: var(--purple);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.btn--block {
  width: 100%;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--blue);
  transition: gap 0.25s var(--ease);
}

.link-more:hover {
  gap: 0.6rem;
}

/* ========== Topbar / Header ========== */
.topbar {
  display: none;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
  padding: 0;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(15, 35, 90, 0.06);
  background: rgba(255, 255, 255, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.25rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  width: 108px;
  height: auto;
  display: block;
}

.header .logo__img {
  width: 88px;
  margin-top: -10px;
}

.logo--light .logo__img {
  filter: brightness(0) invert(1);
}

.nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--navy);
  background: #eef1ff;
}

.nav__dropdown {
  position: relative;
}

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

.lang-switch select {
  appearance: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: #eef1ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 1.7rem 0.45rem 0.75rem;
  cursor: pointer;
  max-width: 10.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%230a1b45' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.header__contact {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  line-height: 1.25;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.header__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header__contact a:hover {
  color: var(--blue);
}

.header__wa {
  color: #128c7e;
}

.header__wa:hover {
  color: #075e54 !important;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  padding: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 1023px) {
  .nav {
    display: flex;
    position: fixed;
    inset: calc(var(--header-h) + 0px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .header__actions .btn {
    display: none;
  }

  .lang-switch select {
    font-size: 0.68rem;
    max-width: 8.4rem;
    padding: 0.4rem 1.5rem 0.4rem 0.55rem;
  }
}

@media (max-width: 400px) {
  .header__inner {
    gap: 0.5rem;
  }

  .header .logo__img {
    width: 64px;
    margin-top: -6px;
  }

  .header__actions {
    gap: 0.45rem;
  }

  .lang-switch select {
    font-size: 0.62rem;
    max-width: 7rem;
    padding: 0.32rem 1.25rem 0.32rem 0.45rem;
    background-position: right 0.45rem center;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 10px;
    gap: 4px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 300px) {
  .header .container {
    width: min(100% - 1rem, var(--container));
  }

  .header__inner {
    gap: 0.35rem;
    padding: 0.15rem 0;
    min-height: 56px;
  }

  :root {
    --header-h: 56px;
  }

  .header .logo__img {
    width: 52px;
    margin-top: -4px;
  }

  .header__actions {
    gap: 0.3rem;
  }

  .lang-switch select {
    font-size: 0.58rem;
    max-width: 5.8rem;
    padding: 0.28rem 1.1rem 0.28rem 0.4rem;
    background-position: right 0.4rem center;
  }

  .menu-toggle {
    width: 30px;
    height: 30px;
    padding: 6px;
    border-radius: 8px;
    gap: 3px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .header__contact {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .header__contact {
    margin-right: 0.25rem;
  }
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 0 0 2rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 55% at 92% 35%, rgba(106, 77, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 40% 45% at 78% 78%, rgba(77, 110, 245, 0.12), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f8ff 70%, #eef2ff 100%);
  z-index: -2;
}

.hero__wave {
  position: absolute;
  right: -5%;
  bottom: 4%;
  width: min(560px, 58vw);
  height: 220px;
  background:
    radial-gradient(circle at 15% 40%, rgba(122, 90, 248, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 55%, rgba(77, 110, 245, 0.45) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 42% 35%, rgba(107, 140, 255, 0.55) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 60%, rgba(122, 90, 248, 0.4) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 68% 42%, rgba(77, 110, 245, 0.5) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 58%, rgba(107, 140, 255, 0.45) 0 1.5px, transparent 2.5px),
    radial-gradient(ellipse at 40% 50%, rgba(122, 90, 248, 0.35), transparent 55%),
    radial-gradient(ellipse at 70% 45%, rgba(77, 110, 245, 0.3), transparent 50%);
  background-size: 48px 48px, 40px 40px, 52px 52px, 36px 36px, 44px 44px, 38px 38px, 100% 100%, 100% 100%;
  filter: blur(0.4px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
  animation: pulseOrb 7s ease-in-out infinite;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 20%, transparent 75%);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.hero__content {
  min-width: 0;
}

.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8b93a7;
  margin-bottom: 0.9rem;
  margin-top: 0.35rem;
}

.hero__title {
  font-family: var(--display);
  font-size: clamp(2.15rem, 5.5vw, 3.55rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.15rem;
}

.hero__subtitle {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__visual {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
}

.hero__network {
  position: absolute;
  inset: -4% -2% 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: networkDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  right: 5%;
  bottom: 8%;
  width: 55%;
  height: 40%;
  background:
    radial-gradient(ellipse at center, rgba(122, 90, 248, 0.28), transparent 65%),
    radial-gradient(ellipse at 70% 60%, rgba(77, 110, 245, 0.22), transparent 60%);
  filter: blur(8px);
  pointer-events: none;
  animation: pulseOrb 6s ease-in-out infinite;
}

.hero__logo3d {
  position: relative;
  width: min(560px, 100%);
  max-width: 100%;
  margin-top: -3.5rem;
  margin-inline: auto;
  animation: floatY 2.8s ease-in-out infinite;
  filter: drop-shadow(0 28px 40px rgba(40, 70, 180, 0.22));
  z-index: 1;
}

.hero__logo3d img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .hero__grid {
    gap: 1.25rem;
  }

  .hero__visual {
    min-height: 280px;
  }

  .hero__logo3d {
    margin-top: -2rem;
    width: min(100%, 340px);
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(1.7rem, 6.8vw, 2.15rem);
    margin-bottom: 0.9rem;
    text-wrap: balance;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    margin-bottom: 0.7rem;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.4rem;
  }
}

@media (max-width: 400px) {
  .hero__cta {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

@media (max-width: 383px) {
  .hero {
    padding-bottom: 1.5rem;
  }

  .hero__grid {
    gap: 1rem;
  }

  .hero__title {
    font-size: 1.55rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .hero__eyebrow {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }

  .hero__subtitle {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
  }

  .hero__visual {
    min-height: 220px;
  }

  .hero__logo3d {
    width: min(100%, 260px);
    margin-top: -1.25rem;
  }

  .hero__cta .btn {
    padding: 0.75rem 1.1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 300px) {
  .hero .container {
    width: min(100% - 1rem, var(--container));
  }

  .hero__title {
    font-size: 1.35rem;
  }

  .hero__eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.06em;
  }

  .hero__subtitle {
    font-size: 0.82rem;
  }

  .hero__visual {
    min-height: 190px;
  }

  .hero__logo3d {
    width: min(100%, 220px);
    margin-top: -1rem;
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.85; }
}

@keyframes networkDrift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-22px, 14px, 0); }
}

/* Same pan+drift motion as before, but transform-only (compositor) instead of background-position (repaint) */
@keyframes networkStrings {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(calc(-4% - 22px), calc(2% + 14px), 0); }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(145deg, #24145a 0%, #5b3fd4 42%, #6b8cff 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  box-shadow: 0 28px 60px rgba(45, 30, 120, 0.28);
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
}

.stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}

.stat__icon svg {
  width: 22px;
  height: 22px;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.stat span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

@media (max-width: 383px) {
  .stats {
    gap: 0.5rem;
    padding: 0.85rem 0.65rem;
    margin-top: 2rem;
  }

  .stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
    padding: 0.25rem;
  }

  .stat__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .stat__icon svg {
    width: 16px;
    height: 16px;
  }

  .stat strong {
    font-size: 1rem;
  }

  .stat span {
    font-size: 0.65rem;
    line-height: 1.2;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 0.35rem 0 2.5rem;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.5rem;
    align-items: start;
  }

  .hero__visual {
    min-height: 480px;
    margin-top: -2rem;
  }

  .hero__logo3d {
    margin-top: -5.5rem;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.45rem 1.75rem;
  }
}

.section__sub {
  max-width: 36rem;
  margin: 0.85rem auto 0;
  color: var(--muted);
  font-size: 1.02rem;
}

/* One continuous purple string backdrop across services → packages */
.net-band {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  contain: paint;
  isolation: isolate;
}

.net-band::before {
  content: "";
  position: absolute;
  /* Extra bleed so transform pan never shows empty edges */
  inset: -6% -10%;
  background-image: url("../assets/network-bg.svg");
  background-repeat: repeat-y;
  background-size: min(1440px, 100%) auto;
  background-position: center top;
  opacity: 0.58;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  animation: networkStrings 20s ease-in-out infinite alternate;
}

.net-band.is-paused::before {
  animation-play-state: paused;
}

.net-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 88% 12%, rgba(122, 90, 248, 0.14), transparent 42%),
    radial-gradient(ellipse at 8% 38%, rgba(77, 110, 245, 0.12), transparent 40%),
    radial-gradient(ellipse at 92% 68%, rgba(122, 90, 248, 0.12), transparent 42%),
    radial-gradient(ellipse at 12% 88%, rgba(77, 110, 245, 0.1), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

.net-band > .section {
  position: relative;
  z-index: 1;
  background: transparent;
}

.net-band > .section > .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .net-band::before {
    inset: -8% -35%;
    background-size: 920px auto;
    background-repeat: repeat;
    opacity: 0.85;
  }
}

/* Pause looping motion while off-screen — same look when visible */
.motion-paused,
.motion-paused::before,
.motion-paused::after {
  animation-play-state: paused !important;
}

.motion-paused .service-card__media img,
.motion-paused .service-card__media::before,
.motion-paused .service-card__badge,
.motion-paused .link-more span,
.motion-paused .client-window,
.motion-paused .client-window::before,
.motion-paused .client-window__orb,
.motion-paused .process-step,
.motion-paused .process-step::before,
.motion-paused .price-card__orb {
  animation-play-state: paused !important;
}

/* ========== Services ========== */
.services {
  background: transparent;
}

.services__featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
}

.service-card.reveal.is-visible {
  animation: serviceCardFloat 4.4s ease-in-out infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.35s;
}

.services__featured .service-card:nth-child(1) { animation-delay: -0.2s; }
.services__featured .service-card:nth-child(2) { animation-delay: -1.6s; animation-direction: alternate; }
.services__featured .service-card:nth-child(3) { animation-delay: -2.9s; }
.services__grid .service-card:nth-child(1) { animation-delay: -0.7s; }
.services__grid .service-card:nth-child(2) { animation-delay: -2.1s; animation-direction: alternate; }
.services__grid .service-card:nth-child(3) { animation-delay: -1.2s; }
.services__grid .service-card:nth-child(4) { animation-delay: -2.6s; animation-direction: alternate; }
.services__grid .service-card:nth-child(5) { animation-delay: -0.4s; }
.services__grid .service-card:nth-child(6) { animation-delay: -2.2s; animation-direction: alternate; }
.services__grid .service-card:nth-child(7) { animation-delay: -1.5s; }

.service-card[data-open-query] {
  cursor: pointer;
}

.service-card:hover,
.service-card.reveal.is-visible:hover {
  transform: translateY(-14px) scale(1.035);
  box-shadow: var(--shadow-lg), 0 22px 48px rgba(77, 110, 245, 0.22);
  border-color: #c5ceff;
}

.service-card--featured {
  border-color: var(--purple);
  box-shadow: 0 18px 46px rgba(91, 77, 255, 0.14);
}

.service-card--featured:hover {
  border-color: var(--violet);
  box-shadow: 0 24px 60px rgba(91, 77, 255, 0.22), 0 12px 28px rgba(122, 90, 248, 0.18);
}

.services__grid .service-card {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #24145a 0%, #5b3fd4 42%, #6b8cff 100%) border-box;
  box-shadow: 0 18px 40px rgba(45, 30, 120, 0.14);
}

.services__grid .service-card:hover,
.services__grid .service-card.reveal.is-visible:hover {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(145deg, #6a4dff 0%, #4d6ef5 52%, #6b8cff 100%) border-box;
  box-shadow: var(--shadow-lg), 0 16px 36px rgba(91, 63, 212, 0.22);
}

.service-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, #e8ecff, #f5f7fc);
}

.service-card--featured .service-card__media {
  aspect-ratio: 16 / 11;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease);
}

.service-card.reveal.is-visible .service-card__media img {
  animation: serviceImgDrift 9s ease-in-out infinite alternate;
}

.service-card:hover .service-card__media img {
  animation-play-state: paused;
  transform: scale(1.14);
}

.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.18) 42%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.18) 58%,
    transparent 68%
  );
  transform: translateX(-140%) skewX(-14deg);
  pointer-events: none;
}

.service-card.reveal.is-visible .service-card__media::before {
  animation: serviceShine 5.2s ease-in-out infinite;
}

.service-card:hover .service-card__media::before {
  animation: serviceShine 1.1s var(--ease) 1;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 18, 45, 0.18));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}

.service-card:hover .service-card__media::after {
  opacity: 1;
}

.service-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: var(--grad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(77, 110, 245, 0.35);
  animation: serviceBadgePulse 2.1s ease-in-out infinite;
}

.service-card__body {
  padding: 1.25rem 1.3rem 1.4rem;
}

.service-card h3 {
  font-family: var(--display);
  font-size: 1.18rem;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
  transition: color 0.3s var(--ease);
}

.service-card:hover h3 {
  color: var(--violet);
  letter-spacing: -0.01em;
}

.service-card--featured h3 {
  font-size: 1.28rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 0.85rem;
}

.service-card .link-more {
  font-weight: 700;
}

.service-card .link-more span {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .link-more {
  gap: 0.7rem;
}

.service-card:hover .link-more span {
  animation: serviceArrowNudge 0.7s var(--ease) infinite;
}

@keyframes serviceCardFloat {
  0%, 100% {
    translate: 0 0;
    rotate: -0.35deg;
  }
  50% {
    translate: 0 -12px;
    rotate: 0.45deg;
  }
}

@keyframes serviceImgDrift {
  0% { scale: 1; translate: 0 0; }
  100% { scale: 1.1; translate: -3% 2%; }
}

@keyframes serviceShine {
  0%, 58% { transform: translateX(-140%) skewX(-14deg); }
  78%, 100% { transform: translateX(140%) skewX(-14deg); }
}

@keyframes serviceArrowNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes serviceBadgePulse {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(77, 110, 245, 0.35);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 10px 32px rgba(122, 90, 248, 0.7);
    transform: scale(1.08);
  }
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .services__featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
    margin-bottom: 1.5rem;
  }

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

/* ========== Why ========== */
.why {
  padding-top: 1rem;
}

.why__panel {
  display: grid;
  gap: 2.5rem;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgba(123, 92, 255, 0.25), transparent 50%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(79, 110, 247, 0.2), transparent 50%),
    linear-gradient(145deg, #0b1f45, #122a5c 55%, #0d234d);
  color: var(--white);
  border-radius: 28px;
  padding: 2.5rem 1.5rem;
  overflow: hidden;
}

.why__left h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.why__left p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.why__grid {
  display: grid;
  gap: 1rem;
}

.why__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background 0.3s, transform 0.3s var(--ease);
}

.why__item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.why__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #c5d0ff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.why__icon svg {
  width: 22px;
  height: 22px;
}

.why__item h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.why__item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 768px) {
  .why__panel {
    padding: 3rem 2.5rem;
  }

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

@media (min-width: 1024px) {
  .why__panel {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 3.5rem;
    gap: 3rem;
  }
}

/* ========== Portfolio ========== */
.portfolio {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.portfolio__stage {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.portfolio__visual {
  position: relative;
  margin-inline: auto;
  width: min(100%, 460px);
  aspect-ratio: 1;
}

.portfolio__stack {
  position: absolute;
  inset: 0;
}

.portfolio__slot {
  position: absolute;
  width: 54%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.portfolio__slot:focus-visible {
  outline: 2px solid var(--accent, #4d6ef5);
  outline-offset: 6px;
}

.portfolio__slot:hover {
  filter: brightness(1.04);
}

.portfolio__slot--a {
  left: 40%;
  top: 6%;
  transform: rotate(9deg);
  z-index: 3;
}

.portfolio__slot--b {
  left: 0%;
  top: 20%;
  transform: rotate(-10deg);
  z-index: 2;
}

.portfolio__slot--c {
  left: 26%;
  top: 40%;
  transform: rotate(3deg);
  z-index: 1;
}

.portfolio__slot.is-front {
  z-index: 10;
}

.portfolio__slot--a:hover,
.portfolio__slot--a:focus-visible {
  transform: rotate(9deg) scale(1.03);
}

.portfolio__slot--b:hover,
.portfolio__slot--b:focus-visible {
  transform: rotate(-10deg) scale(1.03);
}

.portfolio__slot--c:hover,
.portfolio__slot--c:focus-visible {
  transform: rotate(3deg) scale(1.03);
}

.portfolio__frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 18px 40px rgba(15, 35, 90, 0.22);
  overflow: hidden;
  background: linear-gradient(145deg, #24145a 0%, #5b3fd4 42%, #6b8cff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.portfolio__frame img {
  max-width: 78%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.portfolio__copy {
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
}

.portfolio__copy h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.portfolio__lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.portfolio__copy .btn {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.portfolio__copy .btn:hover {
  transform: translateY(-3px);
}

@media (min-width: 900px) {
  .portfolio__stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
  }

  .portfolio__visual {
    width: min(100%, 520px);
    margin: 0;
    justify-self: center;
  }

  .portfolio__copy {
    text-align: left;
    margin: 0;
    max-width: none;
    animation: portfolioFadeIn 0.9s var(--ease) both;
  }
}

@keyframes portfolioFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio__slot,
  .portfolio__copy {
    animation: none;
    transition: none;
  }
}

/* ========== Midstrip ========== */
.midstrip {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.midstrip__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.testimonial,
.process {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  height: auto;
}

.testimonial {
  display: flex;
  flex-direction: column;
}

.testimonial__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1.15rem;
}

.testimonial__head h2 {
  margin: 0;
}

.reviews-carousel {
  margin-top: 0;
  flex: 0 0 auto;
}

.client-window {
  --tilt: -1.5deg;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 1.15rem 1.25rem 1.35rem;
  min-height: 260px;
  background: linear-gradient(145deg, #24145a 0%, #5b3fd4 42%, #6b8cff 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 60px rgba(45, 30, 120, 0.28);
  transform: rotate(var(--tilt));
  animation: serviceCardFloat 4.4s ease-in-out infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.client-window::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0.16) 58%,
    transparent 68%
  );
  transform: translateX(-140%) skewX(-14deg);
  pointer-events: none;
  animation: serviceShine 5.2s ease-in-out infinite;
  animation-delay: -1.4s;
}

.client-window:hover {
  transform: rotate(var(--tilt)) translateY(-14px) scale(1.035);
  box-shadow: 0 36px 72px rgba(45, 30, 120, 0.42);
}

.client-window:hover::before {
  animation: serviceShine 1.1s var(--ease) 1;
}

.client-window__chrome {
  display: flex;
  gap: 0.28rem;
  height: 8px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 3;
}

.client-window__chrome::before,
.client-window__chrome::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.client-window__chrome::after {
  box-shadow: 12px 0 0 rgba(255, 255, 255, 0.25);
}

.client-window__orb {
  position: absolute;
  right: -8%;
  top: 18%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #c9d4ff 22%, #8b7cff 48%, #5b3fd4 72%, #2a1858 100%);
  box-shadow:
    0 18px 40px rgba(20, 10, 60, 0.35),
    inset -10px -14px 28px rgba(42, 24, 88, 0.35),
    inset 8px 10px 22px rgba(255, 255, 255, 0.35);
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
  animation: clientOrb 9s ease-in-out infinite;
}

@media (max-width: 520px) {
  .client-window {
    --tilt: 0deg;
    transform: none;
  }

  .client-window__orb {
    width: 100px;
    height: 100px;
    right: -12%;
    top: auto;
    bottom: -18%;
    opacity: 0.55;
  }

  .review-card {
    padding-right: 0;
  }
}

@keyframes clientFloatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.review-card {
  position: relative;
  z-index: 3;
  min-height: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  padding-right: clamp(0rem, 28%, 7.5rem);
}

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

.review-card__stars {
  color: #ffd76a;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.testimonial blockquote,
.review-card blockquote {
  margin: 0 0 1.15rem;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: 0 1px 12px rgba(20, 10, 50, 0.25);
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.reviews-nav__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(91, 77, 255, 0.22);
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(45, 30, 120, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.reviews-nav__btn:hover:not(:disabled) {
  border-color: var(--blue-soft);
  color: var(--blue);
  transform: translateY(-1px);
}

.reviews-nav__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.reviews-nav__count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  min-width: 3.2rem;
  text-align: center;
}

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

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.avatar--initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(210, 220, 255, 0.9));
  color: #4d3fd4;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.testimonial__author strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.testimonial__author span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes clientFloat {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-0.5deg) translateY(-8px); }
}

@keyframes clientOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

body.modal-open {
  overflow: hidden;
}

.query-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.query-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.query-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 46, 0.55);
}

.query-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  max-height: min(92vh, 720px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.query-modal__step {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.query-modal__step[hidden] {
  display: none;
}

.query-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.query-modal__top {
  flex-shrink: 0;
  padding: 1.35rem 1.35rem 0.5rem;
}

.query-modal__top h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  padding-right: 1.5rem;
}

.query-modal__lead {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.query-modal__list {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0.85rem 0.35rem;
  display: grid;
  gap: 0.45rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.query-modal__item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.query-modal__item:hover {
  border-color: #c9d3f5;
  background: #eef1ff;
  transform: translateY(-1px);
}

.query-form {
  display: block;
  flex: none;
}

.query-form__body {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 1.35rem 0.5rem;
}

.query-form__footer {
  padding: 0.85rem 1.35rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.query-form__footer--back {
  border-top: 0;
  padding-top: 0.35rem;
}

.query-form label {
  display: grid;
  gap: 0.3rem;
}

.query-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.query-form input,
.query-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fbfcff;
  outline: none;
  transition: border-color 0.2s;
}

.query-form input:focus,
.query-form textarea:focus {
  border-color: var(--blue-soft);
}

.query-form textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 140px;
}

.query-modal__direct {
  border-top: 1px solid var(--line);
  padding: 1rem 0 0.85rem;
  margin-top: 0;
}

.query-modal__direct-label {
  margin: 0 1.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.query-modal__direct .query-modal__list {
  padding-bottom: 0.25rem;
  overflow: visible;
}

.query-form__status {
  min-height: 0;
  font-size: 0.85rem;
  margin: 0 0 0.55rem;
}

.query-form__status:empty {
  display: none;
}

.query-form__status[data-type="error"] {
  color: #dc2626;
}

.query-modal__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.query-modal__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy);
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 46, 0.55);
}

.review-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: min(92vh, 640px);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  overflow: hidden;
}

.review-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.review-modal__top {
  flex-shrink: 0;
  padding: 1.35rem 1.35rem 0.5rem;
}

.review-modal__top h3 {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  padding-right: 1.5rem;
}

.review-modal__lead {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.review-form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.review-form__body {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem 1.35rem 0.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.review-form__footer {
  flex-shrink: 0;
  padding: 0.75rem 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.review-form label {
  display: grid;
  gap: 0.3rem;
}

.review-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.review-form label em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
}

.review-form input,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fbfcff;
  outline: none;
  transition: border-color 0.2s;
}

.review-form input:focus,
.review-form textarea:focus {
  border-color: var(--blue-soft);
}

.review-form textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 140px;
}

.review-form__rating {
  border: 0;
  padding: 0;
  margin: 0;
}

.review-form__rating legend {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
}

.review-stars button {
  border: 0;
  background: transparent;
  color: #d5d9e4;
  font-size: 1.45rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.1rem;
  transition: color 0.15s, transform 0.15s;
}

.review-stars button.is-active,
.review-stars button:hover {
  color: #f5c542;
}

.review-stars button:hover {
  transform: scale(1.08);
}

.review-form__status {
  min-height: 1.15em;
  font-size: 0.85rem;
  margin: 0 0 0.55rem;
}

.review-form__status[data-type="error"] {
  color: #dc2626;
}

.review-form__status[data-type="success"] {
  color: #15803d;
}

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.35rem;
  padding: 0;
}

.process-step {
  --tilt: 0deg;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.95rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 18px 40px rgba(15, 35, 90, 0.16);
  color: #fff;
  transform: rotate(var(--tilt));
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  animation: serviceCardFloat 4.4s ease-in-out infinite;
}

.process-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    115deg,
    transparent 32%,
    rgba(255, 255, 255, 0.16) 42%,
    rgba(255, 255, 255, 0.48) 50%,
    rgba(255, 255, 255, 0.16) 58%,
    transparent 68%
  );
  transform: translateX(-140%) skewX(-14deg);
  pointer-events: none;
  animation: serviceShine 5.2s ease-in-out infinite;
}

.process-step:hover {
  transform: rotate(var(--tilt)) translateY(-14px) scale(1.035);
  box-shadow: 0 28px 56px rgba(15, 35, 90, 0.28);
}

.process-step:hover::before {
  animation: serviceShine 1.1s var(--ease) 1;
}

.process-step__chrome,
.process-step__icon,
.process-step .num,
.process-step .label {
  position: relative;
  z-index: 2;
}

.process-step__chrome {
  display: flex;
  gap: 0.24rem;
  height: 7px;
  margin-bottom: 0.45rem;
}

.process-step__chrome::before,
.process-step__chrome::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.process-step__chrome::after {
  box-shadow: 10px 0 0 rgba(255, 255, 255, 0.22);
}

.process-step__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 0.15rem;
  backdrop-filter: blur(6px);
}

.process-step__icon svg {
  width: 18px;
  height: 18px;
}

.process-step .num {
  font-family: var(--display);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.process-step .label {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}

.process-step--1 {
  --tilt: -2deg;
  background: linear-gradient(150deg, #0b1f45 0%, #1e4fd6 55%, #5ec8ff 100%);
  animation-delay: -0.2s;
}

.process-step--1::before { animation-delay: -0.4s; }

.process-step--2 {
  --tilt: 2.5deg;
  background: linear-gradient(145deg, #1a2f6b 0%, #3d5cf0 55%, #7a8fff 100%);
  animation-delay: -1.6s;
  animation-direction: alternate;
}

.process-step--2::before { animation-delay: -1.8s; }

.process-step--3 {
  --tilt: -1.5deg;
  background: linear-gradient(145deg, #2a1858 0%, #6a4dff 50%, #9b8cff 100%);
  animation-delay: -2.9s;
}

.process-step--3::before { animation-delay: -0.9s; }

.process-step--4 {
  --tilt: 1.8deg;
  background: linear-gradient(160deg, #12285c 0%, #4d6ef5 50%, #86a0ff 100%);
  animation-delay: -0.7s;
  animation-direction: alternate;
}

.process-step--4::before { animation-delay: -2.4s; }

.process-step--5 {
  --tilt: -2.2deg;
  background: linear-gradient(140deg, #1c1450 0%, #5b3fd4 48%, #8f7dff 100%);
  animation-delay: -2.1s;
}

.process-step--5::before { animation-delay: -1.3s; }

.process-step--6 {
  --tilt: 1.2deg;
  background: linear-gradient(155deg, #0e2a55 0%, #2f6df0 52%, #6ecfff 100%);
  animation-delay: -1.2s;
  animation-direction: alternate;
}

.process-step--6::before { animation-delay: -3.1s; }

.process-step--7 {
  --tilt: -1deg;
  background: linear-gradient(148deg, #261060 0%, #7a5af8 50%, #b4a6ff 100%);
  animation-delay: -2.6s;
  grid-column: 1 / -1;
  max-width: 220px;
  justify-self: center;
}

.process-step--7::before { animation-delay: -0.6s; }

@keyframes processFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@media (min-width: 900px) {
  .midstrip__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.75rem;
  }
}

@media (min-width: 1100px) {
  .process__steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-step--7 {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-window,
  .client-window::before,
  .client-window__orb,
  .price-card__orb,
  .process-step,
  .process-step::before,
  .service-card,
  .service-card__badge,
  .service-card__media img,
  .service-card__media::before,
  .service-card .link-more span {
    animation: none;
  }
}

/* ========== Pricing ========== */
.pricing {
  background: transparent;
}

.pricing__grid {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
  padding-top: 14px;
}

.price-card {
  position: relative;
  background: linear-gradient(150deg, #0b1f45 0%, #1e4fd6 55%, #5ec8ff 100%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  padding: 2rem 1.5rem 1.75rem;
  color: #fff;
  box-shadow: 0 18px 40px rgba(15, 35, 90, 0.16);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.price-card > *:not(.price-card__orb-wrap):not(.badge) {
  position: relative;
  z-index: 2;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 35, 90, 0.22);
}

.pricing__grid .price-card:nth-child(3) {
  background: linear-gradient(145deg, #1a2f6b 0%, #3d5cf0 55%, #7a8fff 100%);
}

.price-card--featured {
  background: linear-gradient(145deg, #24145a 0%, #5b3fd4 42%, #6b8cff 100%);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 28px 60px rgba(45, 30, 120, 0.28);
}

.price-card__orb-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.price-card__orb {
  position: absolute;
  right: -10%;
  top: 22%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #c9d4ff 22%, #8b7cff 48%, #5b3fd4 72%, #2a1858 100%);
  box-shadow:
    0 18px 40px rgba(20, 10, 60, 0.35),
    inset -10px -14px 28px rgba(42, 24, 88, 0.35),
    inset 8px 10px 22px rgba(255, 255, 255, 0.35);
  opacity: 0.92;
  animation: clientOrb 9s ease-in-out infinite;
}

.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: #f5c542;
  color: #1a1400;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

.price-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.price {
  font-family: var(--display);
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--navy);
  margin-bottom: 1.35rem;
  line-height: 1;
}

.price span {
  font-size: 1.35rem;
  vertical-align: super;
  margin-right: 0.1rem;
}

.price small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 0.25rem;
  letter-spacing: 0;
}

.price-card ul {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.price-card li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.88);
}

.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.price-card .btn--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.price-card .btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.price-card .btn--gradient {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(20, 10, 60, 0.22);
}

.price-card .btn--gradient:hover {
  box-shadow: 0 16px 36px rgba(20, 10, 60, 0.32);
}

@media (min-width: 900px) {
  .pricing__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }

  .price-card--featured {
    transform: scale(1.04);
    z-index: 1;
  }

  .price-card--featured:hover {
    transform: scale(1.04) translateY(-6px);
  }
}

/* ========== CTA ========== */
.cta {
  background:
    radial-gradient(ellipse 45% 90% at 100% 50%, rgba(167, 139, 250, 0.35), transparent 55%),
    var(--grad-cta);
  color: var(--white);
  padding: 3.75rem 0;
}

.cta__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
  justify-content: space-between;
}

.cta__text h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.cta__text p {
  opacity: 0.85;
  font-size: 1.05rem;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

.cta__contact a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .cta__inner {
    flex-direction: row;
    align-items: center;
  }

  .cta__actions {
    align-items: flex-end;
  }

  .cta__contact {
    align-items: flex-end;
  }
}

/* ========== Footer ========== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}

.footer__brand p {
  margin: 1rem 0 1.25rem;
  font-size: 0.92rem;
  max-width: 16rem;
  line-height: 1.65;
}

.socials {
  display: flex;
  gap: 0.55rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: background 0.25s, transform 0.25s;
}

.socials a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.footer ul {
  display: grid;
  gap: 0.55rem;
}

.footer li,
.footer a {
  font-size: 0.9rem;
}

.footer a:hover {
  color: var(--blue-soft);
}

.footer__meta {
  padding: 0.85rem 0 0.35rem;
  text-align: left;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__powered {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer__powered-logo {
  height: 2.1rem;
  width: auto;
  display: block;
  border-radius: 4px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  }
}

/* ========== Scroll reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  z-index: 1200;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.chatbot__actions .chatbot__action {
  font: inherit;
  cursor: pointer;
}

/* ========== Chatbot ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot {
  position: fixed;
  right: 1.15rem;
  left: auto;
  bottom: 1.15rem;
  z-index: 1100;
  font-family: var(--font);
  animation: chatbotPeekRight 7s ease-in-out infinite;
  will-change: transform;
}

.chatbot:hover,
.chatbot.is-open,
.chatbot.is-placed,
.chatbot.is-dragging {
  animation: none;
  transform: translateX(0);
}

.chatbot.is-placed,
.chatbot.is-dragging {
  will-change: left, top;
}

.chatbot.is-returning {
  transition: left 0.5s var(--ease), top 0.5s var(--ease);
}

.chatbot.is-left .chatbot__panel {
  right: auto;
  left: 0;
}

.chatbot.is-panel-below .chatbot__panel {
  bottom: auto;
  top: calc(112px + 0.75rem);
}

@keyframes chatbotPeekRight {
  /* 5s visible, then 2s off-screen, then show again */
  0%,
  71.428% {
    transform: translateX(0);
  }
  77.143%,
  94.286% {
    transform: translateX(calc(100% + 1.5rem));
  }
  100% {
    transform: translateX(0);
  }
}

.chatbot__launcher {
  width: 112px;
  height: 112px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-shadow: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
  filter: drop-shadow(0 10px 20px rgba(15, 35, 90, 0.28));
  transition: transform 0.25s var(--ease), filter 0.25s;
  cursor: grab;
  touch-action: none;
}

.chatbot.is-dragging .chatbot__launcher {
  cursor: grabbing;
  transition: none;
}

.chatbot__launcher:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 14px 24px rgba(15, 35, 90, 0.36));
}

.chatbot__bot {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  pointer-events: none;
  animation: chatbotBotBob 2.8s ease-in-out infinite;
}

.chatbot__close-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(77, 110, 245, 0.4);
}

.chatbot__launcher-icon {
  position: absolute;
  display: grid;
  place-items: center;
  transition: opacity 0.2s, transform 0.2s;
}

.chatbot__launcher-icon--close {
  opacity: 0;
  transform: scale(0.6) rotate(-40deg);
}

.chatbot.is-open .chatbot__bot {
  animation: none;
}

.chatbot.is-open .chatbot__launcher-icon--open {
  opacity: 0;
  transform: scale(0.6) rotate(40deg);
}

.chatbot.is-open .chatbot__launcher-icon--close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

@keyframes chatbotBotBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.chatbot__panel {
  position: absolute;
  right: 0;
  left: auto;
  bottom: calc(112px + 0.75rem);
  width: min(100vw - 1.5rem, 360px);
  height: min(70vh, 520px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.chatbot.is-open .chatbot__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #132b5e, #4d6ef5);
  color: #fff;
  flex-shrink: 0;
}

.chatbot__avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-family: var(--display);
}

.chatbot__header strong {
  display: block;
  font-size: 0.95rem;
}

.chatbot__header span {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: #f7f9ff;
  -webkit-overflow-scrolling: touch;
}

.chatbot__msg {
  display: flex;
  flex-direction: column;
  max-width: 88%;
}

.chatbot__msg--bot {
  align-self: flex-start;
}

.chatbot__msg--user {
  align-self: flex-end;
}

.chatbot__bubble {
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.45;
  box-shadow: 0 4px 14px rgba(15, 35, 90, 0.05);
}

.chatbot__msg--bot .chatbot__bubble {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}

.chatbot__msg--user .chatbot__bubble {
  background: var(--grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.chatbot__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.chatbot__action {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef1ff;
  color: var(--blue);
  border: 1px solid #d9deff;
  cursor: pointer;
  font-family: inherit;
}

.chatbot__action:hover {
  background: #e4e8ff;
}

.chatbot__msg--typing .chatbot__bubble {
  display: flex;
  gap: 0.28rem;
  align-items: center;
  padding: 0.85rem 1rem;
}

.chatbot__msg--typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9aa6c4;
  animation: chatbot-dot 1s infinite ease-in-out;
}

.chatbot__msg--typing span:nth-child(2) { animation-delay: 0.15s; }
.chatbot__msg--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes chatbot-dot {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.chatbot__suggestions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.55rem 0.85rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}

.chatbot__suggestions button {
  flex-shrink: 0;
  border: 1px solid #d9deff;
  background: #f4f6ff;
  color: var(--navy);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 650;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}

.chatbot__suggestions button:hover {
  background: #eef1ff;
  border-color: var(--blue-soft);
}

.chatbot__form {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
  background: var(--white);
  flex-shrink: 0;
}

.chatbot__form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #fbfcff;
}

.chatbot__form input:focus {
  border-color: var(--blue-soft);
}

.chatbot__form button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.chatbot__form button:hover {
  transform: scale(1.04);
}

@media (max-width: 480px) {
  .chatbot {
    right: 0.85rem;
    left: auto;
    bottom: 0.85rem;
  }

  .chatbot__panel {
    width: calc(100vw - 1.4rem);
    height: min(72vh, 540px);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .chatbot {
    animation: none !important;
    transform: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
