/* =============================================
   NOSOTROS.CSS — ServiHogar
============================================= */

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

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

.about-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
  );
}

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

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

.about-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;
}

.about-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) {
  .about-hero__photo {
    left: 0;
    opacity: .18;
  }
  .about-hero__photo::before {
    background: rgba(26,48,56,.7);
  }
}

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

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

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

.about-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;
}

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

.about-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;
}

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

.about-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;
}

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

.about-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);
}

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

/* =============================================
   HISTORIA
============================================= */
.about-history {
  background: var(--color-bg-warm);
}

.about-history__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-history__grid { grid-template-columns: 1fr 1fr; }
}

.about-history__text p {
  color: var(--color-text-mid);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-history__text p:last-child { margin-bottom: 0; }

.about-history__img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* =============================================
   STATS
============================================= */
.about-stats {
  background: var(--color-primary);
}

.about-stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: center;
}

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

.stat-item__num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: .35rem;
  display: block;
}

.stat-item__label {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* =============================================
   VALORES
============================================= */
.about-values {
  background: var(--color-white);
}

.about-values__header {
  text-align: center;
  margin-bottom: 3rem;
}

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

@media (min-width: 640px) {
  .about-values__grid { grid-template-columns: repeat(3, 1fr); }
}

.value-card {
  background: var(--color-bg-warm);
  border: 1px solid rgba(26,48,56,.06);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(176,138,90,.3);
}

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

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

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

/* =============================================
   EQUIPO
============================================= */
.about-team {
  background: var(--color-bg-warm);
}

.about-team__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-team__grid { grid-template-columns: 1fr 1fr; }
}

.about-team__img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.team-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.team-feature {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

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

.team-feature__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: .2rem;
}

.team-feature__desc {
  font-size: .8rem;
  color: var(--color-text-mid);
  line-height: 1.5;
}
