/* ════════════════════════════════════
   BEEPEC — Custom Styles
   Tailwind utility classes live in index.html.
   This file covers: tokens, animations, component states.
════════════════════════════════════ */

/* ── Design tokens ── */
:root {
  --orange:      #FF9500;
  --orange-dark: #E08500;

  /* Easing — expo-out cho cảm giác premium, mượt mà */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  /* Spring — overshoot nhẹ cho các element tương tác (button, card) */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base ── */
body {
  font-family: 'Inter', sans-serif;
}
h1, h2, h3, .font-display {
  font-family: 'Poppins', sans-serif;
}

/* ════════════════════════════════════
   ANIMATIONS
════════════════════════════════════ */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero staggered entrance */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-1 { animation: fadeUp 0.85s 0.06s var(--ease) both; }
.hero-2 { animation: fadeUp 0.85s 0.18s var(--ease) both; }
.hero-3 { animation: fadeUp 0.85s 0.30s var(--ease) both; }
.hero-4 { animation: fadeUp 0.85s 0.44s var(--ease) both; }

/* ════════════════════════════════════
   HOME — HERO BACKGROUND SLIDER
════════════════════════════════════ */
.hero-banner {
  position: relative;
  height: 640px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.64) 34%, rgba(10,10,10,.1) 64%, rgba(10,10,10,0) 100%);
}
@media (max-width: 767px) {
  /* Text runs full-width on small screens, so darken the whole slide instead of just the left third */
  .hero-overlay {
    background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.6) 100%);
  }
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.hero-dot:hover { background: rgba(255,255,255,0.7); }
.hero-dot.active { background: #fff; transform: scale(1.3); }
@media (max-width: 767px) {
  .hero-banner { height: 560px; }
}

/* ════════════════════════════════════
   HOME — HOW IT WORKS (hexagon steps)
════════════════════════════════════ */
.hiw-row { padding-top: 8px; }
.hiw-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hiw-steps {
  position: relative;
  z-index: 1;
}
.hiw-step { text-align: center; }
.hiw-hex {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  background: #fff;
  clip-path: polygon(25% 4%, 75% 4%, 100% 50%, 75% 96%, 25% 96%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.07);
  transition: transform 0.4s var(--ease-spring);
}
.hiw-step:hover .hiw-hex { transform: translateY(-4px); }
.hiw-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #1A1A1A;
  margin-bottom: 8px;
}
.hiw-desc {
  color: #9A9A9A;
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 210px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hiw-step-offset { margin-top: 56px; }
}
@media (max-width: 1023px) {
  .hiw-path { display: none; }
}

/* ════════════════════════════════════
   NAVIGATION
════════════════════════════════════ */

/* Animated underline on nav links */
.nav-link {
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.35s var(--ease);
}
.nav-link:hover::after {
  width: 100%;
}

/* Mobile nav — slide down */
#mobile-nav { display: none; }
#mobile-nav.open {
  display: block;
  animation: mobileNavIn 0.38s var(--ease) both;
}
@keyframes mobileNavIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile nav hidden by default; .open shows it */
#mobile-nav         { display: none; }
#mobile-nav.open    { display: block; }

/* ════════════════════════════════════
   BUTTONS
════════════════════════════════════ */

.btn-primary {
  background: var(--orange);
  color: #fff;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease-spring), box-shadow 0.3s var(--ease);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: scale(1.04);
  box-shadow: 0 8px 28px rgba(255, 149, 0, 0.35);
}

.btn-outline {
  border: 2px solid var(--orange);
  color: var(--orange);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease-spring);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: scale(1.03);
}

/* ════════════════════════════════════
   PORTFOLIO
════════════════════════════════════ */

.portfolio-img {
  transition: transform 0.7s var(--ease);
}
.portfolio-card:hover .portfolio-img {
  transform: scale(1.06);
}

