/* Elite Fitness — Public Site Styles
   Brand colors sourced from logo (orange / black / white) */
:root {
  --as-black: #0a0a0a;
  --as-charcoal: #121212;
  --as-steel: #1a1a1a;
  /* Logo primary — vibrant orange */
  --as-primary: #F15A24;
  --as-primary-dark: #C94412;
  --as-primary-light: #FF7A47;
  --as-primary-rgb: 241, 90, 36;
  /* Backward-compatible aliases used across templates */
  --as-red: var(--as-primary);
  --as-red-dark: var(--as-primary-dark);
  --as-amber: #FF8A5B;
  --as-cream: #f5f5f5;
  --as-muted: #9a9a9a;
  --as-white: #ffffff;
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "DM Sans", "Inter", system-ui, sans-serif;
  --header-h: 84px;
  --radius: 4px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Modern scrollbar — Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(241, 90, 36, 0.45) transparent;
}

/* Modern scrollbar — Chrome, Edge, Safari */
*::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background: rgba(241, 90, 36, 0.4);
  border-radius: 999px;
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(241, 90, 36, 0.65);
}
*::-webkit-scrollbar-corner {
  background: transparent;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--as-black);
  color: var(--as-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

a { color: var(--as-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--as-primary-light); }

img { max-width: 100%; height: auto; display: block; }

/* Bootstrap danger → brand primary on public site */
.text-danger,
.text-brand {
  color: var(--as-primary) !important;
}
.border-danger {
  border-color: var(--as-primary) !important;
}
.bg-danger {
  background-color: var(--as-primary) !important;
  color: #0a0a0a !important;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.45);
}
.site-header .navbar {
  --nav-logo-size: 58px;
  min-height: var(--header-h);
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 0.08em;
  color: var(--as-white) !important;
  padding: 0;
  margin-right: 0.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.navbar-brand span { color: var(--as-red); }
.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--nav-logo-size);
  height: var(--nav-logo-size);
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.brand-logo {
  display: block;
  width: calc(var(--nav-logo-size) * 1.38);
  height: calc(var(--nav-logo-size) * 1.38);
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform var(--transition);
}
.navbar-brand:hover .brand-logo {
  transform: scale(1.06);
}
@media (max-width: 991.98px) {
  .site-header .navbar {
    --nav-logo-size: 50px;
  }
}
.nav-link {
  color: rgba(243,240,234,0.78) !important;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.55rem 0.85rem !important;
  position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--as-white) !important;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.2rem;
  height: 2px;
  background: var(--as-red);
}
.btn-as {
  background: var(--as-primary);
  color: #0a0a0a !important;
  border: none;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 10px 24px rgba(var(--as-primary-rgb), 0.28);
}
.btn-as:hover {
  background: var(--as-primary-light);
  transform: translateY(-2px);
  color: #0a0a0a !important;
  box-shadow: 0 14px 28px rgba(var(--as-primary-rgb), 0.35);
}
.btn-as-outline {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,0.35);
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  transition: border-color var(--transition), background var(--transition);
}
.btn-as-outline:hover {
  border-color: var(--as-white);
  background: rgba(255,255,255,0.06);
}

/* ---------- Hero (premium SaaS / Gym) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}
.hero-premium {
  align-items: center;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img,
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
}
/* Continuous zoom in/out while hero is in view */
.hero.is-in-view > .hero-media img,
.hero.is-in-view > .hero-media .hero-fallback,
.hero-carousel-section.is-in-view .carousel-item.active .hero-media img,
.hero-carousel-section.is-in-view .carousel-item.active .hero-media .hero-fallback {
  animation: heroKenBurns 14s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}
