/* Panacia Design System — Layout */

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

body {
  font-family: var(--ps-font-body);
  color: var(--ps-text);
  background: var(--ps-bg);
  line-height: 1.6;
  margin: 0;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  body { padding-bottom: 0; }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ps-font-display);
  line-height: 1.2;
}

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

/* Hero */
.ps-hero {
  background-color: var(--ps-navy);
  background-image:
    linear-gradient(135deg, rgba(11, 18, 32, 0.92) 0%, rgba(11, 30, 74, 0.82) 45%, rgba(30, 64, 175, 0.72) 100%),
    var(--ps-hero-bg-image, none);
  background-size: cover;
  background-position: center;
  color: var(--ps-text-inverse);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.ps-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 160%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, rgba(34, 211, 238, 0.08) 40%, transparent 70%);
  pointer-events: none;
}
.ps-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40%;
  height: 80%;
  background: radial-gradient(circle, rgba(65, 105, 225, 0.12) 0%, transparent 65%);
  pointer-events: none;
}
.ps-hero .container-xxl { position: relative; z-index: 1; }
.ps-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ps-hero-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 540px;
}

/* Homepage hero slider */
.ps-hero-slider {
  position: relative;
  background: var(--ps-navy);
  overflow: visible;
}
.ps-hero-carousel {
  position: relative;
  overflow: visible;
}
.ps-hero-carousel .carousel-inner,
.ps-hero-carousel .carousel-item {
  min-height: clamp(520px, 88vh, 760px);
}
.ps-hero-slide {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  padding: 6rem 0 5rem;
  background-size: cover;
  background-position: center right;
  color: #fff;
  display: flex;
  align-items: center;
}
.ps-hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.94) 0%, rgba(11, 18, 32, 0.78) 42%, rgba(11, 30, 74, 0.45) 68%, rgba(11, 18, 32, 0.25) 100%);
  pointer-events: none;
}
.ps-hero-slide--erp::before {
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.94) 0%, rgba(6, 40, 35, 0.75) 45%, rgba(11, 30, 74, 0.4) 100%);
}
.ps-hero-slide--ai::before {
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.95) 0%, rgba(49, 24, 84, 0.72) 48%, rgba(11, 30, 74, 0.38) 100%);
}
.ps-hero-slide--web::before {
  background:
    linear-gradient(105deg, rgba(11, 18, 32, 0.94) 0%, rgba(15, 35, 90, 0.78) 45%, rgba(30, 64, 175, 0.42) 100%);
}
.ps-hero-slide .container-xxl {
  position: relative;
  z-index: 1;
}
.ps-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}
.ps-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ps-cyan);
  box-shadow: 0 0 12px var(--ps-cyan);
  animation: ps-hero-pulse 2s ease-in-out infinite;
}
.ps-hero-eyebrow-dot--emerald { background: var(--ps-emerald); box-shadow: 0 0 12px var(--ps-emerald); }
.ps-hero-eyebrow-dot--purple { background: var(--ps-ai-purple); box-shadow: 0 0 12px var(--ps-ai-purple); }
.ps-hero-eyebrow-dot--royal { background: var(--ps-royal); box-shadow: 0 0 12px var(--ps-royal); }
@keyframes ps-hero-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.85); }
}
.ps-hero-slide-title {
  font-family: var(--ps-font-display);
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 16ch;
}
.ps-hero-slide-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
  margin-bottom: 0;
  line-height: 1.65;
}
.ps-hero-indicators {
  margin-bottom: 0;
  bottom: 3.0rem;
  z-index: 4;
}
.ps-hero-indicators [data-bs-target] {
  width: 2.5rem;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  transition: background var(--ps-duration), transform var(--ps-duration);
}
.ps-hero-indicators .active {
  background: linear-gradient(90deg, var(--ps-cyan), var(--ps-royal));
  transform: scaleX(1.15);
}
.ps-hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0rem;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  z-index: 4;
}
.ps-hero-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--ps-primary), var(--ps-cyan));
}
.ps-hero-carousel .carousel-control-prev,
.ps-hero-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  bottom: auto;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 15;
  background: none;
  border: 0;
}
.ps-hero-carousel .carousel-control-prev { left: 1rem; right: auto; }
.ps-hero-carousel .carousel-control-next { right: 1rem; left: auto; }
.ps-hero-carousel .carousel-control-prev:hover,
.ps-hero-carousel .carousel-control-next:hover,
.ps-hero-carousel .carousel-control-prev:focus,
.ps-hero-carousel .carousel-control-next:focus {
  opacity: 1;
}
.ps-hero-control-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(11, 18, 32, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  font-size: 1.5rem;
  color: #fff;
  transition: background var(--ps-duration), border-color var(--ps-duration), transform var(--ps-duration);
}
.ps-hero-control:hover .ps-hero-control-icon,
.ps-hero-control:focus .ps-hero-control-icon {
  background: rgba(65, 105, 225, 0.85);
  border-color: rgba(255, 255, 255, 0.9);
  transform: scale(1.08);
}
.ps-hero-float-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ps-radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
  animation: ps-hero-float 6s ease-in-out infinite;
}
.ps-hero-float-card--2 { animation-delay: -2s; }
.ps-hero-float-card--3 { animation-delay: -4s; }
.ps-hero-float-card--4 { animation-delay: -1.5s; }
@keyframes ps-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.ps-hero-float-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}
.ps-hero-float-card strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}
.ps-hero-float-card small {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}
.ps-hero-float-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}
.ps-hero-float-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--ps-gradient-ai);
}
.ps-hero-float-stats {
  display: flex;
  gap: 1.5rem;
}
.ps-hero-float-stats em {
  display: block;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ps-emerald);
}
.ps-hero-float-stats span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}
.ps-hero-float-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}
.ps-hero-float-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ps-hero-float-list li:last-child { border-bottom: none; }
.ps-hero-trust-strip {
  /*background: linear-gradient(180deg, rgba(11, 18, 32, 0.6) 0%, var(--ps-navy) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);*/
  padding: 1.25rem 0 1.5rem;
  margin-top: -5rem;
  position: relative;
  z-index: 3;
}
.ps-trust-badges--hero {
  justify-content: center;
}
.ps-trust-badges--hero .ps-trust-badge strong { color: #fff; }
.ps-trust-badges--hero .ps-trust-badge span { color: rgba(255, 255, 255, 0.65); }

@media (max-width: 991.98px) {
  .ps-hero-carousel .carousel-inner,
  .ps-hero-carousel .carousel-item,
  .ps-hero-slide {min-height: clamp(480px, 82vh, 640px);}
  .ps-hero-slide { padding: 5.5rem 0 6.5rem; background-position: center; }
  .ps-hero-indicators { bottom: 3rem; }
  .ps-hero-progress { bottom: 0rem; }
  .ps-hero-trust-strip { margin-top: 0; padding: 1rem 0; }
  .ps-hero-carousel .carousel-control-prev { left: 0.5rem; }
  .ps-hero-carousel .carousel-control-next { right: 0.5rem; }
  .ps-hero-control-icon {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.25rem;
  }
  .ps-hero-carousel .carousel-control-prev,
  .ps-hero-carousel .carousel-control-next {
    width: 2.75rem;
    height: 2.75rem;
  }
    
}
@media (prefers-reduced-motion: reduce) {
  .ps-hero-float-card { animation: none; }
  .ps-hero-eyebrow-dot { animation: none; }
  .ps-hero-progress { display: none; }
}

.ps-hero-visual {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ps-hero-dashboard {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1.1;
}
.ps-dash-card {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--ps-radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.ps-dash-card--main {
  top: 0; left: 0; right: 15%; height: 55%;
}
.ps-dash-card--ai {
  top: 8%; right: 0; width: 42%; height: 38%;
}
.ps-dash-card--workflow {
  bottom: 0; left: 10%; right: 0; height: 42%;
}
.ps-dash-title {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}
.ps-dash-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 0.4rem;
  overflow: hidden;
}
.ps-dash-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--ps-gradient-ai);
}
.ps-dash-metric {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.ps-dash-metric small { font-size: 0.65rem; font-weight: 500; color: var(--ps-emerald); display: block; margin-top: 0.25rem; }
.ps-dash-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(124,58,237,0.5);
  margin-bottom: 0.35rem;
}
.ps-dash-line:nth-child(2) { width: 85%; background: rgba(34,211,238,0.5); }
.ps-dash-line:nth-child(3) { width: 65%; background: rgba(65,105,225,0.5); }
.ps-dash-line:nth-child(4) { width: 90%; }
.ps-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    justify-content: space-around;
    text-align: center;
    /*border-top: 1px solid rgba(255,255,255,0.15);*/
}
.ps-trust-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
.ps-trust-badge span { font-size: 0.8rem; opacity: 0.75; }

