/* ==========================================================================
   A. K. ELECTRICAL WORK — Landing page styles
   --------------------------------------------------------------------------
   1.  Theme variables (change colours here)
   2.  Base & typography
   3.  Shared components (tags, titles, buttons, media placeholders)
   4.  Top bar
   5.  Sticky header
   6.  Hero carousel
   7.  Marquee
   8.  About
   9.  Services (zig-zag)
   10. Why choose us (current-flow cards)
   11. Stats band
   12. How it works
   13. Industries
   14. Gallery + lightbox
   15. CTA band
   16. FAQs
   17. Testimonials
   18. Contact
   19. Footer
   20. Floating buttons & decorations
   21. Scroll-reveal animations
   22. Responsive
   ========================================================================== */

/* ---------- 1. THEME VARIABLES ---------- */
:root {
  /* Brand — maroon family */
  --brand: #7B1E2B;
  --brand-dark: #56121D;
  --brand-deep: #2F0A11;
  --brand-soft: #F9EFF0;
  --brand-tint: #F1DCDF;

  /* Accent — warm amber (electric spark) */
  --accent: #E8A33D;
  --accent-dark: #C9851F;
  --accent-soft: #FDF4E6;

  /* Neutrals */
  --ink: #1F1A1C;
  --body: #4E4649;
  --muted: #7A7174;
  --line: #ECE3E4;
  --bg: #FFFFFF;
  --bg-alt: #F7F5F5;
  --white: #FFFFFF;
  --whatsapp: #25D366;

  /* Type */
  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  /* Shape & depth — radii vary by hierarchy on purpose */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(47, 10, 17, .06);
  --shadow-md: 0 12px 30px -12px rgba(47, 10, 17, .22);
  --shadow-lg: 0 30px 60px -24px rgba(47, 10, 17, .35);

  --header-h: 78px;
  --section-y: 100px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. BASE & TYPOGRAPHY ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 2px);
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.2;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover {
  color: var(--brand-dark);
}

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

strong {
  color: var(--ink);
  font-weight: 700;
}

address {
  margin: 0;
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-xs);
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.section {
  position: relative;
  padding: var(--section-y) 0;
  overflow: clip;
}

/* Safer large gutter: only applied on desktop so it never causes mobile overflow */
@media (min-width: 992px) {
  .g-lg-5-safe {
    --bs-gutter-x: 3rem;
  }
}

/* ---------- 3. SHARED COMPONENTS ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--brand);
  background: var(--brand-soft);
  border: 1px solid var(--brand-tint);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.tag i {
  color: var(--accent-dark);
}

.tag-light {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .18);
}

.tag-light i {
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.section-head {
  margin-bottom: 60px;
}

.section-head .section-sub {
  margin: 0 auto;
}

.lead-text {
  font-size: 1.08rem;
}

/* Primary button — slide-fill hover */
.btn-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--r-xs);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: .98rem;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(123, 30, 43, .6);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}

.btn-main:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-main:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Media wrapper with a graceful placeholder when image file is missing */
.media {
  position: relative;
  overflow: hidden;
  background: var(--brand-soft);
}

.media.img-missing {
  background:
    repeating-linear-gradient(135deg, rgba(123, 30, 43, .05) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--brand-soft), var(--brand-tint));
}

.media.img-missing img {
  visibility: hidden;
}

.media.img-missing::after {
  content: "\F42A  " attr(data-label);
  /* bootstrap-icons "image" glyph */
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  font-family: "bootstrap-icons", var(--font-body);
  font-size: .8rem;
  line-height: 1.4;
  color: var(--brand);
  opacity: .65;
  pointer-events: none;
}

