/* ===== Reset básico / layout general ===== */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  border: 20px solid #ffffff;
  font-family: "Poppins", sans-serif;
  background-color: #f6f6f6;
  color: #0f0f0f;
}

a {
  color: #0f0f0f;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Contenedor interno para compensar el borde blanco */
.page-frame {
  min-height: 100vh;
}

/* Navbar */

.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.navbar-profile {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* ===== Hero ===== */

.hero-section {
  position: relative;
  padding-top: 7rem; /* por la navbar */
  padding-bottom: 4rem;
  overflow: hidden;
}

/* contenedor de la spline como fondo */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.8;
}

/* el viewer ocupa todo el fondo */
.hero-bg spline-viewer {
  width: 100%;
  height: 100%;
}

/* contenido por encima */
.hero-content {
  position: relative;
  z-index: 1;
}

/* Opcional: dar fondo blanco suave al bloque de texto */
.hero-copy {
  max-width: 780px;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
}
.script{
  font-size: 18px;
}
#hello-emoji {
  font-size: 24px;
  margin-left: 0.3rem;
}
.hero-hello{
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: 2.6rem;
  line-height: 1.3;
  color: #111;
  margin-bottom: 1.5rem;
}

.hero-title .gradient-back {
  display: inline-block;
  border-radius: 999px;
  padding: 0.15em 0.35em;
  margin: 0 0.15em;
}

.gradient-back {
  background: linear-gradient(
    90deg,
    rgba(255, 155, 251, 1) 0%,
    rgba(130, 208, 255, 1) 100%
  );
}