.portfolio-overlay {
  background: linear-gradient(to top, rgba(26, 26, 26, 0.78) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* ── Portfolio grid: aspect-ratio 3:2 + object-cover tối ưu ──
   Tỉ lệ 3:2 = tỉ lệ gốc của hầu hết DSLR → crop tối thiểu (<11%)
   cho ảnh nội thất 4:3; gần như 0% với ảnh 3:2 ngoại thất.
   Không bao giờ có khoảng trống đen.
──────────────────────────────────────── */
#portfolio-grid .portfolio-card {
  aspect-ratio: 3 / 2;
  height: auto !important;   /* để aspect-ratio kiểm soát chiều cao */
  overflow: hidden;
}
#portfolio-grid .portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease);
}
#portfolio-grid .portfolio-card:hover img {
  transform: scale(1.05);
}
/* Ngoại thất DTD: phần quan trọng (bầu trời, mái) ở trên → ưu tiên top */
#portfolio-grid .portfolio-card[data-cat="dusk"] img {
  object-position: center top;
}

/* ════════════════════════════════════
   CARDS
════════════════════════════════════ */

.pricing-card {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
}

.service-card {
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.08);
}

/* ════════════════════════════════════
   ACCESSIBILITY
════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  .reveal,
  .hero-1, .hero-2, .hero-3, .hero-4,
  .hero-slide,
  .portfolio-img,
  .portfolio-overlay,
  .pricing-card,
  .service-card,
  .btn-primary,
  .btn-outline,
  .nav-link::after,
  .messenger-btn::before,
  .messenger-btn::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════
   NAV DROPDOWN (Services)
════════════════════════════════════ */
.nav-has-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #fff;
  border: 1px solid #EEEEEE;
  border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.12);
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  z-index: 200;
  overflow: hidden;
}
.nav-has-dropdown:hover .nav-dropdown-menu,
.nav-has-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
/* Invisible bridge so menu stays open when mouse moves from link to menu */
.nav-has-dropdown::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  height: 14px;
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: #555;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.nav-dropdown-item:hover { background: #FFF3E0; color: var(--orange); }
.nav-dropdown-item + .nav-dropdown-item { border-top: 1px solid #F5F5F5; }
.nav-dropdown-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #DDD;
  flex-shrink: 0;
  transition: background 0.15s;
}
.nav-dropdown-item:hover .nav-dropdown-dot { background: var(--orange); }

/* ════════════════════════════════════
   NAV ACTIVE STATE
════════════════════════════════════ */
.nav-link.is-active {
  color: #1A1A1A;
  font-weight: 600;
}
.nav-link.is-active::after {
  width: 100%;
}

/* ════════════════════════════════════
   PAGE HERO (subpages)
════════════════════════════════════ */
.page-hero {
  background: #FAFAFA;
  border-bottom: 1px solid #EEEEEE;
}