/* ---------- 4. TOP BAR ---------- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
  padding: 9px 0;
}

.topbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.topbar-info {
  gap: 22px;
}

.topbar-info li {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-info i {
  color: var(--accent);
}

.topbar a {
  color: rgba(255, 255, 255, .85);
}

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

.topbar-social {
  gap: 6px;
}

.topbar-social a {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background .25s, color .25s, transform .25s;
}

.topbar-social a:hover {
  background: var(--accent);
  color: var(--brand-deep);
  transform: rotate(-12deg);
}

/* ---------- 5. STICKY HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px -14px rgba(47, 10, 17, .35);
  border-color: var(--line);
}

.site-header .navbar {
  min-height: var(--header-h);
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-height: var(--header-h);
}

.brand-footer {
  min-height: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--accent);
  font-size: 1.4rem;
  border-radius: 12px 4px 12px 4px;
  transition: transform .5s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-8deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.brand-text small {
  font-size: .75rem;
  color: var(--muted);
  margin-top: 2px;
}

.main-menu .nav-link {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink);
  padding: 8px 13px !important;
}

.main-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

.main-menu .nav-link:hover,
.main-menu .nav-link.active {
  color: var(--brand);
}

.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
  transform: scaleX(1);
}

.btn-header {
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--accent);
  color: var(--brand-deep);
  font-weight: 700;
  font-size: .92rem;
  transition: background .3s, box-shadow .3s;
}

.btn-header:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(123, 30, 43, .6);
}

/* Custom hamburger */
.nav-toggle {
  border: 0;
  padding: 10px;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-toggle:focus {
  box-shadow: none;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 6. HERO CAROUSEL ---------- */
.hero {
  position: relative;
}

/* NOTE: never change .carousel-item display — Bootstrap relies on display:none for inactive slides */
.hero .carousel-item {
  height: min(86vh, 760px);
  min-height: 520px;
  background: var(--brand-deep);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-color: var(--brand-deep);
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
}

.hero .carousel-item.active .hero-slide {
  animation: heroZoom 7s var(--ease) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.24) 75%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .9);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, .25);
}

.hero-kicker i {
  color: var(--accent);
}

.hero-title {
  font-family: var(--font-head);
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  max-width: 18ch;
  margin: 0 auto 18px;
}

.hero-text {
  font-size: clamp(1rem, .9rem + .4vw, 1.2rem);
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin: 0;
}

/* Staggered entrance for the active slide's text */
.hero .carousel-item .hero-content>* {
  opacity: 0;
  transform: translateY(22px);
}

.hero .carousel-item.active .hero-content>* {
  animation: heroText .9s var(--ease) forwards;
}

.hero .carousel-item.active .hero-content>*:nth-child(2) {
  animation-delay: .15s;
}

.hero .carousel-item.active .hero-content>*:nth-child(3) {
  animation-delay: .3s;
}

@keyframes heroText {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Progress indicators */
.hero-indicators {
  margin-bottom: 34px;
  gap: 10px;
}

.hero-indicators [data-bs-target] {
  position: relative;
  width: 56px;
  height: 4px;
  border: 0;
  margin: 0;
  background: rgba(255, 255, 255, .3);
  opacity: 1;
  border-radius: 4px;
  overflow: hidden;
  text-indent: 0;
}

.hero-indicators [data-bs-target]::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-indicators .active::after {
  animation: heroProgress 5.5s linear forwards;
}

@keyframes heroProgress {
  to {
    transform: scaleX(1);
  }
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: background .3s, border-color .3s, transform .3s;
}

.hero-arrow-prev {
  left: 28px;
}

.hero-arrow-next {
  right: 28px;
}

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-deep);
  transform: translateY(-50%) scale(1.08);
}

/* ---------- 7. MARQUEE ---------- */
.marquee-band {
  position: relative;
  z-index: 3;
}

.marquee {
  overflow: hidden;
  background: var(--brand);
  padding: 16px 0;
}

.marquee-alt {
  background: var(--accent);
  padding: 11px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.marquee-group {
  display: flex;
  flex-shrink: 0;
}

.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 30px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  white-space: nowrap;
}

.mq-item i {
  color: var(--accent);
  font-size: 1rem;
}

