/* Service 1 Premium Redesign */
:root {
  --s1-bg: #0d171b;
  --s1-bg-soft: #12222a;
  --s1-surface: rgba(255, 255, 255, 0.06);
  --s1-surface-strong: rgba(255, 255, 255, 0.1);
  --s1-stroke: rgba(255, 255, 255, 0.16);
  --s1-text: #e8f1f4;
  --s1-muted: rgba(232, 241, 244, 0.74);
  --s1-accent: #00a1b6;
  --s1-accent-2: #83d2dc;
  --s1-gold: #ba8c78;
  --s1-radius: 22px;
  --s1-shadow: 0 24px 70px rgba(5, 12, 15, 0.38);
}

.s1-page {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(120% 80% at 80% 5%, rgba(0, 161, 182, 0.2) 0%, rgba(0, 161, 182, 0) 62%),
    radial-gradient(90% 70% at 10% 25%, rgba(186, 140, 120, 0.16) 0%, rgba(186, 140, 120, 0) 60%),
    linear-gradient(145deg, #081216 0%, #0e1d24 55%, #12242d 100%);
  color: var(--s1-text);
}

.s1-page * {
  box-sizing: border-box;
}

.s1-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.s1-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 180px 0 110px;
  isolation: isolate;
}

.s1-hero::before,
.s1-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0.2px);
  pointer-events: none;
}

.s1-hero::before {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 30px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 161, 182, 0.38) 0%, rgba(0, 161, 182, 0) 68%);
  animation: s1Float 8s ease-in-out infinite;
}

.s1-hero::after {
  width: 420px;
  height: 420px;
  left: -110px;
  bottom: -120px;
  background: radial-gradient(circle at 65% 40%, rgba(186, 140, 120, 0.22) 0%, rgba(186, 140, 120, 0) 70%);
  animation: s1Float 10s ease-in-out infinite reverse;
}

.s1-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.s1-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.8px;
  color: var(--s1-accent-2);
  margin-bottom: 22px;
}

.s1-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--s1-accent-2);
}

.s1-hero h1 {
  font-size: clamp(34px, 4vw, 66px);
  line-height: 1.04;
  letter-spacing: -1.6px;
  margin: 0 0 20px;
  color: #f7fdff;
  text-wrap: balance;
}

.s1-hero h1 span {
  color: var(--s1-accent);
}

.s1-lead {
  margin: 0;
  max-width: 620px;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.7;
  color: var(--s1-muted);
}

.s1-hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.s1-btn,
.s1-btn-alt {
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.s1-btn {
  color: #ffffff;
  background: linear-gradient(120deg, #00a1b6 0%, #1fc1d3 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 15px 26px;
  box-shadow: 0 14px 36px rgba(0, 161, 182, 0.35);
}

.s1-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 161, 182, 0.44);
}

.s1-btn-alt {
  color: var(--s1-text);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  padding: 15px 24px;
}

.s1-btn-alt:hover {
  color: #ffffff;
  border-color: rgba(0, 161, 182, 0.6);
  background: rgba(0, 161, 182, 0.16);
  transform: translateY(-2px);
}

.s1-hero-panel {
  position: relative;
  border: 1px solid var(--s1-stroke);
  border-radius: var(--s1-radius);
  padding: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(12px);
  box-shadow: var(--s1-shadow);
  overflow: hidden;
}

.s1-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(131, 210, 220, 0.18), rgba(131, 210, 220, 0));
  pointer-events: none;
}

.s1-hero-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #f2fcff;
}

.s1-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.s1-metric {
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: rgba(7, 20, 24, 0.5);
}

.s1-metric strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--s1-accent-2);
}

.s1-metric span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--s1-muted);
}

.s1-dynamic-line {
  margin: 36px 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 161, 182, 0), rgba(0, 161, 182, 0.8), rgba(0, 161, 182, 0));
  position: relative;
  overflow: hidden;
}

.s1-dynamic-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -140px;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  animation: s1Scan 4.5s linear infinite;
}

.s1-section {
  padding: 84px 0;
  position: relative;
}

.s1-section + .s1-section {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.s1-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 34px;
}

