/* ============================================================
   SUN LAW AZ — PREMIUM DESIGN ENHANCEMENTS
   Override layer — loads after style.css + responsive.css
   ============================================================ */

/* ——————————————————————————————————
   0. DESIGN TOKENS
   —————————————————————————————————— */
:root {
  --lp-gold:         #cfa74c;
  --lp-gold-light:   #e3b853;
  --lp-gold-dark:    #a1833b;
  --lp-gold-glow:    rgba(207, 167, 76, 0.22);
  --lp-cream:        #fcf8ee;

  --lp-ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --lp-ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  --lp-shadow-card:  0 8px 32px rgba(0, 0, 0, 0.10);
  --lp-shadow-lift:  0 20px 48px rgba(0, 0, 0, 0.16);
  --lp-shadow-gold:  0 8px 32px rgba(207, 167, 76, 0.26);
}

/* ——————————————————————————————————
   1. TYPOGRAPHY REFINEMENT
   —————————————————————————————————— */
.heading-text {
  letter-spacing: -0.025em;
  line-height: 0.94 !important;
}

.hero-innner h1 {
  letter-spacing: -0.03em;
  line-height: 0.88 !important;
}

/* Tabular numerals for dollar amounts */
.result-card h4,
.victims-counter h4 {
  font-family: "Oswald", sans-serif;
  font-feature-settings: "tnum" on;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

/* ——————————————————————————————————
   2. HERO — CINEMATIC DEPTH
   —————————————————————————————————— */
.hero-sec {
  position: relative;
}


.hero-sec .container {
  position: relative;
  z-index: 2;
}

.hero-innner h1 {
  animation: lp-fadeUp 0.95s var(--lp-ease) forwards;
  opacity: 0;
  transform: translateY(30px);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-innner h1 span {
  text-shadow: 0 0 50px rgba(227, 184, 83, 0.55);
}

.hero-text-box {
  animation: lp-fadeUp 0.95s var(--lp-ease) 0.22s forwards;
  opacity: 0;
  transform: translateY(22px);
}

@keyframes lp-fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——————————————————————————————————
   3. RESULT CARDS — HOVER ELEVATION
   —————————————————————————————————— */
.result-card {
  position: relative;
  transition: transform 0.38s var(--lp-ease-bounce),
              box-shadow 0.38s var(--lp-ease);
}

.result-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lp-gold), var(--lp-gold-light));
  transition: width 0.4s var(--lp-ease);
}

.result-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lp-shadow-lift);
}

.result-card:hover::after {
  width: 100%;
}

/* ——————————————————————————————————
   4. CATEGORY IMAGE BOXES — SMOOTH HOVER
   —————————————————————————————————— */
.category-box img {
  transition: transform 0.65s var(--lp-ease);
}

.category-box:hover img {
  transform: scale(1.07);
}

/* Full-coverage gradient overlay */
.category-box .bottom-text {
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.30) 50%,
    transparent 100%
  );
  transition: background 0.45s var(--lp-ease);
}

.category-box:hover .bottom-text {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.60) 55%,
    rgba(161, 131, 59, 0.18) 100%
  );
}

.category-box .arrow-box {
  transition: background 0.3s var(--lp-ease),
              border-color 0.3s var(--lp-ease),
              transform 0.38s var(--lp-ease-bounce);
}

.category-box:hover .arrow-box {
  background: var(--lp-gold);
  border-color: var(--lp-gold) !important;
  transform: scale(1.12) rotate(8deg);
}

.bottom-text h4 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
  transition: letter-spacing 0.3s var(--lp-ease);
}

.category-box:hover .bottom-text h4 {
  letter-spacing: 0.01em;
}

/* ——————————————————————————————————
   5. TESTIMONIAL CARDS — HOVER POLISH
   —————————————————————————————————— */
.client-card,
.hero-testimonial-card {
  transition: box-shadow 0.35s var(--lp-ease),
              border-color 0.35s var(--lp-ease),
              transform 0.38s var(--lp-ease-bounce);
}

.client-card:hover {
  box-shadow: var(--lp-shadow-card);
  border-color: rgba(207, 167, 76, 0.5) !important;
  transform: translateY(-3px);
}

.hero-testimonial-card:hover {
  box-shadow: var(--lp-shadow-card);
  border-color: rgba(207, 167, 76, 0.45) !important;
}

