/* ========================================
   SOBRE NOSOTROS – VetPCR
======================================== */

/* ===== HERO ===== */
.sobre-nosotros-hero {
  position: relative;
  background:linear-gradient(180deg, rgba(123, 77, 255, 0.55), rgba(29, 30, 86, 0.65)), url('../images/a3.webp');
  background-size: cover;
  background-position: center 45%;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.sobre-nosotros-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(98,101,254,0.35), transparent 40%),
    radial-gradient(circle at bottom right, rgba(2,46,71,0.3), transparent 40%);
  z-index: 2;
}

.sobre-nosotros-hero .hero-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
}

.sobre-nosotros-hero h1 {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white!important;
}

.sobre-nosotros-hero p {
  font-size: clamp(18px, 2vw, 22px);
  margin: 0;
  opacity: 0.9;
}

/* ===== QUIÉNES SOMOS ===== */
.about-bioingentech {
  padding: 5rem 1rem;
  background-color: #fff;
  text-align: center;
}

.about-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.about-title-wrapper h2 {
  color: #7a4dff;
  font-weight: 700;
  font-size: 40px;
  margin: 0;
}

.about-title-wrapper .about-logo {
  height: 100px;
  object-fit: contain;
}



.about-bioingentech p {
  max-width: 950px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: #202040;
  font-weight: 500;
  text-align: justify;
}


/* ========================================
   PROCESO VETPCR – CAJAS SOBRE IMAGEN
======================================== */
.vetpcr-process-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: #7a4dff;
}
.vetpcr-process {
  padding: 1rem 1rem;
  background-color: #f4f5f5;
}

.vetpcr-process-inner {
  max-width: 1400px;
  margin: auto;
}

.vetpcr-process-image {
  position: relative;
}

.vetpcr-process-image img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== CAJAS DE TEXTO ===== */

.step-box {
  position: absolute;
  width: 330px;
}

.step-box h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  white-space: pre;
}


.step-box p {
  color: #202040;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  font-weight:500;
}

/* ===== POSICIONAMIENTO (DESKTOP) ===== */

/* 01 – Arriba derecha */
.step-1 {
  top: 9%;
  right: 7.5%;
}

/* 02 – Izquierda medio */
.step-2 {
  top: 49%;
  left: 8%;
}
.step-2 h3 {
  text-align: right;
}

/* 03 – Derecha medio */
.step-3 {
  top: 61%;
  right: 8%;
}

/* 04 – Izquierda abajo */
.step-4 {
  top: 79%;
  left: 8%;
}
.step-4 h3 {
  text-align: right;
}

/* ===== MISION Y VISION ===== */
.about-section-two {
  padding: 6rem 2rem 8rem;
  background-color: #fff;
}

.about-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.about-image-slider {
  position: relative;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
}

.about-content {
  max-width: 600px;
  text-align: left;
}

.about-content h2 {
  font-size: 36px;
  color: #7a4dff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 18px;
  color: #202040;
  margin-bottom: 2.5rem;
  text-align: justify;
}

.about-summary p {
  font-size: 18px;
  color: #202040;
  text-align: justify;
}

/* círculos decorativos */
.circle-wrapper {
  position: relative;
  display: inline-block;
}
.circle {
  position: absolute;
  border-radius: 50%;
}
.circle-blue-top {
  width: 100px; height: 100px;
  background-color: #c9baff;
  top: -40px; left: 20px;
}
.circle-dark-bottom-left {
  width: 90px; height: 90px;
  background-color: #3b046f;
  bottom: -20px; left: 0;
}
.circle-purple-bottom-right {
  width: 60px; height: 60px;
  background-color: #7a4dff;
  bottom: -30px; right: 90px;
}

.about-image-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.about-image-slider img.active {
  opacity: 1;
}
/* ===== CREDENCIALES ===== */
.sobre-nosotros-credenciales {
  background-color: #f4f5f5;
  padding: 5rem 2rem;
}

.credenciales-card {
  background-color: #7a4dff;
  border-radius: 25px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.credenciales-card h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.5rem;
}

.credenciales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cred-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cred-item p {
  font-size: 1.1rem;
  color: #fff;
}

.cred-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.4rem;
  background-color: #3b046f;
  color: #c9baff;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cred-btn:hover {
  background-color: #c9baff;
}

