/* Layout helpers for Pivotal Impact */

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--pi-max-width);
}

.pi-trust-strip .elementor-icon-list-item {
  align-items: center;
}

.pi-service-grid .elementor-widget-icon-box {
  height: 100%;
}

.pi-service-grid .elementor-icon-box-wrapper {
  background: var(--pi-white);
  border-radius: var(--pi-radius);
  box-shadow: var(--pi-shadow-sm);
  border: 1px solid var(--pi-grey-100);
  padding: 28px;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.pi-service-grid .elementor-icon-box-wrapper:hover {
  box-shadow: var(--pi-shadow);
  transform: translateY(-2px);
}

.pi-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pi-primary);
  color: var(--pi-dark);
  font-family: var(--pi-font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 16px;
}

.pi-testimonial-card {
  background: var(--pi-white);
  border-radius: var(--pi-radius);
  padding: 32px;
  border: 1px solid var(--pi-grey-100);
  box-shadow: var(--pi-shadow-sm);
  height: 100%;
}

.pi-hero-image img {
  border-radius: var(--pi-radius);
  object-fit: cover;
  width: 100%;
  max-height: 520px;
}

.pi-map-placeholder {
  background: var(--pi-grey-100);
  border-radius: var(--pi-radius);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border: 2px dashed var(--pi-grey-200);
}

.pi-footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.pi-footer-links a:hover,
.pi-footer-links a:focus-visible {
  color: var(--pi-primary);
  text-decoration: underline;
}

.hfe-sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(16, 21, 22, 0.08);
}

body.elementor-template-full-width .site-main,
body.elementor-default .site-main {
  padding: 0;
  max-width: none;
}

.fluentform .ff-el-form-control {
  border-radius: var(--pi-radius-sm) !important;
  border: 1px solid var(--pi-grey-200) !important;
  min-height: 48px;
  padding: 12px 16px !important;
}

.fluentform .ff-btn-submit {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--pi-primary) !important;
  color: var(--pi-dark) !important;
  border-radius: 999px !important;
  font-family: var(--pi-font-heading) !important;
  font-weight: 600 !important;
  min-height: var(--pi-btn-height, 48px);
  padding: 0 28px !important;
  border: 2px solid var(--pi-primary) !important;
  box-shadow: 0 4px 18px rgba(84,230,212,0.28);
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.fluentform .ff-btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(84,230,212,0.42) !important;
}

.fluentform .ff-btn-submit:active {
  transform: translateY(-1px) scale(0.98);
}

.fluentform .ff-btn-submit:focus-visible {
  outline: 3px solid var(--pi-dark);
  outline-offset: 3px;
}

html, body {
  overflow-x: hidden;
}

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