.marquee-alt .mq-item {
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.marquee-alt .mq-item::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* ---------- 8. ABOUT ---------- */
.about-visual {
  position: relative;
  padding: 0 60px 60px 0;
}

.about-img {
  margin: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.about-img-main {
  aspect-ratio: 9 / 10;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
}

.about-img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  aspect-ratio: 5 / 4;
  border: 8px solid #fff;
  border-radius: var(--r-md);
}

.about-visual:hover .about-img-main img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  left: -14px;
  bottom: 90px;
  z-index: 2;
  background: var(--accent);
  color: var(--brand-deep);
  padding: 18px 22px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  animation: floatY 5s ease-in-out infinite;
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-label {
  font-size: .82rem;
  font-weight: 600;
  max-width: 110px;
  line-height: 1.3;
  margin-top: 4px;
}

.about-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}

.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-points i {
  color: var(--brand);
  font-size: 1.2rem;
  line-height: 1.5;
}

.about-call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 14px;
  border: 1px dashed var(--brand-tint);
  border-radius: 60px;
  background: var(--brand-soft);
}

.about-call-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 0 rgba(123, 30, 43, .45);
  animation: ring 2.4s infinite;
}

.about-call-label {
  display: block;
  font-size: .82rem;
  color: var(--muted);
}

.about-call-num {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
}

.about-call-num:hover {
  color: var(--brand);
}

/* ---------- 9. SERVICES (ZIG-ZAG) ---------- */
.services {
  background: var(--brand-soft);
}

.services::before {
  /* faint blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(123, 30, 43, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 30, 43, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 35%, transparent 65%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 35%, transparent 65%, #000 100%);
}

.services .container {
  position: relative;
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 90px;
}

.svc-row:last-child {
  margin-bottom: 0;
}

.svc-row-rev .svc-media {
  order: 2;
}

.svc-row-rev .svc-body {
  order: 1;
}

.svc-media {
  aspect-ratio: 16 / 11;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  overflow: visible;
}

.svc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  transition: transform .7s var(--ease), filter .7s;
}

/* offset frame behind the image */
.svc-media::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  z-index: -1;
  border: 2px solid var(--brand);
  border-radius: var(--r-md);
  opacity: .25;
  transition: inset .5s var(--ease), opacity .5s;
}

.svc-row-rev .svc-media::before {
  inset: 22px 22px -22px -22px;
}

.svc-media:hover::before {
  inset: 10px -10px -10px 10px;
  opacity: .6;
}

.svc-row-rev .svc-media:hover::before {
  inset: 10px 10px -10px -10px;
}

.svc-media:hover img {
  transform: scale(1.02);
  filter: saturate(1.1);
}

.svc-media.img-missing {
  overflow: visible;
  border-radius: var(--r-md);
}

.svc-chip {
  position: absolute;
  top: -22px;
  right: 28px;
  z-index: 3;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--brand-deep);
  font-size: 1.6rem;
  border-radius: 18px 6px 18px 6px;
  box-shadow: var(--shadow-md);
  animation: floatY 4.5s ease-in-out infinite;
}

.svc-row-rev .svc-chip {
  right: auto;
  left: 28px;
}

.svc-title {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.svc-body p {
  margin-bottom: 20px;
  max-width: 520px;
}

.svc-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.svc-tags li {
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-dark);
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--brand-tint);
  border-radius: var(--r-xs);
  transition: background .25s, color .25s, border-color .25s;
}

.svc-tags li:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* ---------- 10. WHY CHOOSE US (current-flow cards) ---------- */
.why-head {
  margin-bottom: 70px;
}

.power-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 34px;
}

/* horizontal wire */
.power-wire {
  position: absolute;
  top: 12px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
}

.power-spark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 70px;
  height: 3px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, var(--accent), #fff, var(--accent), transparent);
  box-shadow: 0 0 14px 2px rgba(232, 163, 61, .7);
  border-radius: 3px;
  transition: left 1.1s var(--ease);
}