/* ——————————————————————————————————
   6. BUTTONS — MICRO-INTERACTIONS
   —————————————————————————————————— */
.btn-default {
  letter-spacing: 0.025em;
  transition: background-color 0.3s var(--lp-ease),
              color 0.3s var(--lp-ease),
              border-color 0.3s var(--lp-ease),
              box-shadow 0.3s var(--lp-ease),
              transform 0.3s var(--lp-ease-bounce) !important;
}

.btn-default:hover {
  box-shadow: var(--lp-shadow-gold);
  transform: translateY(-2px);
}

.btn-contact {
  transition: background 0.3s var(--lp-ease),
              color 0.3s var(--lp-ease),
              box-shadow 0.3s var(--lp-ease),
              transform 0.3s var(--lp-ease-bounce) !important;
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: var(--lp-shadow-gold);
}

.btn-form {
  letter-spacing: 0.04em;
  transition: background-color 0.3s var(--lp-ease),
              color 0.3s var(--lp-ease),
              box-shadow 0.3s var(--lp-ease),
              transform 0.3s var(--lp-ease-bounce) !important;
}

.btn-form:hover {
  box-shadow: var(--lp-shadow-gold);
  transform: translateY(-1px);
}

.btn-video {
  transition: box-shadow 0.38s var(--lp-ease),
              transform 0.38s var(--lp-ease-bounce) !important;
}

.btn-video:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

/* Play button — video banner only (not inside the pill button) */
.video-banner:hover .play-btn {
  transform: scale(1.14);
  box-shadow: 0 4px 24px rgba(207, 167, 76, 0.55);
}

/* ——————————————————————————————————
   7. FORM INPUTS — FOCUS STATES
   —————————————————————————————————— */
.consultaion-box .form-control,
.contact-sec .form-control {
  transition: border-color 0.28s var(--lp-ease),
              box-shadow 0.28s var(--lp-ease),
              background-color 0.28s var(--lp-ease) !important;
}

.consultaion-box .form-control:focus {
  border-color: var(--lp-gold) !important;
  box-shadow: 0 0 0 3px rgba(207, 167, 76, 0.18) !important;
  background-color: #fff !important;
}

.contact-sec .form-control:focus {
  border-color: var(--lp-gold) !important;
  box-shadow: 0 0 0 3px rgba(207, 167, 76, 0.18) !important;
}

.consultaion-box {
  transition: box-shadow 0.4s var(--lp-ease);
}

.consultaion-box:hover {
  box-shadow: 0 0 0 1px rgba(207, 167, 76, 0.25),
              0 12px 48px rgba(161, 131, 59, 0.10);
}

.contact-box {
  transition: box-shadow 0.4s var(--lp-ease);
}

.contact-box:hover {
  box-shadow: 0 0 0 1px rgba(207, 167, 76, 0.25),
              0 12px 48px rgba(161, 131, 59, 0.10);
}

/* ——————————————————————————————————
   8. FAQ ACCORDION — REFINED
   —————————————————————————————————— */
.faq-sec .accordion-item {
  transition: background-color 0.28s var(--lp-ease),
              border-color 0.28s var(--lp-ease),
              box-shadow 0.28s var(--lp-ease);
}

.faq-sec .accordion-item:hover:not(.active-item) {
  border-color: rgba(207, 167, 76, 0.38) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.faq-sec .active-item {
  border-color: var(--lp-gold-dark) !important;
  box-shadow: 0 4px 22px rgba(161, 131, 59, 0.14);
}

.faq-sec .accordion-button {
  transition: color 0.22s var(--lp-ease), letter-spacing 0.22s var(--lp-ease);
}

/* Checklist items — subtle nudge */
.case-text-wrapper ul li {
  transition: transform 0.25s var(--lp-ease-bounce);
}

.case-text-wrapper ul li:hover {
  transform: translateX(5px);
}

/* ——————————————————————————————————
   9. BACKGROUND SECTION OVERLAYS
   —————————————————————————————————— */

/* Attorney section */
.attorney-sec {
  position: relative;
}

.attorney-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.60) 0%,
    rgba(0, 0, 0, 0.46) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.attorney-sec > .container {
  position: relative;
  z-index: 1;
}

