/**
 * PISC Homepage (page 1849) — Itco layout + brand design layer.
 * Scoped to front page only; does not affect service pages.
 */
/* Brand tokens: pisc-brand-tokens.css (also on service pages) */
body.page-id-1849,
body.home.page-id-1849 {
  --pisc-color-1: #122560;
  --pisc-color-2: #082ea5;
  --pisc-color-3: #e8edf8;
  --pisc-color-4: #7492e3;
  --pisc-primary: var(--pisc-color-1);
  --pisc-accent: var(--pisc-color-2);
  --pisc-surface: var(--pisc-color-3);
  --pisc-secondary: var(--pisc-color-4);
  --pisc-muted: #5c5f6a;
  --pisc-bg: #f6f5f1;
  --pisc-white: #ffffff;
  --pisc-radius: 12px;
  --pisc-shadow: 0 8px 32px rgba(18, 37, 96, 0.08);
  --pisc-shadow-hover: 0 16px 48px rgba(18, 37, 96, 0.14);
  --pisc-content: min(1140px, 92vw);
  --font-display: 'Outfit', var(--e-global-typography-primary-font-family, sans-serif);
  --font-body: 'Outfit', sans-serif;
}

/* Layout: full width, no breadcrumb clutter */
body.page-id-1849 #site-breadcumb {
  display: none !important;
}
body.page-id-1849 .site-content,
body.page-id-1849 #content,
body.page-id-1849 .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page-id-1849 .elementor-1849 {
  width: 100%;
  background: var(--pisc-bg);
}

/* Section rhythm — boxed content */
body.page-id-1849 .elementor-1849 > .e-con.e-parent > .e-con-inner {
  max-width: var(--pisc-content);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

/* ========== HERO ========== */
body.page-id-1849 .elementor-element-3367a87 {
  min-height: clamp(520px, 85vh, 720px) !important;
  position: relative;
  margin-bottom: 0 !important;
}
body.page-id-1849 .elementor-element-3367a87::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 37, 96, 0.88) 0%,
    rgba(8, 46, 165, 0.75) 50%,
    rgba(18, 37, 96, 0.82) 100%
  );
  z-index: 0;
  pointer-events: none;
}
body.page-id-1849 .elementor-element-3367a87 > .elementor-element {
  position: relative;
  z-index: 1;
}
body.page-id-1849 .elementor-element-3367a87 .elementor-heading-title {
  color: var(--pisc-white) !important;
  text-align: center;
}
body.page-id-1849 .elementor-element-3fe615d .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.15 !important;
}
body.page-id-1849 .elementor-element-a7fa341 .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 2vw, 1.5rem) !important;
  font-weight: 500 !important;
  color: color-mix(in srgb, var(--pisc-white) 85%, var(--pisc-color-4)) !important;
  margin-top: 0.5rem !important;
}
body.page-id-1849 .elementor-element-346d2d8 {
  max-width: 640px;
  margin-inline: auto !important;
}
body.page-id-1849 .elementor-element-346d2d8 p {
  color: color-mix(in srgb, var(--pisc-white) 92%, transparent) !important;
  font-size: clamp(1rem, 1.5vw, 1.125rem) !important;
  line-height: 1.7 !important;
  text-align: center;
}
body.page-id-1849 .elementor-element-7b40218 {
  margin-top: 1.5rem !important;
}
body.page-id-1849 .elementor-element-7b40218 .elementor-button {
  background: var(--pisc-accent) !important;
  color: var(--pisc-white) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.9rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 20px rgba(8, 46, 165, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.page-id-1849 .elementor-element-7b40218 .elementor-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(8, 46, 165, 0.45);
}
/* Hide broken Elementor placeholder image in hero */
body.page-id-1849 .elementor-element-3367a87 .elementor-widget-image:has(img[src*='placeholder']),
body.page-id-1849 .elementor-element-3367a87 img[src*='placeholder'] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== WHY ========== */
body.page-id-1849 .elementor-element-a2d3c93 {
  padding-block: clamp(3.5rem, 8vw, 5.5rem) !important;
  background: var(--pisc-white) !important;
}
body.page-id-1849 .elementor-element-a2d3c93 .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  color: var(--pisc-primary) !important;
  text-align: center;
  margin-bottom: 1.5rem !important;
}
body.page-id-1849 .elementor-element-6416641 {
  max-width: 780px;
  margin-inline: auto !important;
}
body.page-id-1849 .elementor-element-6416641 p {
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: var(--pisc-muted) !important;
  margin-bottom: 1.25rem !important;
}
body.page-id-1849 .elementor-element-6416641 p:last-child {
  font-weight: 600;
  color: var(--pisc-primary) !important;
  font-size: 1.125rem !important;
}

