/**
 * Services page — matches design mockup; nav/footer unchanged (shared partials).
 */
.pub-services-page {
  background-color: #f8f9ff;
  background-image: radial-gradient(circle at center, rgba(72, 93, 145, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}

.pub-services-main {
  position: relative;
  z-index: 1;
}

.pub-services-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 24px 3rem;
  box-sizing: border-box;
}

/* Hero */
.pub-services-hero {
  margin-bottom: 4rem;
}

.pub-services-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #dce9ff;
  border: 1px solid #c5c6d0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #00061b;
  margin-bottom: 1rem;
}

.pub-services-hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #00061b;
  animation: pub-services-pulse 2s ease-in-out infinite;
}

@keyframes pub-services-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.pub-services-hero__title {
  margin: 0 0 1rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0b1c30;
}

.pub-services-hero__title span {
  color: #405c9d;
}

.pub-services-hero__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #44464f;
}

.pub-services-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.pub-services-jump a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(64, 92, 157, 0.2);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #294786;
  text-decoration: none;
}

.pub-services-jump a:hover {
  border-color: #f97316;
  color: #ea580c;
}

.pub-services-section {
  margin-bottom: 3rem;
}

.pub-services-section--featured {
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(249, 115, 22, 0.22);
  background: linear-gradient(145deg, rgba(249, 115, 22, 0.05), rgba(64, 92, 157, 0.05));
}

.pub-services-section__head {
  margin-bottom: 1.25rem;
  max-width: 40rem;
}

.pub-services-section__title {
  margin: 0 0 0.4rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #00061b;
}

.pub-services-section__lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
}

.pub-svc-card__tag--advanced {
  background: rgba(41, 71, 134, 0.92);
  color: #fff;
}

.pub-services-section .pub-services-grid {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .pub-services-hero {
    text-align: left;
  }
}

/* Service cards grid */
.pub-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 6rem;
}

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

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

.pub-svc-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 12px 28px -12px rgba(72, 93, 145, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pub-svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(72, 93, 145, 0.45);
  box-shadow: 0 20px 40px -16px rgba(72, 93, 145, 0.28);
  color: inherit;
}

.pub-svc-card--featured {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(239, 244, 255, 0.85));
}

.pub-svc-card__media {
  position: relative;
  height: 12rem;
  overflow: hidden;
  background: #dce9ff;
}

.pub-svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pub-svc-card:hover .pub-svc-card__media img {
  transform: scale(1.06);
}

.pub-svc-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 28, 78, 0.25), transparent 55%);
  pointer-events: none;
}

.pub-svc-card__tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 0.25rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(0, 6, 27, 0.75);
  backdrop-filter: blur(4px);
}

.pub-svc-card__tag--popular {
  background: #10b981;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-weight: 700;
}

.pub-svc-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.pub-svc-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.pub-svc-card__head .material-symbols-outlined {
  color: #405c9d;
  font-size: 1.35rem;
}

.pub-svc-card--featured .pub-svc-card__head .material-symbols-outlined {
  color: #f97316;
}

.pub-svc-card__title {
  margin: 0;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0b1c30;
}

.pub-svc-card__text {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #0b1c30;
  opacity: 0.88;
  flex: 1 1 auto;
}

.pub-svc-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #c5c6d0;
  background: #eff4ff;
  color: #00061b;
  transition: background 0.2s ease, color 0.2s ease;
}

.pub-svc-card:hover .pub-svc-card__btn {
  background: #00061b;
  color: #fff;
  border-color: #00061b;
}

.pub-svc-card__btn--primary {
  background: #00061b;
  color: #fff;
  border-color: #00061b;
  box-shadow: 0 8px 20px rgba(0, 6, 27, 0.2);
}

.pub-svc-card:hover .pub-svc-card__btn--primary {
  filter: brightness(1.08);
}

.pub-svc-card__btn--orange {
  background: #f97316;
  color: #fff;
  border-color: #f97316;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.pub-svc-card:hover .pub-svc-card__btn--orange {
  background: #ea580c;
  border-color: #ea580c;
}