.power-card {
  position: relative;
  padding: 34px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: visible;
  isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}

/* colour fill that sweeps in from the left when the card is "powered" */
.power-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s var(--ease);
}

.power-node {
  position: absolute;
  top: -29px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--line);
  transition: border-color .4s, background .4s, box-shadow .4s;
}

.power-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.6rem;
  transition: background .5s, color .5s, transform .5s var(--ease);
}

.power-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  transition: color .5s;
}

.power-card p {
  margin: 0;
  font-size: .95rem;
  transition: color .5s;
}

.power-card.is-on,
.power-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.power-card.is-on::before,
.power-card:hover::before {
  clip-path: inset(0 0 0 0);
}

.power-card.is-on .power-node,
.power-card:hover .power-node {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(232, 163, 61, .25);
}

.power-card.is-on .power-icon,
.power-card:hover .power-icon {
  background: var(--accent);
  color: var(--brand-deep);
  transform: rotate(-10deg);
}

.power-card.is-on .power-title,
.power-card:hover .power-title {
  color: #fff;
}

.power-card.is-on p,
.power-card:hover p {
  color: rgba(255, 255, 255, .85);
}

/* ---------- 11. STATS BAND ---------- */
.stats-band {
  position: relative;
  padding: 64px 0;
  color: #fff;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 60%, var(--brand-dark));
  overflow: clip;
}

.stats-band::after {
  /* diagonal hazard-stripe accent */
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 180px;
  background: repeating-linear-gradient(-55deg, rgba(232, 163, 61, .18) 0 14px, transparent 14px 28px);
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 10px 20px;
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.stat:first-child {
  border-left: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .85);
}

/* ---------- 12. HOW IT WORKS ---------- */
.process {
  background: var(--bg-alt);
}

.steps {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* track + animated fill */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
}

.steps::before {
  background: repeating-linear-gradient(90deg, var(--brand-tint) 0 8px, transparent 8px 14px);
}

.steps::after {
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.8s var(--ease);
}

.steps.is-live::after {
  transform: scaleX(1);
}

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

.step-num {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  background: #fff;
  color: var(--brand);
  border: 2px solid var(--brand-tint);
  transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}

.steps.is-live .step-num {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.steps.is-live .step:nth-child(2) .step-num {
  transition-delay: .45s;
}

.steps.is-live .step:nth-child(3) .step-num {
  transition-delay: .9s;
}

.steps.is-live .step:nth-child(4) .step-num {
  transition-delay: 1.35s;
}

.step-card {
  background: #fff;
  padding: 28px 22px;
  border-radius: 4px 4px var(--r-md) var(--r-md);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
  height: calc(100% - 90px);
  transition: transform .4s var(--ease), box-shadow .4s;
}

.step:hover .step-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.step:hover .step-num {
  transform: scale(1.1);
}

.step-icon {
  font-size: 1.8rem;
  color: var(--accent-dark);
  display: block;
  margin-bottom: 12px;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  margin: 0;
  font-size: .95rem;
}

/* ---------- 13. INDUSTRIES ---------- */
.industries {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .8);
}

.industries::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  left: -160px;
  bottom: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, .18), transparent 65%);
}

.industries .section-title {
  color: #fff;
}

.ind-intro {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.ind-intro p {
  margin-bottom: 28px;
}

.btn-outline-light-custom {
  display: inline-flex;
  padding: 12px 24px;
  border-radius: var(--r-xs);
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 600;
  transition: background .3s, color .3s, border-color .3s, letter-spacing .3s;
}

.btn-outline-light-custom:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-deep);
  letter-spacing: .02em;
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ind-tile {
  position: relative;
  padding: 26px 18px;
  min-height: 150px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}

.ind-tile:nth-child(1),
.ind-tile:nth-child(5),
.ind-tile:nth-child(7),
.ind-tile:nth-child(8) {
  grid-column: span 2;
}

