/* =================================================================
   Shri Krishna NJ Painting Contractor — style.css
   Structure:
   0. Theme variables (edit colours here)
   1. Base & typography
   2. Reusable helpers (buttons, eyebrows, section heads, reveal)
   3. Top bar
   4. Header / nav
   5. Hero carousel
   6. Marquee
   7. About
   8. Services
   9. Why choose us (colour-wave)
   10. Process timeline
   11. Gallery + lightbox
   12. FAQ
   13. Testimonials
   14. CTA band
   15. Contact
   16. Footer
   17. Floating buttons + back to top
   18. Responsive tweaks
================================================================= */

/* ============ 0. THEME VARIABLES — change colours here ============ */
:root {
  /* Blue palette */
  --primary: #14459c;
  /* main brand blue */
  --primary-dark: #0d2f6b;
  /* deep blue for dark sections */
  --primary-darker: #0a2450;
  /* darkest navy */
  --primary-light: #eaf1fb;
  /* soft blue tint background */
  --primary-100: #d7e6fb;
  /* light blue accents */

  /* Accent (used sparingly on CTAs for contrast) */
  --accent: #ff7a1a;
  --accent-dark: #e2650a;

  /* Neutrals */
  --ink: #0f1b33;
  /* headings / dark text */
  --body: #43506b;
  /* body text */
  --muted: #7a8699;
  /* secondary text */
  --line: #e4e9f2;
  /* borders */
  --bg: #ffffff;
  /* base background */
  --bg-alt: #f5f8ff;
  /* alternate tint background */
  --white: #ffffff;

  /* Typography */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Effects */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 18px rgba(15, 27, 51, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 27, 51, 0.10);
  --shadow-lg: 0 26px 60px rgba(15, 27, 51, 0.16);
  --shadow-primary: 0 16px 34px rgba(20, 69, 156, 0.28);
  --shadow-accent: 0 14px 30px rgba(255, 122, 26, 0.34);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.35s var(--ease);
}

/* ============ 1. BASE & TYPOGRAPHY ============ */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* smooth anchor scrolling */
  scroll-padding-top: 96px;
  /* offset for sticky header */
  overflow-x: clip;
  /* guard against horizontal scroll */
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: clip;
  /* guard against horizontal scroll */
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .6rem;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: color var(--t);
}

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

/* ============ 2. REUSABLE HELPERS ============ */
.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  position: relative;
}

.section--tint {
  background: var(--bg-alt);
}

.section--dark {
  background: var(--primary-darker);
}

/* eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--primary);
  background: var(--primary-light);
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.eyebrow--light {
  color: #cfe0ff;
  background: rgba(255, 255, 255, .08);
}

/* section titles */
.section__title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  font-weight: 700;
}

.section__title strong {
  color: var(--primary);
  font-weight: 800;
}

.section__title--light {
  color: var(--white);
}

.section__title--light strong {
  color: #7fb0ff;
}

.section__lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 620px;
}

.section__lead--light {
  color: #b9c6de;
}

.section__head {
  margin-bottom: 3rem;
}

.section__head .section__lead {
  margin-left: auto;
  margin-right: auto;
}

/* buttons */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 100px;
  padding: .7rem 1.6rem;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  border: 0;
}

.btn-lg {
  padding: .85rem 2rem;
  font-size: 1rem;
}

.btn-cta {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-accent);
}

.btn-cta:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(255, 122, 26, .42);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.btn-light:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* scroll-reveal base state (activated by JS) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============ 3. TOP BAR ============ */
.topbar {
  background: var(--primary-darker);
  color: #d6e2f7;
  font-size: .85rem;
  padding: .5rem 0;
}

.topbar__link {
  color: #d6e2f7;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 500;
}

.topbar__link:hover {
  color: var(--white);
}

.topbar__tag {
  color: #8fa8d4;
  font-weight: 500;
  letter-spacing: .02em;
}

.topbar__social-link {
  color: #d6e2f7;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  transition: background var(--t), color var(--t), transform var(--t);
}

.topbar__social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px) rotate(-6deg);
}

