/* ==========================================================================
   Pixel Target - Brand Layer
   Midnight Navy & Signal Gold
   ========================================================================== */

:root {
  --pt-bg: #060F18;
  --pt-surface: #0B1928;
  --pt-ink: #FFFFFF;
  --pt-body: #D6E2F0;
  --pt-muted: #A3B2C2;
  --pt-gold: #F4A825;
  --pt-gold-soft: #FFD57A;
  --pt-steel: #2C5572;
  --pt-border: #132E49;
  --pt-r-panel: 24px;
  --pt-r-ctrl: 12px;
  --pt-r-well: 16px;
}

/* --- Foundation ---------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
  background-color: var(--pt-bg);
  color: var(--pt-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.rtl, body[dir="rtl"] { direction: rtl; }

/* Astra resets so Elementor owns the full canvas */
.ast-container, .site-content .ast-container { max-width: 100%; padding: 0; }
#primary, .site-content #primary { padding: 0; margin: 0; }
.ast-page-builder-template .site-content > .ast-container { max-width: 100%; }
#content { padding: 0 !important; }

/* --- Glass panel --------------------------------------------------------- */

.pt-glass {
  background: linear-gradient(135deg, rgba(22, 54, 82, 0.40) 0%, rgba(8, 19, 31, 0.70) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(6, 15, 24, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.10);
  border-radius: var(--pt-r-panel);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.pt-glass:hover {
  border-color: rgba(244, 168, 37, 0.40);
  box-shadow: 0 0 30px rgba(244, 168, 37, 0.15), inset 0 0 20px rgba(244, 168, 37, 0.05);
}

.pt-glass-soft {
  background: rgba(22, 54, 82, 0.20);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--pt-r-panel);
}

/* --- Gold treatments ----------------------------------------------------- */

.pt-gold, .pt-gold * { color: var(--pt-gold); }

.pt-gold-glow { text-shadow: 0 0 8px rgba(244, 168, 37, 0.30); }

.pt-gradient-gold {
  background: linear-gradient(to right, var(--pt-gold) 0%, var(--pt-gold-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Emphasis word inside any Elementor heading */
.pt-heading .pt-em { color: var(--pt-gold); }

/* --- Badge / pill -------------------------------------------------------- */

.pt-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(244, 168, 37, 0.10);
  border: 1px solid rgba(244, 168, 37, 0.20);
  color: var(--pt-gold);
  font-size: 14px;
  font-weight: 500;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* --- Icon well ----------------------------------------------------------- */

.pt-icon-well .elementor-icon,
.pt-icon-well .elementor-icon-box-icon .elementor-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--pt-r-well);
  background: rgba(44, 85, 114, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s ease, border-color 0.5s ease, transform 0.5s ease;
}

.pt-glass:hover .pt-icon-well .elementor-icon {
  background: rgba(244, 168, 37, 0.20);
  border-color: rgba(244, 168, 37, 0.30);
  transform: scale(1.10) rotate(3deg);
}

/* --- Buttons ------------------------------------------------------------- */

.pt-btn-primary .elementor-button {
  background-color: var(--pt-gold);
  color: var(--pt-surface);
  border-radius: var(--pt-r-ctrl);
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}
.pt-btn-primary .elementor-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(244, 168, 37, 0.40);
  background-color: var(--pt-gold-soft);
}

.pt-btn-ghost .elementor-button {
  background-color: transparent;
  color: var(--pt-ink);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--pt-r-ctrl);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.pt-btn-ghost .elementor-button:hover {
  background-color: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
}

/* --- Hero media layers (matches source: 20% opacity, luminosity blend) --- */
.pt-hero { position: relative; isolation: isolate; }

.pt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('https://pixel-target.com/wp-content/uploads/2026/09/hero-background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
}

.pt-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(244, 168, 37, 0.08), transparent 50%),
    linear-gradient(to bottom, rgba(6, 15, 24, 0.90) 0%, rgba(6, 15, 24, 0.80) 55%, #060F18 100%);
}

.pt-hero > .e-con-inner { position: relative; z-index: 1; }
.pt-hero > .elementor-element:not(.pt-hero-layer),
.pt-hero > .e-con-inner > .elementor-element:not(.pt-hero-layer) { position: relative; z-index: 1; }
/* Floating furniture must resolve against .e-con-inner, never against its own wrapper */
.pt-hero .pt-hero-layer { position: static !important; width: 100%; }



/* --- Partner marquee ----------------------------------------------------- */

.pt-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  direction: ltr;
}