.ind-tile i {
  font-size: 1.8rem;
  color: var(--accent);
  transition: transform .5s var(--ease);
}

.ind-tile h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin: 18px 0 0;
}

.ind-tile::after {
  /* corner bolt that slides in */
  content: "\F46C";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 14px;
  top: 12px;
  color: var(--accent);
  opacity: 0;
  transform: translate(10px, -10px);
  transition: opacity .35s, transform .35s;
}

.ind-tile:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(232, 163, 61, .5);
  transform: translateY(-4px);
}

.ind-tile:hover i {
  transform: scale(1.15);
}

.ind-tile:hover::after {
  opacity: 1;
  transform: none;
}

/* ---------- 14. GALLERY + LIGHTBOX ---------- */
.gal-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s;
}

.gal-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 30px 16px 14px;
  text-align: left;
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  background: linear-gradient(0deg, rgba(47, 10, 17, .85), transparent);
  transform: translateY(100%);
  transition: transform .45s var(--ease);
}

.gal-item::before {
  /* zoom icon */
  content: "\F62C";
  font-family: "bootstrap-icons";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--brand-deep);
  transform: scale(0);
  transition: transform .35s var(--ease);
}

.gal-item:hover img,
.gal-item:focus-visible img {
  transform: scale(1.1) rotate(1deg);
  filter: brightness(.9);
}

.gal-item:hover .gal-cap,
.gal-item:focus-visible .gal-cap {
  transform: none;
}

.gal-item:hover::before,
.gal-item:focus-visible::before {
  transform: scale(1);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 5, 8, .92);
  padding: 60px 70px;
  opacity: 0;
  transition: opacity .3s;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lb-figure {
  margin: 0;
  max-width: 1000px;
  width: 100%;
  text-align: center;
}

.lb-figure img {
  max-height: 78vh;
  width: auto;
  margin: 0 auto;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  min-width: 280px;
  min-height: 200px;
}

.lb-figure figcaption {
  color: #fff;
  margin-top: 14px;
  font-weight: 500;
}

.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  transition: background .25s, color .25s;
}

.lb-btn:hover {
  background: var(--accent);
  color: var(--brand-deep);
}

.lb-close {
  top: 18px;
  right: 18px;
}

.lb-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- 14b. VIDEO SECTION ---------- */
.videos {
  background: var(--bg-alt);
}

.video-card {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--brand-deep);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-tint);
}

/* Change aspect-ratio to 16 / 9 if the videos are landscape */
.video-el {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 8;
  object-fit: contain;
  background: var(--brand-deep);
}

/* Videos are silent — hide the mute button and volume slider */
.video-el::-webkit-media-controls-mute-button,
.video-el::-webkit-media-controls-volume-slider,
.video-el::-webkit-media-controls-volume-control-container {
  display: none !important;
}

/* ---------- 15. CTA BAND ---------- */
.cta-band {
  position: relative;
  padding: 80px 0;
  background: var(--brand);
  overflow: clip;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .18;
  mix-blend-mode: luminosity;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--brand-deep) 0%, rgba(123, 30, 43, .85) 60%, rgba(123, 30, 43, .6) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.cta-title {
  color: #fff;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.cta-text {
  color: rgba(255, 255, 255, .85);
  margin: 0;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-light-custom,
.btn-ghost-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 50px;
  font-weight: 700;
  transition: transform .3s var(--ease), background .3s, color .3s, box-shadow .3s;
}

.btn-light-custom {
  background: var(--accent);
  color: var(--brand-deep);
}

.btn-light-custom:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5);
}

.btn-ghost-custom {
  border: 1.5px solid rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-ghost-custom:hover {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}

/* ---------- 16. FAQs ---------- */
.faqs {
  background: var(--brand-soft);
}

.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 30px);
}

.faq-help {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 22px;
  background: #fff;
  border-radius: var(--r-md);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.faq-help>i {
  font-size: 2rem;
  color: var(--brand);
}

.faq-help h3 {
  font-size: 1rem;
  margin: 0 0 2px;
}

.faq-help a {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
}

.faq-list .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--r-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .3s, border-color .3s;
}

