/* ============================================
   COMPONENTS — BlastPro SA
   Hero, Trust Bar, Service Cards, Stats,
   Marquee, Testimonial, Process, CTA, Contact
   ============================================ */

/* ══════════════════════════════════════════════
   HERO — Cinematic wipe-reveal with shockwave
   ══════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.pexels.com/photos/4946886/pexels-photo-4946886.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080");
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  animation: heroZoomPan 24s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroZoomPan {
  0%   { transform: scale(1) translateX(0); }
  50%  { transform: scale(1.08) translateX(-1.5%); }
  100% { transform: scale(1.04) translateX(1%); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.5) 50%, rgba(139, 26, 26, 0.2) 100%),
    linear-gradient(to top, rgba(20, 20, 20, 1) 0%, transparent 25%);
  z-index: 2;
}

/* ── Floating debris particles ── */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(192, 57, 43, 0.6);
  border-radius: 50%;
  animation: particleDrift 8s ease-in-out infinite;
}

.particle--1 { top: 20%; left: 15%; animation-delay: 0s; animation-duration: 7s; width: 3px; height: 3px; }
.particle--2 { top: 40%; left: 70%; animation-delay: 1.2s; animation-duration: 9s; width: 5px; height: 5px; background: rgba(255,255,255,0.15); }
.particle--3 { top: 60%; left: 30%; animation-delay: 2.5s; animation-duration: 6s; }
.particle--4 { top: 25%; left: 85%; animation-delay: 0.8s; animation-duration: 10s; width: 6px; height: 6px; background: rgba(192, 57, 43, 0.3); }
.particle--5 { top: 75%; left: 55%; animation-delay: 3.2s; animation-duration: 8s; width: 3px; height: 3px; background: rgba(255,255,255,0.1); }
.particle--6 { top: 35%; left: 45%; animation-delay: 1.8s; animation-duration: 11s; width: 2px; height: 2px; }
.particle--7 { top: 55%; left: 10%; animation-delay: 4s; animation-duration: 7.5s; width: 5px; height: 5px; background: rgba(192, 57, 43, 0.4); }
.particle--8 { top: 15%; left: 60%; animation-delay: 2s; animation-duration: 9.5s; width: 3px; height: 3px; background: rgba(255,255,255,0.08); }

@keyframes particleDrift {
  0%   { transform: translate(0, 0) scale(1); opacity: 0; }
  15%  { opacity: 1; }
  50%  { transform: translate(40px, -60px) scale(1.5); opacity: 0.7; }
  85%  { opacity: 0.3; }
  100% { transform: translate(-20px, -120px) scale(0.5); opacity: 0; }
}

/* ── Shockwave line ── */
.hero__shockwave {
  position: absolute;
  top: 55%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--color-accent) 50%, transparent 100%);
  z-index: 3;
  opacity: 0;
  animation: shockwaveExpand 3s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes shockwaveExpand {
  0%   { transform: scaleX(0); opacity: 0; }
  30%  { opacity: 0.8; }
  100% { transform: scaleX(1); opacity: 0.15; }
}

/* ── Hero content ── */
.hero__content {
  position: relative;
  z-index: 4;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 5%;
  width: 100%;
  padding-top: var(--header-height);
}

/* Eyebrow */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
}

/* Headline — line-by-line reveal */
.hero__headline {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -1px;
}

.line-reveal {
  display: block;
  overflow: hidden;
}

.line-reveal__inner {
  display: block;
  animation: lineRevealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: translateY(110%);
}

.line-reveal--delay .line-reveal__inner {
  animation-delay: 0.2s;
}

@keyframes lineRevealUp {
  to { transform: translateY(0); }
}

/* Subtitle */
.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

/* Hero actions */
.hero__actions {
  display: flex;
  gap: 1rem;
}

/* Slide-in animations */
.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes slideInLeft {
  to { opacity: 1; transform: translateX(0); }
}

.slide-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.slide-in-up--delay {
  animation-delay: 0.9s;
}

@keyframes slideInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}

.hero__scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}


/* ══════════════════════════════════════════════
   TRUST BAR
   ══════════════════════════════════════════════ */