.s1-kicker {
  color: var(--s1-accent-2);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.s1-section h2 {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.14;
  letter-spacing: -1px;
}

.s1-section-intro {
  margin: 0;
  max-width: 540px;
  color: var(--s1-muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.s1-card {
  position: relative;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.s1-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 161, 182, 0.5);
  background: linear-gradient(145deg, rgba(0, 161, 182, 0.16), rgba(255, 255, 255, 0.03));
  box-shadow: 0 16px 34px rgba(5, 15, 21, 0.35);
}

.s1-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(0, 161, 182, 0.32), rgba(131, 210, 220, 0.14));
  border: 1px solid rgba(131, 210, 220, 0.42);
}

.s1-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.s1-card p {
  margin: 0;
  color: var(--s1-muted);
  line-height: 1.65;
  font-size: 15px;
}

.s1-list {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.s1-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--s1-muted);
  font-size: 14px;
  line-height: 1.5;
}

.s1-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s1-accent);
  box-shadow: 0 0 0 3px rgba(0, 161, 182, 0.2);
}

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

.s1-step {
  padding: 22px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
}

.s1-step span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--s1-accent-2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.s1-step h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.s1-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--s1-muted);
}

.s1-impact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.s1-impact-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  padding: 24px;
}

.s1-impact-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.s1-impact-card p {
  margin: 0;
  color: var(--s1-muted);
  line-height: 1.7;
}

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

.s1-value {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(165deg, rgba(0, 161, 182, 0.12), rgba(255, 255, 255, 0.03));
}

.s1-value h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.s1-value p {
  margin: 0;
  color: var(--s1-muted);
  line-height: 1.65;
}

.s1-cta {
  padding: 90px 0 120px;
}

.s1-cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(131, 210, 220, 0.4);
  background: linear-gradient(130deg, rgba(0, 161, 182, 0.35), rgba(11, 33, 40, 0.88));
  padding: clamp(30px, 4vw, 52px);
  box-shadow: 0 24px 60px rgba(0, 161, 182, 0.22);
}

.s1-cta-box::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -180px;
  top: -180px;
  background: radial-gradient(circle, rgba(131, 210, 220, 0.35), rgba(131, 210, 220, 0));
}

.s1-cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.1;
}

.s1-cta-box p {
  margin: 0;
  max-width: 760px;
  color: rgba(240, 250, 252, 0.9);
  line-height: 1.7;
}

