/* ======================================== */
/* SERVICES / VALUE CARDS */
/* ======================================== */

.gt-services {
  position: relative;
  overflow: hidden;

  padding: 110px 0;

  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.05), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(34, 197, 94, 0.05), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* ======================================== */
/* LAYOUT */
/* ======================================== */

.gt-services .container {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 72px;
  align-items: center;

  max-width: 1380px;
}

/* ======================================== */
/* HEADER */
/* ======================================== */

.gt-services-header {
  max-width: 420px;

  margin: 0;

  text-align: left;
}

.gt-services-kicker {
  display: inline-flex;

  margin-bottom: 18px;
  padding: 8px 14px;

  border-radius: 999px;

  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(15,23,42,0.06);

  color: #2563eb;

  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gt-services-header h2 {
  margin: 0 0 22px;

  color: #111827;

  font-size: clamp(2.1rem, 3vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
}

.gt-services-header p {
  margin: 0;

  color: #64748b;

  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 400;
}

/* ======================================== */
/* GRID */
/* ======================================== */

.gt-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

/* ======================================== */
/* CARD */
/* ======================================== */

.gt-service-card {
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  min-height: 320px;
  padding: 30px;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.88),
      rgba(248,250,252,0.82)
    );

  border: 1px solid rgba(15,23,42,0.06);

  box-shadow:
    0 18px 40px rgba(15,23,42,0.05),
    0 6px 14px rgba(15,23,42,0.03);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.gt-service-card::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 20% 12%, rgba(37,99,235,0.05), transparent 28%),
    radial-gradient(circle at 90% 88%, rgba(34,197,94,0.05), transparent 32%);

  opacity: 0;

  transition: opacity 0.22s ease;

  pointer-events: none;
}

.gt-service-card:hover {
  transform: translateY(-5px);

  border-color: rgba(37,99,235,0.12);

  box-shadow:
    0 24px 54px rgba(15,23,42,0.08),
    0 8px 20px rgba(15,23,42,0.04);
}

.gt-service-card:hover::before {
  opacity: 1;
}

/* featured */

.gt-service-card.featured {
  border-color: rgba(37,99,235,0.12);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.94),
      rgba(248,250,252,0.84)
    );
}

/* ======================================== */
/* ICON */
/* ======================================== */

.gt-service-icon {
  position: relative;
  z-index: 2;

  width: 50px;
  height: 50px;

  margin-bottom: 26px;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      rgba(15,23,42,0.95),
      rgba(51,65,85,0.95)
    );

  box-shadow:
    0 12px 26px rgba(15,23,42,0.12),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.gt-service-card.featured .gt-service-icon {
  background:
    linear-gradient(
      135deg,
      #2563eb,
      #1d4ed8
    );
}

/* símbolo base */

.gt-service-icon span {
  position: relative;

  width: 18px;
  height: 18px;

  display: block;
}

/* ======================================== */
/* CARD 1 — RECAMBIO */
/* ======================================== */

.gt-service-card:nth-child(1) .gt-service-icon span::before,
.gt-service-card:nth-child(1) .gt-service-icon span::after {
  content: "";
  position: absolute;

  border-radius: 999px;
  border: 2px solid #ffffff;
}

.gt-service-card:nth-child(1) .gt-service-icon span::before {
  width: 16px;
  height: 16px;

  inset: 1px;

  border-right-color: transparent;
}

.gt-service-card:nth-child(1) .gt-service-icon span::after {
  width: 5px;
  height: 5px;

  right: 0;
  top: 1px;

  background: #ffffff;
}

/* ======================================== */
/* CARD 2 — SERVICIO TÉCNICO */
/* ======================================== */

.gt-service-card:nth-child(2) .gt-service-icon span::before {
  content: "";

  position: absolute;
  inset: 2px;

  border-radius: 6px;

  background: #ffffff;
}

.gt-service-card:nth-child(2) .gt-service-icon span::after {
  content: "";

  position: absolute;

  width: 7px;
  height: 7px;

  right: -2px;
  bottom: -2px;

  border-radius: 50%;

  background: #bfdbfe;

  box-shadow: 0 0 0 2px rgba(255,255,255,0.75);
}

/* ======================================== */
/* CARD 3 — ASESORAMIENTO */
/* ======================================== */

.gt-service-card:nth-child(3) .gt-service-icon span::before {
  content: "";

  position: absolute;

  left: 2px;
  top: 8px;

  width: 14px;
  height: 2px;

  border-radius: 999px;

  background: #ffffff;

  box-shadow:
    0 -6px 0 rgba(255,255,255,0.7),
    0 6px 0 rgba(255,255,255,0.7);
}

.gt-service-card:nth-child(3) .gt-service-icon span::after {
  content: "";

  position: absolute;

  right: -1px;
  top: 6px;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #ffffff;
}

/* ======================================== */
/* TYPOGRAPHY */
/* ======================================== */

.gt-service-card h3 {
  position: relative;
  z-index: 2;

  margin: 0 0 18px;

  color: #1e293b;

  font-size: clamp(1.45rem, 1.6vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.gt-service-card p {
  position: relative;
  z-index: 2;

  margin: 0 0 30px;

  color: #64748b;

  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

/* ======================================== */
/* LINK */
/* ======================================== */

.gt-service-link {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 9px;

  margin-top: auto;

  color: #334155;
  text-decoration: none;

  font-size: 0.94rem;
  font-weight: 650;

  transition:
    color 0.18s ease;
}

.gt-service-link span {
  transition: transform 0.18s ease;
}

.gt-service-link:hover {
  color: #0f172a;
  text-decoration: none;
}

.gt-service-link:hover span {
  transform: translateX(4px);
}

/* ======================================== */
/* RESPONSIVE */
/* ======================================== */

@media (max-width: 1200px) {

  .gt-services .container {
    display: block;
  }

  .gt-services-header {
    max-width: 760px;

    margin: 0 auto 54px;

    text-align: center;
  }

  .gt-services-grid {
    grid-template-columns: 1fr;
  }

  .gt-service-card {
    min-height: auto;
  }
}

@media (max-width: 576px) {

  .gt-services {
    padding: 74px 0;
  }

  .gt-services-header {
    margin-bottom: 40px;
    text-align: left;
  }

  .gt-services-header h2 {
    font-size: clamp(2rem, 10vw, 3.1rem);
  }

  .gt-services-header p {
    font-size: 1rem;
  }

  .gt-service-card {
    padding: 26px;
    border-radius: 24px;
  }

  .gt-service-card h3 {
    font-size: 1.5rem;
  }
}