/* ========================================================
   ABOUT PAGE - ELEGANTE Y PROFESIONAL
   ======================================================== */

/* Hero Section */
.about-hero {
  background: linear-gradient(rgba(19, 72, 102, 0.65), rgba(19, 72, 102, 0.8)), url('../img/hartford.webp');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 6rem 5%;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.tagline {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-divider {
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(255, 79, 90, 0.5);
}

/* Our Story */
.about-story {
  padding: 5rem 5%;
  background: #f8f9fa;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.story-text h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.story-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.story-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 1.2rem;
}

.story-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.12);
  transition: transform 0.4s ease;
}

.story-image img:hover {
  transform: scale(1.03);
}

/* NUEVO DISEÑO DE VALORES - UNA SOLA LÍNEA, ELEGANTE */
.about-values .values-grid {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.about-values .values-grid::-webkit-scrollbar {
  display: none;
}

.value-item {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(19, 72, 102, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.value-item:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--accent);
}

.value-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 25px rgba(19, 72, 102, 0.3);
  transition: all 0.3s ease;
}

.value-item:hover .value-circle {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(19, 72, 102, 0.4);
}

.value-content h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.value-content p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.5;
  margin: 0;
}

/* Service Areas */
.about-areas {
  padding: 4rem 5%;
  background: var(--primary);
  color: white;
  text-align: center;
}

.about-areas h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.areas-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.areas-list span {
  background: rgba(255,255,255,0.15);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.areas-list span:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* CTA */
.about-cta {
  padding: 5rem 5%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
}

.about-cta h2 {
  color: var(--primary);
  font-size: 2.1rem;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(255, 79, 90, 0.4);
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #e63946;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 79, 90, 0.5);
}

/* ========================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
   ======================================================== */

@media (max-width: 992px) {
  /* Our Story */
  .story-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .story-image img {
    height: 300px;
  }
  
  /* Valores */
  .about-values .values-grid {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
  }
  .value-item {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  .about-hero { 
    padding: 4rem 5%; 
  }
  .about-hero h1 { 
    font-size: 2.4rem; 
  }
  .tagline { 
    font-size: 1.2rem; 
  }

  /* Our Story */
  .story-grid {
    gap: 2rem;
  }
  .story-image img {
    height: 280px;
  }

  /* Valores */
  .value-item {
    min-width: 100%;
    max-width: 100%;
  }

  /* CTA */
  .about-cta h2 {
    font-size: 1.85rem;
  }
}