.s1-cta-actions {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.s1-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

@keyframes s1Scan {
  from { left: -140px; }
  to { left: calc(100% + 140px); }
}

@media (max-width: 1120px) {
  .s1-grid,
  .s1-cards,
  .s1-steps,
  .s1-impact,
  .s1-value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .s1-grid {
    align-items: start;
  }
}

@media (max-width: 820px) {
  .s1-page {
    background:
      radial-gradient(90% 60% at 75% 5%, rgba(0, 161, 182, 0.22) 0%, rgba(0, 161, 182, 0) 70%),
      linear-gradient(165deg, #091419 0%, #112028 100%);
  }

  .s1-container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .s1-hero {
    padding-top: 150px;
    min-height: auto;
  }

  .s1-grid,
  .s1-cards,
  .s1-steps,
  .s1-impact,
  .s1-value-grid,
  .s1-metrics {
    grid-template-columns: 1fr;
  }

  .s1-section {
    padding: 70px 0;
  }

  .s1-section-head {
    align-items: flex-start;
  }

  .s1-hero-actions,
  .s1-cta-actions {
    width: 100%;
  }

  .s1-btn,
  .s1-btn-alt {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s1-hero::before,
  .s1-hero::after,
  .s1-dynamic-line::after {
    animation: none;
  }

  .s1-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .s1-card,
  .s1-btn,
  .s1-btn-alt {
    transition: none;
  }
}

/* Service sections mini-list (grey/white) */
.qpps-service-section {
  padding-block: 42px;
  border-top: 1px solid rgba(0, 161, 182, 0.22);
  background: linear-gradient(145deg, rgba(0, 161, 182, 0.08), rgba(255, 255, 255, 0.98));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.qpps-service-section:nth-child(even) {
  background: linear-gradient(145deg, rgba(186, 140, 120, 0.08), rgba(255, 255, 255, 0.98));
}

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

.qpps-service-section__inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.qpps-service-section__sidebar {
  border: 1px solid rgba(0, 161, 182, 0.22);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.qpps-service-section__num {
  margin: 0 0 8px;
  font-size: 24px;
  line-height: 1;
  color: #ba8c78;
  font-weight: 700;
}

.qpps-service-section__icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 161, 182, 0.25);
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(0, 161, 182, 0.1);
  margin-bottom: 8px;
}

.qpps-service-section__icon svg {
  width: 18px;
  height: 18px;
  stroke: #00a1b6;
}

.qpps-service-section__name {
  margin: 0 0 5px;
  font-size: 20px;
  color: #1f2c35;
}

.qpps-service-section__tag {
  margin: 0;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00a1b6;
  font-weight: 600;
}

.qpps-service-section__what,
.qpps-service-section__who {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #2e3b43;
  background: #fff;
  border: 1px solid rgba(0, 161, 182, 0.2);
  border-radius: 12px;
  padding: 12px 14px 12px 30px;
  position: relative;
}

.qpps-service-section__what::before,
.qpps-service-section__who::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00a1b6;
  position: absolute;
  left: 12px;
  top: 17px;
}

.qpps-def-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 12px 0 18px;
}

.qpps-def-block {
  background: #fff;
  border: 1px solid rgba(186, 140, 120, 0.24);
  border-radius: 12px;
  padding: 12px;
}

.qpps-def-label {
  margin: 0 0 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ba8c78;
  font-weight: 600;
}

.qpps-def-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.qpps-def-list li {
  position: relative;
  margin-bottom: 7px;
  padding: 7px 10px 7px 24px;
  border-radius: 8px;
  border: 1px solid rgba(0, 161, 182, 0.16);
  background: rgba(0, 161, 182, 0.06);
  font-size: 13px;
  color: #34414a;
  animation: qppsMiniIn 0.45s ease both;
}

.qpps-def-list li:last-child {
  margin-bottom: 0;
}

.qpps-def-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ba8c78;
  position: absolute;
  left: 10px;
  top: 13px;
}

.qpps-service-section .btn-teal {
  background: #00a1b6;
  border: 1px solid #00a1b6;
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
}

.qpps-service-section .btn-teal:hover {
  background: #ba8c78;
  border-color: #ba8c78;
  color: #fff;
}

.qpps-service-section.qpps-visible .qpps-def-list li:nth-child(1) { animation-delay: 0.05s; }
.qpps-service-section.qpps-visible .qpps-def-list li:nth-child(2) { animation-delay: 0.1s; }
.qpps-service-section.qpps-visible .qpps-def-list li:nth-child(3) { animation-delay: 0.15s; }

@keyframes qppsMiniIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .qpps-service-section__inner {
    grid-template-columns: 1fr;
  }

  .qpps-def-grid {
    grid-template-columns: 1fr;
  }
}

/* Service sections UX upgrade */
.qpps-service-section {
  position: relative;
  overflow: hidden;
}

.qpps-service-section::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(186, 140, 120, 0.24), rgba(186, 140, 120, 0));
  pointer-events: none;
}

.qpps-service-section__sidebar {
  box-shadow: 0 10px 26px rgba(18, 29, 36, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.qpps-service-section:hover .qpps-service-section__sidebar {
  transform: translateY(-3px);
  border-color: rgba(0, 161, 182, 0.5);
  box-shadow: 0 15px 36px rgba(18, 29, 36, 0.11);
}

.qpps-service-section__content {
  position: relative;
}

.qpps-service-section__content::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, #00a1b6, #ba8c78);
}

.qpps-def-block {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.qpps-def-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 28, 35, 0.1);
  border-color: rgba(0, 161, 182, 0.4);
}

