/*
 * Petronex Theme — main.css
 *
 * Global custom CSS: section layout, hero, typography polish, buttons,
 * cards, sector grid, CTA strip, dividers, and page-specific components.
 * All colour values reference design tokens defined in style.css (:root).
 * Enqueued after components.css.
 */

/* ====================================================
   SUPPLEMENTARY DESIGN TOKENS
   ====================================================
   Grey ramp referenced by contact details, form hints,
   and legal pages — not defined in the core token set. */

:root {
  --pnx-dark-grey:  #374151;   /* dark neutral body text  */
  --pnx-mid-grey:   #6b7280;   /* secondary labels        */
  --pnx-light-grey: #e5e8ec;   /* borders, placeholders   */
}

/* ====================================================
   SECTION LAYOUT SYSTEM
   ====================================================
   .pnx-section controls background and text colour.
   Hero sections restore their own padding via the
   higher-specificity .hero.pnx-section selector so the
   generic .pnx-section rule does not clobber them. */

/* Mobile-first base */
.pnx-section {
  padding: 3rem 0;
}

/* Dark / navy */
.pnx-section--dark {
  background-color: var(--pnx-deep-blue);
}

.pnx-section--dark h1,
.pnx-section--dark h2,
.pnx-section--dark h3,
.pnx-section--dark h4,
.pnx-section--dark h5,
.pnx-section--dark h6 {
  color: var(--pnx-white);
}

.pnx-section--dark p,
.pnx-section--dark address,
.pnx-section--dark li {
  color: rgba(247, 249, 251, 0.85);
}

.pnx-section--dark a:not(.pnx-btn):not(.btn) {
  color: var(--pnx-gold-light);
}

.pnx-section--dark a:not(.pnx-btn):not(.btn):hover {
  color: var(--pnx-gold);
}

/* White */
.pnx-section--white {
  background-color: var(--pnx-white);
}

/* Off-white / light */
.pnx-section--light {
  background-color: var(--pnx-off-white);
}

/* Tablet +: full design-spec padding */
@media (min-width: 768px) {
  .pnx-section {
    padding: var(--pnx-section-pad); /* 5rem 0 */
  }
}

/* ====================================================
   HERO — RESPONSIVE PADDING
   ====================================================
   components.css fixes the hero at 7rem 0 6rem with no
   responsive override. We reduce it on mobile and restore
   the design value at tablet width. */

.hero {
  padding: 4rem 0 3.5rem;
}

/* Two-class selector beats single-class .pnx-section */
.hero.pnx-section {
  padding: 4rem 0 3.5rem;
}

@media (min-width: 768px) {
  .hero,
  .hero.pnx-section {
    padding: 7rem 0 6rem;
  }
}

/* ====================================================
   HERO — PHOTOGRAPHIC BACKGROUND WITH OVERLAY
   ====================================================
   Generated image creates the energy/industrial atmosphere.
   The left-to-right gradient keeps text legible over the
   complex image on any screen width. */

.hero {
  background-image:
    linear-gradient(
      100deg,
      rgba(27, 45, 79, 0.92) 0%,
      rgba(27, 45, 79, 0.78) 45%,
      rgba(27, 45, 79, 0.50) 100%
    ),
    url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero::before {
  display: none;
}

/* Gold bottom accent bar */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--pnx-gold) 0%, transparent 60%);
}

/* ====================================================
   SECTION IMAGES — Full-width visual bands
   ====================================================
   Sections that use a generated image as background
   get the .pnx-visual-section modifier. Text content
   sits on top of a dark overlay for contrast. */

.pnx-visual-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pnx-visual-section--solutions {
  background-image:
    linear-gradient(
      to right,
      rgba(27, 45, 79, 0.95) 0%,
      rgba(27, 45, 79, 0.88) 50%,
      rgba(44, 95, 165, 0.70) 100%
    ),
    url('../images/solutions-bg.webp');
}

.pnx-visual-section--sectors {
  background-image:
    linear-gradient(
      rgba(27, 45, 79, 0.82),
      rgba(27, 45, 79, 0.82)
    ),
    url('../images/sectors-bg.webp');
}

