/* AquaHearth — Design Tokens */
:root {
  /* Brand colors */
  --primary: #19005b;
  --primary-light: #2f1b8a;
  --primary-dark: #0f0038;
  --secondary: #efdf04;
  --secondary-dark: #b9ac00;

  /* Neutrals */
  --white: #ffffff;
  --light-bg: #faf9fd;
  --light-bg-tint: #f1eefa;
  --text-dark: #1a1330;
  --text-muted: #675f7d;
  --text-on-dark: #e9e4f7;
  --text-on-dark-muted: #b3a7d6;
  --border-soft: #e6e1f2;

  /* Type */
  --heading-font: "Unbounded", "Segoe UI", sans-serif;
  --body-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;

  /* Shape / motion */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 45px -20px rgba(25, 0, 91, 0.25);
  --shadow-card: 0 12px 30px -14px rgba(25, 0, 91, 0.18);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1280px;
}

/* Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

.container,
.container-fluid {
  max-width: var(--container-max);
}
.container-fluid.px-3.px-lg-5 {
  max-width: 1600px;
}

h1,
h2,
h3,
h4,
h5,
.font-heading {
  font-family: var(--heading-font);
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--secondary);
  color: var(--primary-dark);
  padding: 10px 16px;
  z-index: 2000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.eyebrow {
  font-family: var(--body-font);
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 22px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 3px;
  background: var(--secondary);
  transform: translateY(-50%);
  border-radius: 2px;
}
.eyebrow-light {
  color: var(--text-on-dark);
}

.section-heading {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 600;
  max-width: 620px;
}
.section-heading-light {
  color: var(--white);
}

.section-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.section-pad {
  padding: clamp(3.5rem, 3rem + 2vw, 6.5rem) 0;
}
.section-tint {
  background: var(--light-bg-tint);
}
.section-dark {
  background: var(--primary);
}

.text-accent {
  color: var(--secondary);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  font-family: var(--body-font);
  font-weight: 700;
  border-radius: 100px;
  padding: 0.7rem 1.6rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  border: 2px solid transparent;
  line-height: 1.3;
}
.btn-lg {
  padding: 0.9rem 2.1rem;
  font-size: 1.02rem;
}
.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
}

.btn-cta {
  background: var(--secondary);
  color: var(--primary-dark);
}
.btn-cta:hover,
.btn-cta:focus-visible {
  background: var(--primary-dark);
  color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-hero {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
  background: transparent;
}
.btn-outline-hero:hover,
.btn-outline-hero:focus-visible {
  border-color: var(--secondary);
  color: var(--secondary);
  transform: translateY(-2px);
}

.btn-outline-brand {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-brand:hover,
.btn-outline-brand:focus-visible {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  transition:
    box-shadow var(--transition),
    padding var(--transition);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}

.logo-link {
  display: inline-flex;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-img--mobile {
  height: 34px;
  filter: none;
}
.logo-img--footer {
  height: 42px;
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  padding: 0;
}
.nav-links .nav-link {
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  transition:
    color var(--transition),
    background var(--transition);
  position: relative;
}
.nav-links .nav-link:hover {
  color: var(--secondary);
}
.nav-links .nav-link.active {
  color: var(--primary-dark);
  background: var(--secondary);
}

.hamburger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ==========================================================================
   Mobile off-canvas menu
   ========================================================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 0, 56, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--transition),
    visibility var(--transition);
}
.mobile-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84vw, 340px);
  background: var(--white);
  z-index: 1050;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1.4rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.4);
}
.mobile-menu.is-active {
  transform: translateX(0);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--light-bg);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-links li + li {
  margin-top: 0.3rem;
}
.mobile-nav-links a {
  display: block;
  padding: 0.85rem 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition:
    background var(--transition),
    color var(--transition);
}
.mobile-nav-links a.active,
.mobile-nav-links a:hover {
  background: var(--light-bg-tint);
  color: var(--primary);
}

.mobile-menu-foot {
  margin-top: auto;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border-soft);
  font-weight: 600;
  color: var(--primary);
}
.mobile-menu-foot a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(
    120% 140% at 15% 10%,
    var(--primary-light) 0%,
    var(--primary) 45%,
    var(--primary-dark) 100%
  );
  padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(6rem, 4rem + 6vw, 9rem);
  overflow: hidden;
}

.hero-bg-ripples {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ripple {
  position: absolute;
  border: 1px solid rgba(239, 223, 4, 0.18);
  border-radius: 50%;
}
.ripple-1 {
  width: 480px;
  height: 480px;
  right: -140px;
  top: -160px;
}
.ripple-2 {
  width: 320px;
  height: 320px;
  right: -40px;
  top: 40px;
  border-color: rgba(255, 255, 255, 0.08);
}
.ripple-3 {
  width: 700px;
  height: 700px;
  right: -260px;
  top: -260px;
  border-color: rgba(255, 255, 255, 0.06);
}

.hero-heading {
  font-size: clamp(2.4rem, 1.9rem + 2.6vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.hero-sub {
  color: var(--text-on-dark-muted);
  font-size: 1.1rem;
  max-width: 46ch;
  margin-top: 1.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-mini-trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.4rem;
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.avatars {
  display: flex;
}
.avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  margin-left: -12px;
}
.avatars img:first-child {
  margin-left: 0;
}

.hero-media {
  position: relative;
  max-width: 460px;
  margin-inline: auto;
}
.hero-media img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.hero-media-card {
  position: absolute;
  left: -18px;
  bottom: 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: var(--shadow-soft);
}
.hero-media-card i {
  font-size: 1.6rem;
  color: var(--primary);
}
.hero-media-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  color: var(--text-dark);
}
.hero-media-card span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  line-height: 0;
}
.hero-wave svg {
  width: 100%;
  height: 70px;
  display: block;
}
.hero-wave path {
  fill: var(--white);
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--white);
  padding: 2.6rem 0;
  margin-top: -1px;
  border-bottom: 1px solid var(--border-soft);
}
.trust-number {
  font-family: var(--heading-font);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem);
  color: var(--primary);
  font-weight: 700;
}
.trust-number span {
  color: var(--secondary-dark);
}
.trust-label {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 0.2rem;
}

/* About */
.about-media {
  position: relative;
  max-width: 480px;
}
.about-media img:first-child {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3.3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.about-media-float {
  position: absolute;
  width: 52%;
  right: 0;
  bottom: -12%;
  border-radius: var(--radius-md);
  border: 6px solid var(--white);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.feature-point {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 0.95rem;
}
.feature-point i {
  color: var(--primary);
  font-size: 1.15rem;
}

/* ==========================================================================
   Services
   ========================================================================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  border-top: 4px solid var(--secondary);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.service-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--primary);
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--border-soft);
}
.service-list li:last-child {
  border-bottom: none;
}
.service-list i {
  color: var(--secondary-dark);
}
.service-link {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-link i {
  transition: transform var(--transition);
}
.service-link:hover i {
  transform: translate(3px, -3px);
}

/* ==========================================================================
   Product categories
   ========================================================================== */
.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-card);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card:hover img {
  transform: scale(1.06);
}
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 0, 56, 0.92) 0%,
    rgba(15, 0, 56, 0.35) 55%,
    rgba(15, 0, 56, 0.05) 100%
  );
  z-index: 1;
}
.category-card-body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
}
.category-card-body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.category-card-body p {
  color: var(--text-on-dark-muted);
  margin-bottom: 1.2rem;
  max-width: 34ch;
}