.hero-fallback {
  background:
    linear-gradient(135deg, rgba(var(--as-primary-rgb),0.35), rgba(10,10,10,0.9)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    #1a1a1a;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.45);
  z-index: 1;
  pointer-events: none;
}
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.82) 0%, rgba(8, 8, 10, 0.55) 48%, rgba(8, 8, 10, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.35) 0%, transparent 35%, rgba(8, 8, 10, 0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 1.5rem) 0 5.5rem;
  display: flex;
  align-items: center;
}
.hero-copy {
  max-width: 560px;
  width: 100%;
  font-family: "Inter", var(--font-body);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem 0.4rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 1.1rem;
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--as-red);
  box-shadow: 0 0 0 0 rgba(var(--as-primary-rgb), 0.55);
  animation: heroPulse 1.8s ease-out infinite;
}
.hero-subheading {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 0.85rem;
}
.hero-title {
  font-family: "Poppins", "Inter", sans-serif;
  font-size: clamp(2.35rem, 6.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.15rem;
  max-width: 12ch;
}
.hero-highlight {
  background: linear-gradient(120deg, var(--as-primary-dark) 0%, var(--as-primary) 45%, var(--as-primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  max-width: 42ch;
  color: rgba(243, 240, 234, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 1.75rem;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-hero-primary {
  background: var(--as-primary);
  color: #0a0a0a;
  border: none;
  box-shadow: 0 12px 28px rgba(var(--as-primary-rgb), 0.35);
}
.btn-hero-primary:hover {
  background: var(--as-primary-light);
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(var(--as-primary-rgb), 0.42);
}
.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}
.hero-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.hero-trust i {
  color: var(--as-red);
  font-size: 0.85rem;
}
.hero-trust-stars {
  color: var(--as-primary);
  letter-spacing: 0.04em;
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}
.hero-scroll i {
  animation: heroBounce 1.6s ease-in-out infinite;
}
.hero-scroll:hover { color: #fff; }

/* Base timing; animation only runs after JS adds .hero-anim-play (after page loader). */
.hero-anim {
  opacity: 0;
  will-change: opacity, transform;
  /* Failsafe: if JS never starts animations, reveal content anyway */
  animation: heroAnimFailsafe 0.01s linear 2.8s forwards;
}
@keyframes heroAnimFailsafe {
  to { opacity: 1; transform: none; }
}
.hero-anim.hero-anim-play {
  animation-duration: var(--hero-duration, 0.9s);
  animation-delay: var(--hero-delay, 0s);
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-anim.hero-anim-done {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--as-primary-rgb), 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(var(--as-primary-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--as-primary-rgb), 0); }
}
@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Hero carousel */
.hero-carousel-section {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
  display: block;
  align-items: stretch;
}
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  min-height: 100vh;
  min-height: 100dvh;
}
.hero-carousel .hero-slide {
  min-height: 100vh;
  min-height: 100dvh;
  align-items: center;
}
.hero-carousel-section > .hero-scroll {
  z-index: 7;
}
.hero-carousel .carousel-indicators {
  bottom: 3.25rem;
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next,
.section-carousel .carousel-control-prev,
.section-carousel .carousel-control-next {
  display: none;
}
.hero-carousel .carousel-indicators,
.section-carousel .carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 1.25rem;
  left: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-carousel .carousel-indicators {
  bottom: 3.25rem;
}
.hero-carousel .carousel-indicators [data-bs-target],
.section-carousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  padding: 0;
  margin: 0;
  text-indent: -999px;
  overflow: hidden;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 50%;
  opacity: 1;
  box-shadow: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.section-carousel .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.35);
}
.hero-carousel .carousel-indicators .active,
.section-carousel .carousel-indicators .active {
  background-color: var(--as-red);
  transform: scale(1.15);
}
.section-carousel {
  position: relative;
  padding-bottom: 2.5rem;
}

@media (max-width: 767px) {
  .hero-copy { max-width: 100%; }
  .hero-title { max-width: 14ch; }
  .hero-content { padding: calc(var(--header-h) + 1rem) 0 4.5rem; }
  .hero-trust { gap: 0.5rem 0.85rem; font-size: 0.75rem; }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
  .hero-cta { flex-direction: column; }
}

/* Layout system extras */
.about-layout-img {
  max-height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.about-layout-fallback {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, #2a1515, #111);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}
.about-full-width .about-full-image {
  max-width: 920px;
  margin: 0 auto;
}
.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  display: block;
}
@media (max-width: 991px) {
  .masonry-grid { column-count: 2; }
}
@media (max-width: 575px) {
  .masonry-grid { column-count: 1; }
}
.gallery-carousel-img {
  max-height: 480px;
  object-fit: cover;
}
.quote-style {
  border-left: 3px solid var(--as-red);
  padding: 1rem 0 1rem 1.25rem;
  margin: 0 0 1.5rem;
  color: rgba(243, 240, 234, 0.9);
}
.quote-style footer {
  color: var(--as-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}
.faq-card,
.schedule-card {
  background: var(--as-steel);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 1.25rem;
  height: 100%;
}
.schedule-timeline {
  border-left: 2px solid rgba(var(--as-primary-rgb), 0.45);
  padding-left: 1.25rem;
}
.timeline-item {
  position: relative;
  margin-bottom: 1.25rem;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--as-red);
}
.timeline-time {
  font-weight: 700;
  color: var(--as-red);
  font-size: 0.9rem;
}
.service-list-item i {
  color: var(--as-red);
  font-size: 1.4rem;
  margin-top: 0.2rem;
}
#lightboxModal .modal-body {
  padding: 0;
  background: #000;
}
#lightboxModal img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--as-charcoal); }
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 0.5rem;
}
.section-title span { color: var(--as-red); }
.section-sub {
  color: var(--as-muted);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}
.eyebrow {
  display: inline-block;
  color: var(--as-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
}

/* Why choose */
.feature-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.feature-item i {
  color: var(--as-red);
  font-size: 1.4rem;
  width: 2rem;
}
.feature-item h4 {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

/* Plans */
.plan-card {
  background: var(--as-steel);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1.5rem;
  height: 100%;
  position: relative;
  transition: transform var(--transition), border-color var(--transition);
}
.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--as-primary-rgb),0.45);
}
.plan-card.featured {
  border-color: var(--as-primary);
  background: linear-gradient(180deg, #152010 0%, var(--as-steel) 40%);
}
.plan-card .badge-featured {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--as-primary);
  color: #0a0a0a;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--as-primary);
  margin: 0.5rem 0;
}
.plan-price small {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--as-muted);
  letter-spacing: 0;
  text-transform: none;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.75rem;
}
.plan-features li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(243,240,234,0.85);
  font-size: 0.95rem;
}
.plan-features li i { color: var(--as-red); margin-right: 0.5rem; }