.qpps-def-list li {
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.qpps-def-list li:hover {
  transform: translateX(2px);
  border-color: rgba(186, 140, 120, 0.45);
  background: #fff;
}

.qpps-service-section .btn-teal {
  position: relative;
  overflow: hidden;
}

.qpps-service-section .btn-teal::before {
  content: "";
  position: absolute;
  left: -140%;
  top: 0;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
  transition: left 0.45s ease;
}

.qpps-service-section .btn-teal:hover::before {
  left: 140%;
}

/* When to call us with parallax */
.qpps-when {
  --when-x: 0px;
  --when-y: 0px;
  --when-scroll: 0;
  position: relative;
  overflow: hidden;
  padding-block: 84px;
  background: #fff;
}

.qpps-when::before,
.qpps-when::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.qpps-when::before {
  width: 360px;
  height: 360px;
  left: -120px;
  top: -120px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  transform: translate3d(calc(var(--when-x) * -0.12), calc(var(--when-y) * -0.12), 0);
}

.qpps-when::after {
  width: 460px;
  height: 460px;
  right: -180px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(186, 140, 120, 0.24), rgba(186, 140, 120, 0));
  transform: translate3d(calc(var(--when-x) * 0.08), calc(var(--when-y) * 0.08), 0);
}

.qpps-when .container {
  position: relative;
  z-index: 2;
}

.qpps-when__label {
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #00a1b6;
}

.qpps-when__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.qpps-when__pill {
  --pill-shift: -0.7px;
  border-radius: 12px;
  border: 1px solid rgba(0, 161, 182, 0.3);
  background: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 14px 14px 12px;
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  transform: translate3d(0, calc(var(--when-scroll) * var(--pill-shift)), 0);
}

.qpps-when__pill:hover {
  border-color: #00a1b6;
  background: #fff;
}

.qpps-when__pill-trigger {
  display: block;
  color: #00a1b6;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 6px;
}

.qpps-when__pill-service {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00a1b6;
  opacity: 0.95;
}

.qpps-when__pill-service::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00a1b6;
  margin-right: 7px;
}

.qpps-when__pill:nth-child(odd) {
  --pill-shift: -1.1px;
}

.qpps-when__pill:nth-child(3n) {
  --pill-shift: -1.35px;
}

@media (max-width: 980px) {
  .qpps-when__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .qpps-service-section__content::before {
    display: none;
  }

  .qpps-when__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qpps-service-section__sidebar,
  .qpps-def-block,
  .qpps-def-list li,
  .qpps-when::before,
  .qpps-when::after,
  .qpps-when__pill {
    transition: none;
    transform: none;
  }
}

/* Services selection table */
.qpps-service-selector {
  padding: 64px 0 78px;
  background: linear-gradient(180deg, rgba(0, 161, 182, 0.06), #fff 32%);
}

.qpps-service-selector__head {
  margin-bottom: 18px;
}

.qpps-service-selector__head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 2.8vw, 42px);
  color: #1f3130;
}

.qpps-service-selector__head p {
  margin: 0;
  color: #3c4f56;
  max-width: 760px;
}

.qpps-service-table-wrap {
  border: 1px solid rgba(0, 161, 182, 0.24);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(12, 26, 31, 0.08);
}

.qpps-service-table {
  width: 100%;
  border-collapse: collapse;
}

.qpps-service-table thead th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #00a1b6, #ba8c78);
  padding: 13px 16px;
}

.qpps-service-table tbody td {
  border-top: 1px solid rgba(0, 161, 182, 0.14);
  padding: 13px 16px;
  vertical-align: top;
  color: #2f4249;
  font-size: 14px;
}

.qpps-service-table tbody tr {
  transition: background 0.24s ease;
}

.qpps-service-table tbody tr:hover {
  background: rgba(0, 161, 182, 0.08);
}

.qpps-service-row.is-active {
  background: linear-gradient(90deg, rgba(0, 161, 182, 0.12), rgba(186, 140, 120, 0.12));
}

.qpps-service-table td strong {
  display: block;
  font-size: 16px;
  color: #1f3130;
}

.qpps-service-table td span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #00a1b6;
  margin-top: 2px;
}

.qpps-service-pick {
  border: 1px solid #00a1b6;
  background: #fff;
  color: #00a1b6;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.qpps-service-row.is-active .qpps-service-pick,
.qpps-service-pick:hover {
  background: #00a1b6;
  color: #fff;
  border-color: #00a1b6;
}

.qpps-service-detail-wrap {
  margin-top: 16px;
}

.qpps-service-detail {
  display: none;
  border: 1px solid rgba(186, 140, 120, 0.28);
  border-radius: 14px;
  background: #fff;
  padding: 20px 20px 18px;
  animation: qppsServiceDetailIn 0.28s ease;
}

.qpps-service-detail.is-active {
  display: block;
}

.qpps-service-detail h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #1f3130;
}