.pnx-visual-section--local-content {
  background-image:
    linear-gradient(
      to bottom,
      rgba(27, 45, 79, 0.88) 0%,
      rgba(27, 45, 79, 0.80) 100%
    ),
    url('../images/local-content-bg.webp');
}

.pnx-visual-section--cta {
  background-image:
    linear-gradient(
      rgba(27, 45, 79, 0.92),
      rgba(27, 45, 79, 0.92)
    ),
    url('../images/contact-bg.webp');
}

/* ====================================================
   IMAGE SECTION — Text-on-image column layout
   ==================================================== */

.pnx-split-image {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 768px) {
  .pnx-split-image {
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
  }
}

.pnx-split-image__text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .pnx-split-image__text {
    padding: 5rem 4rem;
  }
}

.pnx-split-image__visual {
  background-size: cover;
  background-position: center;
  min-height: 260px;
}

@media (max-width: 767.98px) {
  .pnx-split-image--reverse .pnx-split-image__visual {
    order: -1;
  }
}

/* ====================================================
   FRONT-PAGE HERO CONTENT SLOTS
   ====================================================
   front-page.php uses __content / __heading / __sub
   rather than the __title / __lead names in components.css.
   Both markup patterns can coexist. */

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__heading {
  color: var(--pnx-white);
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(247, 249, 251, 0.85);
  max-width: 640px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ====================================================
   PAGE HERO (inner-page dark header band)
   ====================================================
   All inner pages open with .pnx-section--dark .pnx-page-hero. */

.pnx-page-hero.pnx-section {
  padding: 3.5rem 0 2.5rem;
}

.pnx-page-hero h1 {
  color: var(--pnx-white);
  max-width: 720px;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) {
  .pnx-page-hero.pnx-section {
    padding: 5rem 0 4rem;
  }
}

/* ====================================================
   LEAD & INTRO BLOCKS
   ==================================================== */

.pnx-intro {
  max-width: 720px;
}

.pnx-intro p {
  font-size: 1.0625rem;
  line-height: 1.85;
}

.pnx-section-intro {
  max-width: 720px;
  margin-bottom: 3rem;
}

.pnx-lead {
  font-size: 1.0625rem;
  color: var(--pnx-text-light);
  line-height: 1.85;
}

/* ====================================================
   SECTION TITLE PATTERN
   ====================================================
   Used on solutions page and anywhere a heading needs
   the gold underline accent treatment. */

.pnx-section-title-wrap {
  margin-bottom: 3rem;
}

.pnx-section-title {
  color: var(--pnx-deep-blue);
  display: inline-block;
  position: relative;
  padding-bottom: 1.25rem;
}

/* Gold underline accent */
.pnx-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background-color: var(--pnx-gold);
}

/* ====================================================
   PRIMARY & SECONDARY BUTTONS
   ====================================================
   Override style.css gold-fill default:
   "Contact Petronex" (primary CTA) = deep-blue body,
   gold border visible on all backgrounds, gold fill
   on hover to signal action. */

.pnx-btn--primary {
  background-color: var(--pnx-deep-blue);
  color: var(--pnx-white);
  border-color: var(--pnx-gold);
}

.pnx-btn--primary:hover,
.pnx-btn--primary:focus-visible {
  background-color: var(--pnx-gold);
  border-color: var(--pnx-gold);
  color: var(--pnx-deep-blue);
}

/* Secondary — mid-blue outline for subordinate actions on light backgrounds */
.pnx-btn--secondary {
  background-color: transparent;
  color: var(--pnx-mid-blue);
  border-color: var(--pnx-mid-blue);
}

.pnx-btn--secondary:hover,
.pnx-btn--secondary:focus-visible {
  background-color: var(--pnx-mid-blue);
  color: var(--pnx-white);
  border-color: var(--pnx-mid-blue);
}