.faq-list .accordion-item:has(.accordion-button:not(.collapsed)) {
  border-color: var(--brand-tint);
  box-shadow: var(--shadow-md);
}

.faq-list .accordion-header {
  margin: 0;
}

.faq-list .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 20px 22px;
  background: #fff;
  box-shadow: none;
  gap: 14px;
}

.faq-list .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: #fff;
}

.faq-list .accordion-button:focus {
  box-shadow: none;
}

.faq-list .accordion-button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.faq-list .accordion-button::after {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--brand-soft);
  background-position: center;
  background-size: 14px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237B1E2B'%3e%3cpath d='M8 3a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 8 3z'/%3e%3c/svg%3e");
  transition: transform .35s var(--ease), background-color .3s;
}

.faq-list .accordion-button:not(.collapsed)::after {
  transform: rotate(45deg);
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232F0A11'%3e%3cpath d='M8 3a.75.75 0 0 1 .75.75v3.5h3.5a.75.75 0 0 1 0 1.5h-3.5v3.5a.75.75 0 0 1-1.5 0v-3.5h-3.5a.75.75 0 0 1 0-1.5h3.5v-3.5A.75.75 0 0 1 8 3z'/%3e%3c/svg%3e");
}

.faq-list .accordion-body {
  padding: 0 22px 22px;
  color: var(--body);
}

/* ---------- 17. TESTIMONIALS ---------- */
.testimonials {
  background: #fff;
}

.testi-score {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0 30px;
}

.testi-score-num {
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}

.stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.testi-score-label {
  font-size: .9rem;
  color: var(--muted);
}

.testi-nav {
  display: flex;
  gap: 12px;
}

.testi-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--brand-tint);
  background: #fff;
  color: var(--brand);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}

.testi-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.testi-btn:active {
  transform: scale(.92);
}

.testi-viewport {
  overflow: hidden;
  padding: 14px 4px 24px;
  margin: -14px -4px 0;
  touch-action: pan-y;
  cursor: grab;
}

.testi-viewport.is-dragging {
  cursor: grabbing;
}

.testi-track {
  display: flex;
  transition: transform .6s var(--ease);
}

.testi-slide {
  flex: 0 0 50%;
  padding: 0 12px;
  margin: 0;
}

.testi-card {
  position: relative;
  height: 100%;
  padding: 34px 30px 28px;
  border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 4px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
  user-select: none;
}

.testi-card:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testi-quote {
  display: block;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  margin: -6px 0 10px;
}

.testi-card blockquote {
  margin: 0 0 26px;
  font-size: 1.02rem;
  color: var(--ink);
  flex-grow: 1;
  position: relative;
}

.testi-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px dashed var(--brand-tint);
}

.avatar {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
}

.testi-card figcaption strong {
  display: block;
  font-family: var(--font-head);
}

.testi-card figcaption small {
  color: var(--muted);
  font-size: .85rem;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.testi-dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  border: 0;
  padding: 0;
  background: var(--brand-tint);
  transition: width .35s var(--ease), background .35s;
}

.testi-dot.active {
  width: 30px;
  background: var(--brand);
}

/* ---------- 18. CONTACT ---------- */
.contact {
  background: var(--bg-alt);
}

.contact-wrap {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-info {
  height: 100%;
  padding: 44px 38px;
  background: var(--brand);
  color: rgba(255, 255, 255, .85);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  top: -110px;
  border-radius: 50%;
  border: 40px solid rgba(232, 163, 61, .14);
}

.contact-info-title {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 26px;
  position: relative;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  position: relative;
}

.contact-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .1);
  color: var(--accent);
  font-size: 1.1rem;
  transition: background .3s, color .3s;
}

.contact-list li:hover .ci-icon {
  background: var(--accent);
  color: var(--brand-deep);
}

