/* ============================================
   SAM & SONS V3 — Homepage Bento Dashboard
   Asphalt Tech — Industrial Brutalist
   ============================================ */

/* ═══════════════════════════════════════════
   HERO SLIDER — Modern Fullscreen Carousel
   ═══════════════════════════════════════════ */

/* --- Main container --- */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 650px;
  overflow: hidden;
  background: #0a0a0f;
}

/* --- Track: all slides stacked --- */
.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Single slide --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
  z-index: 1;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* --- Background image --- */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 8s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

/* Ken Burns — subtle zoom on active */
.hero-slide--active .hero-slide__bg img {
  transform: scale(1.08);
}

/* --- Overlay gradient --- */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 15, 0.45) 0%,
      rgba(10, 10, 15, 0.25) 40%,
      rgba(10, 10, 15, 0.55) 70%,
      rgba(10, 10, 15, 0.85) 100%
    ),
    linear-gradient(90deg,
      rgba(10, 10, 15, 0.5) 0%,
      transparent 60%
    );
  z-index: 1;
}

/* --- Slide content --- */
.hero-slide__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 0 var(--container-padding, 2rem) var(--space-5xl, 6rem);
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* Staggered entrance animations */
.hero-slide--active .hero-slide__badge {
  animation: heroSlideUp 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide--active .hero-slide__title {
  animation: heroSlideUp 0.8s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide--active .hero-slide__desc {
  animation: heroSlideUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-slide--active .hero-slide__actions {
  animation: heroSlideUp 0.8s 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Badge --- */
.hero-slide__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
  opacity: 0;
}

/* --- Title --- */
.hero-slide__title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-white);
  margin: 0;
  max-width: 700px;
  opacity: 0;
}

.hero-slide__title strong {
  color: var(--color-primary-light, #FF2D3A);
  font-weight: inherit;
}

/* --- Description --- */
.hero-slide__desc {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: var(--lh-relaxed);
  max-width: 550px;
  margin: 0;
  opacity: 0;
}

/* --- Actions --- */
.hero-slide__actions {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  opacity: 0;
}

/* Primary button on dark overlay */
.hero-slide__actions .btn-primary {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: var(--color-white) !important;
}

.hero-slide__actions .btn-primary:hover {
  background: var(--color-primary-light) !important;
  border-color: var(--color-primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(226, 5, 18, 0.35);
}

/* Outline button on dark */
.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4) !important;
  color: var(--color-white) !important;
  background: transparent !important;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--color-white) !important;
  color: var(--color-white) !important;
  transform: translateY(-2px);
}


/* ─── Navigation Arrows ─── */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full, 50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.hero-slider__arrow--prev {
  left: var(--space-xl, 2rem);
}

.hero-slider__arrow--next {
  right: var(--space-xl, 2rem);
}


/* ─── Dots Navigation with Circular Progress ─── */
.hero-slider__nav {
  position: absolute;
  bottom: var(--space-2xl, 2.5rem);
  right: var(--container-padding, 2rem);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-slider__dot {
  position: relative;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider__dot svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.hero-slider__dot-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2;
}

.hero-slider__dot-progress {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 100.53;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.3s ease;
}

/* Active dot: progress animated via JS */
.hero-slider__dot--active .hero-slider__dot-progress {
  animation: dotProgress var(--slider-duration, 6s) linear forwards;
}

@keyframes dotProgress {
  from { stroke-dashoffset: 100.53; }
  to { stroke-dashoffset: 0; }
}

.hero-slider__dot-num {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: var(--fw-bold);
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.hero-slider__dot--active .hero-slider__dot-num {
  color: var(--color-white);
}

.hero-slider__dot:hover .hero-slider__dot-num {
  color: rgba(255, 255, 255, 0.8);
}


/* ─── Scroll Indicator ─── */
.hero-slider__scroll {
  position: absolute;
  bottom: var(--space-2xl, 2.5rem);
  left: var(--container-padding, 2rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.6);
}

.hero-slider__scroll span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  writing-mode: vertical-lr;
  font-weight: var(--fw-medium);
}

.hero-slider__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.hero-slider__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-white);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}


