/* =========================================================
   SERVICIOS - UPGRADE GENERAL
========================================================= */

/* HERO */
.mil-banner-content-2 {
  padding-top: 110px !important;
  padding-bottom: 100px !important;
}

.title-services {
  font-size: clamp(1.5rem, 3.1vw, 2.8rem);
  line-height: 1.02;
  max-width: 18ch;
}

.mil-services-hero-lead {
  max-width: 760px;
  font-size: 1.06rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.70);
}

/* INTRO NUEVA */
.mil-services-intro {
  position: relative;
  background:
    linear-gradient(180deg, #111111 0%, #0a0a0a 100%);
  color: #fff;
  overflow: hidden;
}

.mil-services-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,152,0,0.10), transparent 25%),
    radial-gradient(circle at 85% 80%, rgba(255,152,0,0.08), transparent 22%);
  pointer-events: none;
  opacity: 1;
}

.mil-services-intro .container {
  position: relative;
  z-index: 2;
}

.mil-section-kicker {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,152,0,0.10);
  border: 1px solid rgba(255,152,0,0.16);
  color: rgba(255,255,255,0.62);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.mil-services-intro h2 {
  color: rgba(255,255,255,0.95);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.mil-services-intro .mil-thin {
  color: rgba(255,255,255,0.68);
}

.mil-services-intro-text {
  color: rgba(255,255,255,0.66);
  line-height: 1.85;
  max-width: 52ch;
}

.service-card{
	margin-bottom:50px;
}

.mil-mini-feature {
  height: 100%;
  padding: 24px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.025) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 30px rgba(0,0,0,0.18);
  transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .35s ease;
}

.mil-mini-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255,152,0,0.18);
}

.mil-mini-feature-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,152,0,0.18) 0%, rgba(255,152,0,0.08) 100%);
  border: 1px solid rgba(255,152,0,0.18);
  box-shadow: 0 10px 20px rgba(255,152,0,0.10);
}

.mil-mini-feature-icon i {
  color: #ffb641;
  font-size: 18px;
}

.mil-mini-feature h6 {
  color: rgba(255,255,255,0.94);
  margin-bottom: 10px;
}

.mil-mini-feature p {
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
  margin: 0;
}

/* SECCION DE SERVICIOS */
#services {
  position: relative;
}

#services .container {
  position: relative;
  z-index: 2;
}

/* cards */
.mil-service-card-lg {
  position: relative;
  display: block;
  height: 100%;
  padding: 34px 28px 0px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.055) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 16px 34px rgba(0,0,0,0.18);
  overflow: hidden;
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    border-color .35s ease,
    box-shadow .4s ease,
    background .35s ease;
}

.mil-service-card-lg::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ff9800 20%, #ffd277 50%, #ff9800 80%, transparent 100%);
  box-shadow: 0 0 18px rgba(255,152,0,0.28);
  opacity: .95;
}

.mil-service-card-lg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(255,152,0,0.10), transparent 30%);
  pointer-events: none;
}

.mil-service-card-lg:hover {
  transform: translateY(-10px);
  border-color: rgba(255,152,0,0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.075) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 22px 42px rgba(0,0,0,0.24),
    0 0 0 1px rgba(255,152,0,0.08);
}

.mil-service-card-lg h4 {
  position: relative;
  z-index: 2;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 18px !important;
}

.mil-service-card-lg .mil-descr {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.68);
  line-height: 1.82;
  margin-bottom: 22px !important;
}

.mil-service-card-lg .mil-service-list {
  position: relative;
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mil-service-card-lg .mil-service-list li {
  position: relative;
  padding-left: 22px;
  color: rgba(255,255,255,0.84);
  margin-bottom: 12px;
  line-height: 1.6;
}

.mil-service-card-lg .mil-service-list li:last-child {
  margin-bottom: 0;
}

.mil-service-card-lg .mil-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  top: 21px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd277 0%, #ff9800 100%);
  box-shadow: 0 0 12px rgba(255,152,0,0.24);
}

/* bloque lateral izquierdo */
#services h4.mil-up {
  line-height: 1.06;
  letter-spacing: -0.025em;
}

#services .mil-link {
  font-weight: 600;
}

/* CTA final */
.mil-soft-bg {
  background:
    radial-gradient(circle at 20% 18%, rgba(255,152,0,0.08), transparent 25%),
    radial-gradient(circle at 80% 82%, rgba(255,152,0,0.06), transparent 22%),
    linear-gradient(180deg, #f5f3ea 0%, #efede4 100%);
}

.mil-soft-bg .mil-center h2 {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.04;
}

.mil-soft-bg .mil-button {
  box-shadow:
    0 0 0 1px rgba(255,152,0,0.16),
    0 14px 34px rgba(255,152,0,0.14);
}

/* MOBILE */
@media (max-width: 768px) {
.title-services {
  font-size: clamp(2.1rem, 3.3vw, 2.8rem);
	}
  .mil-banner-content-2 {
    padding-top: 80px !important;
    padding-bottom: 70px !important;
  }

  .mil-services-hero-lead {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .mil-mini-feature {
    border-radius: 18px;
    padding: 22px 18px;
  }

  .mil-service-card-lg {
    padding: 28px 20px 22px;
    border-radius: 22px;
  }

  .mil-service-card-lg .mil-descr,
  .mil-service-card-lg .mil-service-list li {
    font-size: 0.96rem;
  }
}