/* ═══════════════════════════════════════════════════════
   HOME PAGE CSS — Global CropScience
   Full redesign with rich section styles
═══════════════════════════════════════════════════════ */

/* ── IMAGE PLACEHOLDER SYSTEM ── */
.img-placeholder {
  background: linear-gradient(135deg, #d1fae5 0%, #ecfdf5 50%, #d1fae5 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(5, 150, 105, 0.06) 10px,
    rgba(5, 150, 105, 0.06) 20px
  );
}

.img-placeholder-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-teal-mid);
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed var(--color-teal-mid);
  border-radius: var(--radius-sm);
  max-width: 180px;
  line-height: 1.5;
}

.img-placeholder-sm {
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  border: 2px solid rgba(5, 150, 105, 0.3);
  border-radius: 50%;
}

/* ── HERO ── */
.hero {
  background: var(--grad-hero);
  min-height: clamp(60vh, 80vh, 100vh);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Push content to the right */
  position: relative;
  overflow: hidden;
  padding-top: clamp(64px, 10vw, 100px);
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(109, 191, 62, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 191, 62, 0.6) 1px, transparent 1px);
  background-size: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px);
  animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 48px 48px;
  }
}

/* Hero image overlay: large background image placeholder */
.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 78, 59, 0.45);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 44, 34, 0.8),
    rgba(2, 44, 34, 0.3)
  );
}

@media (max-width: 768px) {
  .hero-bg-img {
    opacity: 0.8;
  }
  .hero-bg-gradient {
    /* Reduce overlay opacity on mobile */
    background: linear-gradient(
      180deg,
      rgba(2, 44, 34, 0.6),
      rgba(2, 44, 34, 0.15)
    );
  }
}

.hero-img-placeholder .img-placeholder-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(6, 78, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
  max-width: 260px;
}

.hero .container {
  position: static !important;
}

.hero-content {
  position: absolute;
  z-index: 10;
  right: clamp(16px, 4vw, 48px);
  /* Minimal right edge spacing */
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  max-width: clamp(320px, 90vw, 680px);
  width: 100%;
  padding-right: 0;
}

.hero .eyebrow {
  color: rgba(109, 191, 62, 0.9);
  margin: 0 0 var(--space-4) auto;
  display: block;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-hero);
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--space-5) auto;
  /* Ensure alignment */
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  text-align: right;
}

.hero-accent {
  color: var(--color-lime);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 0 var(--space-7) auto;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
  flex-wrap: wrap;
  margin: 0 0 var(--space-7) auto;
}

.hero-chips {
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-left: auto;
}

.hero-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-lime);
  flex-shrink: 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5)
  );
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.8);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
}

/* ── STATS BAR COMPACT CIRCULAR DESIGN ── */
.stats-bar {
  background: var(--color-navy);
  padding: 40px 0;
  /* Minimized height */
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  justify-items: center;
}

.stat-item {
  border: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 12px;
  /* Space between circle and label */
}

.stat-circle {
  width: clamp(80px, 12vw, 110px);
  height: clamp(80px, 12vw, 110px);
  border-radius: 50%;
  border: 1px solid rgba(109, 191, 62, 0.25);
  background: radial-gradient(
    circle at center,
    rgba(109, 191, 62, 0.08) 0%,
    transparent 75%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-circle::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1.5px solid transparent;
  border-top-color: var(--color-lime);
  border-bottom-color: var(--color-lime);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate-stat 10s linear infinite;
}

.stat-circle::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.stat-item:hover .stat-circle {
  transform: translateY(-5px);
  border-color: var(--color-lime);
  background: radial-gradient(
    circle at center,
    rgba(109, 191, 62, 0.15) 0%,
    transparent 75%
  );
  box-shadow: 0 8px 30px rgba(109, 191, 62, 0.1);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-lime);
  letter-spacing: -0.02em;
  line-height: 1;
  display: block;
  text-shadow: 0 0 15px rgba(109, 191, 62, 0.3);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 12px;
  /* Increased by 3px */
  font-weight: 700;
  /* Bolded */
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  /* Slightly lightened for better readability with bold text */
  text-transform: uppercase;
  display: block;
  max-width: 160px;
  line-height: 1.3;
}