.trust-bar {
  background-color: var(--color-primary);
  padding: 18px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

.trust-bar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 5%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-bar__item i {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
}


/* ══════════════════════════════════════════════
   SECTION HEADER
   ══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  color: var(--text-secondary);
  margin-top: 0.5rem;
  max-width: 560px;
  margin-inline: auto;
}

.section-header__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}


/* ══════════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--bg-elevated);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: transform var(--ease-normal), border-color var(--ease-normal), box-shadow var(--ease-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-normal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(192, 57, 43, 0.12);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background-color: rgba(192, 57, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  font-size: 1.75rem;
  animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(3deg); }
}

.service-card__title {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.service-card__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}


/* ══════════════════════════════════════════════
   ABOUT SPLIT SECTION
   ══════════════════════════════════════════════ */
.about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-split__img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-split__img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-split__img-wrap:hover img {
  transform: scale(1.04);
}

.about-split__image {
  position: relative;
}

.about-split__accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-primary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.about-split__accent-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.about-split__accent-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.about-split__content h2 {
  margin-bottom: 1.25rem;
}

.about-split__content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.75;
}

.about-split__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.about-feature i {
  color: var(--color-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════
   STATS SECTION
   ══════════════════════════════════════════════ */
.stats-section {
  padding: 0;
  background: var(--bg-elevated);
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats-grid__item {
  padding: 2.5rem 1.75rem;
  border: 1px solid var(--border-color);
  margin: -1px 0 0 -1px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
  transition: background-color var(--ease-normal);
}

.stats-grid__item:hover {
  background-color: rgba(192, 57, 43, 0.05);
}

.stats-grid__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-highlight);
}

.stats-grid__label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* ══════════════════════════════════════════════
   MARQUEE TICKER
   ══════════════════════════════════════════════ */
.marquee {
  overflow: hidden;
  padding: 20px 0;
  background: var(--bg-main);
  border-block: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.marquee__track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
}

.marquee__divider {
  color: var(--color-accent);
  font-size: 0.6rem;
  display: flex;
  align-items: center;
}

@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}


/* ══════════════════════════════════════════════
   TESTIMONIAL
   ══════════════════════════════════════════════ */
.testimonial {
  text-align: center;
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.testimonial__mark {
  font-family: var(--font-heading);
  font-size: 10rem;
  line-height: 1;
  color: rgba(139, 26, 26, 0.15);
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
  user-select: none;
}

.testimonial__text {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(192, 57, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.6rem;
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
}

.testimonial__name { margin-bottom: 2px; }

.testimonial__role {
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
}


/* ══════════════════════════════════════════════
   PROCESS TIMELINE
   ══════════════════════════════════════════════ */
.process-section {
  background: var(--bg-main);
  position: relative;
  z-index: 1;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Connecting line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary), var(--color-accent));
  opacity: 0.25;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.process-step__number::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(192, 57, 43, 0.4);
}

.process-step__content h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.process-step__content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}


/* ══════════════════════════════════════════════
   CTA BAND
   ══════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--bg-main) 100%);
  padding: 70px 0;
  border-top: 1px solid var(--color-accent);
  position: relative;
  z-index: 1;
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta-band__text {
  flex: 1;
  min-width: 280px;
}

.cta-band__text h2 {
  margin-bottom: 0.75rem;
}

.cta-band__text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
}


/* ══════════════════════════════════════════════
   CONTACT FORM + INFO PANEL
   ══════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.contact-form__heading {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact-form__sub {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.65;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: border-color var(--ease-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form__success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
}

.contact-form__success i { font-size: 1.4rem; }

/* Info Panel */
.contact-info {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-info__card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.75rem;
  border-bottom: 1px solid var(--border-color);
  transition: background-color var(--ease-fast);
}

.contact-info__card:last-of-type { border-bottom: none; }
.contact-info__card:hover { background-color: rgba(192, 57, 43, 0.04); }

.contact-info__icon {
  width: 42px;
  height: 42px;
  background-color: rgba(192, 57, 43, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info__card h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.contact-info__card a,
.contact-info__card p {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-info__card a:hover { color: var(--color-accent); }


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process-timeline::before { display: none; }
  .about-split__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .hero { min-height: 600px; }
  .hero__actions { flex-direction: column; }
  .hero__scroll-indicator { display: none; }
  .trust-bar__inner { justify-content: center; }
  .trust-bar__item { width: 45%; margin-bottom: 8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .about-split__features { grid-template-columns: 1fr; }
  .about-split__accent-box { right: 10px; bottom: -15px; }
  .process-timeline { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .trust-bar__item { width: 100%; justify-content: center; }
}