/* Client box above overlay */
.client-box {
  position: relative;
  z-index: 2;
}

/* Feeling pressured */
.feeling-sec {
  position: relative;
}

.feeling-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.60);
  z-index: 0;
  pointer-events: none;
}

.feeling-sec > .container {
  position: relative;
  z-index: 1;
}

/* Frosted glass callout box */
.feeling-sec .text-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(227, 184, 83, 0.20);
  border-radius: 4px;
  padding: 48px 56px 56px;
}

/* Victims stats section */
.victims-sec {
  position: relative;
}

.victims-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.52) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.victims-sec > .container {
  position: relative;
  z-index: 1;
}

/* Divider lines between stat boxes */
.victims-counter-box {
  position: relative;
}

.victims-counter-box + .victims-counter-box::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(207, 167, 76, 0.40), transparent);
  pointer-events: none;
}

/* Final CTA section */
.free-consultion-sec {
  position: relative;
}

.free-consultion-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.80) 0%,
    rgba(0, 0, 0, 0.56) 45%,
    rgba(0, 0, 0, 0.18) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.free-consultion-sec > .container {
  position: relative;
  z-index: 1;
}

/* ——————————————————————————————————
   10. HEADER — PHONE & DROPDOWN
   —————————————————————————————————— */

/* Keep phone number on one line */
.contact-number {
  white-space: nowrap;
}

/* Prevent iOS Safari from turning phone links blue */
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
a[href^="tel"]:visited {
  color: inherit;
}

/* Practice Areas dropdown — dark theme to match header */
.lp-dropdown-menu {
  background: rgba(10, 10, 10, 0.97);
  border: 1px solid rgba(207, 167, 76, 0.25);
  border-radius: 4px;
  padding: 6px 0;
  min-width: 200px;
}

.lp-dropdown-menu .dropdown-item {
  color: #fff;
  font-family: "HelveticaNowText", sans-serif;
  font-size: 15px;
  padding: 10px 20px;
  transition: background 0.2s var(--lp-ease), color 0.2s var(--lp-ease);
}

.lp-dropdown-menu .dropdown-item:hover,
.lp-dropdown-menu .dropdown-item:focus {
  background: rgba(207, 167, 76, 0.15);
  color: var(--lp-gold-light);
}

/* ——————————————————————————————————
   11. HEADER SCROLL EFFECT
   —————————————————————————————————— */
header {
  transition: background 0.42s var(--lp-ease),
              backdrop-filter 0.42s var(--lp-ease) !important;
}

header.lp-scrolled {
  background: rgba(0, 0, 0, 0.90) !important;
  backdrop-filter: blur(22px) !important;
  -webkit-backdrop-filter: blur(22px) !important;
}

/* ——————————————————————————————————
   11. SCROLL REVEAL — JS GUARD
   JS adds .js-lp-ready to <html> and .lp-visible to sections
   —————————————————————————————————— */

/* Result cards staggered reveal */
.js-lp-ready .result-card {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s var(--lp-ease),
              transform 0.58s var(--lp-ease);
}

.js-lp-ready .results-sec.lp-visible .result-card {
  opacity: 1;
  transform: none;
}

.js-lp-ready .results-sec.lp-visible .result-card:nth-child(1) { transition-delay: 0.00s; }
.js-lp-ready .results-sec.lp-visible .result-card:nth-child(2) { transition-delay: 0.07s; }
.js-lp-ready .results-sec.lp-visible .result-card:nth-child(3) { transition-delay: 0.14s; }
.js-lp-ready .results-sec.lp-visible .result-card:nth-child(4) { transition-delay: 0.21s; }
.js-lp-ready .results-sec.lp-visible .result-card:nth-child(5) { transition-delay: 0.28s; }

/* Category boxes staggered reveal */
.js-lp-ready .category-box {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s var(--lp-ease),
              transform 0.52s var(--lp-ease);
}