@media (max-width: 991.98px) {    
    .ps-trust-badges {
        margin-top: 0rem;
        padding-top: 0rem;
    }
}

/* Sections */
.ps-section { padding: 4rem 0; }
@media (min-width: 992px) {
  .ps-section { padding: 5rem 0; }
}
.ps-section-alt { background: var(--ps-surface); }
.ps-section-texture {
  background-color: #fff;
  background-image:
    radial-gradient(circle, rgba(65, 105, 225, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.ps-section-texture-cross {
  background-color: #fff;
  background-image:
    linear-gradient(rgba(65, 105, 225, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 105, 225, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ps-section-compact {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.ps-section-compact .ps-section-title { margin-bottom: 0.5rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.ps-section-compact .ps-insight-card-img { height: 100px; }
.ps-section-compact .ps-insight-body { padding: 1rem 1.1rem 1.15rem; }
.ps-section-compact .ps-insight-body h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.ps-section-compact .ps-insight-body p { font-size: 0.82rem; line-height: 1.45; }
.ps-section-wash {
  background-color: var(--ps-surface-2);
  background-image:
    linear-gradient(180deg, rgba(238, 242, 255, 0.88) 0%, rgba(248, 250, 252, 0.96) 100%),
    url('../images/pds/section-mesh.svg');
  background-repeat: repeat;
  background-size: cover;
}
.ps-section-dark {
  background: var(--ps-secondary);
  color: var(--ps-text-inverse);
}
.ps-section-dark .ps-section-title { color: #fff; }
.ps-section-dark .ps-section-subtitle { color: rgba(255,255,255,0.7); }

/* About strip */
.ps-about-content p { color: var(--ps-text-muted); margin-bottom: 1rem; }

/* Industry grid */
.ps-industry-item {
  text-align: center;
  padding: 0;
  border-radius: var(--ps-radius);
  border: 1px solid var(--ps-border);
  background: var(--ps-surface);
  overflow: hidden;
  transition: border-color var(--ps-duration), box-shadow var(--ps-duration), transform var(--ps-duration);
}
.ps-industry-item:hover {
  border-color: var(--ps-royal);
  box-shadow: var(--ps-shadow-sm);
  transform: translateY(-2px);
}
.ps-industry-photo {
  width: 100%;
  height: 88px;
  object-fit: cover;
  display: block;
}
.ps-industry-item-body { padding: 0.75rem 0.5rem 1rem; }
.ps-industry-icon { font-size: 1.35rem; margin-bottom: 0.35rem; color: var(--ps-royal); }
.ps-industry-item span { font-size: 0.85rem; font-weight: 600; }

/* Product carousel cards */
.ps-product-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  padding: 0;
  text-align: left;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.ps-product-card-img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
}
.ps-product-card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.ps-product-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.ps-product-card-body h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.ps-product-card-body p { flex: 1; }

/* FAQ */
.ps-faq .accordion-button { font-weight: 600; }
.ps-faq .accordion-button:not(.collapsed) {
  background: var(--ps-surface-2);
  color: var(--ps-royal);
}

/* Inner pages */
.ps-page-hero {
  position: relative;
  background-color: var(--ps-navy);
  background-image:
    linear-gradient(135deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 30, 74, 0.78) 50%, rgba(30, 64, 175, 0.65) 100%),
    var(--ps-page-hero-bg-image, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3.75rem 0 2.5rem;
  overflow: hidden;
}
.ps-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 55%);
  pointer-events: none;
}
.ps-page-hero .container-xxl { position: relative; z-index: 1; }

/* Hero theme backgrounds (new PDS imagery) */
.ps-hero-theme-home {
  --ps-hero-bg-image: url('../images/pds/hero-home.jpg');
}
.ps-hero-theme-web { --ps-page-hero-bg-image: url('../images/pds/hero-web.jpg'); }
.ps-hero-theme-software { --ps-page-hero-bg-image: url('../images/pds/hero-software.jpg'); }
.ps-hero-theme-it { --ps-page-hero-bg-image: url('../images/pds/hero-it.jpg'); }
.ps-hero-theme-company { --ps-page-hero-bg-image: url('../images/pds/hero-company.jpg'); }
.ps-hero-theme-erp { --ps-page-hero-bg-image: url('../images/pds/hero-erp.jpg'); }
.ps-hero-theme-contact { --ps-page-hero-bg-image: url('../images/pds/hero-contact.jpg'); }
.ps-hero-theme-resources { --ps-page-hero-bg-image: url('../images/pds/hero-resources.jpg'); }
.ps-hero-theme-legal { --ps-page-hero-bg-image: url('../images/pds/hero-legal.jpg'); }
.ps-hero-theme-careers { --ps-page-hero-bg-image: url('../images/pds/hero-careers.jpg'); }

.ps-page-feature-wrap {
  margin-top: -1.5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
.ps-page-feature {
  margin: 0;
  border-radius: var(--ps-radius-lg);
  overflow: hidden;
  box-shadow: var(--ps-shadow-lg);
  border: 3px solid rgba(255, 255, 255, 0.9);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.ps-page-feature-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 320px;
  object-fit: cover;
}

.ps-page-body {
  padding: 3rem 0;
  background-color: var(--ps-bg);
  background-image: url('../images/pds/section-mesh.svg');
  background-repeat: repeat;
  background-size: 480px 480px;
}
.ps-page-hero .ps-breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.85rem;
}
.ps-page-hero .ps-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.ps-page-hero .ps-breadcrumb a:hover { color: #fff; }
.ps-page-hero .ps-breadcrumb .active { color: rgba(255,255,255,0.55); }
.ps-page-hero h1 {
  font-family: var(--ps-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.ps-page-hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 42rem;
  margin-bottom: 0;
}
.ps-page-hero-lead a {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.ps-page-hero-lead a:hover { color: #fff; }
.ps-page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ps-text);
}
.ps-page-content .ps-content-h2,
.ps-page-content h2 {
  font-family: var(--ps-font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ps-navy);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--ps-border);
}
.ps-page-content .ps-content-h2:first-child,
.ps-page-content h2:first-child { margin-top: 0; }
.ps-page-content p { margin-bottom: 1rem; }
.ps-page-content ul { margin-bottom: 1rem; padding-left: 1.25rem; }
.ps-page-content a { color: var(--ps-royal); }
.ps-page-content b, .ps-page-content strong { color: var(--ps-navy); }

.ps-page-sidebar { position: sticky; top: 6rem; }
.ps-sidebar-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--ps-shadow-sm);
}
.ps-sidebar-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.ps-sidebar-subtitle { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; }
.ps-sidebar-contact li { margin-bottom: 0.5rem; display: flex; gap: 0.5rem; align-items: flex-start; }
.ps-sidebar-contact i { color: var(--ps-royal); margin-top: 0.15rem; }
.ps-sidebar-links li { margin-bottom: 0.35rem; }
.ps-sidebar-links a { text-decoration: none; color: var(--ps-royal); }
.ps-sidebar-links a:hover { text-decoration: underline; }

/* Hub page silo cards */
.ps-hub-silo {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  padding: 2rem;
  height: 100%;
  transition: box-shadow var(--ps-duration), transform var(--ps-duration);
}
.ps-hub-silo:hover {
  box-shadow: var(--ps-shadow);
  transform: translateY(-3px);
}
.ps-hub-silo h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.75rem; }
.ps-hub-silo-icon { font-size: 2rem; color: var(--ps-royal); margin-bottom: 1rem; }

.ps-hub-service-item {
  display: block;
  padding: 1rem 1.25rem;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-md);
  text-decoration: none;
  color: var(--ps-text);
  height: 100%;
  background: var(--ps-surface);
  transition: border-color var(--ps-duration), box-shadow var(--ps-duration);
}
.ps-hub-service-item i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--ps-radius-sm);
  background: rgba(65, 105, 225, 0.12);
  color: var(--ps-royal);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}
.ps-hub-service-item:hover {
  border-color: var(--ps-royal);
  box-shadow: var(--ps-shadow-sm);
  color: var(--ps-text);
}
.ps-hub-service-item strong { display: block; color: var(--ps-navy); margin-bottom: 0.35rem; }
.ps-hub-service-item span { font-size: 0.875rem; color: var(--ps-text-muted); }

/* Legal / simple pages */
.ps-legal-content {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
}
.ps-legal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--ps-navy);
}