/* Ghost — for dark section backgrounds where navy is invisible */
.pnx-btn--ghost {
  background-color: transparent;
  color: var(--pnx-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.pnx-btn--ghost:hover,
.pnx-btn--ghost:focus-visible {
  background-color: var(--pnx-white);
  color: var(--pnx-deep-blue);
  border-color: var(--pnx-white);
}

/* ====================================================
   SECTOR CARDS (front-page sectors grid)
   ==================================================== */

/* Mobile: single column */
.pnx-sectors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.pnx-sector {
  padding: 1.75rem;
  border-top: 4px solid var(--pnx-mid-blue);
  background-color: var(--pnx-off-white);
  border-radius: 2px;
  transition: border-top-color var(--pnx-transition);
}

/* Gold top-border on hover signals interactivity */
.pnx-sector:hover {
  border-top-color: var(--pnx-gold);
}

.pnx-sector__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.75rem;
}

.pnx-sector__desc {
  font-size: 0.9375rem;
  color: var(--pnx-text-light);
  line-height: 1.75;
  margin-bottom: 0;
}

/* 640px: 2-column */
@media (min-width: 640px) {
  .pnx-sectors {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================================
   CTA STRIP EXTENSIONS
   ====================================================
   Templates use .cta-strip__sub (not .cta-strip__body).
   On tablet+, a named-grid layout puts heading + sub in
   the left column and the button spanning both rows on
   the right, producing a premium two-panel strip. */

.cta-strip__sub {
  color: rgba(247, 249, 251, 0.85);
  font-size: 1.0625rem;
  margin-bottom: 0;
}

.cta-strip__btn {
  flex-shrink: 0;
}

/* Two-panel grid for 3-child CTA strip (no __text wrapper) */
@media (min-width: 768px) {
  .cta-strip__inner:has(.cta-strip__sub) {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 4rem;
    row-gap: 0.375rem;
    align-items: center;
  }

  .cta-strip__inner:has(.cta-strip__sub) .cta-strip__heading {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
  }

  .cta-strip__inner:has(.cta-strip__sub) .cta-strip__sub {
    grid-column: 1;
    grid-row: 2;
  }

  .cta-strip__inner:has(.cta-strip__sub) .cta-strip__btn {
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: center;
  }
}

/* ====================================================
   GOLD DIVIDERS & DECORATIVE ACCENTS
   ==================================================== */

/* Short gold rule for use under headings or between components */
.pnx-divider {
  border: none;
  border-top: 3px solid var(--pnx-gold);
  width: 56px;
  margin: 2rem 0;
}

.pnx-divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* Full-width neutral section boundary */
.pnx-divider--full {
  width: 100%;
  border-top-width: 1px;
  border-top-color: var(--pnx-border);
}

/* ====================================================
   ABOUT PAGE — MISSION QUOTE
   ====================================================
   White card with gold left border, inside the
   off-white mission section for visual separation. */

.pnx-about-mission__quote {
  border-left: 4px solid var(--pnx-gold);
  padding: 1.75rem 2rem;
  margin-top: 1.75rem;
  background-color: var(--pnx-white);
  font-size: 1.0625rem;
  font-style: normal;
  color: var(--pnx-text);
  line-height: 1.85;
}

.pnx-about-mission__quote p {
  color: var(--pnx-text);
  margin-bottom: 0;
}

/* ====================================================
   ABOUT PAGE — VALUES GRID
   ==================================================== */

/* Mobile: single column */
.pnx-about-values__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Off-white cards on white section background */
.pnx-about-values__item {
  padding: 2rem;
  border-top: 3px solid var(--pnx-gold);
  background-color: var(--pnx-off-white);
}

.pnx-about-values__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.75rem;
}

.pnx-about-values__desc {
  font-size: 0.9375rem;
  color: var(--pnx-text-light);
  line-height: 1.75;
  margin-bottom: 0;
}

/* 640px: 2-column */
@media (min-width: 640px) {
  .pnx-about-values__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================================
   SECTOR CARDS — Dark visual section overrides
   ====================================================
   When sectors appear on the photographic dark section,
   card backgrounds need adjustment for contrast. */

.pnx-visual-section .pnx-sector {
  background-color: rgba(255, 255, 255, 0.07);
  border-top-color: var(--pnx-gold);
}

.pnx-visual-section .pnx-sector__name {
  color: var(--pnx-white);
}

.pnx-visual-section .pnx-sector__desc {
  color: rgba(247, 249, 251, 0.78);
}

.pnx-visual-section .pnx-icon {
  color: var(--pnx-gold-light);
}

/* Service strip on dark background */
.pnx-visual-section .pnx-service-strip {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* ====================================================
   CAPABILITY CARDS — INTERACTION POLISH
   ====================================================
   components.css sets a static mid-blue top border.
   On hover, it transitions to gold and adds a soft shadow. */

.pnx-capability-card {
  transition:
    border-top-color var(--pnx-transition),
    box-shadow       var(--pnx-transition);
}

.pnx-capability-card:hover {
  border-top-color: var(--pnx-gold);
  box-shadow: 0 4px 20px rgba(27, 45, 79, 0.08);
}

/* ====================================================
   SVG ICON SYSTEM
   ====================================================
   Inline SVG icons used in sector cards, capability cards,
   and section headers. No external assets. */

.pnx-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  color: var(--pnx-mid-blue);
  flex-shrink: 0;
}

.pnx-icon--gold {
  color: var(--pnx-gold);
}

.pnx-icon--white {
  color: rgba(255, 255, 255, 0.85);
}

/* Sector card icon — smaller */
.pnx-sector .pnx-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
}

/* ====================================================
   HOME PAGE — SERVICE STRIP
   ====================================================
   Three-column visual row for the solutions overview. */

.pnx-service-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--pnx-border);
}