.gradient-back > span {
  background: linear-gradient(
    90deg,
    rgba(255, 155, 251, 1) 0%,
    rgba(130, 208, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text {
  font-weight: 700;
  background: linear-gradient(
    90deg,
    rgba(255, 155, 251, 1) 0%,
    rgba(130, 208, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.5rem;
}

.hero-subtitle.small {
  font-size: 0.9rem;
  color: #666;
}

/* Visual de hero */

.hero-visual-wrapper {
  border-radius: 20px;
  overflow: hidden;
  background-color: #111;
  backdrop-filter: blur(120px);
  border: 1px solid #222;
  min-height: 260px;
}

.spline-hero {
  width: 100%;
  height: 100%;
  min-height: 260px;
}

/* ===== Secciones genéricas ===== */

.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #888;
  margin-bottom: 0.25rem;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
}

.section-helper {
  font-size: 0.9rem;
  color: #666;
}

/* ===== Proyectos ===== */

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.project-link {
  display: block;
  height: 100%;
  position: relative;
}

.project-image {
  display: block;
  width: 100%;
  height: auto;
}

.project-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
}

.project-description {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.project-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* overlay.css seguirá controlando el efecto hover */

/* ===== Process / Approach ===== */

.process-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.process-copy {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Contacto ===== */

.contact-section {
  background-color: #1e1e1e;
  color: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.contact-section .section-title {
  color: #ffffff;
}


.mail {
  display: inline-block;
  color: #d8d8d8;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.mail:hover {
  color: #ffffff;
}

.handcraft {
  font-size: 0.75rem;
  color: #afafaf;
  margin-top: 0.75rem;
}

.social-box {
  background-color: #2a2a2a;
  border-radius: 16px;
  height: 80px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.social-box:hover {
  transform: translateY(-4px);
  background-color: #333333;
}

.social-icon {
  max-width: 32px;
  height: auto;
}

.location{
  font-size: .9rem;
  text-transform:uppercase;
  font-weight: 600;
  color: #c9c9c9;
  margin-bottom: 1.5rem;

}

/* ===== Utilidades ===== */

.padding-social {
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Responsive ===== */

@media (min-width: 576px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-visual-wrapper {
    min-height: 320px;
  }

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

@media (min-width: 992px) {
  .hero-title {
    font-size: 3.1rem;
  }

  .navbar {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

@media (min-width: 1200px) {
  .navbar {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* About hero image - smaller size */
.about-hero .hero-photo {
  max-width: 80%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .about-hero .hero-photo {
    max-width: 70%;
  }
}

/* =========================================
   CASE STUDY TEMPLATE
   ========================================= */

.case-hero {
  padding-top: 8rem; /* navbar offset */
  padding-bottom: 2rem;
}

.case-kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #777;
  margin-bottom: 0.6rem;
}

.case-title {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 0.8rem;
  color: #111;
  font-weight: 700;
}

.case-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.6rem;
}

.case-summary {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #555;
  max-width: 60ch;
}

.case-hero-visual {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.06);
}

.case-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* mini TOC pills */
.case-toc .toc-pill {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
  color: #111;
}

.case-toc .toc-pill:hover {
  background: rgba(255,255,255,1);
}

/* Snapshot card */
.case-snapshot {
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.05);
}

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

.snapshot-item {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
}

.snapshot-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #777;
  margin-bottom: 0.25rem;
}

.snapshot-value {
  font-size: 1rem;
  color: #111;
  line-height: 1.4;
}

/* Impact cards */
.case-impact .impact-grid,
.impact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.impact-card {
  padding: 1.2rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
}

.impact-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #666;
  margin-bottom: 0.4rem;
}

.impact-metric {
  font-size: 1.6rem;
  font-weight: 700;
  color: #111;
  line-height: 1.1;
}

.impact-note {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.35rem;
}

/* Alternating section background */
.case-section-alt {
  background: rgba(0,0,0,0.02);
}

/* Body text */
.case-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
}

.case-h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.case-list {
  padding-left: 1.1rem;
  color: #333;
}

.case-list li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

/* Figures */
.case-figure {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 26px rgba(0,0,0,0.05);
}

.case-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.case-caption {
  font-size: 0.9rem;
  color: #666;
  padding: 0.8rem 1rem;
  margin: 0;
  background: rgba(255,255,255,0.85);
}

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

.case-table {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
}

.case-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 0.95rem;
  color: #333;
}

.case-table-head {
  border-top: none;
  background: rgba(0,0,0,0.03);
  font-weight: 600;
  color: #111;
}

.case-divider {
  border: none;
  height: 1px;
  background: rgba(0,0,0,0.12);
}

.case-next {
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
}

.case-next-title {
  font-size: 1.2rem;
  font-weight: 600;
}

/* =========================================
   SERVICES PAGE
   ========================================= */

.services-hero {
  padding-top: 7rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
  background: #fbfbfb;
}

.services-hero-bg {
  filter: blur(42px);
  opacity: 0.78;
}

.services-hero-bg:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(251,251,251,0.92) 0%,
    rgba(251,251,251,0.72) 42%,
    rgba(255,255,255,0.42) 100%
  );
  pointer-events: none;
}

.services-hero-copy {
  max-width: 780px;
}

.services-greeting {
  margin-top: 1.15rem;
  margin-bottom: 1.5rem;
}

.services-hero-title {
  max-width: 780px;
}

.services-hero-copy > .hero-subtitle:not(.location) {
  max-width: 720px;
  font-size: 1.05rem;
  color: #333;
}

.service-card,
.package-card,
.process-step {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 26px rgba(0,0,0,0.05);
}

.services-intro-panel {
  padding-top: 3.2rem;
  padding-bottom: 4rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.services-purple-label {
  color: #bd68ff;
  font-weight: 700;
}

.svg-definitions {
  position: absolute;
  overflow: hidden;
  pointer-events: none;
}

.services-focus-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0;
  max-width: 720px;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(17, 17, 17, 0.48);
}

.services-focus-list li {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
}

.services-focus-list li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 0.65rem;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.logo-band-card {
  margin-top: 0;
  padding: 1.3rem 1.5rem 1.45rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.68);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 12px 32px rgba(0,0,0,0.04);
}

.logo-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.logo-band-title {
  margin: 0;
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.logo-band span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.65rem 0.6rem;
  color: #595959;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.logo-band img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;
}

.logo-blueoptima img { height: 28px; }
.logo-visibly img { height: 32px; }
.logo-hygraph img { height: 27px; }
.logo-swaptrade img { height: 26px; }
.logo-shq img { height: 30px; }

.logo-band small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.52rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
  color: #777;
}

.logo-inclan {
  font-size: 1.1rem !important;
}

.services-grid,
.package-grid,
.relevant-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card,
.process-step {
  padding: 1.25rem;
}

.service-card {
  --shadow-x: 0px;
  --shadow-y: 14px;
  --shadow-x-alt: 0px;
  --shadow-y-alt: 12px;
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  background: #fff;
  backdrop-filter: none;
  transition: transform 0.2s ease, filter 0.25s ease, border-color 0.25s ease;
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.service-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(166,154,239,0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,155,251,0.13), rgba(130,208,255,0.14));
}