/* ============ 4. HEADER / NAV ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t), padding var(--t);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  transition: padding var(--t);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 1.35rem;
  box-shadow: var(--shadow-primary);
  transition: transform var(--t);
}

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

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.brand__name strong {
  color: var(--accent);
}

.brand__sub {
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* nav links */
.navbar-nav .nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  padding: .5rem .9rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem;
  right: .9rem;
  bottom: .28rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

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

.navbar-toggler {
  border: 0;
  padding: .25rem .5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ============ 5. HERO CAROUSEL ============ */
.hero {
  position: relative;
  overflow: hidden;
}

.hero__stage {
  position: relative;
  height: clamp(520px, 82vh, 760px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
  transition: opacity 1s var(--ease), transform 6s linear, visibility 1s;
}

/* fallback gradient shows if a hero image is missing */
.hero__stage {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* dark overlay so left-aligned text stays readable */
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 1, 3, 0.92) 0%, rgba(0, 0, 0, 0.72) 42%, rgba(0, 0, 0, 0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  color: var(--white);
  text-align: left;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  color: #cfe0ff;
  background: rgba(255, 255, 255, .12);
  padding: .4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(255, 255, 255, .18);
}

.hero__title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero__title strong {
  color: #ffb27a;
  font-weight: 800;
}

.hero__text {
  color: #dbe6f8;
  font-size: 1.12rem;
  margin-bottom: 1.8rem;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}

/* hero nav arrows */
.hero__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .16);
  color: var(--white);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  backdrop-filter: blur(4px);
}

.hero__nav:hover {
  background: var(--accent);
}

.hero__nav--prev {
  left: 20px;
}

.hero__nav--next {
  right: 20px;
}

.hero__nav--prev:hover {
  transform: translateY(-50%) translateX(-3px);
}

.hero__nav--next:hover {
  transform: translateY(-50%) translateX(3px);
}

/* hero dots */
.hero__dots {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: .5rem;
}

.hero__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: all var(--t);
  padding: 0;
}

.hero__dot.is-active {
  background: var(--accent);
  width: 30px;
  border-radius: 100px;
}

/* floating decorative icons */
.floaty {
  position: absolute;
  z-index: 4;
  color: rgba(255, 255, 255, .16);
  font-size: 3rem;
  animation: floaty 6s ease-in-out infinite;
  pointer-events: none;
}

.floaty--1 {
  top: 18%;
  right: 8%;
}

.floaty--2 {
  bottom: 16%;
  right: 20%;
  font-size: 2.4rem;
  animation-delay: 1.5s;
}

@keyframes floaty {

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

  50% {
    transform: translateY(-18px) rotate(8deg);
  }
}

/* ============ 6. MARQUEE (rAF-driven; JS moves the track) ============ */
.marquee {
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
  padding: .9rem 0;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .01em;
}

.marquee__item i {
  color: #ffcf9e;
  font-size: .7rem;
}

/* ============ 7. ABOUT ============ */
.about__media {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.about__img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about__img--main {
  width: 100%;
  aspect-ratio: 4/3.4;
  object-fit: cover;
}

.about__img--float {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  top: 18px;
  right: -6px;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-accent);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.about__badge-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
}

.about__badge-num span {
  font-size: 1.1rem;
}

.about__badge-label {
  font-size: .72rem;
  font-weight: 500;
  max-width: 110px;
}

/* counters */
.stat {
  border-left: 3px solid var(--primary-100);
  padding-left: .9rem;
}

.stat__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--primary);
}

.stat__label {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============ 8. SERVICES ============ */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--primary-light);
}

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

.service-card:hover .service-card__media img {
  transform: scale(1.08);
}

.service-card__icon {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-primary);
  transition: background var(--t), transform var(--t);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  transform: translateY(-4px) rotate(-6deg);
}

.service-card__body {
  padding: 2rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: 1.22rem;
}

.service-card__text {
  font-size: .95rem;
  color: var(--muted);
  flex: 1;
}

.service-card__cta {
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .4rem;
}

.service-card__cta i {
  transition: transform var(--t);
}

.service-card__cta:hover {
  color: var(--accent);
}

.service-card__cta:hover i {
  transform: translateX(5px);
}

/* ============ 9. WHY CHOOSE US — sequential colour-wave ============ */
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
}

.why-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: background var(--t), color var(--t), transform var(--t);
}