@keyframes rotate-stat {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .stat-item:nth-child(4),
  .stat-item:nth-child(5) {
    grid-column: span 1.5;
  }
}

@media (max-width: 768px) {
  .stats-bar {
    padding: 32px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-item:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .stat-circle {
    width: 90px;
    height: 90px;
  }

  .stat-number {
    font-size: 1.5rem;
  }
}

/* ── ABOUT SPLIT SECTION ── */
.about-split-section {
  background: var(--color-white);
}

.about-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.about-image-cluster {
  position: relative;
}

.img-cluster-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: clamp(12px, 2vw, 24px);
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.img-cluster-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.img-cluster-secondary .img-placeholder {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--grad-cta);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-btn);
  z-index: 2;
}

.about-badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

.about-badge-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.9;
  display: block;
  margin-top: 4px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-5);
  margin-top: var(--space-5);
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
}

.feature-check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-lime);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  line-height: 1;
}

/* ── CATEGORIES SECTION ── */
.categories-section {
  background: var(--color-offwhite);
}

.categories-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-card {
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  text-decoration: none;
  overflow: hidden;
  height: 100%;
  border: 1px solid transparent;
  position: relative;
  /* Anchor for pseudo-background */
  z-index: 1;
}

/* 20% Opacity Background Image System */
.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  /* Request: 13% opacity */
  z-index: -1;
  transition: opacity 0.3s ease;
}

.category-card:hover::before {
  opacity: 0.3;
  /* Slight lift on hover */
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(6, 78, 59, 0.12);
  border-color: rgba(6, 78, 59, 0.15);
}

/* ═══════════════════════════════════════════
   BENTO COLORS: HARMONIOUS PASTEL PALETTE
   (Analyzed from Reference Image for Organic Visual Flow)
═══════════════════════════════════════════ */
.category-card:nth-child(1) {
  background: #fef3c7;
  border-color: #fde68a;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518410/plant-growth_or6lvs.webp");
}
.category-card:nth-child(2) {
  background: #d1fae5;
  border-color: #a7f3d0;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518412/bio-fer_uzfokk.webp");
}
.category-card:nth-child(3) {
  background: #e0f2fe;
  border-color: #bae6fd;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518412/bio-pesti_a7qs7c.webp");
}
.category-card:nth-child(4) {
  background: #f3e8ff;
  border-color: #e9d5ff;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518411/humic-fulvic_hnlabn.webp");
}
.category-card:nth-child(5) {
  background: #dcfce7;
  border-color: #bbf7d0;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518415/amino-acid_ubitoh.webp");
}
.category-card:nth-child(6) {
  background: #f7fee7;
  border-color: #ecfccb;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518411/natu-pest_hbwvaa.webp");
}
.category-card:nth-child(7) {
  background: #dbeafe;
  border-color: #bfdbfe;
  --card-bg: url("https://res.cloudinary.com/df64vtuh5/image/upload/v1776518410/seeweed_ntndgl.webp");
}

/* Muted Lime */

/* Accessible Typography based on Hue */
.category-card:nth-child(1) h4 {
  color: #92400e;
}

.category-card:nth-child(2) h4 {
  color: #065f46;
}

.category-card:nth-child(3) h4 {
  color: #075985;
}

.category-card:nth-child(4) h4 {
  color: #6b21a8;
}

.category-card:nth-child(5) h4 {
  color: #166534;
}

.category-card:nth-child(6) h4 {
  color: #1e40af;
}

.category-card:nth-child(7) h4 {
  color: #3f6212;
}

.category-card-info span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
  /* Muted for premium contrast */
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   MASTER HIERARCHY: DESKTOP (4x3 Grid)
   Rhythm: [Hero 2x2] + [Med/Small mix with custom spans]