.qpps-service-detail p {
  margin: 0 0 10px;
  color: #32454c;
}

.qpps-service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 14px 0 18px;
}

.qpps-service-detail-grid > div {
  border: 1px solid rgba(0, 161, 182, 0.22);
  border-radius: 10px;
  padding: 12px;
  background: rgba(0, 161, 182, 0.05);
}

.qpps-service-detail-grid h4 {
  margin: 0 0 8px;
  color: #ba8c78;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
}

.qpps-service-detail-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.qpps-service-detail-grid li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 7px;
  color: #2f4249;
  font-size: 14px;
}

.qpps-service-detail-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00a1b6;
}

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

@media (max-width: 960px) {
  .qpps-service-table thead {
    display: none;
  }

  .qpps-service-table,
  .qpps-service-table tbody,
  .qpps-service-table tr,
  .qpps-service-table td {
    display: block;
    width: 100%;
  }

  .qpps-service-table tr {
    border-top: 1px solid rgba(0, 161, 182, 0.18);
    padding: 8px 0;
  }

  .qpps-service-table td {
    border: 0;
    padding: 6px 14px;
  }

  .qpps-service-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* 5 services as premium bubbles (3 concepts) */
.qpps-bubbles {
  --bubble-mx: 0;
  --bubble-my: 0;
  padding: 80px 0 96px;
  background:
    radial-gradient(110% 80% at 10% 5%, rgba(0, 161, 182, 0.08) 0%, rgba(0, 161, 182, 0) 62%),
    radial-gradient(120% 90% at 100% 100%, rgba(31, 49, 48, 0.08) 0%, rgba(31, 49, 48, 0) 66%),
    linear-gradient(180deg, #f7f9fb 0%, #eef2f4 100%);
}

.qpps-bubbles__head {
  text-align: center;
  margin-bottom: 24px;
}

.qpps-bubbles__head h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 3vw, 46px);
  color: #1f3130;
}

.qpps-bubbles__head p {
  margin: 0 auto;
  max-width: 780px;
  color: #3b4d55;
}

.qpps-bubbles__variants {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.qpps-variant-btn {
  border: 1px solid rgba(0, 161, 182, 0.3);
  background: #fff;
  color: #00a1b6;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 700;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.qpps-variant-btn.is-active,
.qpps-variant-btn:hover {
  background: linear-gradient(90deg, #00a1b6, #ba8c78);
  color: #fff;
  border-color: transparent;
}

.qpps-bubble-layout {
  display: none;
  position: relative;
  min-height: 360px;
  padding: 14px 8px;
}

.qpps-bubble-layout.is-active {
  display: grid;
}

.qpps-bubble-layout[data-variant="1"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}

.qpps-bubble-layout--organic {
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  min-height: 420px;
}

.qpps-bubble-layout--hub {
  min-height: 460px;
}

.qpps-bubble {
  --float-x: 0px;
  --float-y: 0px;
  --base-transform: translate3d(calc(var(--bubble-mx) * var(--float-x)), calc(var(--bubble-my) * var(--float-y)), 0);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(0, 161, 182, 0.86);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.02) 48%, rgba(0, 0, 0, 0.06) 100%),
    #00a1b6;
  box-shadow:
    0 14px 34px rgba(0, 161, 182, 0.34),
    inset 0 -10px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  text-decoration: none;
  padding: 12px;
  position: relative;
  overflow: hidden;
  transform: var(--base-transform);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  animation: qppsBubbleFloat 5.6s ease-in-out infinite;
}

.qpps-bubble::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(0, 161, 182, 0.5), rgba(186, 140, 120, 0.5));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.qpps-bubble::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 50%;
  background: transparent;
  z-index: 0;
}

.qpps-bubble > * {
  position: relative;
  z-index: 1;
}

.qpps-bubble:hover,
.qpps-bubble.is-active {
  transform: var(--base-transform) scale(1.05);
  box-shadow:
    0 20px 48px rgba(0, 161, 182, 0.24),
    0 0 40px rgba(0, 161, 182, 0.2),
    inset 0 -8px 24px rgba(186, 140, 120, 0.12);
  border-color: rgba(186, 140, 120, 0.64);
}