/* ════════════════════════════════════
   BEFORE / AFTER SLIDER
════════════════════════════════════ */
.ba-card {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.ba-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.35);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0,0,0,0.22);
  display: flex; align-items: center; justify-content: center;
}
.ba-input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: col-resize;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.ba-input::-webkit-slider-thumb  { -webkit-appearance: none; width: 1px; height: 1px; }
.ba-input::-moz-range-thumb      { width: 1px; height: 1px; border: none; background: transparent; }
.ba-label {
  position: absolute;
  top: 12px;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px;
  letter-spacing: 0.08em; text-transform: uppercase;
  pointer-events: none; z-index: 5;
}
.ba-label-before { left: 12px; background: rgba(0,0,0,0.5); color: #fff; }
.ba-label-after  { right: 12px; background: var(--orange); color: #fff; }

/* ════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════ */
.form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid #E5E5E5;
  border-radius: 10px;
  background: #fff;
  color: #1A1A1A;
  outline: none;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.form-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,149,0,0.12);
}
.form-input::placeholder { color: #AAAAAA; }

/* ════════════════════════════════════
   HOME — POPULAR SERVICES CARDS
════════════════════════════════════ */
.home-svc-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.home-svc-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.home-svc-card:hover img { transform: scale(1.06); }
.home-svc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.85) 0%, rgba(20,20,20,0.1) 60%, transparent 100%);
  transition: background 0.5s var(--ease);
}
.home-svc-card:hover .home-svc-overlay {
  background: linear-gradient(to top, rgba(20,20,20,0.92) 0%, rgba(20,20,20,0.3) 70%, transparent 100%);
}
.home-svc-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 22px 22px 20px;
}
.home-svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  margin-top: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.home-svc-card:hover .home-svc-arrow { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════
   HOME — CORE FEATURES SLIDER
════════════════════════════════════ */
.cf-pill-bar {
  display: inline-flex;
  background: #F5F5F5;
  border-radius: 14px;
  padding: 4px;
  gap: 2px;
}
.cf-pill {
  padding: 9px 22px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  cursor: pointer;
  border: none;
  background: none;
  font-family: 'Inter', sans-serif;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}
.cf-pill.active {
  background: #fff;
  color: #1A1A1A;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.cf-slide { display: none; }
.cf-slide.active {
  display: grid;
  grid-template-columns: 1fr;
  animation: cfIn 0.65s var(--ease) both;
}
@media (min-width: 768px) {
  .cf-slide.active { grid-template-columns: 1fr 1fr; }
}
@keyframes cfIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Progress bar for auto-advance */
.cf-progress-track {
  height: 2px;
  background: #E5E5E5;
  border-radius: 2px;
  overflow: hidden;
  width: 120px;
}
.cf-progress-bar {
  height: 100%;
  background: var(--orange);
  width: 0%;
  transition: width linear;
}

/* ════════════════════════════════════
   HOME — WHAT WE DONE (portfolio)
════════════════════════════════════ */
.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;
  text-decoration: none;
}
.work-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.work-card:hover img { transform: scale(1.05); }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.82) 0%, rgba(20,20,20,0.05) 55%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-card:hover .work-overlay { opacity: 1; }

/* ════════════════════════════════════
   SERVICE SUB-NAV
════════════════════════════════════ */
.service-subnav {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #EEEEEE;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.service-tabs {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 24px;
}
.service-tabs::-webkit-scrollbar { display: none; }
.service-tab {
  flex-shrink: 0;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  color: #999;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  background: none;
  border-left: none; border-right: none; border-top: none;
}
.service-tab:hover  { color: #1A1A1A; }
.service-tab.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ════════════════════════════════════
   SERVICE HERO — PREMIUM SPLIT LAYOUT
   Left: white info panel (eyebrow · headline · stats · CTAs)
   Right: dark mosaic gallery (3 after-images)
════════════════════════════════════ */
.svc-hero-split {
  display: grid;
  grid-template-columns: 5fr 7fr;   /* 42% | 58% */
  min-height: 600px;
  overflow: hidden;
  background: #fff;
}

/* ── LEFT PANEL ── */
.svc-split-left {
  display: flex;
  align-items: center;
  padding: 72px 56px;
  background: #fff;
  position: relative;
  /* Subtle right-edge rule */
}
.svc-split-left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #EBEBEB 30%, #EBEBEB 70%, transparent);
}
.svc-split-inner {
  max-width: 440px;
  width: 100%;
}

/* Eyebrow */
.svc-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.svc-split-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Headline */
.svc-split-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.1;
  color: #1A1A1A;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Description */
.svc-split-desc {
  font-size: 14.5px;
  color: #737373;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 360px;
}

/* Trust stats row */
.svc-trust-row {
  display: flex;
  align-items: center;
  padding: 22px 0;
  margin: 26px 0 30px;
  border-top: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
}
.svc-trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.svc-trust-item:first-child { padding-left: 0; }
.svc-trust-item:last-child  { padding-right: 0; }
.svc-trust-num {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 27px;
  line-height: 1;
  color: #1A1A1A;
}
.svc-trust-accent { color: var(--orange); }
.svc-trust-label {
  font-size: 11px;
  font-weight: 600;
  color: #ABABAB;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.svc-trust-divider {
  width: 1px; height: 38px;
  background: #E8E8E8;
  flex-shrink: 0;
  margin: 0 20px;
}

