/* ==========================================================================
   JP Appliance - Global styles
   Theme tokens, layout, and component styles (prefixed .jp-*)
   ========================================================================== */

/* --------------------------------------------------------------------------
   :root - Color & type tokens
   -------------------------------------------------------------------------- */
:root {
  --jp-white: #ffffff;
  --jp-off-white: #f7f9fb;
  --jp-soft-gray: #e8eef5;
  --jp-border: #d5dee8;
  --jp-muted: #5a6573;
  --jp-text: #1a2332;
  --jp-accent: #2f6fed;
  --jp-accent-hover: #2459c9;
  --jp-accent-soft: rgba(47, 111, 237, 0.12);
  --jp-shadow: 0 10px 30px rgba(26, 35, 50, 0.08);
  --jp-radius: 12px;
  --jp-header-h: 72px;
  --jp-mobile-cta-h: 64px;
  --jp-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --jp-container: 1120px;
  --jp-transition: 220ms ease;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--jp-font);
  color: var(--jp-text);
  background: var(--jp-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--jp-mobile-cta-h);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--jp-accent);
  text-decoration: none;
  transition: color var(--jp-transition);
}

a:hover {
  color: var(--jp-accent-hover);
}

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

.jp-section {
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .jp-section {
    padding: 5rem 0;
  }
}

.jp-section--soft {
  background: var(--jp-off-white);
}

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

.jp-heading {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.jp-heading--xl {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.jp-heading--lg {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}

.jp-heading--md {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.jp-lead {
  font-size: 1.05rem;
  color: var(--jp-muted);
  max-width: 36rem;
  margin: 0 0 1.5rem;
}

.jp-page-message {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.jp-page-message .jp-lead {
  margin-inline: auto;
}

.jp-page-message__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.jp-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--jp-muted);
}

.jp-list li + li {
  margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   Buttons / CTAs
   -------------------------------------------------------------------------- */
.jp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--jp-transition), color var(--jp-transition),
    transform var(--jp-transition), box-shadow var(--jp-transition);
}

.jp-btn:focus-visible {
  outline: 3px solid var(--jp-accent-soft);
  outline-offset: 2px;
}

.jp-btn--primary {
  background: var(--jp-accent);
  color: var(--jp-white);
  box-shadow: 0 8px 20px rgba(47, 111, 237, 0.28);
}

.jp-btn--primary:hover {
  background: var(--jp-accent-hover);
  color: var(--jp-white);
  transform: translateY(-1px);
}

.jp-btn--ghost {
  background: transparent;
  color: var(--jp-text);
  border: 1px solid var(--jp-border);
}

.jp-btn--ghost:hover {
  border-color: var(--jp-accent);
  color: var(--jp-accent);
}

.jp-btn--on-dark {
  background: transparent;
  color: var(--jp-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.jp-btn--on-dark:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--jp-white);
  border-color: rgba(255, 255, 255, 0.7);
}

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

.jp-btn--icon {
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Header component
   -------------------------------------------------------------------------- */
.jp-header-component {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--jp-border);
}

.jp-header-component .jp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--jp-header-h);
}

.jp-header-component .jp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--jp-text);
  text-decoration: none;
  flex-shrink: 0;
}

.jp-header-component .jp-logo-mark {
  display: block;
  width: 2.75rem;
  height: auto;
  max-height: calc(var(--jp-header-h) - 1rem);
  flex-shrink: 0;
}

.jp-header-component .jp-logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  line-height: 1.05;
}

.jp-header-component .jp-logo-text {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.jp-header-component .jp-logo-text span {
  font-weight: 600;
  color: var(--jp-muted);
}

.jp-header-component .jp-logo-subtext {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--jp-muted);
  white-space: nowrap;
}

@media (min-width: 576px) {
  .jp-header-component .jp-logo-mark {
    width: 3rem;
  }

  .jp-header-component .jp-logo-text {
    font-size: 1.05rem;
  }

  .jp-header-component .jp-logo-subtext {
    font-size: 0.72rem;
  }
}

@media (min-width: 992px) {
  .jp-header-component .jp-logo-mark {
    width: 3.25rem;
  }

  .jp-header-component .jp-logo-text {
    font-size: 1.15rem;
  }

  .jp-header-component .jp-logo-subtext {
    font-size: 0.78rem;
  }
}

.jp-header-component .jp-nav-desktop {
  display: none;
}