/* ─── Red accent line at bottom ─── */
.hero-slider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  z-index: 10;
}


/* ═══════════════════════════════════════════
   PRODUCTS SHOWCASE — 4 Column Horizontal
   ═══════════════════════════════════════════ */
.products-showcase {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

/* --- Card base --- */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.product-card:hover {
  border-color: var(--color-border-cyan);
  box-shadow: var(--shadow-tile-hover);
  transform: translateY(-8px);
}

/* Red accent line at bottom — hidden by default, grows on hover */
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 2;
}

.product-card:hover::after {
  transform: scaleX(1);
}

/* --- Card image --- */
.product-card__img {
  position: relative;
  overflow: hidden;
  height: 240px;
  background: var(--color-surface);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}

.product-card:hover .product-card__img img {
  transform: scale(1.08);
}

/* Gradient overlay on image */
.product-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Card body --- */
.product-card__body {
  padding: var(--space-lg) var(--space-xl) var(--space-xl);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* --- Number tag --- */
.product-card__number {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: var(--space-xs);
  transition: opacity var(--transition-fast);
}

.product-card:hover .product-card__number {
  opacity: 0.35;
}

/* --- Title --- */
.product-card__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-sm);
}

/* --- Description --- */
.product-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  flex: 1;
}

/* --- Link --- */
.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-primary);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  margin-top: var(--space-md);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.product-card:hover .product-card__link {
  color: var(--color-primary-light);
  gap: var(--space-md);
}

.product-card__link .arrow {
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card__link .arrow {
  transform: translateX(6px);
}


/* ═══════════════════════════════════════════
   BENTO TILE — Stats Grid
   ═══════════════════════════════════════════ */
.tile-stats {
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, rgba(226, 5, 18, 0.05) 100%);
}

.tile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.tile-stats .stat-item {
  text-align: left;
}

.tile-stats .stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-cyan);
  display: block;
  line-height: 1.1;
}

.tile-stats .stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
}


/* ═══════════════════════════════════════════
   BENTO TILE — Showcase (image + overlay)
   ═══════════════════════════════════════════ */
.tile-showcase {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.tile-showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.tile-showcase:hover .tile-showcase-img {
  transform: scale(1.05);
}

.tile-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.95) 0%,
    rgba(10, 10, 15, 0.4) 40%,
    rgba(10, 10, 15, 0.1) 100%
  );
  z-index: 1;
}

.tile-showcase-content {
  position: relative;
  z-index: 2;
  padding: var(--space-2xl);
}

.tile-showcase-content .badge {
  margin-bottom: var(--space-md);
}

.tile-showcase-content h2 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-lg);
  max-width: 500px;
}


/* ═══════════════════════════════════════════
   BENTO TILE — Testimonial
   ═══════════════════════════════════════════ */
.tile-testimonial {
  display: flex;
  flex-direction: column;
}

.tile-testimonial .testimonial-card {
  border: none;
  border-left: none;
  padding: 0;
  margin-bottom: var(--space-lg);
}

.tile-testimonial .testimonial-text {
  font-size: var(--fs-base);
}

.tile-testimonial .carousel-track {
  overflow: hidden;
}

.tile-testimonial .carousel-dots {
  display: flex;
  justify-content: flex-start;
  gap: var(--space-xs);
  margin-top: auto;
}


/* ═══════════════════════════════════════════
   BENTO TILE — Blog Previews
   ═══════════════════════════════════════════ */
.tile-blog {
  display: flex;
  flex-direction: column;
}

.tile-blog-img {
  height: 55%;
  overflow: hidden;
}

.tile-blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile-blog-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 1;
}

.tile-blog-content .badge {
  margin-bottom: var(--space-sm);
  align-self: flex-start;
}

.tile-blog-content h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--space-md);
  flex: 1;
  line-height: var(--lh-heading);
}

.tile-blog-content .link-arrow {
  font-size: var(--fs-sm);
}


/* ═══════════════════════════════════════════
   BENTO TILE — CTA / Agences
   ═══════════════════════════════════════════ */