/* Services */
.service-block {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.service-block i {
  font-size: 1.75rem;
  color: var(--as-red);
  margin-bottom: 0.75rem;
}
.service-block h3 { font-size: 1.5rem; margin-bottom: 0.4rem; }

/* Trainers */
.trainer-card {
  position: relative;
  overflow: hidden;
  background: var(--as-steel);
  height: 100%;
}
.trainer-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #2a2a2a, #111);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.trainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.trainer-card:hover .trainer-photo img { transform: scale(1.06); }
.trainer-photo .placeholder-icon {
  font-size: 5rem;
  color: rgba(255,255,255,0.15);
  margin-bottom: 2rem;
}
.trainer-info { padding: 1.25rem; }
.trainer-info h3 { font-size: 1.5rem; margin-bottom: 0.15rem; }
.trainer-info .spec { color: var(--as-red); font-size: 0.85rem; font-weight: 600; }

/* Schedule table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
}
.schedule-table th, .schedule-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.schedule-table th {
  color: var(--as-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.schedule-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--as-steel);
  aspect-ratio: 4/3;
}
.gallery-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16/10; }
.gallery-item:nth-child(2) { grid-column: span 5; aspect-ratio: 4/3; }
.gallery-item:nth-child(n+3) { grid-column: span 4; }
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-empty {
  grid-column: 1 / -1;
  padding: 3rem;
  text-align: center;
  color: var(--as-muted);
  border: 1px dashed rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  .gallery-item, .gallery-item:nth-child(1), .gallery-item:nth-child(2), .gallery-item:nth-child(n+3) {
    grid-column: span 12;
    aspect-ratio: 16/10;
  }
}

/* Testimonials */
.testimonial-slide {
  background: var(--as-steel);
  padding: 2rem;
  border-left: 3px solid var(--as-red);
  height: 100%;
}
.testimonial-slide .stars { color: var(--as-amber); margin-bottom: 0.75rem; }
.testimonial-slide p { font-size: 1.05rem; color: rgba(243,240,234,0.9); }
.testimonial-slide .author { margin-top: 1.25rem; font-weight: 700; }
.testimonial-slide .author small { display: block; color: var(--as-muted); font-weight: 400; }

/* Blog cards */
.blog-card {
  background: var(--as-steel);
  height: 100%;
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-4px); }
.blog-thumb {
  aspect-ratio: 16/10;
  background: #222;
  overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 1.35rem; }