/* ========================================
   RESPONSIVE GLOBAL – SOBRE NOSOTROS VETPCR
   (Hero · Quiénes somos · Proceso · Misión/Visión · Credenciales)
======================================== */

/* ===== Tablets y notebooks pequeños (≤1024px) ===== */
@media (max-width: 1024px) {

  /* ---------- HERO ---------- */
  .sobre-nosotros-hero {
    min-height: 50vh;
    padding: 3rem 1.5rem;
  }

  .sobre-nosotros-hero h1 {
    font-size: 36px;
  }

  .sobre-nosotros-hero p {
    font-size: 18px;
  }

  /* ---------- QUIÉNES SOMOS ---------- */
  .about-bioingentech {
    padding: 4rem 1.5rem;
  }

  .about-title-wrapper h2 {
    font-size: 32px;
  }

  .about-title-wrapper .about-logo {
    height: 80px;
  }

  .about-bioingentech p {
    font-size: 16px;
  }

  /* ---------- PROCESO VETPCR ---------- */
  .vetpcr-process {
    padding: 3rem 1.5rem 4rem;
  }

  .vetpcr-process-title {
    font-size: 30px;
    margin-bottom: 2.5rem;
  }

  .vetpcr-process-image {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vetpcr-process-image img {
    width: 100%;
    max-width: 520px;
    margin-bottom: 2.5rem;
  }

  .step-box {
    position: static;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2.2rem;
    text-align: center;
  }

  .step-box h3 {
    white-space: normal;
    text-align: center !important;
  }

  .step-box p {
    text-align: center;
  }

  /* ---------- MISIÓN / VISIÓN ---------- */
  .about-section-two {
    padding: 4.5rem 1.5rem 5rem;
  }

  .about-layout {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .about-image-slider {
    width: 300px;
    height: 300px;
  }

  .about-content {
    max-width: 100%;
    text-align: left;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .section-subtitle,
  .about-summary p {
    font-size: 16px;
  }

  /* ---------- CREDENCIALES ---------- */
  .sobre-nosotros-credenciales {
    padding: 4rem 1.5rem;
  }

  .credenciales-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .credenciales-card h2 {
    font-size: 2rem;
  }
}

/* ===== Móviles (≤767px) ===== */
@media (max-width: 767px) {

  /* ---------- HERO ---------- */
  .sobre-nosotros-hero {
    min-height: 45vh;
    padding: 3rem 1rem;
    text-align: center;
  }

  .sobre-nosotros-hero h1 {
    font-size: 30px;
  }

  .sobre-nosotros-hero p {
    font-size: 15px;
  }

  /* ---------- QUIÉNES SOMOS ---------- */
  .about-bioingentech {
    padding: 3rem 1.25rem;
  }

  .about-title-wrapper {
    flex-direction: column;
    gap: .75rem;
    margin-bottom: 2rem;
  }

  .about-title-wrapper h2 {
    font-size: 26px;
    text-align: center;
  }

  .about-title-wrapper .about-logo {
    height: 70px;
  }

  .about-bioingentech p {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }

  /* ---------- PROCESO VETPCR ---------- */
  .vetpcr-process {
    padding: 3rem 1.25rem 3.5rem;
  }

  .vetpcr-process-title {
    font-size: 26px;
    margin-bottom: 2rem;
  }

  .step-box h3 {
    font-size: 1.05rem;
  }

  .step-box p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* ---------- MISIÓN / VISIÓN ---------- */
  .about-section-two {
    padding: 3.5rem 1.25rem 4rem;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-image-slider {
    width: 230px;
    height: 230px;
  }

  .about-content h2 {
    font-size: 24px;
  }

  .section-subtitle,
  .about-summary p {
    font-size: 15px;
  }

  /* Círculos decorativos */
  .circle-blue-top,
  .circle-dark-bottom-left,
  .circle-purple-bottom-right {
    transform: scale(.7);
    opacity: 0.8;
  }

  /* ---------- CREDENCIALES ---------- */
  .sobre-nosotros-credenciales {
    padding: 3.5rem 1.25rem;
  }

  .credenciales-card {
    padding: 2.2rem 1.4rem;
    border-radius: 18px;
  }

  .credenciales-card h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .credenciales-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cred-item h3 {
    font-size: 1.4rem;
  }

  .cred-item p {
    font-size: .98rem;
  }

  .cred-btn {
    font-size: .9rem;
    padding: .55rem 1.2rem;
  }
}