/* ==========================================================================
   Product swiper
   ========================================================================== */
.product-swiper {
  padding: 0.5rem 0.25rem 1rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.1rem;
  height: 100%;
  position: relative;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}
.product-card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/0.85;
  margin-bottom: 1rem;
  background: var(--light-bg-tint);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  z-index: 2;
}
.product-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  min-height: 2.6em;
}
.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.product-price {
  font-weight: 700;
  color: var(--primary);
}

.swiper-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.product-swiper-prev,
.product-swiper-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}
.product-swiper-prev:hover,
.product-swiper-next:hover {
  background: var(--primary);
  color: var(--white);
}
.product-swiper-pagination,
.testimonial-swiper-pagination {
  display: flex;
  gap: 0.4rem;
}
.swiper-pagination-bullet {
  background: var(--border-soft);
  opacity: 1;
  width: 8px;
  height: 8px;
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 22px;
  border-radius: 4px;
}

/* ==========================================================================
   Why Choose Us (dark section)
   ========================================================================== */
.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  height: 100%;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(239, 223, 4, 0.4);
  transform: translateY(-4px);
}
.why-card i {
  font-size: 1.7rem;
  color: var(--secondary);
  margin-bottom: 0.9rem;
  display: block;
}
.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.why-card p {
  color: var(--text-on-dark-muted);
  font-size: 0.92rem;
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.process-step {
  position: relative;
  padding: 1.8rem 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background: var(--light-bg-tint);
  height: 100%;
}
.process-num {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  color: var(--secondary-dark);
  font-weight: 700;
  display: block;
  margin-bottom: 0.6rem;
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
}
.process-row .col-md-6:nth-child(odd) .process-step {
  background: var(--light-bg-tint);
}
.process-row .col-md-6:nth-child(even) .process-step {
  background: var(--white);
  border: 1px solid var(--border-soft);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-swiper {
  padding-bottom: 0.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--shadow-card);
}
.stars {
  color: var(--secondary-dark);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.testimonial-card p {
  color: var(--text-dark);
  font-size: 1rem;
  min-height: 5.6em;
}
.testimonial-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.testimonial-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-person strong {
  display: block;
  font-size: 0.95rem;
}
.testimonial-person span {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.testimonial-swiper-pagination {
  justify-content: center;
  margin-top: 1.6rem;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  padding: clamp(2.6rem, 2rem + 2vw, 4rem) 0;
}
.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.cta-band p {
  color: var(--text-on-dark-muted);
  max-width: 50ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: var(--text-on-dark-muted);
  padding: 4rem 0 1.6rem;
}
.footer-about {
  font-size: 0.92rem;
  max-width: 32ch;
  margin-bottom: 1.2rem;
}
.footer-social {
  display: flex;
  gap: 0.7rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}
.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}

.footer-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li + li {
  margin-top: 0.65rem;
}
.footer-links a {
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  margin-bottom: 0.8rem;
}
.footer-contact i {
  color: var(--secondary);
  margin-top: 0.2rem;
}

.site-footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2.4rem 0 1.4rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  justify-content: space-between;
  font-size: 0.82rem;
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 900;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive tweaks
   ========================================================================== */
@media (max-width: 991.98px) {
  .hero-media {
    max-width: 360px;
    margin-top: 1rem;
  }
  .about-media {
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  .section-pad {
    padding: 3rem 0;
  }
  .hero {
    padding-bottom: 5rem;
  }
  .hero-media-card {
    left: 10px;
    bottom: 14px;
    padding: 0.7rem 1rem;
  }
  .category-card {
    min-height: 300px;
  }
  .cta-band .col-lg-auto {
    width: 100%;
  }
  .cta-band .btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-heading {
    font-size: 2.1rem;
  }
  .avatars img {
    width: 32px;
    height: 32px;
  }
}
