/* ============================================
   SECCIÓN ABOUT / NOSOTROS
   Layout: imagen izquierda | panel derecho
   ============================================ */

.about {
  position: relative;
  overflow: hidden;
  background: #060d10;
}

/* ── LAYOUT PRINCIPAL: dos columnas a altura total ── */
.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

/* ── COLUMNA IZQUIERDA: imagen ── */
.about__image-col {
  position: relative;
  overflow: hidden;
}

.about__image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 8s ease;
}

.about__image-col:hover img {
  transform: scale(1.04);
}

/* Degradado de transición hacia el panel derecho */
.about__image-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 55%,
    rgba(6, 13, 16, 0.6) 80%,
    #060d10 100%
  );
  pointer-events: none;
}

/* Forma diagonal que separa imagen del panel (como en el diseño) */
.about__image-col::before {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 80px;
  background: #060d10;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

/* ── COLUMNA DERECHA: contenido ── */
.about__content-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: #060d10;
  z-index: 1;
}

/* Detalle decorativo — estrella/rombo (esquina inferior derecha) */
.about__content-col::after {
  content: '✦';
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  font-size: 2rem;
  color: rgba(39, 192, 208, 0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ── TÍTULO GRANDE ── */
.about__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--font-extrabold);
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-8);
}

/* ── SUBTÍTULO DE EMPRESA ── */
.about__company {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: 0.02em;
}

/* ── TEXTO DESCRIPTIVO ── */
.about__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: var(--space-4);
  max-width: 52ch;
}

/* Palabras de acento dentro del texto (teal) */
.about__text .accent-teal {
  color: var(--color-teal-light);
  font-weight: var(--font-medium);
}

/* Palabras de acento dentro del texto (orange) */
.about__text .accent-orange {
  color: var(--color-amber);
  font-weight: var(--font-medium);
}

/* ── BOTÓN ── */
.about__cta {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

/* ── REDES SOCIALES ── */
.about__social {
  display: flex;
  gap: var(--space-5);
  align-items: center;
}

.about__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(39, 192, 208, 0.25);
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: all var(--transition-spring);
}

.about__social-link:hover {
  background: rgba(39, 192, 208, 0.12);
  border-color: var(--color-teal-light);
  color: var(--color-teal-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(39, 192, 208, 0.25);
}

.about__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

/* ── DIVISOR ENTRE SERVICIOS Y ABOUT ── */
.about-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(39, 192, 208, 0.2) 30%,
    rgba(222, 105, 28, 0.15) 70%,
    transparent
  );
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  /* En móvil la imagen va arriba */
  .about__image-col {
    height: 300px;
    order: -1;
  }

  /* Quitar la forma diagonal en móvil */
  .about__image-col::before {
    display: none;
  }

  /* El degradado cambia a vertical */
  .about__image-col::after {
    background: linear-gradient(
      180deg,
      transparent 40%,
      #060d10 100%
    );
  }

  .about__content-col {
    padding: var(--space-10) var(--space-6);
  }

  .about__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .about__text {
    max-width: 100%;
  }

  .about__content-col::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .about__image-col {
    height: 240px;
  }

  .about__social {
    gap: var(--space-3);
  }
}