.service-icon svg {
  width: 21px;
  height: 21px;
  stroke: url(#process-icon-gradient) #a778ed;
  stroke-width: 1.8;
}

.service-card .process-title {
  max-width: 22ch;
  font-size: 1.25rem;
  line-height: 1.35;
}

.service-card .process-copy {
  max-width: 58ch;
  margin-top: auto;
  margin-bottom: 0;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(202, 177, 255, 0.32);
  filter:
    drop-shadow(var(--shadow-x) var(--shadow-y) 16px rgba(255,155,251,0.24))
    drop-shadow(var(--shadow-x-alt) var(--shadow-y-alt) 14px rgba(130,208,255,0.22));
}

.service-number {
  margin-bottom: 0;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    rgba(255, 155, 251, 1) 0%,
    rgba(130, 208, 255, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-number,
.process-step-number {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #777;
}

.package-best {
  color: #666;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0.4rem 0 0;
}

.package-card {
  overflow: hidden;
  padding: 0;
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.package-card:hover,
.package-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(170, 173, 255, 0.36);
  box-shadow: 0 20px 44px rgba(85, 121, 214, 0.12);
}

.package-card:focus-visible {
  outline: 2px solid rgba(141, 114, 223, 0.6);
  outline-offset: 3px;
}

.package-visual {
  position: relative;
  isolation: isolate;
  min-height: 250px;
  overflow: hidden;
  background: #f8f8fb;
}

.package-visual::before,
.package-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.package-visual::before {
  width: 125%;
  height: 72%;
  top: -28%;
  left: -24%;
  border-radius: 34% 66% 58% 42% / 62% 38% 62% 38%;
  background: linear-gradient(125deg, #82d0ff 4%, #8c8dff 45%, #ff9bfb 100%);
  transform: rotate(-10deg);
}

.package-visual::after {
  width: 105%;
  height: 70%;
  right: -38%;
  bottom: -36%;
  border-radius: 61% 39% 34% 66% / 45% 58% 42% 55%;
  background: linear-gradient(135deg, #ff9bfb 0%, #bb75f0 46%, #82d0ff 100%);
  transform: rotate(12deg);
}

.package-copy {
  min-height: 138px;
  padding: 1.35rem 1.35rem 1.45rem;
  background: rgba(255,255,255,0.96);
}

.package-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: #111;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.package-card:hover .package-overlay,
.package-card:focus .package-overlay,
.package-card:focus-visible .package-overlay {
  opacity: 1;
  transform: translateY(0);
}

.package-includes {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 500;
}

.package-includes li::before {
  content: "-";
  margin-right: 0.55rem;
  color: #8d72df;
}

.package-card-audit .package-visual {
  background: linear-gradient(145deg, #597dff 0%, #e58cf5 52%, #f3c9ff 100%);
}

.audit-window {
  position: absolute;
  inset: 42px 38px 38px;
  padding: 3.2rem 1.25rem 1.15rem;
  border: 1px solid rgba(17,17,17,0.1);
  border-radius: 14px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 18px 38px rgba(63,67,101,0.14);
  transform: rotate(-2deg);
  z-index: 1;
}

.audit-window-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  border-bottom: 1px solid rgba(17,17,17,0.07);
}

.audit-window-bar::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 14px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff9bfb;
  box-shadow: 10px 0 #a9b6ff, 20px 0 #82d0ff;
}

.audit-line {
  display: block;
  width: 72%;
  height: 7px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #dfe1e8;
}

.audit-line-long { width: 88%; }
.audit-line-short { width: 46%; }

.audit-score {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff9bfb, #82d0ff);
}

.audit-note {
  position: absolute;
  padding: 0.48rem 0.7rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(39,41,61,0.1);
  color: #555;
  font-size: 0.68rem;
  font-weight: 600;
  z-index: 2;
}

.audit-note-one { top: 27px; right: 20px; }
.audit-note-two { bottom: 26px; left: 20px; }

.package-card-sprint .package-visual {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #3f7fff 0%, #b877f0 52%, #ff9bfb 100%);
}

.package-marquee {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  gap: 0.75rem;
  transform: rotate(-4deg) scale(1.08);
}

.package-marquee-track {
  display: flex;
  width: max-content;
  gap: 0.55rem;
  animation: package-marquee-left 18s linear infinite;
}

.package-marquee-track-mid { animation-duration: 22s; }
.package-marquee-track-slow { animation-duration: 26s; }

.package-marquee-set {
  display: flex;
  gap: 0.55rem;
}

.package-marquee-set span {
  flex: none;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 999px;
  background: rgba(255,255,255,0.64);
  box-shadow: 0 8px 20px rgba(74,76,119,0.08);
  color: rgba(17,17,17,0.68);
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

@keyframes package-marquee-left {
  to { transform: translate3d(calc(-50% - 0.275rem), 0, 0); }
}

.package-card-support .package-visual {
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #386dff 0%, #976df3 50%, #ff8ce8 100%);
}

.support-hub {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 126px;
  height: 132px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,0.38);
  border-radius: 18px;
  background: rgba(17,18,28,0.88);
  box-shadow: 0 22px 48px rgba(25,22,72,0.34);
  transform: translate(-50%, -50%) rotate(2deg);
  backdrop-filter: blur(14px);
}

.support-hub-bar,
.support-hub-line {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
}

.support-hub-bar { width: 42%; margin-bottom: 14px; }
.support-hub-line { width: 78%; margin-top: 9px; opacity: 0.62; }
.support-hub-line-short { width: 52%; }

.support-hub-chart {
  display: block;
  height: 48px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ff9bfb, #82d0ff);
}

.landing-browser {
  position: absolute;
  z-index: 2;
  top: 28px;
  right: 24px;
  bottom: 24px;
  left: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.46);
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 24px 50px rgba(31,26,82,0.28);
  transform: rotate(-2deg);
}

.landing-browser-bar {
  position: relative;
  height: 28px;
  border-bottom: 1px solid rgba(17,17,17,0.08);
  background: #f6f6f9;
}

.landing-browser-bar span,
.landing-browser-bar span::before,
.landing-browser-bar span::after {
  position: absolute;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff9bfb;
  content: "";
}

.landing-browser-bar span { left: 12px; }
.landing-browser-bar span::before { top: 0; left: 11px; background: #b995ff; }
.landing-browser-bar span::after { top: 0; left: 22px; background: #82d0ff; }

.landing-browser-body {
  position: relative;
  height: calc(100% - 28px);
  padding: 18px;
}

.landing-logo,
.landing-nav,
.landing-heading,
.landing-copy-line,
.landing-cta,
.landing-media {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.landing-logo { top: 16px; left: 18px; width: 22px; height: 8px; background: #171822; }
.landing-nav { top: 17px; right: 18px; width: 56px; height: 5px; background: #d8dae2; }
.landing-heading { top: 63px; left: 18px; width: 42%; height: 12px; background: #171822; }
.landing-heading-long { top: 44px; width: 58%; }
.landing-copy-line { top: 87px; left: 18px; width: 48%; height: 5px; background: #cfd2dc; }
.landing-copy-short { top: 98px; width: 34%; }
.landing-cta { top: 118px; left: 18px; width: 54px; height: 17px; background: linear-gradient(90deg, #ff9bfb, #82d0ff); }
.landing-media { right: 16px; bottom: 14px; width: 43%; height: 86px; border-radius: 12px; background: linear-gradient(145deg, #82d0ff, #ac7ff4 52%, #ff9bfb); }

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.process-step {
  --process-delay: 0s;
  position: relative;
  isolation: isolate;
  overflow: visible;
  background: #fff;
  backdrop-filter: none;
  animation: process-card-cycle 15s ease-in-out infinite;
  animation-delay: var(--process-delay);
}

.process-step::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  padding: 2px;
  border-radius: 21px;
  background: linear-gradient(115deg, #ff9bfb 0%, #b58aef 46%, #82d0ff 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  animation: process-border-cycle 15s ease-in-out infinite;
  animation-delay: var(--process-delay);
}

.process-step:nth-child(2) { --process-delay: 3s; }
.process-step:nth-child(3) { --process-delay: 6s; }
.process-step:nth-child(4) { --process-delay: 9s; }
.process-step:nth-child(5) { --process-delay: 12s; }

.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  margin-bottom: 1rem;
}

.process-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
}

.process-icon svg {
  width: 23px;
  height: 23px;
  stroke: url(#process-icon-gradient) #a778ed;
  color: #a778ed;
  stroke-width: 1.8;
  filter: drop-shadow(0 4px 8px rgba(148,139,236,0.18));
}

.process-step-number {
  margin: 0;
}

@keyframes process-card-cycle {
  0%, 20%, 100% {
    transform: translateY(0);
    border-color: rgba(0,0,0,0.08);
    box-shadow: 0 12px 26px rgba(0,0,0,0.05);
    filter: none;
  }
  2%, 18% {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(0,0,0,0.05);
    filter:
      drop-shadow(-8px 14px 18px rgba(255,155,251,0.36))
      drop-shadow(9px 12px 17px rgba(130,208,255,0.32));
  }
}

@keyframes process-border-cycle {
  0%, 20%, 100% { opacity: 0; }
  2%, 18% { opacity: 1; }
}

.relevant-work-grid {
  gap: 2rem;
}

.final-cta-copy {
  color: #d8d8d8;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
  margin-bottom: 0;
}

/* Responsive */
@media (min-width: 768px) {
  .services-hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
  }

  .case-title { font-size: 3.1rem; }

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

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

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

  .logo-band {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

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

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

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .service-card:nth-child(1),
  .service-card:nth-child(4) {
    grid-column: span 7;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(3) {
    grid-column: span 5;
  }

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

  .process-steps {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .services-intro-panel {
    padding-top: 2.6rem;
  }

  .services-focus-list li {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .package-marquee-track {
    animation-play-state: paused;
  }

  .package-card,
  .package-overlay {
    transition: none;
  }

  .process-step {
    animation: none;
  }

  .process-step::after {
    animation: none;
  }
}