/* ========== WHAT WE DO ========== */
body.page-id-1849 .elementor-element-bc5deda {
  padding-block: clamp(3.5rem, 8vw, 5.5rem) !important;
  background: var(--pisc-surface) !important;
}
body.page-id-1849 .elementor-element-bc5deda .elementor-element-8783f7f .elementor-heading-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  color: var(--pisc-primary) !important;
  text-align: center;
}
body.page-id-1849 .elementor-element-16d7f7c {
  max-width: 640px;
  margin-inline: auto 2rem !important;
  text-align: center;
}
body.page-id-1849 .elementor-element-16d7f7c p {
  color: var(--pisc-muted) !important;
  line-height: 1.7 !important;
}

/* Icon strip — compact overview above numbered services */
body.page-id-1849 .elementor-element-27368ad {
  margin-bottom: 2rem !important;
  gap: 1rem !important;
}
body.page-id-1849 .elementor-element-27368ad .elementor-icon-box-wrapper,
body.page-id-1849 .elementor-element-27368ad a.elementor-icon-box-wrapper {
  background: var(--pisc-white);
  border: 1px solid color-mix(in srgb, var(--pisc-color-4) 35%, transparent);
  border-radius: var(--pisc-radius);
  padding: 1.25rem 0.75rem !important;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  box-sizing: border-box;
}
body.page-id-1849 .elementor-element-27368ad .elementor-icon-box-wrapper:hover {
  box-shadow: var(--pisc-shadow);
  transform: translateY(-3px);
}
body.page-id-1849 .elementor-element-27368ad .elementor-icon {
  color: var(--pisc-accent) !important;
}
body.page-id-1849 .elementor-element-27368ad .elementor-icon-box-title {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--pisc-primary) !important;
  line-height: 1.35 !important;
}

/* RR Services — numbered cards (Itco widget) */
body.page-id-1849 .service-cat-sec {
  padding: 0 !important;
  background: transparent !important;
}
body.page-id-1849 .service-cat-sec .container {
  max-width: 100% !important;
  padding: 0 !important;
}
body.page-id-1849 .service-cat-sec .row {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin: 0 !important;
}
@media (max-width: 1200px) {
  body.page-id-1849 .service-cat-sec .row {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  body.page-id-1849 .service-cat-sec .row {
    grid-template-columns: repeat(2, 1fr);
  }
}
body.page-id-1849 .service-cat-sec .col-xl-2,
body.page-id-1849 .service-cat-sec [class*='col-'] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
}
body.page-id-1849 .service-cat-sec .single-service {
  background: var(--pisc-white);
  border: 1px solid color-mix(in srgb, var(--pisc-color-4) 30%, transparent);
  border-radius: var(--pisc-radius);
  padding: 1.5rem 1rem !important;
  height: 100%;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
body.page-id-1849 .service-cat-sec .single-service:hover {
  box-shadow: var(--pisc-shadow-hover);
  transform: translateY(-4px);
  border-color: var(--pisc-accent);
}
body.page-id-1849 .service-cat-sec .service-num h3 {
  font-family: var(--font-display);
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: color-mix(in srgb, var(--pisc-accent) 35%, var(--pisc-primary)) !important;
  margin: 0 0 0.75rem !important;
  line-height: 1 !important;
}
body.page-id-1849 .service-cat-sec .service-content i {
  color: var(--pisc-accent) !important;
  font-size: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  display: block;
}
body.page-id-1849 .service-cat-sec a.service-title {
  font-family: var(--font-display);
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: var(--pisc-primary) !important;
  text-decoration: none !important;
  line-height: 1.35 !important;
  display: block;
}
body.page-id-1849 .service-cat-sec a.service-title:hover {
  color: var(--pisc-accent) !important;
}

/* ========== HOW WE WORK + PROCESS (card grids) ========== */
body.page-id-1849 .elementor-element-2763bf9,
body.page-id-1849 .elementor-element-dd7a137 {
  padding-block: clamp(3.5rem, 8vw, 5.5rem) !important;
}
body.page-id-1849 .elementor-element-2763bf9 {
  background: var(--pisc-white) !important;
}
body.page-id-1849 .elementor-element-dd7a137 {
  background: var(--pisc-surface) !important;
}
body.page-id-1849 .pisc-section-title .elementor-heading-title {
  font-family: var(--font-display) !important;
  font-size: clamp(1.75rem, 3vw, 2.5rem) !important;
  color: var(--pisc-primary) !important;
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}
body.page-id-1849 .pisc-section-intro {
  max-width: 560px;
  margin-inline: auto 2rem !important;
  text-align: center;
}
body.page-id-1849 .pisc-section-intro p {
  color: var(--pisc-muted) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
body.page-id-1849 .pisc-pillars-grid,
body.page-id-1849 .pisc-process-grid {
  max-width: 1000px;
  margin-inline: auto !important;
  gap: 1.25rem !important;
}
@media (max-width: 768px) {
  body.page-id-1849 .pisc-pillars-grid {
    grid-template-columns: 1fr !important;
  }
  body.page-id-1849 .pisc-process-grid {
    grid-template-columns: 1fr !important;
  }
}
body.page-id-1849 .pisc-pillar-card,
body.page-id-1849 .pisc-step-card {
  background: var(--pisc-white);
  border: 1px solid color-mix(in srgb, var(--pisc-color-4) 28%, transparent);
  border-radius: var(--pisc-radius);
  padding: 1.35rem 1.5rem !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
body.page-id-1849 .pisc-pillar-card {
  background: var(--pisc-surface);
}
body.page-id-1849 .pisc-pillar-card__title .elementor-heading-title,
body.page-id-1849 .pisc-step-card__title .elementor-heading-title {
  font-family: var(--font-display) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--pisc-primary) !important;
  margin: 0 0 0.65rem !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
body.page-id-1849 .pisc-step-card__title .elementor-heading-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--pisc-accent);
  border-radius: 50%;
  margin-right: 0.45rem;
  vertical-align: middle;
}
body.page-id-1849 .pisc-pillar-card__body p,
body.page-id-1849 .pisc-step-card__body p {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pisc-muted) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  flex: 1;
}
body.page-id-1849 .pisc-pillar-card .e-con-inner,
body.page-id-1849 .pisc-step-card .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  height: 100%;
  gap: 0 !important;
}