.pt-marquee::before,
.pt-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 64px;
  z-index: 2;
  pointer-events: none;
}
.pt-marquee::before { left: 0; background: linear-gradient(to right, var(--pt-bg), transparent); }
.pt-marquee::after  { right: 0; background: linear-gradient(to left, var(--pt-bg), transparent); }

@media (min-width: 768px) {
  .pt-marquee::before, .pt-marquee::after { width: 128px; }
}

.pt-marquee__track {
  display: flex;
  width: max-content;
  padding: 16px 0 32px;
  animation: pt-marquee-scroll 40s linear infinite;
}

.pt-marquee:hover .pt-marquee__track { animation-play-state: paused; }

@media (max-width: 768px) {
  .pt-marquee__track { animation-duration: 25s; }
}

.pt-marquee__item { padding-right: 24px; flex-shrink: 0; }
@media (min-width: 768px) { .pt-marquee__item { padding-right: 32px; } }

.pt-marquee__plate {
  height: 80px;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(248, 248, 248, 0.90);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 168, 37, 0.20);
  border-radius: var(--pt-r-well);
  box-shadow: 0 4px 12px rgba(6, 15, 24, 0.30);
  transition: border-color 0.3s ease;
}
.pt-marquee__plate:hover { border-color: rgba(244, 168, 37, 0.50); }

@media (min-width: 768px) {
  .pt-marquee__plate { height: 100px; width: 220px; padding: 24px; }
}

.pt-marquee__plate img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.90;
  filter: saturate(0.9) brightness(0.95);
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.pt-marquee__plate:hover img {
  opacity: 1;
  filter: saturate(1) brightness(1) drop-shadow(0 0 8px rgba(244, 168, 37, 0.40));
  transform: scale(1.05);
}

@keyframes pt-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Floating WhatsApp --------------------------------------------------- */

.pt-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.40);
  animation: pt-pulse-glow 3s ease-in-out infinite;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.pt-whatsapp:hover { background: #20BA5A; transform: scale(1.10); }
.pt-whatsapp:active { transform: scale(0.95); }
.pt-whatsapp svg { width: 28px; height: 28px; fill: #FFFFFF; }

@media (min-width: 768px) {
  .pt-whatsapp { bottom: 32px; right: 32px; width: 64px; height: 64px; }
  .pt-whatsapp svg { width: 32px; height: 32px; }
}

@keyframes pt-pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(37, 211, 102, 0.25); }
  50%      { box-shadow: 0 0 40px rgba(37, 211, 102, 0.55); }
}

/* --- Slow float (hero chips) -------------------------------------------- */

@keyframes pt-float-a {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -30px); }
}
@keyframes pt-float-b {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-20px, 40px); }
}
.pt-float-a { animation: pt-float-a 8s ease-in-out infinite; }
.pt-float-b { animation: pt-float-b 10s ease-in-out infinite 1s; }

/* --- Hero stat chip ------------------------------------------------------ */