═══════════════════════════════════════════ */
.category-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.category-card:nth-child(2) {
  grid-column: span 1;
  grid-row: span 1;
}
.category-card:nth-child(3) {
  grid-column: span 1;
  grid-row: span 1;
}
.category-card:nth-child(4) {
  grid-column: span 1;
  grid-row: span 1;
}
.category-card:nth-child(5) {
  grid-column: span 1;
  grid-row: span 2;
} /* Amino: Vertically increase downside */
.category-card:nth-child(6) {
  grid-column: span 1;
  grid-row: span 1;
} /* Natural Pest: Square shape, Move to left */
.category-card:nth-child(7) {
  grid-column: span 2;
  grid-row: span 1;
} /* Seaweed: Move to right, Wide */

/* ═══════════════════════════════════════════
   MASTER HIERARCHY: TABLET (6 Columns)
═══════════════════════════════════════════ */
@media (max-width: 1023px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: var(--space-4);
  }

  /* 3x4 Premium Tablet Rhythm */
  .category-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  } /* Hero 2x2 */
  .category-card:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .category-card:nth-child(3) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .category-card:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .category-card:nth-child(5) {
    grid-column: span 1;
    grid-row: span 2;
  } /* Tall Signature 1 */
  .category-card:nth-child(6) {
    grid-column: span 1;
    grid-row: span 2;
  } /* Natural Pest: Now Tall to fill space */

  .category-card:nth-child(7) {
    grid-column: span 1;
    grid-row: span 1;
  } /*wide -> square */
}

/* ═══════════════════════════════════════════
   MASTER HIERARCHY: MOBILE (2 Columns)
═══════════════════════════════════════════ */
@media (max-width: 767px) {
  .categories-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }

  /* === CLEAN MOBILE BENTO RHYTHM ===
     [  Plant Growth Promoters  ]  full-width hero
     [ Bio-Fert ] [ Bio-Pesticides ]
     [   Humic & Fulvic Acids   ]  full-width break
     [ Natural-Pest ] [ Amino Acid ]
     [   Seaweed Extracts       ]  full-width exit
  */
  .category-card:nth-child(1) {
    grid-column: span 2;
    min-height: 200px;
  }
  .category-card:nth-child(2) {
    grid-column: span 1;
    min-height: 160px;
  }
  .category-card:nth-child(3) {
    grid-column: span 1;
    min-height: 160px;
  }
  .category-card:nth-child(4) {
    grid-column: span 2;
    min-height: 160px;
  }
  .category-card:nth-child(5) {
    grid-column: span 1;
    min-height: 160px;
  }
  .category-card:nth-child(6) {
    grid-column: span 1;
    min-height: 160px;
  }
  .category-card:nth-child(7) {
    grid-column: span 2;
    min-height: 160px;
  }

  .category-card {
    padding: 20px 16px;
    justify-content: flex-end;
  }

  .category-card-info h4 {
    font-size: 1rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 5px;
  }

  .category-card-info span {
    font-size: 11px;
    line-height: 1.45;
  }
}

.category-card-info h4 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 700;
  color: #064e3b;
  margin-bottom: 8px;
}

.category-card-info span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #065f46;
  letter-spacing: 0.02em;
  display: block;
  line-height: 1.5;
}

/* ── WHY SPLIT SECTION ── */
.why-split-section {
  background: var(--color-white);
}

.why-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.why-feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-6);
}

.why-feature-item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.why-feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-feature-item strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.why-feature-item p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-subtext);
  line-height: 1.65;
  margin: 0;
}

.why-split-image {
  position: relative;
}

.why-img-main {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.why-mini-cards {
  position: absolute;
  bottom: -24px;
  left: -24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.why-mini-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  min-width: 160px;
}

.wmc-icon {
  font-size: 1.25rem;
}

.wmc-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ── NEW PRODUCTS ── */
.new-products {
  background: var(--color-offwhite);
}

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

/* ── PROCESS SECTION ── */
.process-section {
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-7);
  position: relative;
}

/* connector line between steps */
.process-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--color-lime),
    rgba(109, 191, 62, 0.2),
    var(--color-lime)
  );
  opacity: 0.25;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 32px);
  text-align: center;
  position: relative;
  transition:
    background 0.22s,
    border-color 0.22s;
}