.tile-cta {
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, var(--color-bg-elevated) 0%, rgba(226, 5, 18, 0.06) 100%);
}

.tile-cta-content {
  position: relative;
  z-index: 1;
}

.tile-cta-content h3 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-sm);
}

.tile-cta-content p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}


/* ═══════════════════════════════════════════
   BRANDS SECTION
   ═══════════════════════════════════════════ */
.brands-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.brands-section .marquee-track img {
  height: 50px;
  width: auto;
  opacity: 0.4;
  filter: grayscale(100%) brightness(0.4);
  transition: all var(--transition-normal);
}

.brands-section .marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%) brightness(1);
}


/* ═══════════════════════════════════════════
   CAROUSEL OVERRIDES (in testimonial tile)
   ═══════════════════════════════════════════ */
.tile-testimonial .carousel-prev,
.tile-testimonial .carousel-next {
  display: none;
}

.carousel-dot {
  width: 8px;
  height: 2px;
  border-radius: 4px;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background: var(--color-cyan);
  width: 24px;
}


/* (Product hover enhancements are now in the PRODUCTS SHOWCASE section above) */


/* ═══════════════════════════════════════════
   PRO — About Section (Texte + Stats grid)
   ═══════════════════════════════════════════ */
.about-section {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-text h2 {
  font-size: var(--fs-h1);
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-md);
}

.about-stats {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}

.about-stats h3 {
  margin-bottom: var(--space-xl);
}

.about-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.about-stats .stat-item {
  text-align: left;
}

.about-stats .stat-item-full {
  grid-column: span 2;
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.about-stats .stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  display: block;
  line-height: 1.1;
}

.about-stats .stat-label {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wider);
  margin-top: var(--space-xs);
}


/* ═══════════════════════════════════════════
   PRO — Showcase (pleine largeur image + overlay)
   ═══════════════════════════════════════════ */
.showcase-pro {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.showcase-pro-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.showcase-pro:hover .showcase-pro-img {
  transform: scale(1.03);
}

.showcase-pro-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 15, 0.82) 0%,
    rgba(10, 10, 15, 0.35) 50%,
    rgba(10, 10, 15, 0.10) 100%
  );
  z-index: 1;
}