@media (min-width: 640px) {
  .pnx-service-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pnx-service-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pnx-service-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.5rem;
}

.pnx-service-item__desc {
  font-size: 0.9rem;
  color: var(--pnx-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ====================================================
   LOCAL CONTENT — PILLAR BLOCKS
   ==================================================== */

.pnx-lc-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .pnx-lc-pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pnx-lc-pillar {
  background: var(--pnx-white);
  border: 1px solid var(--pnx-border);
  border-top: 3px solid var(--pnx-gold);
  padding: 2rem 1.75rem;
}

.pnx-lc-pillar__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin: 1rem 0 0.75rem;
}

.pnx-lc-pillar__desc {
  font-size: 0.9375rem;
  color: var(--pnx-text-light);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ====================================================
   SECTOR HERO — GEOMETRIC ACCENT
   ==================================================== */

.pnx-sectors-hero.pnx-section--dark,
.pnx-page-hero.pnx-section--dark:not(.hero) {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Crect x='0' y='0' width='80' height='80' fill='none'/%3E%3Cpath d='M0 80L80 0' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

/* ====================================================
   CAPABILITY CARDS — Dark visual section overrides
   ==================================================== */

.pnx-visual-section .pnx-capability-card {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-top: 3px solid var(--pnx-gold);
  color: var(--pnx-off-white);
}

.pnx-visual-section .pnx-capability-card h3 {
  color: var(--pnx-white);
}

.pnx-visual-section .pnx-capability-card p {
  color: rgba(247, 249, 251, 0.78);
}

/* ====================================================
   PROCESS STRIP — Numbered delivery steps
   ==================================================== */

.pnx-process-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .pnx-process-strip {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0;
  }
}

.pnx-process-step {
  background: var(--pnx-white);
  border: 1px solid var(--pnx-border);
  border-top: 3px solid var(--pnx-gold);
  padding: 2rem 1.5rem;
  position: relative;
}

.pnx-process-step__num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(44, 95, 165, 0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.pnx-process-step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.5rem;
}

.pnx-process-step p {
  font-size: 0.875rem;
  color: var(--pnx-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

.pnx-process-connector {
  display: none;
}

@media (min-width: 768px) {
  .pnx-process-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem;
    margin-top: 3.5rem;
    color: var(--pnx-gold);
    font-size: 1.25rem;
    opacity: 0.7;
  }

  .pnx-process-connector::before {
    content: '\2192';
    font-size: 1.5rem;
  }
}

/* Mobile: step-stacked with left accent */
@media (max-width: 767.98px) {
  .pnx-process-step {
    border-top: 1px solid var(--pnx-border);
    border-left: 3px solid var(--pnx-gold);
    border-top-width: 1px;
    margin-bottom: 0.75rem;
  }
}

/* ====================================================
   FEATURE STRIP — Homepage service bar (replaces service strip)
   ==================================================== */

.pnx-feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .pnx-feature-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pnx-feature-item {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
}

.pnx-feature-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pnx-white);
  margin-bottom: 0.5rem;
}

.pnx-feature-item__desc {
  font-size: 0.9rem;
  color: rgba(247, 249, 251, 0.78);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ====================================================
   ALTERNATING FEATURE ROWS — Solutions page
   ==================================================== */

.pnx-alt-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pnx-alt-feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  align-items: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 2.5rem;
  position: relative;
}

.pnx-alt-feature--reverse {
  background: rgba(44, 95, 165, 0.18);
  border-left: 3px solid var(--pnx-gold);
}

.pnx-alt-feature__number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  padding-top: 0.25rem;
}