/* ========== TRUSTED ========== */
body.page-id-1849 .elementor-element-4d6dcca {
  padding-block: clamp(3rem, 6vw, 4.5rem) !important;
  background: var(--pisc-primary) !important;
}
body.page-id-1849 .elementor-element-4d6dcca .elementor-heading-title {
  font-family: var(--font-display) !important;
  color: var(--pisc-white) !important;
  font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
}
body.page-id-1849 .elementor-element-621ac97 {
  max-width: 1100px;
  margin-inline: auto !important;
  padding-inline: 0.5rem;
}
body.page-id-1849 .elementor-element-621ac97 .swiper-slide {
  box-sizing: border-box;
  padding-inline: 0.65rem !important;
  height: auto !important;
}
body.page-id-1849 .elementor-element-621ac97 .swiper-slide-inner {
  padding: 1.15rem 1.5rem !important;
  margin-inline: 0.35rem;
  min-height: 88px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--pisc-white) 10%, transparent);
  border-radius: var(--pisc-radius);
  border: 1px solid color-mix(in srgb, var(--pisc-white) 14%, transparent);
}
body.page-id-1849 .elementor-element-621ac97 img {
  filter: none !important;
  opacity: 1 !important;
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin-inline: auto;
}
/* Light/white logo files: subtle panel so they stay visible on navy */
body.page-id-1849 .elementor-element-621ac97 .swiper-slide-inner:has(img[src*='images.png']),
body.page-id-1849 .elementor-element-621ac97 .swiper-slide-inner:has(img[src*='id43mjlH']),
body.page-id-1849 .elementor-element-621ac97 .swiper-slide-inner:has(img[src*='98AA98AC']) {
  background: color-mix(in srgb, var(--pisc-white) 92%, transparent);
}
@media (max-width: 900px) {
  body.page-id-1849 .elementor-element-621ac97 .swiper-slide {
    padding-inline: 0.5rem !important;
  }
  body.page-id-1849 .elementor-element-621ac97 img {
    max-height: 44px;
    max-width: 120px;
  }
}

/* ========== CLOSING CTA (appended section) ========== */
body.page-id-1849 .elementor-element.pisc-home-closing,
body.page-id-1849 .e-con:has(.pisc-home-closing-text) {
  padding-block: clamp(3rem, 7vw, 4.5rem) !important;
  background: linear-gradient(180deg, var(--pisc-bg) 0%, var(--pisc-surface) 100%) !important;
}
body.page-id-1849 .pisc-home-closing-text p {
  text-align: center !important;
  font-size: clamp(1.125rem, 2vw, 1.35rem) !important;
  color: var(--pisc-primary) !important;
  max-width: 720px;
  margin-inline: auto !important;
  line-height: 1.6 !important;
}
body.page-id-1849 .pisc-home-closing-btn .elementor-button {
  background: var(--pisc-primary) !important;
  color: var(--pisc-white) !important;
  border-radius: 999px !important;
  padding: 1rem 2.25rem !important;
  font-weight: 600 !important;
  margin-top: 1.5rem !important;
}
