/* Estilos para la sección de imagen y expertise - Estilo Apple */

/* Contenedor de imagen */
.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.1),
      0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    transform-style: preserve-3d;
    margin-bottom: var(--spacing-xl);
    max-width: 100%;
    aspect-ratio: 4/3;
  }
  
  .about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      transparent 70%,
      rgba(0, 0, 0, 0.3)
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .about-image:hover {
    transform: perspective(1000px) rotateY(3deg) rotateX(3deg);
    box-shadow: 
      -15px 20px 40px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(50, 50, 50, 0.1);
  }
  
  .about-image:hover::before {
    opacity: 1;
  }
  
  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
  }
  
  .about-image:hover img {
    transform: scale(1.05);
  }
  
  /* Efecto de brillo en la imagen */
  .about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.2) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    animation: shine 3s infinite;
    z-index: 2;
  }
  
  @keyframes shine {
    0% {
      transform: translateX(-100%);
    }
    20%, 100% {
      transform: translateX(100%);
    }
  }
  
  /* Decoración de esquinas */
  .about-image-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    z-index: 3;
  }
  
  .corner-top-left {
    top: 15px;
    left: 15px;
    border-top: 3px solid rgba(255, 255, 255, 0.7);
    border-left: 3px solid rgba(255, 255, 255, 0.7);
    border-top-left-radius: 8px;
  }
  
  .corner-top-right {
    top: 15px;
    right: 15px;
    border-top: 3px solid rgba(255, 255, 255, 0.7);
    border-right: 3px solid rgba(255, 255, 255, 0.7);
    border-top-right-radius: 8px;
  }
  
  .corner-bottom-left {
    bottom: 15px;
    left: 15px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    border-left: 3px solid rgba(255, 255, 255, 0.7);
    border-bottom-left-radius: 8px;
  }
  
  .corner-bottom-right {
    bottom: 15px;
    right: 15px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.7);
    border-right: 3px solid rgba(255, 255, 255, 0.7);
    border-bottom-right-radius: 8px;
  }
  
  /* Sección de expertise */
  .about-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    padding: 5rem;
  }
  
  .expertise-item {
    background-color: var(--apple-white);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 
      0 10px 20px rgba(62, 27, 0, 0.05),
      0 0 0 1px rgba(60, 28, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .expertise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(91, 91, 91, 0.03) 0%, transparent 50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .expertise-item:hover {
    transform: translateY(-10px);
    box-shadow: 
      0 20px 30px rgba(227, 143, 16, 0.1),
      0 0 0 1px rgba(227, 140, 0, 0.1);
  }
  
  .expertise-item:hover::before {
    opacity: 1;
  }
  
  .expertise-icon {
    width: 60px;
    height: 60px;
    background-color: var(--apple-light-gray);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--apple-blue);
    font-size: 1.75rem;
    flex-shrink: 0;
    box-shadow: 
      0 5px 15px rgba(0, 0, 0, 0.05),
      0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
  }
  
  .expertise-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    z-index: 1;
  }
  
  .expertise-item:hover .expertise-icon {
    background: linear-gradient(135deg, var(--apple-blue), #fab75a);
    color:#b8a088;
    transform: rotate(10deg) scale(1.1);
    box-shadow: 
      0 10px 20px rgba(162, 124, 48, 0.2),
      0 0 0 1px rgba(243, 179, 83, 0.1);
  }
  
  .expertise-content {
    flex: 1;
  }
  
  .expertise-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
  }
  
  .expertise-item:hover .expertise-title {
    color: var(--apple-blue);
  }
  
  .expertise-description {
    font-size: 1rem;
    color: var(--apple-gray);
    line-height: 1.6;
  }
  
  /* Indicador de hover */
  .expertise-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--apple-blue), #fac75a);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  
  .expertise-item:hover::after {
    transform: scaleX(1);
  }
  
  /* Media Queries */
  @media (max-width: 992px) {
    .about-expertise {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .about-expertise {
      grid-template-columns: 1fr;
    }
    
    .expertise-item {
      padding: var(--spacing-md);
    }
    
    .expertise-icon {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
    }
  }
  
  @media (max-width: 576px) {
    .about-image {
      border-radius: 16px;
    }
    
    .expertise-item {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
    
    .expertise-icon {
      margin-bottom: var(--spacing-sm);
    }
  }
  