.qpps-bubble:hover::before,
.qpps-bubble.is-active::before {
  opacity: 1;
}

.qpps-bubble__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 19px;
  background: rgba(255, 255, 255, 0.16);
}

.qpps-bubble__label {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
}

.qpps-bubble--float-1 { --float-x: 7px; --float-y: 6px; animation-delay: 0s; }
.qpps-bubble--float-2 { --float-x: -8px; --float-y: 6px; animation-delay: 0.35s; }
.qpps-bubble--float-3 { --float-x: 5px; --float-y: -7px; animation-delay: 0.7s; }
.qpps-bubble--float-4 { --float-x: -6px; --float-y: -5px; animation-delay: 1.05s; }
.qpps-bubble--float-5 { --float-x: 9px; --float-y: 5px; animation-delay: 1.4s; }

.qpps-bubble-layout[data-variant="1"] .qpps-bubble {
  justify-self: center;
}

.qpps-bubble-layout--organic .qpps-bubble:nth-of-type(1) { grid-column: 2 / span 2; grid-row: 2; }
.qpps-bubble-layout--organic .qpps-bubble:nth-of-type(2) { grid-column: 4 / span 2; grid-row: 1; }
.qpps-bubble-layout--organic .qpps-bubble:nth-of-type(3) { grid-column: 6 / span 2; grid-row: 3; }
.qpps-bubble-layout--organic .qpps-bubble:nth-of-type(4) { grid-column: 8 / span 2; grid-row: 1; }
.qpps-bubble-layout--organic .qpps-bubble:nth-of-type(5) { grid-column: 10 / span 2; grid-row: 2; }

.qpps-link-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 161, 182, 0), rgba(0, 161, 182, 0.58), rgba(186, 140, 120, 0));
  transform-origin: left center;
}

.qpps-link-line--1 { width: 210px; left: 20%; top: 46%; transform: rotate(-16deg); }
.qpps-link-line--2 { width: 210px; left: 35%; top: 34%; transform: rotate(18deg); }
.qpps-link-line--3 { width: 210px; left: 48%; top: 49%; transform: rotate(-12deg); }
.qpps-link-line--4 { width: 210px; left: 60%; top: 33%; transform: rotate(15deg); }

.qpps-bubble-layout--hub .qpps-bubble {
  position: absolute;
}

.qpps-bubble--center { top: 50%; left: 50%; --base-transform: translate(-50%, -50%); }
.qpps-bubble--top { top: 6%; left: 50%; --base-transform: translateX(-50%); }
.qpps-bubble--right { top: 50%; right: 12%; --base-transform: translateY(-50%); }
.qpps-bubble--bottom { bottom: 6%; left: 50%; --base-transform: translateX(-50%); }
.qpps-bubble--left { top: 50%; left: 12%; --base-transform: translateY(-50%); }

.qpps-bubbles__seo {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@keyframes qppsBubbleFloat {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}

@media (max-width: 1200px) {
  .qpps-bubble {
    width: 150px;
    height: 150px;
  }

  .qpps-bubble-layout[data-variant="1"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }

  .qpps-bubble-layout[data-variant="1"] .qpps-bubble:nth-child(4) {
    grid-column: 1 / span 2;
    justify-self: end;
  }

  .qpps-bubble-layout[data-variant="1"] .qpps-bubble:nth-child(5) {
    grid-column: 2 / span 2;
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .qpps-bubble-layout--organic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    gap: 14px;
  }

  .qpps-link-line {
    display: none;
  }

  .qpps-bubble-layout--organic .qpps-bubble {
    grid-column: auto !important;
    grid-row: auto !important;
    justify-self: center;
  }

  .qpps-bubble-layout--hub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    min-height: auto;
  }

  .qpps-bubble-layout--hub .qpps-bubble {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none !important;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .qpps-bubble-layout[data-variant="1"],
  .qpps-bubble-layout--organic,
  .qpps-bubble-layout--hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .qpps-bubble {
    width: 136px;
    height: 136px;
  }

  .qpps-bubble__label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qpps-bubble {
    animation: none;
    transition: none;
    transform: none !important;
  }
}