/* Contact page */
.ps-contact-hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ps-cyan);
  margin-bottom: 0.65rem;
}
.ps-contact-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.ps-contact-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--ps-btn-radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--ps-duration), border-color var(--ps-duration), transform var(--ps-duration);
}
.ps-contact-hero-chip:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.ps-contact-hero-chip--whatsapp:hover { background: rgba(37, 211, 102, 0.25); border-color: rgba(37, 211, 102, 0.5); }

.ps-contact-page { padding-top: 2.5rem; padding-bottom: 4rem; }
.ps-contact-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.ps-contact-card,
.ps-contact-panel {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  box-shadow: var(--ps-shadow-sm);
}
.ps-contact-card { padding: 2rem; }
.ps-contact-panel { padding: 1.35rem 1.5rem; }

.ps-contact-quote-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--ps-royal) 0%, #1e40af 100%);
  color: #fff;
  border-radius: var(--ps-radius-lg);
  padding: 1.15rem 1.35rem;
  box-shadow: var(--ps-shadow);
  transition: transform var(--ps-duration), box-shadow var(--ps-duration);
}
.ps-contact-quote-banner:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--ps-shadow-lg);
}
.ps-contact-quote-banner-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 1.25rem;
  line-height: 1;
  color: #ffffff;
  flex-shrink: 0;
}
.ps-contact-quote-banner-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 1;
  vertical-align: 0;
}
.ps-contact-quote-banner-copy {
  min-width: 0;
}
.ps-contact-quote-banner-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}
.ps-contact-quote-banner-action {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.ps-contact-panel-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ps-text);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ps-contact-panel-title i { color: var(--ps-royal); font-size: 1rem; }
.ps-contact-address {
  font-size: 0.92rem;
  color: var(--ps-text-muted);
  line-height: 1.6;
}