.contact-list h4 {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-list a {
  display: block;
  color: rgba(255, 255, 255, .85);
  word-break: break-word;
}

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

.contact-map {
  border-radius: var(--r-sm);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, .08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-form {
  padding: 44px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-label {
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem;
  margin-bottom: 6px;
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  background-color: var(--bg-alt);
  font-size: .96rem;
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--brand);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(123, 30, 43, .1);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 15px 26px;
}

.form-note {
  margin: 12px 0 0;
  font-size: .92rem;
  min-height: 1.4em;
  color: #1d7a45;
  font-weight: 500;
}

/* ---------- 19. FOOTER ---------- */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .72);
  padding-top: 80px;
  font-size: .95rem;
}

.brand-footer {
  color: #fff;
  margin-bottom: 20px;
}

.brand-footer:hover {
  color: #fff;
}

.brand-footer .brand-text strong {
  color: #fff;
}

.brand-footer .brand-mark {
  background: var(--accent);
  color: var(--brand-deep);
}

.brand-footer .brand-text small {
  color: rgba(255, 255, 255, .6);
}

.footer-about {
  max-width: 340px;
}

.footer-title {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.footer-links,
.footer-contact,
.footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, .72);
  display: inline-block;
  transition: color .25s, transform .25s;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--accent);
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, .72);
  word-break: break-word;
}

.footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff;
  transition: background .3s, border-color .3s, transform .3s;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--brand-deep);
  transform: translateY(-4px);
}

.footer-top {
  padding-bottom: 50px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
}

.footer-bottom p {
  margin: 0;
}

/* ---------- 20. FLOATING BUTTONS & DECORATIONS ---------- */
.float-btn {
  position: fixed;
  bottom: 24px;
  z-index: 1040;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .4);
  transition: transform .3s var(--ease);
}

.float-btn::before,
.float-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  z-index: -1;
  animation: pulse 2.2s ease-out infinite;
}

.float-btn::after {
  animation-delay: 1.1s;
}

.float-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.float-wa {
  left: 24px;
  background: var(--whatsapp);
}

.float-call {
  right: 24px;
  background: var(--brand);
  font-size: 1.35rem;
}

.float-call i {
  animation: shake 2.4s ease-in-out infinite;
}

.back-top {
  position: fixed;
  right: 31px;
  bottom: 96px;
  z-index: 1040;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s, color .3s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  background: var(--accent);
  color: var(--brand-deep);
}

.float-deco {
  position: absolute;
  z-index: 0;
  color: var(--brand);
  opacity: .08;
  pointer-events: none;
  animation: floatY 7s ease-in-out infinite;
}

.deco-1 {
  font-size: 7rem;
  top: 60px;
  right: 4%;
  animation: spin 30s linear infinite;
}

.deco-2 {
  font-size: 4rem;
  bottom: 60px;
  left: 3%;
  color: var(--accent);
  opacity: .25;
}

.deco-3 {
  font-size: 6rem;
  top: 50px;
  right: 5%;
}

.deco-4 {
  font-size: 9rem;
  right: 6%;
  top: 50%;
  margin-top: -4.5rem;
  color: var(--accent);
  opacity: .15;
}

.section>.container,
.cta-band>.container {
  position: relative;
  z-index: 1;
}

.float-img {
  position: absolute;
  z-index: 3;
  width: 120px;
  top: 30px;
  right: 20px;
  filter: drop-shadow(0 16px 20px rgba(47, 10, 17, .3));
  animation: floatY 6s ease-in-out infinite;
}

.float-img.is-hidden {
  display: none;
}