.pnx-alt-feature__body h3 {
  color: var(--pnx-white);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.pnx-alt-feature__body p {
  color: rgba(247, 249, 251, 0.78);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.pnx-alt-feature__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.pnx-alt-feature__bullets li {
  color: rgba(247, 249, 251, 0.70);
  font-size: 0.9rem;
  padding-left: 1.25rem;
  position: relative;
}

.pnx-alt-feature__bullets li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--pnx-gold);
  font-size: 0.75rem;
  top: 0.15em;
}

@media (max-width: 575.98px) {
  .pnx-alt-feature {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.75rem;
  }

  .pnx-alt-feature__number {
    font-size: 2.5rem;
  }
}

/* ====================================================
   SECTOR ENTRIES — Long-form list on dark background
   ==================================================== */

.pnx-sector-entries {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pnx-sector-entry {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid var(--pnx-gold);
  padding: 1.75rem;
}

.pnx-sector-entry__icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.pnx-sector-entry .pnx-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
  color: var(--pnx-gold-light);
}

.pnx-sector-entry__body h3 {
  color: var(--pnx-white);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.pnx-sector-entry__body p {
  color: rgba(247, 249, 251, 0.78);
  margin-bottom: 0;
  line-height: 1.8;
}

/* ====================================================
   LOCAL CONTENT PILLARS — Light section version
   ==================================================== */

.pnx-lc-pillar__icon {
  margin-bottom: 1.25rem;
}

.pnx-lc-pillar h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.75rem;
}

/* ====================================================
   CONTACT PAGE — Info cards, steps, form layout
   ==================================================== */

/* Three info cards at top of contact page */
.pnx-contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .pnx-contact-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pnx-contact-card {
  background: var(--pnx-off-white);
  border: 1px solid var(--pnx-border);
  border-top: 3px solid var(--pnx-mid-blue);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.pnx-contact-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(44, 95, 165, 0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.pnx-contact-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--pnx-mid-blue);
}

.pnx-contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.375rem;
}

.pnx-contact-card p,
.pnx-contact-card address,
.pnx-contact-card a {
  font-size: 0.9375rem;
  color: var(--pnx-text-light);
  line-height: 1.75;
  margin-bottom: 0;
}

.pnx-contact-card a {
  color: var(--pnx-mid-blue);
  font-weight: 500;
}

.pnx-contact-card__note {
  margin-top: 0.75rem;
  font-size: 0.85rem !important;
  color: var(--pnx-text-light);
  border-top: 1px solid var(--pnx-border);
  padding-top: 0.75rem;
}

/* Form two-column row */
.pnx-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .pnx-form__row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

/* Select styling */
.pnx-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* Small button variant */
.pnx-btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}

/* Response steps sidebar */
.pnx-contact-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pnx-contact-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pnx-contact-step__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pnx-mid-blue);
  color: var(--pnx-white);
  font-weight: 700;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.pnx-contact-step strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--pnx-deep-blue);
  margin-bottom: 0.25rem;
}

.pnx-contact-step p {
  font-size: 0.9rem;
  color: var(--pnx-text-light);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ====================================================
   SECTION VISUAL DIVIDERS
   ==================================================== */

.pnx-section-rule--gold {
  width: 48px;
  height: 3px;
  background: var(--pnx-gold);
  margin-bottom: 1.75rem;
  display: block;
}

.pnx-section-rule--center {
  margin-left: auto;
  margin-right: auto;
}