.why-card__title {
  font-size: 1.1rem;
  transition: color var(--t);
}

.why-card__text {
  font-size: .92rem;
  color: var(--muted);
  margin: 0;
  transition: color var(--t);
}

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

/* .is-lit class is toggled by JS in a left-to-right wave */
.why-card.is-lit {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  box-shadow: var(--shadow-primary);
}

.why-card.is-lit .why-card__title {
  color: var(--white);
}

.why-card.is-lit .why-card__text {
  color: #d5e2f8;
}

.why-card.is-lit .why-card__icon {
  background: rgba(255, 255, 255, .18);
  color: var(--white);
  transform: scale(1.06);
}

/* ============ 10. PROCESS TIMELINE ============ */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}

/* connecting line behind the steps */
.process__timeline::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(127, 176, 255, .5), transparent);
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 .5rem;
}

.process-step__num {
  position: absolute;
  top: -8px;
  right: 50%;
  transform: translateX(50%);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3.4rem;
  color: rgba(127, 176, 255, .12);
  z-index: 0;
}

.process-step__icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: var(--shadow-primary);
  border: 4px solid rgba(255, 255, 255, .06);
  transition: transform var(--t), background var(--t);
}

.process-step:hover .process-step__icon {
  transform: translateY(-6px) scale(1.05);
  background: var(--accent);
}

.process-step__title {
  color: var(--white);
  font-size: 1.14rem;
}

.process-step__text {
  color: #b9c6de;
  font-size: .92rem;
  margin: 0;
}

/* ============ 11. GALLERY + LIGHTBOX ============ */
.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--primary-light);
  aspect-ratio: 1/1;
}

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

.gallery__item:hover img {
  transform: scale(1.12);
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--white);
  background: rgba(20, 69, 156, .55);
  opacity: 0;
  transition: opacity var(--t);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(7, 20, 45, .92);
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--t);
}

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

.lightbox__img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  transition: background var(--t);
}

.lightbox__close:hover {
  background: var(--accent);
}

/* ============ 12. FAQ ============ */
.faq__accordion .accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm) !important;
  margin-bottom: .9rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq__accordion .accordion-button {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  padding: 1.15rem 1.3rem;
  background: var(--white);
}

.faq__accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}

.faq__accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-100);
}

.faq__accordion .accordion-button::after {
  background-size: 1rem;
}

.faq__accordion .accordion-body {
  color: var(--muted);
  font-size: .96rem;
  padding: 0 1.3rem 1.2rem;
}

.faq__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.1rem 1.3rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  border: 1px dashed var(--primary-100);
}

.faq__cta-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

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

.faq__cta-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary);
}

/* ============ 13. TESTIMONIALS ============ */
.testimonial {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial__viewport {
  position: relative;
  min-height: 300px;
}

.testimonial__slide {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2.6rem 2.4rem 2rem;
  margin: 0;
  text-align: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}

.testimonial__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  position: relative;
}

.testimonial__quote {
  font-size: 2.6rem;
  color: var(--primary-100);
  line-height: 1;
}

.testimonial__text {
  font-size: 1.12rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.7;
  margin: .6rem 0 1.6rem;
}

.testimonial__author {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}

.testimonial__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

.testimonial__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

.testimonial__role {
  display: block;
  font-size: .85rem;
  color: var(--muted);
}

.testimonial__author>span {
  text-align: left;
}

.testimonial__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background var(--t), color var(--t);
}

.testimonial__nav:hover {
  background: var(--primary);
  color: var(--white);
}

.testimonial__nav--prev {
  left: -8px;
}

.testimonial__nav--next {
  right: -8px;
}

.testimonial__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.testimonial__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--primary-100);
  cursor: pointer;
  transition: all var(--t);
  padding: 0;
}

.testimonial__dot.is-active {
  background: var(--primary);
  width: 26px;
  border-radius: 100px;
}

/* ============ 14. CTA BAND ============ */
.ctaband {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  position: relative;
  overflow: hidden;
}

.ctaband::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%);
}

.ctaband__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ctaband__title {
  color: var(--white);
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin-bottom: .4rem;
}

.ctaband__text {
  color: #cfe0ff;
  margin: 0;
}