.ps-contact-info li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
}
.ps-contact-info li:last-child { margin-bottom: 0; }
.ps-contact-info-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  background: var(--ps-surface-2);
  color: var(--ps-royal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.95rem;
}
.ps-contact-info a {
  color: var(--ps-royal);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.5;
}
.ps-contact-info a:hover { text-decoration: underline; }

.ps-contact-team { display: flex; flex-direction: column; gap: 0.85rem; }
.ps-contact-team-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem;
  border-radius: var(--ps-radius-sm);
  background: var(--ps-bg);
  border: 1px solid var(--ps-border);
}
.ps-contact-avatar {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ps-royal), var(--ps-indigo));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ps-contact-avatar--alt {
  background: linear-gradient(135deg, #e11d48, #be123c);
}
.ps-contact-person-name { font-size: 0.92rem; color: var(--ps-text); }
.ps-contact-person-role { font-size: 0.8rem; color: var(--ps-text-muted); }
.ps-contact-person-email { font-size: 0.82rem; line-height: 1.45; }
.ps-contact-person-email a {
  color: var(--ps-royal);
  text-decoration: none;
  word-break: break-word;
}
.ps-contact-person-email a:hover { text-decoration: underline; }

.ps-contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.ps-contact-social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ps-surface-2);
  color: var(--ps-royal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background var(--ps-duration), color var(--ps-duration), transform var(--ps-duration);
}
.ps-contact-social-row a:hover {
  background: var(--ps-royal);
  color: #fff;
  transform: translateY(-2px);
}

