/* ==========================================================================
   Socio Care International — Home Page Styles
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   2. Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background: #F3E9DD;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}
.hero-bg-layer.is-active { opacity: 1; }
.hero-bg-moringa { background-image: url('/assets/img/moringa-powder-banner-bg.png'); }
.hero-bg-cottonseed { background-image: url('/assets/img/Cotton-seed-milk-powder-banner-bg.png'); }
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.72) 38%, rgba(255,255,255,0.15) 62%, rgba(255,255,255,0) 78%);
}
.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}
.hero-title {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 18px 0 28px;
  color: var(--primary);
}

/* ---- Hero arrows ---- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero-arrow:hover { background: var(--primary); color: #fff; }
.hero-arrow-prev { left: 18px; }
.hero-arrow-next { right: 18px; }

/* ---- Hero slider (text) ---- */
.hero-slider { position: relative; min-height: 168px; }
.hero-slide {
  display: none;
  opacity: 0;
}
.hero-slide.is-active { display: block; opacity: 1; }
.hero-slide-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--primary);
  max-width: 480px;
  margin-bottom: 16px;
}
.hero-slide-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 0;
}
.hero-slide-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; margin-bottom: 36px; }
.hero-slide-btn { padding-left: 10px; }
.hero-slide-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---- Slide dots (01 / 02 / 03) ---- */
.hero-slide-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
.hero-dot {
  background: transparent;
  border: none;
  padding: 4px 2px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--border);
  cursor: pointer;
  transition: color 0.25s ease;
}
.hero-dot.is-active { color: var(--secondary); }
.hero-dot-sep { color: var(--border); font-size: 13px; }

.hero-visual { position: relative; z-index: 1; min-height: 420px; perspective: 1200px; }
.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px -12px rgba(59,14,26,0.28);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.hero-float-card:hover {
  transform: translateY(-6px) rotateX(6deg) rotateY(-6deg) scale(1.03);
  box-shadow: 0 28px 52px -14px rgba(59,14,26,0.38);
}
.hero-float-card-top { top: 6%; right: 6%; }
.hero-float-card-bottom { bottom: 10%; right: 16%; }
.hero-float-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-light);
}
.hero-float-text { display: flex; flex-direction: column; }
.hero-float-text strong { font-size: 13.5px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.hero-float-text em { font-style: normal; font-size: 11.5px; color: var(--text-muted); }

@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .hero-arrow { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 0 0 40px; overflow: visible; }
  .hero-bg-layer {
    position: relative;
    inset: auto;
    display: none;
    width: 100%;
    height: 220px;
    background-position: right center;
    background-size: 135% auto;
    opacity: 1;
  }
  .hero-bg-layer.is-active { display: block; }
  .hero-photo-overlay { display: none; }
  .hero-container { padding-top: 28px; }
  .hero-title { font-size: 30px; }
  .hero-visual { display: none; }
  .hero-slide-actions { flex-direction: column; align-items: stretch; }
  .hero-slide-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   3. About Preview
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.about-visual { position: relative; perspective: 1400px; }
.about-visual-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-visual:hover .about-visual-img {
  transform: rotateY(-3deg) rotateX(2deg) scale(1.015);
}
.about-visual-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.about-visual:hover .about-visual-badge { transform: translateZ(30px) translateY(-4px); }
.about-visual-badge-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-light);
}
.about-visual-badge-text { display: flex; flex-direction: column; }
.about-visual-badge-text strong { font-size: 13.5px; font-weight: 800; color: var(--primary); line-height: 1.3; }
.about-visual-badge-text em { font-style: normal; font-size: 12px; color: var(--text-muted); max-width: 130px; line-height: 1.3; }

.about-mission {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(155deg, var(--primary) 0%, #591627 100%);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 24px 0;
  box-shadow: 0 16px 32px -16px rgba(59, 14, 26, 0.35);
}
.about-mission-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
}
.about-mission strong { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--secondary-light); margin-bottom: 6px; }
.about-mission p { font-size: 15.5px; color: #fff; line-height: 1.6; margin: 0; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { max-width: 420px; margin: 0 auto; }
}