.showcase-pro-content {
  position: relative;
  z-index: 2;
  padding: var(--space-4xl) var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.showcase-pro-content .badge {
  margin-bottom: var(--space-md);
}

.showcase-pro-content h2 {
  font-size: var(--fs-h1);
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  max-width: 600px;
}


/* ═══════════════════════════════════════════
   PRO — Témoignages (grid de cards)
   ═══════════════════════════════════════════ */
.testimonials-section {
  background: var(--color-bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.testimonial-card-pro {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.testimonial-card-pro:hover {
  border-color: var(--color-border-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #FFB300;
  font-size: var(--fs-sm);
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.testimonial-card-pro .testimonial-text {
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-card-pro .testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card-pro .testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  flex-shrink: 0;
}

.testimonial-card-pro .testimonial-name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
}

.testimonial-card-pro .testimonial-role {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}


/* ═══════════════════════════════════════════
   PRO — Blog Section (grid de cards)
   ═══════════════════════════════════════════ */
.blog-section {
  background: var(--color-bg);
}

.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.blog-header h2 {
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.blog-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-normal),
              box-shadow var(--transition-normal),
              transform var(--transition-normal);
}

.blog-card:hover {
  border-color: var(--color-border-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.blog-card-content .badge {
  align-self: flex-start;
  margin-bottom: var(--space-sm);
}

.blog-card-content h4 {
  font-size: var(--fs-base);
  line-height: var(--lh-heading);
  margin-bottom: var(--space-md);
}

.blog-card-content .link-arrow {
  font-size: var(--fs-sm);
  margin-top: auto;
}


/* ═══════════════════════════════════════════
   PRO — CTA Section Rouge (pleine largeur)
   ═══════════════════════════════════════════ */
.cta-section-red {
  background: var(--color-primary);
  padding: var(--space-4xl) 0;
}

.cta-section-red .cta-icon {
  margin-bottom: var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.cta-section-red .eyebrow {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-sm);
  display: block;
}

.cta-section-red h2 {
  color: var(--color-white);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.cta-section-red p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-lg);
  max-width: 550px;
  margin: 0 auto var(--space-2xl);
}

.cta-buttons {
  display: flex;
  gap: var(--space-lg);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section-red .btn {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}

.cta-section-red .btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-section-red .btn-cta-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.cta-section-red .btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-white);
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
/* ─── Tablet ─── */
@media (max-width: 1024px) {
  .hero-slider {
    min-height: 550px;
  }

  .hero-slide__title {
    font-size: var(--fs-h1);
  }

  .hero-slide__desc {
    font-size: var(--fs-base);
  }

  .hero-slider__arrow {
    width: 40px;
    height: 40px;
  }

  .hero-slider__arrow--prev {
    left: var(--space-md);
  }

  .hero-slider__arrow--next {
    right: var(--space-md);
  }

  /* Pro sections — Tablet */
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-pro {
    min-height: 40vh;
  }

  .showcase-pro-content h2 {
    font-size: var(--fs-h2);
  }

  /* Products grid — Tablet: 2×2 */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ─── Mobile ─── */
@media (max-width: 767px) {
  .hero-slider {
    height: 100svh;
    min-height: 500px;
  }

  .hero-slide__content {
    padding: 0 var(--space-lg) var(--space-4xl, 4rem);
  }

  .hero-slide__title {
    font-size: var(--fs-h2);
    max-width: 100%;
  }

  .hero-slide__desc {
    font-size: var(--fs-sm);
    max-width: 100%;
  }

  .hero-slide__actions {
    flex-direction: column;
  }

  .hero-slide__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slider__arrow {
    display: none;
  }

  .hero-slider__nav {
    bottom: var(--space-lg);
    right: var(--space-lg);
  }

  .hero-slider__dot {
    width: 36px;
    height: 36px;
  }

  .hero-slider__scroll {
    display: none;
  }

  /* Products grid — Mobile: single column */
  .products-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .product-card__img {
    height: 200px;
  }

  /* Showcase tile on mobile */
  .tile-showcase-content h2 {
    font-size: var(--fs-h4);
  }

  .tile-showcase-content {
    padding: var(--space-lg);
  }

  /* Stats tile on mobile */
  .tile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .tile-stats .stat-number {
    font-size: var(--fs-h4);
  }

  /* Blog tiles on mobile */
  .tile-blog-img {
    height: 180px;
  }

  /* Brands */
  .brands-section .marquee-track img {
    height: 35px;
  }

  /* Ribbon on mobile */
  .ribbon {
    padding: var(--space-md) 0;
  }

  .ribbon-text {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  /* Pro sections — Mobile */
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-text h2 {
    font-size: var(--fs-h2);
  }

  .about-stats .stats-grid {
    gap: var(--space-md);
  }

  .about-stats .stat-number {
    font-size: var(--fs-h4);
  }

  .about-stats .stat-item-full {
    grid-column: span 2;
  }

  .showcase-pro {
    min-height: 35vh;
  }

  .showcase-pro-content {
    padding: var(--space-2xl) var(--container-padding);
  }

  .showcase-pro-content h2 {
    font-size: var(--fs-h3);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card-img {
    height: 180px;
  }

  .cta-section-red {
    padding: var(--space-3xl) 0;
  }

  .cta-section-red h2 {
    font-size: var(--fs-h3);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ─── Small mobile ─── */
@media (max-width: 480px) {
  .hero-slider {
    min-height: 480px;
  }

  .hero-slide__content {
    padding: 0 var(--space-md) var(--space-3xl, 3rem);
  }

  .hero-slide__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-slide__desc {
    display: none;
  }

  .hero-slide__badge {
    font-size: 10px;
    padding: 0.3rem 0.9rem;
  }

  .hero-slider__nav {
    bottom: var(--space-md);
    right: var(--space-md);
    gap: var(--space-sm);
  }

  .hero-slider__dot {
    width: 32px;
    height: 32px;
  }

  .hero-slider__dot-num {
    font-size: 9px;
  }
}