.ps-contact-map .ratio {
  border-radius: var(--ps-radius-sm);
  overflow: hidden;
  border: 1px solid var(--ps-border);
}

/* Contact form */
.ps-contact-form-card { height: auto; min-height: 0; }
.ps-resume-form-card.ps-contact-form-card { height: auto; }
.ps-contact-form-head { margin-bottom: 1.5rem; }
.ps-contact-form-title {
  font-family: var(--ps-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--ps-text);
}
.ps-contact-form-lead {
  color: var(--ps-text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}
.ps-form-field .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ps-text);
  margin-bottom: 0.4rem;
}
.ps-input-wrap {
  position: relative;
}
.ps-input-wrap > .bi {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ps-text-muted);
  font-size: 1rem;
  pointer-events: none;
}
.ps-input-wrap .form-control {
  padding-left: 2.5rem;
}
.ps-contact-form-card .form-control,
.ps-contact-form-card .form-select {
  border-radius: var(--ps-radius-sm);
  border-color: var(--ps-border);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.ps-contact-form-card textarea.form-control {
  padding-left: 0.85rem;
  min-height: 140px;
  resize: vertical;
}
.ps-contact-form-card .form-control:focus,
.ps-contact-form-card .form-select:focus {
  border-color: var(--ps-royal);
  box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.12);
}