.process-step:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(109, 191, 62, 0.25);
}

@media (min-width: 1024px) {
  .process-step {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .process-step:hover {
    transform: scale(1.05);
    z-index: 2;
  }
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-lime);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.process-step-icon {
  font-size: clamp(2rem, 4vw, 3rem);
  display: block;
  margin: 0 auto var(--space-4);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-3);
}

.process-step p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin: 0;
}

/* ── SERVE SECTION ── */
.serve-section {
  background: var(--color-white);
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.serve-card {
  background: #f1f5e9; /* Soft sage/mint from design */
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 32px; /* Extra rounded from design */
  padding: var(--space-5) var(--space-5);
  transition:
    transform 0.22s,
    box-shadow 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.serve-icon-container {
  width: 56px;
  height: 56px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
  font-size: 2.25rem; /* Optimized emoji size */
}

.serve-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.serve-card p {
  font-size: 0.9375rem;
  color: var(--color-subtext);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  flex: 1;
}

.serve-divider {
  width: 80%;
  height: 1px;
  background: rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-4);
}

.serve-link {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.serve-link:hover {
  gap: 12px;
  color: var(--color-teal-mid);
}

.serve-link .arrow {
  font-family: var(--font-body);
  font-size: 1.1rem;
}

/* ── GALLERY SHOWCASE ── */
.gallery-showcase-section {
  background: var(--color-offwhite);
}

.gallery-filter-tabs {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-5);
  flex-wrap: wrap;
}

.gallery-tab {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-subtext);
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 20px;
  cursor: pointer;
  transition: all 0.18s;
}

.gallery-tab:hover,
.gallery-tab.active {
  background: var(--color-teal-mid);
  border-color: var(--color-teal-mid);
  color: white;
}

.gallery-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-4);
  margin-top: var(--space-7);
}

.showcase-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.showcase-item--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(7, 30, 38, 0.85) 0%,
    transparent 100%
  );
  padding: 24px 20px 20px;
  opacity: 0;
  transition: opacity 0.22s;
}

.showcase-item:hover .showcase-overlay {
  opacity: 1;
}

.showcase-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-lime);
  display: block;
  margin-bottom: 4px;
}

.showcase-overlay h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

/* ensure img-placeholder label inside showcase is still visible on hover */
.showcase-item .img-placeholder-label {
  position: relative;
  z-index: 1;
}

/* ── USP STRIP ── */
.usp-strip {
  background: var(--color-offwhite);
  border-top: 2px solid var(--color-lime);
  padding: var(--space-7) 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.usp-item {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  border-right: 1px solid var(--color-border);
}

.usp-item:last-child {
  border-right: none;
}

.usp-icon {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  display: block;
  margin-bottom: var(--space-3);
}

.usp-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.usp-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-subtext);
  line-height: 1.6;
  margin: 0;
}

/* ── FAQ SPLIT ── */
.faq-split-section {
  background: var(--color-white);
}

.faq-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s;
}

.faq-item[open] {
  border-color: var(--color-teal-mid);
}

.faq-q {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.18s;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--color-teal-mid);
  flex-shrink: 0;
  transition: transform 0.22s;
}

.faq-item[open] .faq-q::after {
  content: "−";
}

.faq-item[open] .faq-q {
  background: var(--color-ice);
  color: var(--color-teal-deep);
}

.faq-a {
  padding: 0 20px 16px;
}

.faq-a p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-subtext);
  line-height: 1.7;
  margin: 0;
}

/* FAQ answer panel (right col) */
.faq-answer-panel {
  position: sticky;
  top: 96px;
}

.faq-panel-inner {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  padding: 36px 32px 28px;
  color: white;
  margin-bottom: var(--space-4);
}

.faq-panel-inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: white;
  line-height: 1.25;
  margin-bottom: var(--space-4);
}

.faq-panel-inner p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.faq-panel-avatars {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.avatar-stack {
  display: flex;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-navy);
  margin-left: -10px;
  flex-shrink: 0;
}