.ctaband__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* ============ 15. CONTACT ============ */
.contact__list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.contact__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.contact__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: background var(--t), color var(--t);
}

.contact__item:hover .contact__icon {
  background: var(--primary);
  color: var(--white);
}

.contact__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem;
}

.contact__value {
  color: var(--muted);
  font-size: .95rem;
}

.contact__value--link:hover {
  color: var(--primary);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.form-label {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: .35rem;
}

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

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  font-size: .95rem;
  transition: border-color var(--t), box-shadow var(--t);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: .82rem;
  margin-top: .25rem;
  min-height: 1rem;
}

.contact-form__note {
  margin: 1rem 0 0;
  font-size: .92rem;
  font-weight: 600;
}

.contact-form__note.is-success {
  color: #1a8a4b;
}

.contact-form__note.is-error {
  color: #dc3545;
}

/* ============ 16. FOOTER ============ */
.footer {
  background: var(--primary-darker);
  color: #b9c6de;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
}

.footer__top {
  padding-bottom: 2.5rem;
}

.brand--footer .brand__name,
.brand--footer .brand__sub {
  color: var(--white);
}

.brand--footer .brand__sub {
  color: #8fa8d4;
}

.footer__about {
  font-size: .92rem;
  margin: 1.2rem 0;
  color: #9fb0cf;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background var(--t), transform var(--t);
}

.footer__social-link:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer__heading {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer__links,
.footer__contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: .6rem;
}

.footer__links a {
  color: #9fb0cf;
  font-size: .93rem;
  transition: color var(--t), padding-left var(--t);
}

.footer__links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  gap: .7rem;
  margin-bottom: .9rem;
  font-size: .92rem;
  color: #9fb0cf;
}

.footer__contact i {
  color: var(--accent);
  margin-top: .2rem;
}

.footer__contact a {
  color: #9fb0cf;
}

.footer__contact a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
  font-size: .85rem;
  color: #8095b6;
}

.footer__bottom p {
  margin: 0;
}

/* ============ 17. FLOATING BUTTONS + BACK TO TOP ============ */
.float-btn {
  position: fixed;
  bottom: 24px;
  z-index: 1040;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--t);
}

.float-btn:hover {
  transform: scale(1.1);
  color: var(--white);
}

.float-btn--whatsapp {
  left: 24px;
  background: #25d366;
  animation: pulse-green 2.2s infinite;
}

.float-btn--call {
  right: 24px;
  background: var(--primary);
  animation: pulse-blue 2.2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-blue {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 69, 156, .5);
  }

  70% {
    box-shadow: 0 0 0 16px rgba(20, 69, 156, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(20, 69, 156, 0);
  }
}

.back-to-top {
  position: fixed;
  bottom: 92px;
  right: 24px;
  z-index: 1039;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t);
  box-shadow: var(--shadow-md);
}

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

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ============ 18. RESPONSIVE ============ */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius);
    margin-top: .8rem;
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .navbar-nav .btn-cta {
    display: inline-block;
    margin-top: .6rem;
  }

  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.4rem;
  }

  .process__timeline::before {
    display: none;
  }

  .about__media {
    padding-left: 1rem;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 767.98px) {
  .section__head {
    margin-bottom: 2rem;
  }

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

  .hero__slide::before {
    background: linear-gradient(90deg, rgba(10, 36, 80, .94) 0%, rgba(10, 36, 80, .78) 100%);
  }

  .hero__nav {
    width: 40px;
    height: 40px;
  }

  .hero__nav--prev {
    left: 10px;
  }

  .hero__nav--next {
    right: 10px;
  }

  .floaty {
    display: none;
  }

  .ctaband__inner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
  }

  .ctaband__actions {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .testimonial__nav--prev {
    left: -4px;
  }

  .testimonial__nav--next {
    right: -4px;
  }
}

@media (max-width: 575.98px) {
  .process__timeline {
    grid-template-columns: 1fr;
  }

  .testimonial__slide {
    padding: 2rem 1.3rem 1.6rem;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

/* Respect reduced motion for decorative-only effects
   (marquee, counters and colour-wave stay running — they are core content). */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floaty {
    animation: none;
  }

  .float-btn {
    animation: none;
  }
}