/* =============================================
   SERVICIOS.CSS — ServiHogar
============================================= */

/* =============================================
   HERO
============================================= */
.services-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.services-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0d2028 0%, #1a3038 40%, #243f48 100%);
  z-index: 0;
}

.services-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,.013) 2px,
    rgba(255,255,255,.013) 4px
  );
}

.services-hero__photo {
  position: absolute;
  inset: 0;
  left: 42%;
  z-index: 1;
  overflow: hidden;
}

.services-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.services-hero__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #1a3038 0%,
    rgba(26,48,56,.85) 15%,
    rgba(26,48,56,.45) 45%,
    rgba(26,48,56,.15) 75%,
    rgba(26,48,56,.05) 100%
  );
  z-index: 2;
}

.services-hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #1a3038 0%, transparent 12%, transparent 85%, #1a3038 100%),
    linear-gradient(to left, rgba(176,138,90,.12) 0%, transparent 60%);
  z-index: 3;
}

@media (max-width: 767px) {
  .services-hero__photo {
    left: 0;
    opacity: .18;
  }
  .services-hero__photo::before {
    background: rgba(26,48,56,.7);
  }
}

.services-hero__content {
  position: relative;
  z-index: 3;
  padding-block: 4rem;
  max-width: 58%;
  animation: fadeInUp .7s ease both;
}

@media (max-width: 767px) {
  .services-hero__content { max-width: 100%; }
}

@media (min-width: 1024px) {
  .services-hero { min-height: 72vh; }
  .services-hero__content { padding-block: 5rem; }
}

.services-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: 1.25rem;
}

.services-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.services-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}

.services-hero h1 em {
  font-style: normal;
  color: var(--color-gold-light);
}

.services-hero__lead {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.75);
  max-width: 50ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.services-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.services-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .4rem .9rem;
  backdrop-filter: blur(4px);
}

.services-hero__badge i {
  color: var(--color-gold-light);
  font-size: .85em;
}

/* =============================================
   GRILLA DE SERVICIOS
============================================= */
.services-detail {
  background: var(--color-bg-warm);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--color-white);
  border: 1px solid rgba(26,48,56,.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176,138,90,.3);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(176,138,90,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-gold);
  flex-shrink: 0;
}

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}

.service-card__desc {
  font-size: .875rem;
  color: var(--color-text-mid);
  line-height: 1.6;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.service-card__list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .875rem;
  color: var(--color-text-mid);
  line-height: 1.5;
}

.service-card__list li i {
  color: var(--color-gold);
  font-size: .75rem;
  margin-top: .25rem;
  flex-shrink: 0;
}

/* =============================================
   SECCIÓN VENTAJAS
============================================= */
.services-why {
  background: var(--color-primary);
}

.services-why .section-title { color: var(--color-white); }
.services-why .eyebrow { color: var(--color-gold-light); }

.services-why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .services-why__grid { grid-template-columns: repeat(4, 1fr); }
}

.why-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
}

.why-item__icon {
  width: 52px;
  height: 52px;
  background: rgba(176,138,90,.15);
  border: 1px solid rgba(176,138,90,.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-gold-light);
}

.why-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.why-item__desc {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}
