/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.sobrio {
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #fdfdfd;
  line-height: 1.7;
}

/* Container general */
.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* BANNER */
.about-banner {
  background: linear-gradient(-45deg, #f05a28, #f7931e, #f05a28, #f7931e);
  background-size: 400% 400%;
  animation: moveBackground 10s ease infinite;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  border-radius: 16px;
  margin-bottom: 3rem;
  position: relative;
}

@keyframes moveBackground {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  min-height: 4rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(255,255,255,0.75);
  width: fit-content;
  margin: 0 auto;
}
/* Adaptación para móviles */
@media (max-width: 600px) {
  .about-banner {
    padding: 4rem 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2rem;
    min-height: 3rem;
    white-space: normal; /* para que el texto se divida en líneas */
    border-right: none; /* quitar el cursor tipo máquina de escribir en móviles para mejor legibilidad */
  }

  .about-banner p {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
}

/* SECCIONES */
.about-section {
  margin-bottom: 4rem;
}

.about-section h2 {
  font-size: 2rem;
  color: #f05a28;
  margin-bottom: 1rem;
}

/* WHO WE ARE FRESH & MODERN */
.who-we-are-fresh {
  display: flex;
  gap: 3rem;
  align-items: center;
  padding: 4rem 2rem;
  background: #f9fafb;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.who-text-wrapper {
  flex: 1.2;
  max-width: 650px;
  z-index: 10;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: #f05a28;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 5px;
  background: #f05a28;
  border-radius: 3px;
  display: block;
  margin-top: 0.5rem;
}

.who-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.who-text strong {
  color: #f05a28;
  font-weight: 700;
}

.vision-mission-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #fff;
  padding: 1.8rem 2rem;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(240, 90, 40, 0.15);
  flex: 1;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(240, 90, 40, 0.3);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #f05a28;
  font-weight: 700;
  letter-spacing: 1px;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
}

.who-image-wrapper {
  flex: 1;
  position: relative;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(240, 90, 40, 0.15);
  cursor: pointer;
  transition: transform 0.4s ease;
}

.who-image-wrapper:hover {
  transform: scale(1.05);
}

.who-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

.who-image-wrapper:hover img {
  filter: brightness(1);
}

/* Decor circle shape behind image */
.circle-decor {
  position: absolute;
  top: 20%;
  right: -60px;
  width: 200px;
  height: 200px;
  background: #f5c5a0;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(40px);
  z-index: 1;
}

/* Responsive */
@media (max-width: 900px) {
  .who-we-are-fresh {
    flex-direction: column;
    padding: 3rem 1.5rem;
  }
  .who-image-wrapper {
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 2.5rem;
  }
  .vision-mission-wrapper {
    flex-direction: column;
  }
}


/* EQUIPO */
.our-team .team-cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  flex: 1 1 250px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
  padding-bottom: 1rem;
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center 15%; /* <-- Baja el foco del encuadre */
  border-bottom: 4px solid #f05a28;
}


.team-member h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.25rem;
  color: #222;
}

.team-member p {
  font-size: 0.95rem;
  color: #666;
}

/* SERVICIOS */
.services {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.service-item:hover {
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 48px;
  height: 48px;
}

/* POR QUÉ ELEGIRNOS */
.why-choose-us ul {
  list-style: none;
  padding-left: 1rem;
}

.why-choose-us li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.checkmark {
  color: #f05a28;
  font-weight: bold;
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* CONTACTO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-details p {
  margin-bottom: 0.8rem;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .who-we-are {
    grid-template-columns: 1fr;
  }

  .vision-mission {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-banner {
    padding: 4rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }
}