/* CTA buttons */
.svc-split-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.svc-split-ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #555;
  padding: 11px 22px;
  border-radius: 12px;
  border: 1.5px solid #E0E0E0;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}
.svc-split-ghost-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: #FFF8F0;
}

/* ── RIGHT PANEL: mosaic gallery ── */
.svc-split-right {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr;
  gap: 3px;
  background: #0d0d0d;
  padding: 3px;
  position: relative;
  overflow: hidden;
}
/* Main large image — spans full height */
.svc-mosaic-main {
  position: relative;
  overflow: hidden;
  grid-row: 1 / 2;
}
/* Side column: 2 stacked smaller images */
.svc-mosaic-side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  grid-row: 1 / 2;
}
.svc-mosaic-sm {
  flex: 1;
  position: relative;
  overflow: hidden;
}
/* Images — object-cover for consistent fill; images are real photos so they look great cropped */
.svc-mosaic-main img,
.svc-mosaic-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--ease);
}
.svc-mosaic-main:hover img,
.svc-mosaic-sm:hover img {
  transform: scale(1.05);
}
/* "After" pill badge on each image */
.svc-mosaic-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--orange);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
  backdrop-filter: blur(2px);
}
/* Floating trust chip — bottom-left of gallery */
.svc-mosaic-chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 6px 14px 6px 10px;
  font-size: 11px;
  font-weight: 600;
  color: #333;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}
.svc-mosaic-chip svg { color: #22c55e; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .svc-hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .svc-split-left {
    padding: 52px 28px 44px;
    order: 2;
  }
  .svc-split-left::after { display: none; }
  .svc-split-inner { max-width: 100%; }
  .svc-split-right {
    min-height: 340px;
    order: 1;
  }
}
@media (max-width: 540px) {
  .svc-split-left { padding: 40px 20px; }
  .svc-split-right { min-height: 260px; }
  .svc-mosaic-chip { font-size: 10px; padding: 5px 10px 5px 8px; }
  .svc-trust-divider { margin: 0 12px; }
  .svc-trust-num { font-size: 22px; }
}

/* ── Legacy: remove old overlay/text classes ── */
.service-hero-overlay,
.service-hero-text,
.svc-hero-banner,
.svc-hero-img-wrap,
.svc-hero-img { display: none; }

/* ════════════════════════════════════
   WHY CHOOSE US CARDS
════════════════════════════════════ */
.why-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 14px 42px rgba(0,0,0,0.08); }

/* ════════════════════════════════════
   SOLUTIONS FAQ
════════════════════════════════════ */
.solution-item {
  border: 1.5px solid #E5E5E5;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease);
}
.solution-item.open { border-color: var(--orange); }
.solution-toggle {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}
.solution-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.solution-body.open { max-height: 2000px; }
.solution-body-inner { padding: 0 24px 24px; }
.solution-chevron {
  flex-shrink: 0;
  margin-top: 2px;
  color: #BBB;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
}
.solution-item.open .solution-chevron { transform: rotate(180deg); color: var(--orange); }

/* ════════════════════════════════════
   CHECK OUT GRID
════════════════════════════════════ */
.checkout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
@media (max-width: 640px) { .checkout-grid { grid-template-columns: repeat(2, 1fr); } }
.checkout-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
}
.checkout-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}
.checkout-thumb:hover img { transform: scale(1.06); }

/* View More link wrapper */
.co-more-wrap {
  text-align: center;
  padding-top: 28px;
}
.co-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 12px;
  border: 2px solid var(--orange);
  color: var(--orange);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease-spring);
}
.co-load-more:hover {
  background: var(--orange);
  color: #fff;
  transform: scale(1.03);
}
.co-load-more svg { transition: transform 0.35s var(--ease); }
.co-load-more:hover svg { transform: translateX(4px); }