.jp-header-component .jp-nav-list {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jp-header-component .jp-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 72px;
  padding: 0.45rem 0.55rem;
  color: var(--jp-muted);
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  transition: color var(--jp-transition), background var(--jp-transition);
}

.jp-header-component .jp-nav-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jp-header-component .jp-nav-link:hover,
.jp-header-component .jp-nav-link.is-active {
  color: var(--jp-accent);
  background: var(--jp-accent-soft);
}

.jp-header-component .jp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.jp-header-component .jp-header-call-desktop {
  display: none;
}

.jp-header-component .jp-header-call-mobile {
  background: var(--jp-accent);
  color: var(--jp-white);
}

.jp-header-component .jp-header-call-mobile:hover {
  background: var(--jp-accent-hover);
  color: var(--jp-white);
}

.jp-header-component .navbar-toggler {
  border: 1px solid var(--jp-border);
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  box-shadow: none;
}

.jp-header-component .navbar-toggler:focus {
  box-shadow: 0 0 0 3px var(--jp-accent-soft);
}

.jp-header-component .navbar-toggler-icon {
  width: 1.25rem;
  height: 1.25rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 35, 50, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.jp-header-component .jp-mobile-drawer .nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--jp-text);
  font-weight: 600;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--jp-soft-gray);
}

.jp-header-component .jp-mobile-drawer .nav-link svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jp-header-component .jp-mobile-drawer .nav-link.is-active {
  color: var(--jp-accent);
}

@media (min-width: 992px) {
  .jp-header-component .jp-nav-desktop {
    display: block;
  }

  .jp-header-component .jp-header-call-desktop {
    display: inline-flex;
  }

  .jp-header-component .jp-header-call-mobile,
  .jp-header-component .jp-mobile-toggle {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Mobile sticky call bar
   -------------------------------------------------------------------------- */
.jp-mobile-call-bar-component {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--jp-border);
  box-shadow: 0 -8px 24px rgba(26, 35, 50, 0.08);
}

@media (min-width: 768px) {
  .jp-mobile-call-bar-component {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Footer component
   -------------------------------------------------------------------------- */
.jp-footer-component {
  background: var(--jp-text);
  color: #d7dee8;
  padding: 3.5rem 0 2.5rem;
}

.jp-footer-component a {
  color: #eef3fa;
}

.jp-footer-component a:hover {
  color: var(--jp-white);
}

.jp-footer-component .jp-footer-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 768px) {
  .jp-footer-component .jp-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }
}

.jp-footer-component .jp-footer-title {
  color: var(--jp-white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.jp-footer-component .jp-footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--jp-white);
  margin-bottom: 0.75rem;
}

.jp-footer-component .jp-footer-note {
  margin: 0;
  color: #a8b3c2;
  font-size: 0.95rem;
}

.jp-footer-component .jp-footer-map,
.jp-footer-component .jp-footer-cities {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jp-footer-component .jp-footer-map li + li,
.jp-footer-component .jp-footer-cities li + li {
  margin-top: 0.45rem;
}

.jp-footer-component .jp-footer-map a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #eef3fa;
  text-decoration: none;
}

.jp-footer-component .jp-footer-map a:hover {
  color: var(--jp-white);
}

.jp-footer-component .jp-footer-map a svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: inherit;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.jp-footer-component .jp-footer-map a svg * {
  fill: none;
  stroke: inherit;
  stroke-width: inherit;
  stroke-linecap: inherit;
  stroke-linejoin: inherit;
}

.jp-footer-component .jp-footer-map a.is-active {
  color: #8eb4ff;
  text-decoration: none;
}

.jp-footer-component .jp-footer-map a.is-active span {
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.jp-footer-component .jp-footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: #8b97a8;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.jp-hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: var(--jp-white);
  overflow: hidden;
  background: #1a2332;
}

.jp-hero__media {
  position: absolute;
  inset: 0;
}

.jp-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: jp-hero-zoom 12s ease-out forwards;
}

.jp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 35, 50, 0.35) 0%,
    rgba(26, 35, 50, 0.82) 70%,
    rgba(26, 35, 50, 0.94) 100%
  );
}

.jp-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--jp-container));
  margin: 0 auto;
  padding: 5.5rem 0 3.5rem;
}

.jp-hero__brand {
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  animation: jp-fade-up 0.7s ease both;
}