/* ==========================================================================
   4. Products
   ========================================================================== */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  perspective: 1600px;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 12px 0 -8px rgba(15,23,42,0.03), 0 20px 32px -16px rgba(15,23,42,0.15);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.product-card:hover {
  transform: translateY(-8px) rotateX(4deg) rotateY(-4deg) scale(1.015);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 18px 0 -8px rgba(15,23,42,0.05), 0 36px 48px -20px rgba(98, 169, 54, 0.35);
}
.product-card-media { position: relative; height: 280px; overflow: hidden; }
.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.08); }
.product-card-media-moringa img { object-position: 76% 42%; }
.product-card-media-cottonseed img { object-position: 74% 42%; }
.product-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 999px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.product-badge-maroon { background: var(--primary); color: #fff; }
.product-badge-purple { background: #7C3AED; color: #fff; }
.product-card-body { position: relative; padding: 28px; transform: translateZ(20px); display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.product-card-body .btn { margin-top: auto; }
.product-card-body p { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 18px; min-height: 5.1em; }
.product-feature-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.product-feature-list li {
  font-size: 14px; font-weight: 500; color: var(--primary);
  padding-left: 24px; position: relative;
}
.product-feature-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 800;
}

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: 1fr; gap: 20px; }
  /* Single column means the card is now full-bleed, so the desktop proportions —
     280px of photo, 28px padding, 17px copy on a 5.1em floor — made one card fill
     most of the screen. Scale them back to phone size. */
  .product-card-media { height: 190px; }
  .product-card-body { padding: 20px 18px; }
  .product-card-body h3 { font-size: 19px; margin-bottom: 8px; }
  .product-card-body p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; min-height: 0; }
  .product-badge { top: 12px; right: 12px; font-size: 10.5px; padding: 5px 11px; }
  .product-feature-list { gap: 8px; margin-bottom: 18px; }
  .product-feature-list li { font-size: 13.5px; }
}

/* ==========================================================================
   4B. Video Showcase
   ========================================================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  perspective: 1400px;
}
.video-card {
  padding: 20px;
  text-align: center;
  transform-style: preserve-3d;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 0 -6px rgba(15,23,42,0.03), 0 18px 28px -14px rgba(15,23,42,0.12);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}
.video-card:hover {
  transform: translateY(-10px) rotateX(6deg) rotateY(-6deg) scale(1.02);
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 20px 0 -6px rgba(15,23,42,0.04), 0 36px 54px -18px rgba(98, 169, 54, 0.35);
  border-color: var(--secondary);
}
.video-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  transform: translateZ(20px);
  box-shadow: 0 14px 30px -12px rgba(59,14,26,0.35);
}
.video-card-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-card-placeholder {
  position: relative;
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(155deg, var(--primary) 0%, #591627 45%, var(--primary) 100%);
  background-size: 220% 220%;
  animation: videoGradientShift 6s ease-in-out infinite;
}
.video-card-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(98,169,54,0.22) 0%, transparent 50%);
  pointer-events: none;
}
@keyframes videoGradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.video-card-play {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  animation: videoPlayFloat 3s ease-in-out infinite;
}
.video-card-play::before,
.video-card-play::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.55);
  animation: videoPulseRing 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.video-card-play::after { animation-delay: 1.2s; }
@keyframes videoPulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.9); opacity: 0; }
}
@keyframes videoPlayFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.video-card-placeholder-text {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.video-card h3 { font-size: 20px; margin: 0; transform: translateZ(15px); }

@media (max-width: 640px) {
  .video-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .video-card-placeholder,
  .video-card-play,
  .video-card-play::before,
  .video-card-play::after { animation: none; }
}

/* ==========================================================================
   5. Why Choose Us
   ========================================================================== */

.why-us-explorer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: stretch;
}

/* ---- Tab list ---- */
.why-us-tabs { display: flex; flex-direction: column; gap: 6px; }
.why-us-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.why-us-tab::before {
  content: '';
  position: absolute;
  left: 0; top: 10%; bottom: 10%;
  width: 3px;
  border-radius: 3px;
  background: var(--secondary);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.why-us-tab:hover { background: var(--surface); color: var(--primary); }
.why-us-tab.is-active { background: var(--surface); color: var(--primary); }
.why-us-tab.is-active::before { opacity: 1; }
.why-us-tab-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--accent-light);
  color: var(--secondary);
  transition: background 0.25s ease, color 0.25s ease;
}
.why-us-tab.is-active .why-us-tab-icon,
.why-us-tab:hover .why-us-tab-icon { background: var(--secondary); color: var(--primary); }
.why-us-tab-title { font-size: 15px; font-weight: 700; }