/* ════════════════════════════════════
   POPULAR SERVICES SCROLL
════════════════════════════════════ */
.popular-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}
.popular-scroll::-webkit-scrollbar { display: none; }
.popular-card {
  flex-shrink: 0;
  width: 230px;
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
  border: 1.5px solid #E5E5E5;
  text-decoration: none;
}
.popular-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.popular-card-img { height: 140px; overflow: hidden; }
.popular-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.65s var(--ease); }
.popular-card:hover .popular-card-img img { transform: scale(1.07); }

/* ════════════════════════════════════
   PLAN CARDS (order page)
════════════════════════════════════ */
.plan-card {
  cursor: pointer;
  border: 2px solid #E5E5E5;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.4s var(--ease-spring);
}
.plan-card:hover  { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(255,149,0,0.12); }
.plan-card.chosen { border-color: var(--orange); box-shadow: 0 14px 36px rgba(255,149,0,0.2); }

/* ════════════════════════════════════
   PLAN STEPS (service page — Compare by Plan)
════════════════════════════════════ */
.plan-steps-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 2px solid transparent;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease);
}
.plan-steps-card:hover { transform: translateY(-4px); box-shadow: 0 14px 42px rgba(0,0,0,0.08); }
.plan-steps-featured {
  border-color: var(--orange);
  box-shadow: 0 14px 40px rgba(255,149,0,0.14);
}
.plan-steps-badge {
  position: absolute;
  top: -14px;
  left: 28px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}
.plan-steps-eyebrow {
  font-size: 13px;
  color: #9A9A9A;
  margin-bottom: 6px;
}
.plan-steps-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.2;
  color: var(--orange);
  margin-bottom: 4px;
}
.plan-steps-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1A1A1A;
  margin-bottom: 22px;
}
.plan-steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #4B4B4B;
  line-height: 1.4;
}
.plan-step-off { color: #B5B5B5; }
.plan-step-icon { flex-shrink: 0; margin-top: 2px; }
.plan-steps-cta {
  display: block;
  text-align: center;
  background: #1A1A1A;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 14px;
  border-radius: 12px;
  transition: background 0.3s var(--ease);
}
.plan-steps-cta:hover { background: var(--orange); }

/* ════════════════════════════════════
   FOOTER — SOCIAL LINKS
════════════════════════════════════ */
.footer-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #B5B5B5;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease-spring);
}
.footer-social-link:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

/* ════════════════════════════════════
   FLOATING BUTTONS (Messenger + Back to top)
════════════════════════════════════ */
.floating-btn {
  position: fixed;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
  border: none;
  cursor: pointer;
}
.messenger-btn {
  right: 24px;
  bottom: 24px;
  background: linear-gradient(135deg, #00B2FF, #006AFF);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  cursor: grab;
  transition: box-shadow 0.25s var(--ease);
}
.messenger-btn:hover { box-shadow: 0 14px 36px rgba(0,106,255,0.4); }
.messenger-btn.dragging {
  cursor: grabbing;
  transition: none;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
/* Inviting ripple — two rings emanate from behind the button on a loop */
.messenger-btn::before,
.messenger-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0, 140, 255, 0.55);
  z-index: -1;
  animation: msgRipple 2.6s ease-out infinite;
  pointer-events: none;
}
.messenger-btn::after { animation-delay: 1.3s; }
.messenger-btn.dragging::before,
.messenger-btn.dragging::after { animation-play-state: paused; opacity: 0; }
@keyframes msgRipple {
  0%   { transform: scale(1);    opacity: 0.55; }
  100% { transform: scale(1.9);  opacity: 0; }
}
.back-to-top-btn {
  right: 24px;
  bottom: 96px;
  background: #1A1A1A;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.back-to-top-btn:hover { background: var(--orange); }
.back-to-top-btn.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@media (max-width: 640px) {
  .messenger-btn { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .back-to-top-btn { right: 16px; bottom: 78px; width: 50px; height: 50px; }
}

/* ════════════════════════════════════
   TIER PROJECT CARDS
════════════════════════════════════ */
.tier-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(255,149,0,0.3);
}
