/* =========================================================
   ESTUDIO / QUIENES SOMOS - MEJORAS VISUALES
========================================================= */

/* Hero interno */
.mil-inner-banner {
  background:
    linear-gradient(180deg, #fdfdf8 0%, #f6f6f0 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mil-inner-banner .mil-banner-content {
  padding-top: 110px;
  padding-bottom: 90px;
}

.mil-inner-banner h1 {
  max-width: 18ch;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.mil-inner-lead {
  max-width: 720px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.62);
}

/* Breadcrumbs un poco mas finos */
.mil-breadcrumbs li a {
  opacity: 0.7;
}

.mil-breadcrumbs li a:hover {
  opacity: 1;
}

/* Seccion principal */
#team.back-light {
  background:
    linear-gradient(180deg, #fffffa 0%, #f9f8f2 100%);
}

#team h2 {
  line-height: 1.05;
  letter-spacing: -0.025em;
}

#team p {
  font-size: 1.02rem;
  line-height: 1.95;
  color: rgba(0,0,0,0.68);
}

/* Foto principal con mas presencia */
.mil-about-photo .mil-img-frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.10),
    0 0 0 1px rgba(0,0,0,0.04);
}

/* Cita refinada */
.mil-about-quote {
  margin-top: 10px;
  padding: 22px 24px;
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.mil-about-quote .mil-quote {
  line-height: 1.6;
  color: rgba(0,0,0,0.82);
}

/* =========================================================
   BLOQUE NUEVO - DIFERENCIALES
========================================================= */

.mil-section-kicker {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: rgba(0,0,0,0.46);
}

.mil-section-text {
  max-width: 740px;
  margin: 0 auto;
  color: rgba(0,0,0,0.62);
  line-height: 1.85;
}

.mil-values-section {
  position: relative;
}

.mil-value-card {
  height: 100%;
  padding: 30px 24px 26px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.74) 100%);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow:
    0 14px 30px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transition:
    transform .4s cubic-bezier(.22,1,.36,1),
    box-shadow .4s ease,
    border-color .35s ease;
}

.mil-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,152,0,0.22);
  box-shadow:
    0 18px 36px rgba(0,0,0,0.08),
    0 0 0 1px rgba(255,152,0,0.08);
}

.mil-value-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255,152,0,0.13) 0%, rgba(255,152,0,0.06) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.5),
    0 8px 20px rgba(255,152,0,0.10);
}

.mil-value-icon i {
  font-size: 20px;
  color: #ff9800;
}

.mil-value-card h5 {
  margin-bottom: 14px;
  line-height: 1.35;
  color: rgba(0,0,0,0.90);
}

.mil-value-card p {
  margin: 0;
  color: rgba(0,0,0,0.64);
  line-height: 1.75;
}

/* =========================================================
   CTA MAS POTENTE
========================================================= */

.mil-soft-bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(255,152,0,0.08), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(255,152,0,0.06), transparent 24%),
    linear-gradient(180deg, #f5f4ed 0%, #efede5 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.18),
    0 14px 35px rgba(255,152,0,0.14);
}

/* =========================================================
   FOOTER MAS PROLIJO
========================================================= */

.footer-text p {
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
}

.mil-social-icons .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: transform .3s ease, background .3s ease;
}

.mil-social-icons .social-icon:hover {
  transform: translateY(-3px);
  background: rgba(255,152,0,0.16);
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {
  .mil-inner-banner .mil-banner-content {
    padding-top: 80px;
    padding-bottom: 65px;
  }

  .mil-inner-banner h1 {
    max-width: 100%;
  }

  .mil-inner-lead {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  #team p,
  .mil-section-text,
  .mil-value-card p {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .mil-about-quote {
    padding: 18px;
    border-radius: 18px;
  }

  .mil-value-card {
    border-radius: 20px;
    padding: 24px 20px 22px;
  }
}

/* =========================================================
   VALUES SECTION - DARK PREMIUM
========================================================= */

.mil-values-dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,152,0,0.08), transparent 26%),
    radial-gradient(circle at 85% 80%, rgba(255,152,0,0.06), transparent 22%),
    linear-gradient(180deg, #060606 0%, #000000 55%, #080808 100%);
  color: #fff;
}

.mil-values-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.12;
  pointer-events: none;
}

.mil-values-dark .container {
  position: relative;
  z-index: 2;
}

/* encabezado */
.mil-values-dark .mil-section-kicker {
  color: rgba(255,255,255,0.48);
}

.mil-section-kicker{
	margin-top:70px;
	font-size:1em;
}

.mil-values-dark h2 {
  color: rgba(255,255,255,0.96);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.mil-values-dark .mil-thin {
  color: rgba(255,255,255,0.68);
}

.mil-values-dark .mil-section-text {
  color: rgba(255,255,255,0.64);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.85;
}

/* cards */
.mil-values-dark .mil-value-card {
  position: relative;
  height: 100%;
  padding: 30px 24px 26px;
  border-radius: 24px;
  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.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 14px 30px rgba(0,0,0,0.24);
  backdrop-filter: blur(6px);
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    box-shadow .45s ease,
    border-color .35s ease,
    background .35s ease;
  overflow: hidden;
  text-align: center;
}

.mil-values-dark .mil-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ff9800 20%, #ffd277 50%, #ff9800 80%, transparent 100%);
  opacity: 0.9;
  box-shadow: 0 0 18px rgba(255,152,0,0.35);
}

.mil-values-dark .mil-value-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(255,152,0,0.10), transparent 30%);
  pointer-events: none;
  opacity: 0.9;
}

.mil-values-dark .mil-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,152,0,0.22);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 36px rgba(0,0,0,0.30),
    0 0 0 1px rgba(255,152,0,0.08);
}

/* iconos */
.mil-values-dark .mil-value-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 86px;
  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:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 22px rgba(255,152,0,0.12);*/
  position: relative;
  margin: 0 auto 20px;
  z-index: 2;
}

.mil-values-dark .mil-value-icon i {
  font-size: 20px;
  color: #ffb641;
  text-shadow: 0 0 18px rgba(255,152,0,0.22);
}

/* textos de las cards */
.mil-values-dark .mil-value-card h5 {
  position: relative;
  z-index: 2;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.94);
  line-height: 1.35;
}

.mil-values-dark .mil-value-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255,255,255,0.66);
  line-height: 1.75;
}

/* responsive */
@media (max-width: 768px) {
  .mil-values-dark .mil-value-card {
    padding: 24px 20px 22px;
    border-radius: 20px;
	width: 90%;
    margin: 0 5%;
  }

  .mil-values-dark .mil-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
	text-align:center;
  }

  .mil-values-dark .mil-value-icon i {
    font-size: 18px;
  }

  .mil-values-dark .mil-section-text,
  .mil-values-dark .mil-value-card p {
    font-size: 0.96rem;
    line-height: 1.7;
  }
}