/* Home hero slider (.fm-hero) and Google reviews (.fm-rev) */

/* ==========================================================================
   HERO
   ========================================================================== */
.fm-hero { --red: #dc2626; position: relative; overflow: hidden; background: #0b1325; color: #fff; min-height: clamp(560px, 82vh, 760px); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.fm-hero *, .fm-hero *::before, .fm-hero *::after { box-sizing: border-box; }
.fm-hero a { text-decoration: none; }

.fm-hero-slides { position: absolute; inset: 0; }
.fm-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.fm-slide.active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 2; }
.fm-slide-bg { position: absolute; inset: 0; background-image: var(--bg); background-size: cover; background-position: center; transform: scale(1.12); }
.fm-slide.active .fm-slide-bg { animation: fmKen 9s ease-out both; }
@keyframes fmKen { from { transform: scale(1.14); } to { transform: scale(1); } }
.fm-slide::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(7,13,28,.92) 0%, rgba(7,13,28,.72) 42%, rgba(7,13,28,.25) 100%),
  linear-gradient(0deg, rgba(7,13,28,.85) 0%, transparent 38%); }
.fm-slide-grid { position: absolute; inset: 0; z-index: 1;   pointer-events: none; }

.fm-slide-inner { position: relative; z-index: 3; max-width: 1240px; margin: 0 auto; padding: 0 20px; height: 100%; min-height: inherit; display: flex; align-items: center; }
.fm-slide-copy { max-width: 700px; padding: 70px 0 150px; }
.fm-slide-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size:20px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.fm-slide-eyebrow::before { content: ""; width: 44px; height: 2px; background: var(--red); }
.fm-slide-title { font-family: 'Rajdhani', 'Inter', sans-serif; font-size: clamp(40px, 6.4vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -1px; text-transform: uppercase; color: #fff; margin: 0 0 22px; }
.fm-slide-title span { color: var(--red); }
.fm-slide-text { font-size: 18px; line-height: 1.6; color: #cbd5e1; margin: 0 0 34px; max-width: 520px; }
.fm-slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.fm-hbtn { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 8px; font-size: 13.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; }
.fm-hbtn svg { transition: transform .25s ease; }
.fm-hbtn:hover svg { transform: translateX(5px); }
.fm-hbtn-red { background: var(--red); box-shadow: 0 14px 30px rgba(220,38,38,.4); }
.fm-hbtn-red::before { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-18deg); }
.fm-hbtn-red:hover { background: #b91c1c; transform: translateY(-3px); box-shadow: 0 20px 36px rgba(220,38,38,.5); color: #fff; }
.fm-hbtn-red:hover::before { left: 130%; transition: left .8s ease; }
.fm-hbtn-line { border: 1.5px solid rgba(255,255,255,.45); }
.fm-hbtn-line:hover { background: #fff; color: #0b1325; border-color: #fff; transform: translateY(-3px); }
.fm-hplay { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.fm-hplay i { position: relative; width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); display: flex; align-items: center; justify-content: center; font-size: 14px; padding-left: 3px; backdrop-filter: blur(4px); transition: background .25s, transform .25s; }
.fm-hplay i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; opacity: 0; animation: fmHPulse 2.6s ease-out infinite; }
@keyframes fmHPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
.fm-hplay:hover { color: #fff; }
.fm-hplay:hover i { background: var(--red); border-color: var(--red); transform: scale(1.08); }

/* staggered text entrance for the active slide */
.fm-anim { opacity: 0; }
.fm-slide.active .fm-anim { animation: fmUp .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, .2s); }
@keyframes fmUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* giant outlined slide number */
.fm-slide-num { position: absolute; right: 40px; bottom: 120px; z-index: 2; font-family: 'Rajdhani', sans-serif; font-size: 300px; line-height: .8; font-weight: 800; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.16); pointer-events: none; user-select: none; }

/* controls */
.fm-hero-ui { position: absolute; z-index: 20; isolation: isolate; left: 0; right: 0; bottom: 130px; max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.fm-hero-ui > * { pointer-events: auto; }
.fm-hero-count { font-family: 'Rajdhani', sans-serif; font-size: 20px; font-weight: 700; letter-spacing: 2px; color: #fff; }
.fm-hero-count b { font-size: 30px; color: var(--red); }
.fm-hero-count span { opacity: .6; }
.fm-hero-nav { display: flex; gap: 10px; }
.fm-hero-arrow { position: relative; touch-action: manipulation; width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); background: rgba(255,255,255,.08); backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, border-color .25s, transform .25s; }
.fm-hero-arrow:hover { background: var(--red); border-color: var(--red); transform: scale(1.08); }
.fm-hero-bars { display: flex; gap: 8px; align-items: center; }
.fm-hero-bar { width: 54px; height: 4px; border: 0; padding: 0; border-radius: 2px; background: rgba(255,255,255,.28); cursor: pointer; position: relative; overflow: hidden; transition: background .25s; }
.fm-hero-bar:hover { background: rgba(255,255,255,.5); }
.fm-hero-bar i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--red); }
.fm-hero-bar.done i { width: 100%; }

/* stats strip */
.fm-hero-stats { position: absolute; z-index: 10; pointer-events: none; left: 0; right: 0; bottom: 0; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.fm-hero-stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-bottom: 0; border-radius: 14px 14px 0 0; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.fm-hero-stat { display: flex; align-items: center; gap: 14px; padding: 22px 26px; position: relative; transition: background .3s; }
.fm-hero-stat + .fm-hero-stat::before { content: ""; position: absolute; left: 0; top: 22%; height: 56%; width: 1px; background: rgba(255,255,255,.16); }
.fm-hero-stat:hover { background: rgba(255,255,255,.07); }
.fm-hero-stat i { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(220,38,38,.9); display: flex; align-items: center; justify-content: center; color: #fff; }
.fm-hero-stat b { display: block; font-family: 'Rajdhani', sans-serif; font-size: 30px; line-height: 1; font-weight: 800; color: #fff; }
.fm-hero-stat span { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #cbd5e1; margin-top: 4px; }

@media (max-width: 991px) {
  .fm-hero { min-height: 640px; }
  .fm-slide-num { font-size: 180px; right: 10px; bottom: 210px; }
  .fm-hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .fm-hero-stat:nth-child(3)::before { display: none; }
  .fm-hero-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }
  .fm-hero-ui { bottom: 214px; }
  .fm-slide-copy { padding-bottom: 260px; }
}
@media (max-width: 600px) {
  .fm-hero { min-height: 700px; }
  .fm-slide-copy { padding: 50px 0 280px; }
  .fm-slide-text { font-size: 16px; }
  .fm-hbtn { height: 50px; padding: 0 22px; font-size: 12.5px; }
  .fm-hero-arrow { width: 44px; height: 44px; }
  .fm-hero-bar { width: 34px; }
  .fm-hero-stat { padding: 14px 14px; gap: 10px; }
  .fm-hero-stat i { width: 38px; height: 38px; }
  .fm-hero-stat b { font-size: 24px; }
  .fm-hero-stat span { font-size: 9.5px; }
  .fm-slide-num { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-slide, .fm-slide.active .fm-slide-bg, .fm-slide.active .fm-anim { animation: none !important; transition: none !important; }
  .fm-anim { opacity: 1; }
}

/* ==========================================================================
   GOOGLE REVIEWS
   ========================================================================== */
.fm-rev { --red: #dc2626; position: relative; overflow: hidden; padding: 100px 0 90px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #0f172a; -webkit-font-smoothing: antialiased; background-color: #f8fafc;   }
.fm-rev *, .fm-rev *::before, .fm-rev *::after { box-sizing: border-box; }
.fm-rev-ghost { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); font-family: 'Rajdhani', sans-serif; font-size: 200px; font-weight: 800; line-height: 1; letter-spacing: -4px; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(11,19,37,.06); pointer-events: none; user-select: none; white-space: nowrap; }
.fm-rev-inner { position: relative; z-index: 2; max-width:1320px; margin: 0 auto; padding: 0 20px; }

.fm-rev-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; margin-bottom: 50px; }
.fm-rev-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.fm-rev-eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--red); }
.fm-rev-head h2 { font-family: 'Rajdhani', 'Inter', sans-serif; font-size: 54px; line-height: 1; font-weight: 800; letter-spacing: -.5px; text-transform: uppercase; margin: 0 0 16px; color: #0f172a; }
.fm-rev-head h2 span { color: var(--red); }
.fm-rev-head p { font-size: 15.5px; line-height: 1.7; color: #64748b; max-width: 520px; margin: 0; }

.fm-rev-score { position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; background: #0c2957; color: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 24px 50px rgba(11,19,37,.25); }
.fm-rev-score::before { content: ""; position: absolute; right: -50px; top: -70px; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.12); box-shadow: 0 0 0 30px rgba(255,255,255,.03); }
.fm-rev-score > * { position: relative; }
.fm-rev-big { font-family: 'Rajdhani', sans-serif; font-size: 78px; line-height: .85; font-weight: 800; }
.fm-rev-score-meta { display: grid; gap: 8px; }
.fm-rev-glabel { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #e2e8f0; }
.fm-rev-g { width: 24px; height: 24px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: 'Inter', sans-serif; font-weight: 800; font-size: 14px; color: #4285f4; }
.fm-rev-stars { display: flex; line-height: 1; font-size: 20px; }
.fm-stars-bar { position: relative; display: inline-block; font-size: inherit; line-height: 1; letter-spacing: 2px; white-space: nowrap; }
.fm-stars-bg { color: rgba(148,163,184,.45); }
.fm-stars-fg { position: absolute; left: 0; top: 0; overflow: hidden; color: #fbbf24; white-space: nowrap; }
.fm-rev-card .fm-stars-bg { color: #e2e8f0; }
.fm-rev-score small { font-size: 11px; color: #94a3b8; letter-spacing: .4px; }

/* carousel */
.fm-rev-track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 4px 26px; margin: 0 -4px; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.fm-rev-track::-webkit-scrollbar { display: none; }
.fm-rev-track.dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.fm-rev-card { position: relative; flex: 0 0 calc((100% - 44px) / 3); min-width: 300px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px 28px 24px; box-shadow: 0 2px 6px rgba(15,23,42,.04); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .4s ease; }
.fm-rev-card::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: Georgia, 'Times New Roman', serif; font-size: 110px; line-height: 1; color: rgba(220,38,38,.1); transition: color .4s, transform .4s; pointer-events: none; }
.fm-rev-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 26px 50px rgba(11,19,37,.16), 0 0 0 1px rgba(220,38,38,.5); }
.fm-rev-card:hover::before { color: rgba(220,38,38,.22); transform: scale(1.1) rotate(-4deg); }
.fm-rev-top { display: flex; align-items: center; gap: 14px; }
.fm-rev-avatar { width: 50px; height: 50px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #dc2626, #7f1d1d); color: #fff; font-family: 'Rajdhani', sans-serif; font-size: 19px; font-weight: 800; letter-spacing: .5px; box-shadow: 0 8px 18px rgba(220,38,38,.3); }
.fm-rev-user h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; line-height: 1.1; font-weight: 800; text-transform: uppercase; letter-spacing: .2px; margin: 0; color: #0f172a; }
.fm-rev-user span { font-size: 12px; color: #94a3b8; font-weight: 500; }
.fm-rev-card .fm-rev-stars { font-size: 17px; }
.fm-rev-text { flex: 1; font-size: 15px; line-height: 1.75; color: #475569; margin: 0; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.fm-rev-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed #e2e8f0; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #94a3b8; }
.fm-rev-foot .fm-rev-g { width: 22px; height: 22px; font-size: 12px; background: #f1f5f9; }

.fm-rev-controls { display: flex; align-items: center; gap: 24px; margin-top: 6px; }
.fm-rev-progress { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #e2e8f0; overflow: hidden; }
.fm-rev-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 30%; background: var(--red); border-radius: 2px; transition: width .2s linear, left .2s linear; }
.fm-rev-arrows { display: flex; gap: 10px; }
.fm-rev-arrow { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid #cbd5e1; background: #fff; color: #0f172a; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s, opacity .25s; }
.fm-rev-arrow:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.08); }
.fm-rev-arrow:disabled { opacity: .35; cursor: default; }

@media (max-width: 1000px) {
  .fm-rev-head { grid-template-columns: 1fr; gap: 28px; }
  .fm-rev-card { flex-basis: calc((100% - 22px) / 2); }
  .fm-rev-ghost { font-size: 120px; }
}
@media (max-width: 640px) {
  .fm-rev { padding: 64px 0 56px; }
  .fm-rev-head h2 { font-size: 38px; }
  .fm-rev-card { flex-basis: 86%; min-width: 0; }
  .fm-rev-big { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-rev-track { scroll-behavior: auto; }
  .fm-rev-card, .fm-rev-card::before { transition: none; }
}