.blog-body .cat {
  color: var(--as-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.blog-body h3 { font-size: 1.45rem; margin: 0.4rem 0 0.6rem; }
.blog-body h3 a { color: var(--as-cream); }
.blog-body h3 a:hover { color: var(--as-amber); }

/* Forms */
.form-as .form-control, .form-as .form-select {
  background: var(--as-steel);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--as-cream);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.form-as .form-control:focus, .form-as .form-select:focus {
  background: var(--as-steel);
  border-color: var(--as-red);
  color: var(--as-cream);
  box-shadow: 0 0 0 0.2rem rgba(var(--as-primary-rgb),0.2);
}
.form-as .form-control::placeholder { color: #777; }
.form-as label { font-size: 0.85rem; color: var(--as-muted); margin-bottom: 0.35rem; }

.map-embed {
  width: 100%;
  min-height: 360px;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 4.5rem 0 3rem;
  background:
    linear-gradient(180deg, rgba(var(--as-primary-rgb),0.12), transparent),
    var(--as-charcoal);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 0 2rem;
}
.site-footer h5 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.site-footer a { color: var(--as-muted); }
.site-footer a:hover { color: var(--as-white); }
.footer-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  color: #fff;
}
.footer-brand .brand-logo-wrap {
  --nav-logo-size: 64px;
}
.footer-brand .brand-logo {
  width: calc(var(--nav-logo-size) * 1.38);
  height: calc(var(--nav-logo-size) * 1.38);
}
.footer-brand span { color: var(--as-red); }
.social-links a {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  margin-right: 0.4rem;
  transition: background var(--transition), border-color var(--transition);
}
.social-links a:hover {
  background: var(--as-red);
  border-color: var(--as-red);
  color: #fff;
}
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: var(--as-muted);
  font-size: 0.9rem;
}

/* Floating buttons */
.float-btns {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center; justify-content: center;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.float-btn:hover { transform: scale(1.08); color: #fff !important; }
.float-wa { background: #25d366; }
.float-call { background: var(--as-red); }
.float-top {
  background: var(--as-steel);
  border: 1px solid rgba(255,255,255,0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.float-top.show { opacity: 1; pointer-events: auto; }

/* Animations — global scroll reveals */
.reveal,
.reveal-zoom,
.reveal-slide-left,
.reveal-slide-right {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal { transform: translateY(36px); }
.reveal-zoom { transform: scale(0.92) translateY(20px); }
.reveal-slide-left { transform: translateX(-40px); }
.reveal-slide-right { transform: translateX(40px); }
.reveal.visible,
.reveal-zoom.visible,
.reveal-slide-left.visible,
.reveal-slide-right.visible {
  opacity: 1;
  transform: none;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* BMI */
.bmi-result {
  background: var(--as-steel);
  padding: 1.5rem;
  border-left: 3px solid var(--as-amber);
  display: none;
}
.bmi-result.show { display: block; }
.bmi-value {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--as-amber);
}

/* Accordion FAQ */
.accordion-as .accordion-item {
  background: var(--as-steel);
  border: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 0.5rem;
}
.accordion-as .accordion-button {
  background: var(--as-steel);
  color: var(--as-cream);
  font-weight: 600;
  box-shadow: none;
}
.accordion-as .accordion-button:not(.collapsed) {
  background: #222;
  color: var(--as-white);
}
.accordion-as .accordion-button::after { filter: invert(1); }
.accordion-as .accordion-body {
  background: #1a1a1a;
  color: var(--as-muted);
}

/* Loader */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--as-black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s;
}
#page-loader.hide {
  opacity: 0;
  visibility: hidden;
}
.loader-ring {
  width: 48px; height: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--as-red);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast container */
.toast-container-as {
  position: fixed;
  top: 90px;
  right: 1rem;
  z-index: 1100;
}

.content-prose { color: rgba(243,240,234,0.88); }
.content-prose h2, .content-prose h3 { color: #fff; margin-top: 1.5rem; }
.content-prose ul { padding-left: 1.2rem; }

@media (max-width: 991px) {
  .navbar-collapse {
    background: #111;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255,255,255,0.08);
  }
}

/* ——— Hero CMS: layout, alignment, animations ——— */
.hero.hero-v-top {
  align-items: flex-start;
}
.hero.hero-v-center {
  align-items: center;
}
.hero.hero-v-bottom {
  align-items: flex-end;
}
.hero-carousel .hero-slide.hero-v-top { align-items: flex-start; }
.hero-carousel .hero-slide.hero-v-center { align-items: center; }
.hero-carousel .hero-slide.hero-v-bottom { align-items: flex-end; }

.hero-content.hero-h-left {
  justify-content: flex-start;
}
.hero-content.hero-h-center {
  justify-content: center;
}
.hero-content.hero-h-center .hero-copy {
  margin-left: auto;
  margin-right: auto;
}
.hero-content.hero-h-right {
  justify-content: flex-end;
}
.hero-content.hero-h-right .hero-copy {
  margin-left: auto;
}

.hero-copy .text-left,
.hero-badge.text-left,
.hero-subheading.text-left,
.hero-title.text-left,
.hero-desc.text-left { text-align: left; }
.hero-copy .text-center,
.hero-badge.text-center,
.hero-subheading.text-center,
.hero-title.text-center,
.hero-desc.text-center { text-align: center; }
.hero-copy .text-right,
.hero-badge.text-right,
.hero-subheading.text-right,
.hero-title.text-right,
.hero-desc.text-right { text-align: right; }
.hero-copy .text-justify,
.hero-desc.text-justify { text-align: justify; }

.hero-cta.hero-align-left { justify-content: flex-start; }
.hero-cta.hero-align-center { justify-content: center; }
.hero-cta.hero-align-right { justify-content: flex-end; }
.hero-cta.hero-align-justify { justify-content: space-between; }

.hero-trust.hero-align-left { justify-content: flex-start; }
.hero-trust.hero-align-center { justify-content: center; }
.hero-trust.hero-align-right { justify-content: flex-end; }
.hero-trust.hero-align-justify { justify-content: space-between; }

.hero-media img {
  width: 100%;
  height: 100%;
}
.hero-media-fixed img {
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Typed hero animations — only when .hero-anim-play is present */
.hero-anim.hero-anim-play.hero-anim-fadeUp {
  animation-name: heroFadeUp;
}
.hero-anim.hero-anim-play.hero-anim-fadeIn {
  animation-name: heroFadeIn;
}
.hero-anim.hero-anim-play.hero-anim-slideLeft {
  animation-name: heroSlideLeft;
}
.hero-anim.hero-anim-play.hero-anim-slideRight {
  animation-name: heroSlideRight;
}
.hero-anim.hero-anim-play.hero-anim-zoomIn {
  animation-name: heroZoomIn;
}
/* Typewriter is JS-driven — keep visible container, hide until play */
.hero-anim.hero-anim-typewriter {
  opacity: 1;
  animation: none !important;
  min-height: 1.2em;
}
.hero-anim.hero-anim-typewriter:not(.hero-anim-play):not(.hero-anim-done) .hero-typewriter-target {
  opacity: 0;
}
.hero-typewriter-cursor {
  display: inline-block;
  width: 0.08em;
  height: 1em;
  margin-left: 0.12em;
  vertical-align: -0.1em;
  background: var(--as-primary, #F15A24);
  animation: heroCursorBlink 0.7s step-end infinite;
}
.hero-typewriter-cursor.is-done {
  animation: none;
  opacity: 0;
}
@keyframes heroCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero-title .hero-typewriter-cursor {
  height: 0.85em;
  width: 0.06em;
  vertical-align: baseline;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes heroSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroZoomIn {
  from { opacity: 0; transform: scale(1.12); }
  to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-anim.hero-anim-play {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero.is-in-view > .hero-media img,
  .hero.is-in-view > .hero-media .hero-fallback,
  .hero-carousel-section.is-in-view .carousel-item.active .hero-media img,
  .hero-carousel-section.is-in-view .carousel-item.active .hero-media .hero-fallback {
    animation: none !important;
    transform: none !important;
  }
}

/* ---------- Neon cursor (desktop pointer only) ---------- */
@media (hover: hover) and (pointer: fine) {
  body.has-neon-cursor,
  body.has-neon-cursor * {
    cursor: none !important;
  }
  .neon-cursor,
  .neon-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
    opacity: 0;
    transition: opacity 0.25s ease, width 0.2s ease, height 0.2s ease, background 0.2s ease;
  }
  .neon-cursor {
    width: 10px;
    height: 10px;
    background: #b4e055;
    box-shadow:
      0 0 6px #F15A24,
      0 0 14px #F15A24,
      0 0 28px rgba(241, 90, 36, 0.85);
    mix-blend-mode: screen;
  }
  .neon-cursor-glow {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(180, 224, 85, 0.65);
    background: rgba(241, 90, 36, 0.08);
    box-shadow:
      0 0 18px rgba(241, 90, 36, 0.45),
      0 0 40px rgba(241, 90, 36, 0.25),
      inset 0 0 12px rgba(180, 224, 85, 0.15);
  }
  .neon-cursor.is-on,
  .neon-cursor-glow.is-on {
    opacity: 1;
  }
  .neon-cursor.is-hover {
    width: 14px;
    height: 14px;
    background: #e8ff9a;
    box-shadow:
      0 0 10px #b4e055,
      0 0 24px #F15A24,
      0 0 48px rgba(241, 90, 36, 1);
  }
  .neon-cursor-glow.is-hover {
    width: 56px;
    height: 56px;
    border-color: rgba(232, 255, 154, 0.85);
    background: rgba(241, 90, 36, 0.14);
    box-shadow:
      0 0 28px rgba(241, 90, 36, 0.55),
      0 0 60px rgba(241, 90, 36, 0.35);
  }
  .neon-cursor.is-click {
    width: 8px;
    height: 8px;
    background: #fff;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  body.has-neon-cursor,
  body.has-neon-cursor * {
    cursor: auto !important;
  }
  .neon-cursor,
  .neon-cursor-glow {
    display: none !important;
  }
}