﻿/* ========================================
   WHY CHOOSE GOAT — BLACK & GOLD
======================================== */

.why-goat {
  position: relative;
  padding: 95px 6%;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(197, 155, 55, 0.08),
      transparent 30%
    ),
    #050505;
  color: #fff;
  overflow: hidden;
}

.why-goat-container {
  max-width: 1250px;
  margin: 0 auto;
}

/* ========================================
   HEADING
======================================== */

.why-goat-heading {
  max-width: 700px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 17px;

  color: #c9a34a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";

  width: 28px;
  height: 1px;

  background: #c9a34a;
}

/* Main heading */

.why-goat-heading h2 {
  margin: 0;

  color: #f5f5f5;

  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -3.5px;
  font-weight: 700;
}

.why-goat-heading h2 span {
  color: #c9a34a;
}

/* Description */

.why-goat-heading p {
  max-width: 520px;

  margin-top: 22px;

  color: #858585;

  font-size: 16px;
  line-height: 1.65;
}

/* ========================================
   CARDS GRID
======================================== */

.why-goat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

/* ========================================
   PREMIUM CARD
======================================== */

.goat-card {
  position: relative;

  min-height: 245px;
  padding: 24px;

  border: 1px solid #292929;
  border-radius: 6px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.008)
    );

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 18px 45px rgba(0, 0, 0, 0.3);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  overflow: hidden;

  transition:
    transform 0.4s ease,
    border-color 0.4s ease,
    background 0.4s ease;
}

/* Gold glow */

.goat-card::after {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  right: -70px;
  top: -70px;

  background: rgba(201, 163, 74, 0.12);

  filter: blur(35px);

  transition: 0.4s ease;
}

.goat-card:hover {
  transform: translateY(-7px);

  border-color: rgba(201, 163, 74, 0.55);

  background:
    linear-gradient(
      145deg,
      rgba(201, 163, 74, 0.07),
      rgba(255, 255, 255, 0.01)
    );
}

.goat-card:hover::after {
  background: rgba(201, 163, 74, 0.22);
}

/* ========================================
   CARD TOP
======================================== */

.card-top {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.number {
  color: #6b6b6b;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* ========================================
   ARROW
======================================== */

.arrow {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #353535;
  border-radius: 50%;

  color: #999;

  font-size: 15px;

  transition: all 0.35s ease;
}

.goat-card:hover .arrow {
  color: #050505;

  background: #c9a34a;
  border-color: #c9a34a;

  transform: rotate(45deg);
}

/* ========================================
   CARD CONTENT
======================================== */

.card-content {
  position: relative;
  z-index: 2;
}

.card-content h3 {
  margin: 0 0 11px;

  color: #f2f2f2;

  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.5px;

  transition: color 0.3s ease;
}

.goat-card:hover .card-content h3 {
  color: #c9a34a;
}

.card-content p {
  max-width: 250px;

  margin: 0;

  color: #777;

  font-size: 14px;
  line-height: 1.65;
}

/* ========================================
   GOLD BOTTOM LINE
======================================== */

.goat-card::before {
  content: "";

  position: absolute;

  left: 24px;
  right: 24px;
  bottom: 0;

  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    #c9a34a,
    transparent
  );

  opacity: 0;

  transition: opacity 0.4s ease;
}

.goat-card:hover::before {
  opacity: 1;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {

  .why-goat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .goat-card {
    min-height: 225px;
  }

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 650px) {

  .why-goat {
    padding: 70px 18px;
  }

  .why-goat-heading {
    margin-bottom: 35px;
  }

  .why-goat-heading h2 {
    font-size: 48px;
    line-height: 0.98;
    letter-spacing: -2.5px;
  }

  .why-goat-heading p {
    font-size: 14px;
  }

  .why-goat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .goat-card {
    min-height: 225px;
    padding: 19px;
  }

  .card-content h3 {
    font-size: 18px;
  }

  .card-content p {
    font-size: 12px;
    line-height: 1.55;
  }

  .arrow {
    width: 29px;
    height: 29px;
    font-size: 12px;
  }

}

/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 400px) {

  .why-goat-heading h2 {
    font-size: 42px;
  }

  .why-goat-grid {
    grid-template-columns: 1fr;
  }

  .goat-card {
    min-height: 190px;
  }

}