.jp-hero__headline {
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  max-width: 20ch;
  animation: jp-fade-up 0.7s ease 0.08s both;
}

.jp-hero__support {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  color: #d7dee8;
  animation: jp-fade-up 0.7s ease 0.16s both;
}

.jp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: jp-fade-up 0.7s ease 0.24s both;
}

/* --------------------------------------------------------------------------
   Circular feature cards
   -------------------------------------------------------------------------- */
.jp-circular-cards-component .jp-circular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .jp-circular-cards-component .jp-circular-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

.jp-circular-cards-component .jp-circular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--jp-text);
  text-decoration: none;
  transition: color var(--jp-transition);
}

.jp-circular-cards-component .jp-circular-card:hover {
  color: var(--jp-accent);
}

.jp-circular-cards-component .jp-circular-card__media {
  width: min(100%, 160px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: inherit;
  transition: transform var(--jp-transition);
}

.jp-circular-cards-component .jp-circular-card:hover .jp-circular-card__media {
  transform: translateY(-6px);
}

.jp-circular-cards-component .jp-circular-card__icon {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: jp-circular-float 4.5s ease-in-out infinite;
  transition: filter var(--jp-transition);
  filter: drop-shadow(0 8px 18px rgba(26, 35, 50, 0.1));
}

.jp-circular-cards-component .jp-circular-card:nth-child(2) .jp-circular-card__icon {
  animation-delay: -1.1s;
}

.jp-circular-cards-component .jp-circular-card:nth-child(3) .jp-circular-card__icon {
  animation-delay: -2.2s;
}

.jp-circular-cards-component .jp-circular-card:nth-child(4) .jp-circular-card__icon {
  animation-delay: -3.3s;
}

.jp-circular-cards-component .jp-circular-card:hover .jp-circular-card__icon {
  filter: drop-shadow(0 12px 22px rgba(47, 111, 237, 0.18));
}

.jp-circular-cards-component .jp-circular-card__title {
  font-weight: 700;
  font-size: 0.95rem;
}

@keyframes jp-circular-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* --------------------------------------------------------------------------
   Section block (alternating)
   -------------------------------------------------------------------------- */
.jp-section-block-component .jp-section-block {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .jp-section-block-component .jp-section-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .jp-section-block-component .jp-section-block--flip .jp-section-block__media {
    order: 2;
  }
}

.jp-section-block-component .jp-section-block__media {
  border-radius: var(--jp-radius);
  overflow: hidden;
  background: var(--jp-soft-gray);
  min-height: 240px;
}

.jp-section-block-component .jp-section-block__media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Logo grid
   -------------------------------------------------------------------------- */
.jp-lead + .jp-logo-grid-component {
  margin-top: -0.25rem;
}

.jp-logo-grid-component .jp-logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.jp-logo-grid-component .jp-logo-grid__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 9rem;
  width: 100%;
  max-width: 11rem;
  min-width: min(9rem, 100%);
  min-height: 72px;
  padding: 0.75rem 1rem;
  background: var(--jp-off-white);
  border: 1px solid var(--jp-border);
  border-radius: 10px;
  text-align: center;
}

.jp-logo-grid-component .jp-logo-grid__name {
  font-family: var(--jp-font);
  font-size: clamp(0.85rem, 0.5vw + 0.75rem, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--jp-text);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.jp-logo-grid-component .jp-logo-note {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--jp-muted);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.jp-testimonials-component .jp-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.25rem;
}

@media (min-width: 576px) {
  .jp-testimonials-component .jp-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .jp-testimonials-component .jp-testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.jp-testimonials-component .jp-testimonial {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.35rem 1.4rem;
  background: var(--jp-off-white);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
}

.jp-section--soft .jp-testimonials-component .jp-testimonial {
  background: var(--jp-white);
}

.jp-testimonials-component .jp-testimonial__stars {
  display: flex;
  gap: 0.15rem;
  color: #e6a700;
}

.jp-testimonials-component .jp-testimonial__stars svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.jp-testimonials-component .jp-testimonial__quote {
  margin: 0;
  flex: 1;
  color: var(--jp-text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.jp-testimonials-component .jp-testimonial__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
}

.jp-testimonials-component .jp-testimonial__name {
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--jp-text);
}

.jp-testimonials-component .jp-testimonial__source {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--jp-muted);
}