/* Help section */
.pub-services-help {
  margin-bottom: 6rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(72, 93, 145, 0.12);
  box-shadow: 0 12px 32px -16px rgba(72, 93, 145, 0.15);
}

@media (min-width: 1024px) {
  .pub-services-help {
    padding: 3rem;
  }

  .pub-services-help__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.pub-services-help__label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.35rem;
  background: rgba(0, 6, 27, 0.08);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00061b;
}

.pub-services-help__title {
  margin: 0 0 1rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: #0b1c30;
}

.pub-services-help__text {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #0b1c30;
}

.pub-services-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pub-services-help__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.pub-services-help__btn--primary {
  background: #00061b;
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 6, 27, 0.25);
}

.pub-services-help__btn--primary:hover {
  transform: scale(1.03);
  color: #fff;
}

.pub-services-help__btn--ghost {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid #c5c6d0;
  color: #0b1c30;
}

.pub-services-help__btn--ghost:hover {
  background: #fff;
  color: #0b1c30;
}

.pub-services-help__mascot-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .pub-services-help__mascot-wrap {
    margin-top: 0;
  }
}

.pub-services-help__mascot {
  max-width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(11, 28, 48, 0.2));
}

/* Urgent block */
.pub-services-urgent {
  margin-bottom: 6rem;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #00061b;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 20px 48px rgba(0, 6, 27, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.pub-services-urgent::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: radial-gradient(circle at center, #fff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .pub-services-urgent {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.pub-services-urgent__content {
  position: relative;
  z-index: 1;
}

.pub-services-urgent__alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #f97316;
}

.pub-services-urgent__title {
  margin: 0 0 0.5rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
}

.pub-services-urgent__text {
  margin: 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #d3e4fe;
}

.pub-services-urgent__call {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.pub-services-urgent__call-label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b1c5ff;
  margin-bottom: 0.25rem;
}

.pub-services-urgent__phone {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  line-height: 1;
}

.pub-services-urgent__phone:hover {
  color: #f97316;
}

.pub-services-urgent__call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #f97316;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.4);
  transition: transform 0.2s ease;
}

.pub-services-urgent__call-btn:hover {
  transform: rotate(8deg) scale(1.05);
  color: #fff;
}

.pub-services-urgent__call-btn .material-symbols-outlined {
  font-size: 1.75rem;
}

/* App section */
.pub-services-app {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .pub-services-app {
    grid-template-columns: 1fr 1fr;
  }

  .pub-services-app__visual {
    order: 2;
  }

  .pub-services-app__copy {
    order: 1;
  }
}

.pub-services-app__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #405c9d;
  margin-bottom: 1rem;
  display: block;
}

.pub-services-app__title {
  margin: 0 0 1.25rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0b1c30;
}

.pub-services-app__text {
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #44464f;
}

.pub-services-app__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pub-services-app__store {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(197, 198, 208, 0.6);
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.pub-services-app__store:hover {
  background: #eff4ff;
  box-shadow: 0 8px 20px rgba(72, 93, 145, 0.12);
  color: inherit;
}

.pub-services-app__store small {
  display: block;
  font-size: 0.56rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #44464f;
}

.pub-services-app__store strong {
  font-size: 0.9rem;
  color: #0b1c30;
}

.pub-services-app__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(239, 244, 255, 0.9);
  border: 1px solid rgba(197, 198, 208, 0.4);
}

.pub-services-app__avatars {
  display: flex;
  padding-left: 0.5rem;
}

.pub-services-app__avatars span {
  width: 2.75rem;
  height: 2.75rem;
  margin-left: -0.65rem;
  border-radius: 999px;
  border: 3px solid #fff;
  background: #dce9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #405c9d;
}

.pub-services-app__phone-mock {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 18.5;
  border-radius: 2.5rem;
  border: 10px solid #334155;
  background: #0f172a;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(11, 28, 48, 0.25);
}

.pub-services-app__phone-mock img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-services-app__phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 1.35rem;
  background: #334155;
  border-radius: 0 0 1rem 1rem;
  z-index: 2;
}