.pt-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--pt-r-well);
}
.pt-chip__well {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pt-chip__label { font-size: 12px; color: var(--pt-body); margin: 0; line-height: 1.4; }
.pt-chip__value { font-size: 18px; font-weight: 700; color: var(--pt-ink); margin: 0; line-height: 1.3; }

/* --- Accordion (FAQ) ----------------------------------------------------- */

.pt-faq .elementor-accordion-item,
.pt-faq .e-n-accordion-item {
  background: linear-gradient(135deg, rgba(22, 54, 82, 0.40) 0%, rgba(8, 19, 31, 0.70) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--pt-r-panel);
  margin-bottom: 20px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pt-faq .elementor-accordion-item:has(.elementor-active),
.pt-faq .e-n-accordion-item[open] {
  border-color: rgba(244, 168, 37, 0.30);
  box-shadow: 0 0 20px rgba(244, 168, 37, 0.10);
}

/* --- Form (WPForms) ------------------------------------------------------ */

.pt-form .wpforms-container { margin: 0; }
.pt-form .wpforms-field { padding: 0 0 20px; }
.pt-form .wpforms-field-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.pt-form input[type="text"],
.pt-form input[type="email"],
.pt-form input[type="tel"],
.pt-form textarea {
  width: 100%;
  background: rgba(6, 15, 24, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--pt-r-ctrl);
  color: var(--pt-ink);
  font-family: inherit;
  font-size: 16px;
  padding: 0 20px;
  height: 56px;
  text-align: right;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pt-form textarea { height: auto; padding: 18px 20px; resize: none; line-height: 1.7; }

.pt-form input::placeholder,
.pt-form textarea::placeholder { color: var(--pt-muted); opacity: 1; }

.pt-form input:focus,
.pt-form textarea:focus {
  outline: none;
  border-color: var(--pt-gold);
  box-shadow: 0 0 0 3px rgba(244, 168, 37, 0.25);
}

.pt-form .wpforms-submit-container { padding-top: 4px; }
.pt-form button.wpforms-submit {
  width: 100%;
  height: 56px;
  background: var(--pt-gold);
  color: var(--pt-surface);
  border: none;
  border-radius: var(--pt-r-ctrl);
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.15s ease, background-color 0.3s ease;
}
.pt-form button.wpforms-submit:hover {
  background: var(--pt-gold-soft);
  box-shadow: 0 0 20px rgba(244, 168, 37, 0.30);
}
.pt-form button.wpforms-submit:active { transform: scale(0.98); }

.pt-form .wpforms-error {
  color: #EF8F8F;
  font-size: 14px;
  padding: 6px 8px 0;
  display: block;
}
.pt-form .wpforms-confirmation-container-full {
  background: rgba(244, 168, 37, 0.10);
  border: 1px solid rgba(244, 168, 37, 0.30);
  border-radius: var(--pt-r-ctrl);
  color: var(--pt-ink);
  padding: 20px;
}

/* --- Footer bits --------------------------------------------------------- */

.pt-social a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.pt-social a:hover {
  background: var(--pt-gold);
  border-color: var(--pt-gold);
  transform: scale(1.10);
  box-shadow: 0 0 15px rgba(244, 168, 37, 0.30);
}
.pt-social a svg { width: 16px; height: 16px; fill: #FFFFFF; }
.pt-social a:hover svg { fill: var(--pt-surface); }

/* --- Accessibility ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pt-marquee__track,
  .pt-whatsapp,
  .pt-float-a,
  .pt-float-b { animation: none !important; }
  .pt-float-a, .pt-float-b { transform: none !important; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

:focus-visible {
  outline: 2px solid var(--pt-gold);
  outline-offset: 3px;
}


/* --- Responsive card grids (overrides Elementor flex) --- */
.pt-grid.e-con, .pt-grid.e-con > .e-con-inner { display: grid !important; }
.pt-grid { gap: 24px; align-items: stretch; }
@media (min-width: 768px) { .pt-grid { gap: 32px; } }

.pt-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 768px)  { .pt-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .pt-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.pt-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 600px)  { .pt-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pt-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.pt-card.e-con { height: 100%; }

/* icon well on the same element as the glass panel */
.pt-glass:hover .elementor-icon-box-icon .elementor-icon,
.pt-glass:hover .pt-icon-well .elementor-icon {
  background: rgba(244, 168, 37, 0.20);
  border-color: rgba(244, 168, 37, 0.30);
  transform: scale(1.10) rotate(3deg);
}
.pt-icon-well .elementor-icon-box-icon { margin-bottom: 24px; }
.pt-icon-well .elementor-icon svg { width: 30px; height: 30px; }


/* --- Stat counters --- */
.pt-stat-well .elementor-icon {
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(244, 168, 37, 0.10);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.3s ease;
}
.pt-glass:hover .pt-stat-well .elementor-icon { transform: scale(1.10); }
.pt-stat-well .elementor-icon svg { width: 22px; height: 22px; }

.pt-stat .elementor-counter-number-wrapper { justify-content: center; align-items: baseline; gap: 4px; font-variant-numeric: tabular-nums; }
.pt-stat .elementor-counter-number-prefix,
.pt-stat .elementor-counter-number-suffix { color: var(--pt-gold); font-size: 0.58em; font-weight: 700; flex-grow: 0; }
.pt-stat .elementor-counter-title { color: var(--pt-muted); font-weight: 500; }
@media (min-width: 600px) { .pt-stat-wide { grid-column: span 2; } }
@media (min-width: 1024px) { .pt-stat-wide { grid-column: span 1; } }

/* --- Contact media layers (source: 10% opacity, luminosity) --- */
.pt-contact { position: relative; isolation: isolate; }
.pt-contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('https://pixel-target.com/wp-content/uploads/2026/09/contact-background.jpg') center/cover no-repeat;
  opacity: 0.10; filter: grayscale(1); mix-blend-mode: luminosity;
}
.pt-contact::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to top, #060F18 0%, rgba(6,15,24,0.95) 50%, rgba(6,15,24,0.90) 100%);
}
.pt-contact > .e-con-inner, .pt-contact > .elementor-element { position: relative; z-index: 1; }

/* --- FAQ accordion --- */
.pt-faq .elementor-accordion { border: 0; }
.pt-faq .elementor-tab-title { border: 0 !important; background: transparent !important; padding: 26px 32px !important; }
.pt-faq .elementor-tab-title a, .pt-faq .elementor-tab-title { color: #FFFFFF; font-weight: 700; font-size: 19px; line-height: 1.5; }
.pt-faq .elementor-tab-title.elementor-active, .pt-faq .elementor-tab-title:hover { color: var(--pt-gold) !important; }
.pt-faq .elementor-tab-content { border: 0 !important; background: transparent !important; color: var(--pt-body); padding: 0 32px 28px !important; line-height: 1.8; }
@media (max-width: 767px) {
  .pt-faq .elementor-tab-title { padding: 20px 22px !important; font-size: 17px; }
  .pt-faq .elementor-tab-content { padding: 0 22px 22px !important; }
}


/* ==========================================================================
   Hero furniture: stat chips + scroll cue
   Mobile and tablet: an ordered strip under the buttons.
   Desktop: free-floating panels at the hero corners.
   ========================================================================== */

.pt-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 40px;
}

.pt-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--pt-r-well);
  flex: 1 1 150px;
  max-width: 220px;
}
.pt-chip__well {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pt-chip__label { font-size: 12px; color: var(--pt-body); margin: 0; line-height: 1.4; }
.pt-chip__value { font-size: 19px; font-weight: 700; color: var(--pt-ink); margin: 0; line-height: 1.25; }

@media (max-width: 380px) {
  .pt-hero-stats { gap: 10px; margin-top: 32px; }
  .pt-chip { padding: 12px 14px; gap: 10px; flex: 1 1 100%; max-width: none; }
}

/* --- Scroll cue --- */
.pt-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 44px;
  color: var(--pt-muted);
  font-size: 14px;
  font-weight: 500;
}
.pt-scroll-cue svg { width: 20px; height: 20px; animation: pt-nudge 2s ease-in-out infinite; }
@keyframes pt-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* --- Desktop: detach both into the hero canvas --- */
@media (min-width: 1025px) {
  .pt-hero-stats {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    pointer-events: none;
    z-index: 2;
  }
  .pt-hero-stats .pt-chip {
    position: absolute;
    pointer-events: auto;
    flex: none;
    max-width: none;
    padding: 16px 20px;
  }
  .pt-hero-stats .pt-chip--a {
    inset-inline-start: 0;
    top: 24%;
    animation: pt-float-a 8s ease-in-out infinite;
  }
  .pt-hero-stats .pt-chip--b {
    inset-inline-end: 0;
    bottom: 26%;
    animation: pt-float-b 10s ease-in-out infinite 1s;
  }
  .pt-scroll-cue {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    margin: 0;
    z-index: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-hero-stats .pt-chip, .pt-scroll-cue svg { animation: none !important; }
}


/* --- Stat chips stay alive below the desktop breakpoint ---------------
   Absolute float is a desktop move. In the mobile strip the chips sit in
   normal flow, so they bob on transform only, which changes no layout.
   ------------------------------------------------------------------- */

@keyframes pt-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (max-width: 1024px) {
  .pt-hero-stats .pt-chip { will-change: transform; }
  .pt-hero-stats .pt-chip--a { animation: pt-bob 4.6s ease-in-out infinite; }
  .pt-hero-stats .pt-chip--b { animation: pt-bob 5.4s ease-in-out infinite 1.1s; }
}

/* The gold icon well breathes with the chip on every size */
@keyframes pt-well-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.72; }
}
.pt-hero-stats .pt-chip__well { animation: pt-well-pulse 3.4s ease-in-out infinite; }
.pt-hero-stats .pt-chip--b .pt-chip__well { animation-delay: 1.1s; }

@media (prefers-reduced-motion: reduce) {
  .pt-hero-stats .pt-chip,
  .pt-hero-stats .pt-chip__well { animation: none !important; transform: none !important; opacity: 1 !important; }
}