/* --------------------------------------------------------------------------
   Dynamic banner
   -------------------------------------------------------------------------- */
.jp-dynamic-banner-component {
  background: linear-gradient(135deg, #1a2332 0%, #243247 55%, #1e3a6e 100%);
  color: var(--jp-white);
  border-radius: calc(var(--jp-radius) + 4px);
  padding: 2rem 1.5rem;
  box-shadow: var(--jp-shadow);
}

@media (min-width: 768px) {
  .jp-dynamic-banner-component {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2.5rem;
  }
}

.jp-dynamic-banner-component .jp-dynamic-banner__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.jp-dynamic-banner-component .jp-dynamic-banner__text {
  margin: 0;
  color: #c9d4e3;
  max-width: 36rem;
}

.jp-dynamic-banner-component .jp-btn {
  margin-top: 1.25rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .jp-dynamic-banner-component .jp-btn {
    margin-top: 0;
  }
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */
.jp-service-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .jp-service-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.jp-service-highlight {
  background: var(--jp-off-white);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  padding: 1.35rem 1.4rem;
}

.jp-service-highlight__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--jp-accent);
}

.jp-service-highlight__icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.jp-service-highlight__title {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--jp-text);
}

.jp-service-highlight__text {
  margin: 0;
  color: var(--jp-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.jp-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

@media (min-width: 576px) {
  .jp-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.jp-service-card {
  background: var(--jp-white);
  border: 1px solid var(--jp-border);
  border-radius: var(--jp-radius);
  padding: 1.25rem 1.35rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--jp-transition), transform var(--jp-transition);
}

.jp-service-card:hover {
  border-color: #b7c8ef;
  transform: translateY(-2px);
}

.jp-service-card__title {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.jp-service-card__desc {
  margin: 0;
  color: var(--jp-muted);
  font-size: 0.92rem;
  flex: 1;
}

/* --------------------------------------------------------------------------
   Service area map
   -------------------------------------------------------------------------- */
.jp-service-map {
  width: 100%;
  height: clamp(22rem, 58vw, 38rem);
  border-radius: var(--jp-radius);
  overflow: hidden;
  border: 1px solid var(--jp-border);
  background: var(--jp-soft-gray);
  box-shadow: var(--jp-shadow);
  z-index: 0;
}

.jp-map-pin {
  background: transparent;
  border: 0;
}

.jp-map-pin__dot {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--jp-accent);
  border: 3px solid var(--jp-white);
  box-shadow: 0 2px 8px rgba(26, 35, 50, 0.28);
}

.jp-service-map .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: var(--jp-shadow);
  font-family: var(--jp-font);
}

.jp-service-map .leaflet-popup-content {
  margin: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: var(--jp-text);
}

.jp-service-map .leaflet-container a {
  color: var(--jp-accent);
}

.jp-city-list {
  columns: 1;
  gap: 2rem;
  margin: 0 0 1.5rem;
  padding-left: 1.15rem;
  color: var(--jp-muted);
}

@media (min-width: 576px) {
  .jp-city-list {
    columns: 2;
  }
}

.jp-city-list li + li {
  margin-top: 0.45rem;
}

/* --------------------------------------------------------------------------
   Contact / utility
   -------------------------------------------------------------------------- */
.jp-contact-panel {
  background: var(--jp-off-white);
  border: 1px solid var(--jp-border);
  border-radius: calc(var(--jp-radius) + 4px);
  padding: 2rem 1.5rem;
  text-align: left;
  max-width: 36rem;
}

@media (min-width: 768px) {
  .jp-contact-panel {
    padding: 2.5rem 2.75rem;
  }
}

.jp-contact-panel__main .jp-eyebrow {
  display: block;
  margin-bottom: 0.35rem;
}

.jp-contact-panel .jp-contact-phone {
  display: block;
  width: fit-content;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--jp-text);
  margin: 0 0 1.25rem;
}

.jp-contact-panel .jp-contact-phone:hover {
  color: var(--jp-accent);
}

.jp-contact-panel__meta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--jp-border);
}

.jp-hours {
  margin: 0;
  max-width: 32rem;
  color: var(--jp-muted);
  font-size: 0.98rem;
}

.jp-hours + .jp-hours {
  margin-top: 0.75rem;
}

/* --------------------------------------------------------------------------
   Motion
   -------------------------------------------------------------------------- */
@keyframes jp-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes jp-hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