/* ---- Panel ---- */
.why-us-panel {
  position: relative;
  background: linear-gradient(155deg, var(--primary) 0%, #591627 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-shadow: 0 24px 48px -16px rgba(59, 14, 26, 0.45);
}
.why-us-panel-watermark {
  position: absolute;
  top: -40px; right: -40px;
  color: rgba(255,255,255,0.05);
  pointer-events: none;
}
.why-us-panel-item {
  position: relative;
  z-index: 1;
  display: none;
  opacity: 0;
}
.why-us-panel-item.is-active { display: block; opacity: 1; }
.why-us-panel-number {
  display: inline-block;
  font-size: 44px;
  font-weight: 800;
  color: var(--secondary-light);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.why-us-panel-item h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.why-us-panel-item p { color: #CBD5E1; font-size: 17px; line-height: 1.8; max-width: 460px; }
.why-us-panel-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.14); }
.why-us-panel-tags span {
  font-size: 12.5px; font-weight: 600; color: #E2E8F0;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 14px; border-radius: 999px;
}

@media (max-width: 900px) {
  .why-us-explorer { grid-template-columns: 1fr; }
  .why-us-tabs { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .why-us-tab { padding: 10px 14px; }
  .why-us-tab::before { display: none; }
  .why-us-tab-title { font-size: 13.5px; }
  .why-us-tab-icon { width: 32px; height: 32px; }
}
@media (max-width: 560px) {
  .why-us-panel { padding: 32px 26px; }
}

/* ==========================================================================
   6. Trust Bar
   ========================================================================== */

.trust-bar {
  position: relative;
  background: var(--primary);
  padding: 60px 0;
  overflow: hidden;
}
.trust-bar-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,195,74,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,195,74,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 100% at 50% 50%, black 30%, transparent 85%);
}
.trust-bar-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  perspective: 1200px;
}
.trust-stat {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 20px;
  background: linear-gradient(155deg, #4A1424 0%, #2C0A16 100%);
  border: 1px solid rgba(139,195,74,0.18);
  border-radius: var(--radius-md);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 14px 0 -6px rgba(0,0,0,0.28),
    0 24px 32px -12px rgba(0,0,0,0.5);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.trust-stat:hover {
  transform: translateY(-8px) rotateX(8deg) rotateY(-8deg) scale(1.03);
  border-color: rgba(139,195,74,0.45);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 18px 0 -6px rgba(0,0,0,0.32),
    0 32px 44px -14px rgba(0,0,0,0.6);
}
.trust-stat-icon {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 16px;
  background: linear-gradient(155deg, rgba(139,195,74,0.22), rgba(139,195,74,0.06));
  border: 1px solid rgba(139,195,74,0.3);
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.4);
  transform: translateZ(20px);
}
.trust-stat-body { display: flex; flex-direction: column; gap: 4px; transform: translateZ(12px); }
.trust-stat-number { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: #fff; letter-spacing: -0.02em; line-height: 1; }
.trust-stat-label { font-size: 13px; font-weight: 500; color: #94A3B8; }

@media (max-width: 900px) {
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .trust-bar-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   7. Testimonials
   ========================================================================== */

.testimonials-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
}
.testimonial-stars { color: #F59E0B; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; font-weight: 700; flex-shrink: 0;
}
.testimonial-meta { display: flex; flex-direction: column; }
.testimonial-meta strong { font-size: 14.5px; color: var(--primary); }
.testimonial-meta em { font-style: normal; font-size: 12.5px; color: var(--text-muted); }

/* ---- Trust panel ---- */
.testimonials-trust {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.testimonials-trust-score { display: flex; align-items: baseline; gap: 12px; }
.testimonials-trust-score strong { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.testimonials-trust-stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; }
.testimonials-trust-label { font-size: 14.5px; color: #CBD5E1; line-height: 1.65; margin: 0; }
.testimonials-trust-avatars { display: flex; align-items: center; }
.testimonials-trust-avatars span {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  border: 2px solid var(--primary);
  margin-left: -10px;
}
.testimonials-trust-avatars span:first-child { margin-left: 0; }
.testimonials-trust-avatars em { font-style: normal; font-size: 13.5px; font-weight: 700; color: #fff; margin-left: 12px; }

/* ---- Carousel ---- */
.testimonials-carousel { display: flex; flex-direction: column; }
.testimonials-carousel-track { position: relative; flex-grow: 1; }
.testimonial-slide {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
}
.testimonial-slide.is-active { display: flex; flex-direction: column; }
.testimonial-quote-mark { margin-bottom: 18px; }
.testimonial-slide blockquote {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--primary);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  flex-grow: 1;
}
.testimonial-slide figcaption { display: flex; align-items: center; gap: 12px; }

.testimonials-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 24px; }
.testimonial-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}
.testimonial-arrow:hover { background: var(--primary); color: #fff; }
.testimonials-carousel-dots { display: flex; align-items: center; gap: 8px; }
.testimonials-carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); border: none; padding: 0; cursor: pointer;
  transition: all 0.25s ease;
}
.testimonials-carousel-dots button.is-active { width: 24px; border-radius: 4px; background: var(--secondary); }

@media (max-width: 900px) {
  .testimonials-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .testimonial-slide { padding: 30px 26px; }
}

/* ==========================================================================
   8. Process
   ========================================================================== */

.process-timeline {
  display: flex;
  position: relative;
  gap: 12px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.process-step-number {
  display: inline-flex;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  background: var(--primary);
  width: 56px; height: 56px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 5px solid var(--surface);
  margin-bottom: 20px;
  flex-shrink: 0;
}
.process-step-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.process-step-body p { font-size: 17px; color: var(--text-muted); line-height: 1.65; max-width: 260px; min-height: 3.3em; margin: 0 auto; }

@media (max-width: 780px) {
  .process-timeline { flex-direction: column; gap: 0; }
  .process-timeline::before { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .process-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 20px; padding-bottom: 36px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step-number { margin-bottom: 0; border-width: 4px; }
  .process-step-body p { max-width: none; margin: 0; }
}

/* ==========================================================================
   9. FAQ
   ========================================================================== */

.faq-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.faq-tab {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.faq-tab:hover { border-color: var(--secondary); color: var(--primary); }
.faq-tab.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* One flat grid, not two independent columns — so the two cards in a row share a
   height and the columns end level even when question titles wrap to two lines */
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.faq-item.is-hidden { display: none; }

@media (max-width: 820px) {
  .faq-list { grid-template-columns: minmax(0, 1fr); }
}
.faq-item {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.is-open { border-color: var(--secondary); box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  flex: 1; /* fills the stretched card so a 1-line question matches a 2-line neighbour */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.is-open .faq-answer { max-height: 260px; }
.faq-answer p { padding: 0 24px 22px; font-size: 17px; color: var(--text-muted); line-height: 1.7; }

/* ==========================================================================
   10. CTA Section + Form
   ========================================================================== */

.cta-section {
  background: var(--primary);
  padding: 96px 0 48px;
}
.cta-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 20% 30%, black 10%, transparent 70%);
}
.cta-container {
  position: relative;
  background: linear-gradient(155deg, var(--primary) 0%, #2C0A16 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
}
.cta-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-title { font-size: 42px; font-weight: 700; color: #fff; margin: 16px 0; letter-spacing: -0.02em; }
.cta-desc { font-size: 17px; color: #94A3B8; line-height: 1.75; margin-bottom: 32px; max-width: 440px; }

.cta-map-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.4);
}
.cta-map-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.cta-map-header-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--secondary);
}
.cta-map-header strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.cta-map-header span { font-size: 12.5px; color: #94A3B8; }
.cta-map-frame { position: relative; height: 240px; }
.cta-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta-map-directions {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 13px; font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, background 0.25s ease;
}
.cta-map-directions:hover { transform: translateY(-2px); background: #fff; }
.cta-map-directions svg { transition: transform 0.25s ease; }
.cta-map-directions:hover svg { transform: translateX(2px); }

.cta-response-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #CBD5E1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.cta-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 32px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.form-row { margin-bottom: 14px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-row-split-wide { grid-template-columns: 2fr 1fr; }
.form-row-split .form-row { margin-bottom: 0; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--primary);
  background: #fff;
  min-height: 44px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row textarea { min-height: auto; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(98, 169, 54, 0.18);
  outline: none;
}
.form-row input.has-error,
.form-row textarea.has-error { border-color: #DC2626; }
.form-error { display: block; font-size: 12.5px; color: #DC2626; margin-top: 6px; min-height: 1px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  font-size: 14px;
  font-weight: 600;
  margin: 14px 0 0;
  text-align: center;
  min-height: 1px;
}
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #DC2626; }

@media (max-width: 960px) {
  .cta-container { grid-template-columns: 1fr; gap: 40px; padding: 48px 36px; }
}
@media (max-width: 500px) {
  .cta-section { padding: 56px 0 32px; }
  .cta-container { padding: 36px 22px; border-radius: var(--radius-md); }
  .cta-form { padding: 26px 22px; }
  .form-row-split { grid-template-columns: 1fr; gap: 18px; }
}