@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: .55;
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@keyframes ring {
  0% {
    box-shadow: 0 0 0 0 rgba(123, 30, 43, .45);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(123, 30, 43, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(123, 30, 43, 0);
  }
}

@keyframes shake {

  0%,
  60%,
  100% {
    transform: rotate(0);
  }

  65%,
  75%,
  85% {
    transform: rotate(-14deg);
  }

  70%,
  80%,
  90% {
    transform: rotate(14deg);
  }
}

/* ---------- 21. SCROLL-REVEAL ---------- */
/* Hidden state only applies once script.js confirms it is running */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.js-ready .reveal-left {
  transform: translateX(-40px);
}

.js-ready .reveal-right {
  transform: translateX(40px);
}

.js-ready .reveal-zoom {
  transform: scale(.92);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 22. RESPONSIVE ---------- */
@media (max-width: 1199.98px) {
  .main-menu .nav-link {
    padding: 8px 9px !important;
    font-size: .9rem;
  }

  .btn-header {
    margin-left: 8px;
    padding: 9px 16px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --section-y: 76px;
    --header-h: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .navbar-collapse {
    background: #fff;
    margin: 0 -12px;
    padding: 10px 20px 22px;
    border-top: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-menu .nav-link {
    padding: 12px 4px !important;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .main-menu .nav-link::after {
    left: 4px;
    right: auto;
    width: 30px;
    bottom: -1px;
  }

  .btn-header {
    margin: 18px 0 0;
    width: 100%;
    justify-content: center;
    padding: 13px;
  }

  .hero-arrow {
    display: none;
  }

  .about-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .svc-row {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 72px;
  }

  .svc-row-rev .svc-media,
  .svc-row-rev .svc-body {
    order: 0;
  }

  .svc-body p {
    max-width: none;
  }

  .power-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 0;
  }

  .power-wire,
  .power-node {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .steps::before,
  .steps::after {
    display: none;
  }

  .step-card {
    height: auto;
  }

  .ind-intro {
    margin-bottom: 10px;
  }

  .faq-aside {
    position: static;
  }

  .contact-info,
  .contact-form {
    padding: 36px 28px;
  }
}

@media (max-width: 767.98px) {
  .topbar-social {
    display: none !important;
  }

  .topbar-info {
    gap: 16px;
  }

  .hero .carousel-item {
    height: 72vh;
    min-height: 480px;
  }

  .hero-indicators {
    margin-bottom: 22px;
  }

  .section-head {
    margin-bottom: 44px;
  }

  .about-visual {
    padding: 0 34px 44px 0;
  }

  .about-badge {
    left: -6px;
    bottom: 60px;
    padding: 14px 16px;
  }

  .about-badge-num {
    font-size: 1.8rem;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .float-img {
    width: 80px;
  }

  .svc-media::before {
    inset: 14px -12px -12px 14px;
  }

  .svc-row-rev .svc-media::before {
    inset: 14px 14px -12px -12px;
  }

  .svc-chip {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
    top: -18px;
  }

  .testi-slide {
    flex-basis: 100%;
  }

  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ind-grid .ind-tile {
    grid-column: auto;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox {
    padding: 60px 12px;
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lb-prev {
    left: calc(50% - 60px);
  }

  .lb-next {
    right: calc(50% - 60px);
  }

  .deco-1,
  .deco-3 {
    font-size: 4rem;
  }
}

@media (max-width: 575.98px) {
  .brand-text strong {
    font-size: 1rem;
  }

  .brand-text small {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .power-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 6px 10px;
  }

  .gal-cap {
    font-size: .8rem;
    padding: 24px 10px 10px;
    transform: none;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
    bottom: 18px;
    font-size: 1.4rem;
  }

  .float-wa {
    left: 16px;
  }

  .float-call {
    right: 16px;
  }

  .back-top {
    right: 20px;
    bottom: 82px;
  }

  .cta-actions {
    width: 100%;
  }

  .btn-light-custom,
  .btn-ghost-custom {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Reduced motion: calm decorative loops. The marquee and counters are JS-driven and keep running. */
@media (prefers-reduced-motion: reduce) {

  .float-deco,
  .float-img,
  .about-badge,
  .svc-chip,
  .float-btn::before,
  .float-btn::after,
  .float-call i {
    animation: none;
  }

  .js-ready .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}