.js-lp-ready .attorney-sec.lp-visible .category-box { opacity: 1; transform: none; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(1) { transition-delay: 0.00s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(2) { transition-delay: 0.06s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(3) { transition-delay: 0.12s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(4) { transition-delay: 0.18s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(5) { transition-delay: 0.24s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(6) { transition-delay: 0.30s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(7) { transition-delay: 0.36s; }
.js-lp-ready .attorney-sec.lp-visible .category-box:nth-child(8) { transition-delay: 0.42s; }

/* Victims counter boxes staggered */
.js-lp-ready .victims-counter-box {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.62s var(--lp-ease),
              transform 0.62s var(--lp-ease);
}

.js-lp-ready .victims-sec.lp-visible .victims-counter-box { opacity: 1; transform: none; }
.js-lp-ready .victims-sec.lp-visible .victims-counter-box:nth-child(1) { transition-delay: 0.00s; }
.js-lp-ready .victims-sec.lp-visible .victims-counter-box:nth-child(2) { transition-delay: 0.10s; }
.js-lp-ready .victims-sec.lp-visible .victims-counter-box:nth-child(3) { transition-delay: 0.20s; }

/* FAQ items slide-in from left */
.js-lp-ready .faq-sec .accordion-item {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.52s var(--lp-ease),
              transform 0.52s var(--lp-ease);
}

.js-lp-ready .faq-sec.lp-visible .accordion-item { opacity: 1; transform: none; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(1) { transition-delay: 0.00s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(2) { transition-delay: 0.07s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(3) { transition-delay: 0.14s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(4) { transition-delay: 0.21s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(5) { transition-delay: 0.28s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(6) { transition-delay: 0.35s; }
.js-lp-ready .faq-sec.lp-visible .accordion-item:nth-child(7) { transition-delay: 0.42s; }

/* Generic section reveal for headings */
.js-lp-ready .hero-testimonials-sec .heading-text,
.js-lp-ready .results-sec .heading-text,
.js-lp-ready .case-sec .heading-text,
.js-lp-ready .faq-sec .heading-text,
.js-lp-ready .faq-sec2 .heading-text,
.js-lp-ready .contact-sec .heading-text,
.js-lp-ready .ceo-sec .heading-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--lp-ease),
              transform 0.65s var(--lp-ease);
}

.js-lp-ready .hero-testimonials-sec.lp-visible .heading-text,
.js-lp-ready .results-sec.lp-visible .heading-text,
.js-lp-ready .case-sec.lp-visible .heading-text,
.js-lp-ready .faq-sec.lp-visible .heading-text,
.js-lp-ready .faq-sec2.lp-visible .heading-text,
.js-lp-ready .contact-sec.lp-visible .heading-text,
.js-lp-ready .ceo-sec.lp-visible .heading-text {
  opacity: 1;
  transform: none;
}

/* ——————————————————————————————————
   12. CEO SECTION POLISH
   —————————————————————————————————— */

/* More breathing room between credential lines */
.ceo-text-wrapper ul li {
  margin-bottom: 36px;
  align-items: flex-start;
}

.ceo-text-wrapper ul li p {
  line-height: 18px;
}

/* Uniform icon sizing across all credential items */
.ceo-text-wrapper ul li span img,
.ceo-text-wrapper ul li span svg {
  width: 28px;
  height: 28px;
  display: block;
}

.ceo-text-wrapper ul li span {
  transition: background 0.3s var(--lp-ease),
              transform 0.38s var(--lp-ease-bounce);
}

.ceo-text-wrapper ul li:hover span {
  background: rgba(207, 167, 76, 0.16) !important;
  transform: scale(1.06);
}

/* ——————————————————————————————————
   13. ABOUT / QUOTE SECTION POLISH
   —————————————————————————————————— */
.quotes-text {
  background: linear-gradient(
    135deg,
    rgba(207, 167, 76, 0.07) 0%,
    rgba(207, 167, 76, 0.02) 100%
  );
  border: 1px solid rgba(207, 167, 76, 0.18);
  border-radius: 6px;
  padding: 36px 32px 32px;
}

/* ——————————————————————————————————
   14. TESTIMONIALS CAROUSEL — DECORATIVE BG
   —————————————————————————————————— */
.testimonials-sec {
  position: relative;
  overflow: hidden;
}

.testimonials-sec::after {
  content: '\201C';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Lora", serif;
  font-size: 480px;
  line-height: 1;
  color: rgba(207, 167, 76, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonials-sec > .container {
  position: relative;
  z-index: 1;
}

/* Large nav arrows become gold on hover */
.testimonials-sec .swiper-button-next:hover,
.testimonials-sec .swiper-button-prev:hover {
  background: var(--lp-gold) !important;
  box-shadow: var(--lp-shadow-gold);
}

/* ——————————————————————————————————
   15. SWIPER NAV REFINEMENT (global)
   —————————————————————————————————— */
.swiper-button-prev,
.swiper-button-next {
  transition: background-color 0.28s var(--lp-ease),
              border-color 0.28s var(--lp-ease),
              transform 0.35s var(--lp-ease-bounce) !important;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: scale(1.08) !important;
}

/* ——————————————————————————————————
   16. CLIENT BOX — SELLING POINTS
   —————————————————————————————————— */
.client-selling-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  margin-top: 28px;
}

.selling-point h6 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-gold-dark);
  margin-bottom: 8px;
}

.selling-point p {
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.78;
  margin-bottom: 0;
}

@media screen and (max-width: 767px) {
  .client-selling-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ——————————————————————————————————
   CLIENT BOX — GOLD TOP BORDER
   —————————————————————————————————— */
.client-box {
  border-top: 3px solid var(--lp-gold-light);
}

/* ——————————————————————————————————
   17. HERO TESTIMONIALS — combined style
   —————————————————————————————————— */
.hero-testimonials-sec {
  background: #fff;
  padding: 40px 0 32px;
  position: relative;
  overflow: hidden;
}

/* Decorative oversized quote mark */
.hero-testimonials-sec::after {
  content: '\201C';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Lora", serif;
  font-size: 480px;
  line-height: 1;
  color: rgba(207, 167, 76, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-testimonials-sec > .container {
  position: relative;
  z-index: 1;
}

/* Heading */
.hero-testimonials-sec .heading-text {
  text-align: center;
  margin-bottom: 28px;
}

/* Stars below name */
.hero-testimonials-sec .star-list {
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 0;
  gap: 5px !important;
}

.hero-testimonials-sec .star-list li img {
  width: 22px;
  height: 22px;
}

/* Carousel + flanking nav — flex row */
.htesti-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Nav buttons — solid gold always */
.htesti-nav-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lp-gold);
  border: 1.5px solid var(--lp-gold);
  box-shadow: 0 4px 20px rgba(207, 167, 76, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.28s var(--lp-ease),
              border-color 0.28s var(--lp-ease),
              box-shadow 0.28s var(--lp-ease),
              transform 0.32s var(--lp-ease-bounce);
}

.htesti-nav-btn:hover {
  background: var(--lp-gold-dark);
  border-color: var(--lp-gold-dark);
  box-shadow: 0 6px 24px rgba(161, 131, 59, 0.50);
  transform: scale(1.08);
}

.htesti-nav-btn img {
  width: 18px;
  height: 18px;
  filter: brightness(100);
}

.htesti-nav-btn.swiper-button-disabled {
  opacity: 0.30;
  cursor: default;
  pointer-events: none;
}

/* Testimonials-box — tight internals */
.hero-testimonials-sec .testimonials-box {
  padding-bottom: 0;
}

.hero-testimonials-sec .testimonials-box svg {
  margin-bottom: 14px;
}

.hero-testimonials-sec .testimonials-box h4 {
  margin-bottom: 6px;
}

.hero-testimonials-sec .testimonials-box h6 {
  margin-bottom: 0;
}

/* Mobile: stack arrows below carousel */
@media screen and (max-width: 767px) {
  .htesti-carousel-wrap {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 0;
    column-gap: 0;
  }

  .htesti-carousel-wrap .swiper {
    order: 0;
    flex: 0 0 100%;
    min-width: 0;
  }

  .button-prev4 {
    order: 1;
    margin-top: 8px;
  }

  .button-next4 {
    order: 2;
    margin-top: 8px;
  }
}

/* ——————————————————————————————————
   18. RESULT SECTION — BOTTOM ACCENT
   —————————————————————————————————— */
.results-sec {
  position: relative;
}

/* ——————————————————————————————————
   19. SUCCESS STORIES GRID
   —————————————————————————————————— */
.success-stories-sec {
  background-image: url("/assets/landing_pages/victom-bg-79ff33b6.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
}

.success-stories-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.52) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.success-stories-sec > .container {
  position: relative;
  z-index: 1;
}

.success-stories-sec .heading-text,
.success-stories-sec .text-box p {
  color: #fff !important;
}

.success-stories-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.success-stories-grid .video-box {
  flex: 0 1 480px;
  max-width: 480px;
}

.success-stories-grid .video-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.success-stories-grid .video-banner .play-btn {
  transition: transform 0.32s var(--lp-ease-bounce),
              box-shadow 0.32s var(--lp-ease);
}

@media screen and (max-width: 767px) {
  .success-stories-grid .video-box {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

/* Contact section — add breathing room above the form box */
.contact-sec {
  padding-top: 100px;
}

/* ——————————————————————————————————
   21. FOOTER REFINEMENT
   —————————————————————————————————— */
footer {
  border-top: 1px solid rgba(207, 167, 76, 0.10);
}

.footer-links li a {
  transition: color 0.25s var(--lp-ease),
              letter-spacing 0.25s var(--lp-ease) !important;
}

.footer-links li a:hover {
  letter-spacing: 0.02em;
}

/* ——————————————————————————————————
   20. RESPONSIVE OVERRIDES
   —————————————————————————————————— */
/* Keep desktop hero image on all screen sizes */
@media screen and (max-width: 767px) {
  .hero-sec {
    background-image: url("/assets/landing_pages/todd-office-og-f5432429.png") !important;
    background-position: 40% 20%;
    background-size: cover;
  }

  .feeling-sec .text-box {
    padding: 36px 24px 40px;
    /* Fallback for devices without backdrop-filter support */
    background: rgba(0, 0, 0, 0.45);
  }

  .quotes-text {
    padding: 28px 20px;
  }
}

/* ——————————————————————————————————
   HERO MOBILE — reorder + restyle video button
   —————————————————————————————————— */
@media screen and (max-width: 991px) {

  /* Turn hero-text-box into a flex column so we can reorder children */
  .hero-text-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  /* New order: paragraph → video button → consultation button */
  .hero-text-box > p            { order: 1; }
  .hero-text-box > .btn-video   { order: 2; margin-bottom: 12px; }
  .hero-text-box > .btn-default { order: 3; }

  /* Paragraph spacing */
  .hero-text-box > p {
    padding-top: 28px !important;
    padding-bottom: 24px !important;
  }

  /* ── Restyle btn-video as outlined gold pill ── */
  .btn-video,
  .btn-video:hover,
  .btn-video:focus,
  .btn-video:active {
    /* Kill all inherited transforms — this is what was causing the jump */
    transform: none !important;
    transition: background 0.28s var(--lp-ease),
                border-color 0.28s var(--lp-ease),
                box-shadow 0.28s var(--lp-ease) !important;
  }

  .btn-video {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-width: unset;
    padding: 13px 24px;
    border-radius: 50px;
    background: transparent;
    border: 1.5px solid rgba(227, 184, 83, 0.72);
    box-shadow: none;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: normal;
  }

  .btn-video:hover {
    background: rgba(227, 184, 83, 0.12);
    border-color: var(--lp-gold-light);
    box-shadow: none !important;
  }

  /* Small static play badge — no motion, no absolute positioning */
  .btn-video .play-btn,
  .btn-video:hover .play-btn {
    position: static !important;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: rgba(207, 167, 76, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(207, 167, 76, 0.22);
    transform: none !important;
    transition: none !important;
  }

  .btn-video .play-btn img {
    width: 9px;
    height: 9px;
    filter: brightness(10);
  }

  /* Hide subtext, show only "Watch Video" label */
  .btn-video > div > span {
    display: none;
  }

  .btn-video > div > h6 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    text-decoration: none;
    text-align: left;
  }

  .hero-text-box > .btn-default {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-innner h1,
  .hero-text-box {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .js-lp-ready .result-card,
  .js-lp-ready .category-box,
  .js-lp-ready .victims-counter-box,
  .js-lp-ready .faq-sec .accordion-item,
  .js-lp-ready .hero-testimonials-sec .heading-text,
  .js-lp-ready .results-sec .heading-text,
  .js-lp-ready .case-sec .heading-text,
  .js-lp-ready .faq-sec .heading-text,
  .js-lp-ready .faq-sec2 .heading-text,
  .js-lp-ready .contact-sec .heading-text,
  .js-lp-ready .ceo-sec .heading-text {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