.ps-resume-form-section {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ps-royal);
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ps-border);
}
.ps-resume-form-card .row > .col-12:first-child .ps-resume-form-section {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.ps-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ps-captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.ps-captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  padding: 0.65rem 1rem;
  border-radius: var(--ps-radius-sm);
  background: var(--ps-surface-muted, #f3f4f6);
  border: 1px solid var(--ps-border);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ps-text);
}
.ps-captcha-field .form-control {
  flex: 1 1 10rem;
  max-width: 12rem;
}

.ps-contact-alert {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--ps-radius-sm);
  font-size: 0.92rem;
}
.ps-contact-alert i { font-size: 1.35rem; flex-shrink: 0; margin-top: 0.1rem; }
.ps-contact-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.ps-contact-alert--success i { color: #10b981; }
.ps-contact-alert--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.ps-contact-alert--warning i { color: #f59e0b; }
.ps-contact-alert a { color: inherit; font-weight: 600; }

.ps-contact-hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.55rem 1rem;
  border-radius: var(--ps-radius-pill);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
}
.ps-contact-hero-hours i { color: var(--ps-electric, #7df9ff); }

.ps-contact-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.ps-contact-trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--ps-radius-sm);
  background: #ffffff;
  border: 1px solid rgba(65, 105, 225, 0.18);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.ps-contact-trust-icon {
  position: relative;
  display: block;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ps-royal) 0%, var(--ps-indigo) 100%);
  border: none;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(65, 105, 225, 0.28);
  font-size: 1.35rem;
  line-height: 1;
}
.ps-contact-trust-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  line-height: 1;
  vertical-align: 0;
  color: #fff;
}
.ps-contact-trust-item > div {
  min-width: 0;
}
.ps-contact-trust-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ps-navy);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}
.ps-contact-trust-item span {
  display: block;
  font-size: 0.88rem;
  color: #334155;
  line-height: 1.5;
}

.ps-contact-below-grid { margin-top: 1.5rem; }
.ps-contact-faq,
.ps-contact-testimonials { height: 100%; }

.ps-contact-accordion .accordion-item {
  border-color: var(--ps-border);
  background: transparent;
}
.ps-contact-accordion .accordion-button {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ps-text);
  background: var(--ps-bg);
  box-shadow: none;
}
.ps-contact-accordion .accordion-button:not(.collapsed) {
  color: var(--ps-royal);
  background: #eef2ff;
}
.ps-contact-accordion .accordion-body {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ps-text-muted);
}
.ps-contact-accordion .accordion-body a {
  color: var(--ps-royal);
  font-weight: 600;
  text-decoration: none;
}
.ps-contact-accordion .accordion-body a:hover { text-decoration: underline; }

.ps-contact-testimonial {
  padding: 1rem 0;
  border-bottom: 1px solid var(--ps-border);
}
.ps-contact-testimonial:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.ps-contact-testimonial blockquote {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ps-text);
  font-style: italic;
}
.ps-contact-testimonial cite {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ps-text-muted);
}

@media (max-width: 991.98px) {
  .ps-contact-trust-strip { grid-template-columns: 1fr; }
}

/* Package grid */
.ps-package-grid-card {
  background: var(--ps-surface);
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius-lg);
  padding: 1.5rem;
  height: 100%;
}
.ps-package-grid-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }

/* Sitemap */
.ps-sitemap-grid a {
  display: block;
  padding: 0.35rem 0;
  color: var(--ps-royal);
  text-decoration: none;
}
.ps-sitemap-grid a:hover { text-decoration: underline; }

@media (max-width: 991.98px) {
  .ps-page-sidebar { position: static; margin-top: 2rem; }
}

/* Hidden SEO content block (preserved from original) */
.ps-seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