.avatar-img:first-child {
  margin-left: 0;
}

.faq-satisfied {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
}

.faq-contact-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.faq-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.18s;
}

.faq-phone-link:hover {
  color: var(--color-lime);
}

.faq-phone-icon {
  font-size: 1rem;
}



/* ── SPECIALIST CTA ── */
.specialist-cta-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-section) 0;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.specialist-cta-image {
  position: absolute;
  inset: 0;
  border-radius: 0 !important;
  z-index: 0;
}

.specialist-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(7, 30, 38, 0.88) 0%,
    rgba(13, 79, 92, 0.72) 60%,
    rgba(7, 30, 38, 0.45) 100%
  );
  z-index: 1;
}

.specialist-cta-content {
  position: relative;
  z-index: 2;
}

.specialist-cta-text {
  max-width: 560px;
}

.specialist-cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.specialist-cta-text p {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  background: var(--color-white);
}

.testimonial-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--space-6);
  align-items: start;
  padding: var(--space-7) 0;
  border-bottom: 1px solid var(--color-border);
}

.testimonial-row.reverse {
  direction: rtl;
}

.testimonial-row.reverse > * {
  direction: ltr;
}

.t-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--color-lime);
  opacity: 0.25;
  line-height: 0.8;
  font-weight: 800;
  user-select: none;
}

.t-message {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-text);
  line-height: 1.7;
  font-style: normal;
  border: none;
  padding: 0;
  margin: 0;
}

.t-stars {
  color: var(--color-lime);
  font-size: 14px;
  margin-bottom: 8px;
}

.t-author strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-teal-deep);
  display: block;
}

.t-author span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
}

/* ── BLOG SECTION ── */
.blog-section {
  background: var(--color-offwhite);
}

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

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.22s,
    transform 0.22s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 0;
  position: relative;
}

.blog-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal-deep);
  background: var(--color-frost);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.blog-card-body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--space-3);
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
  margin-bottom: var(--space-3);
}

.blog-card-body > p {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-subtext);
  line-height: 1.65;
  margin: 0 0 var(--space-4);
  flex: 1;
}

.blog-read-more {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal-mid);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  align-self: flex-start;
}

.blog-read-more:hover {
  color: var(--color-lime-dark);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--grad-cta);
  padding: var(--space-8) 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner .btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
}

/* ── FOOTER ADDITIONS ── */
.footer-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: var(--space-3) 0 var(--space-4);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */

/* Fix for laptop screens where vertical height is constrained */
@media (min-width: 1024px) and (max-width: 1536px) and (max-height: 900px) {
  .hero {
    min-height: clamp(650px, 100vh, 850px);
  }
}

@media (max-width: 1199px) {
  .stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .why-mini-cards {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: var(--space-4);
  }

  .why-mini-card {
    min-width: auto;
  }
}

@media (max-width: 1023px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .process-steps::before {
    display: none;
  }

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

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

  .showcase-item--large {
    grid-column: span 2;
  }

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

  .usp-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .usp-item:nth-child(odd) {
    border-right: 1px solid var(--color-border);
  }
}

@media (max-width: 767px) {
  .about-split-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    top: -12px;
    right: 8px;
  }

  .about-features-list {
    grid-template-columns: 1fr;
  }

  .why-split-grid {
    grid-template-columns: 1fr;
  }

  .why-split-image {
    order: -1;
  }

  .faq-split-grid {
    grid-template-columns: 1fr;
  }

  .faq-answer-panel {
    position: static;
  }

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

  .testimonial-row {
    grid-template-columns: 1fr;
  }

  .testimonial-row.reverse {
    direction: ltr;
  }

  .t-quote-mark {
    font-size: 3rem;
  }

  .gallery-showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-item--large {
    grid-column: span 1;
  }

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

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

  .specialist-cta-section {
    padding: var(--space-9) 0;
  }
}

@media (max-width: 599px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

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

  .usp-item {
    border-right: none !important;
  }

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

  .stat-item {
    padding: var(--space-4);
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.07);
  }
}
