/* =========================================================
   NOSOTROS
   Estilos complementarios a main.css
========================================================= */


/* =========================================================
   HERO
========================================================= */

.hero-about {
  position: relative;
  min-height: 720px;
  padding-top: 145px;
  padding-bottom: 90px;
  overflow: hidden;
}

.hero-about .hero-content,
.hero-about .hero-visual {
  position: relative;
  z-index: 2;
}

.hero-about .hero-content {
  align-self: center;
}

.hero-about .hero-content > p {
  max-width: 660px;
}

.about-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-card {
  position: relative;
  width: min(100%, 560px);
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 32px 75px rgba(4, 38, 72, 0.24);
  backdrop-filter: blur(14px);
}

.about-visual-card::before {
  content: "";
  position: absolute;
  top: 35px;
  right: -30px;
  z-index: -1;
  width: 95%;
  height: 95%;
  border-radius: 32px;
  background: rgba(37, 205, 198, 0.14);
}

.about-visual-image {
  height: 480px;
  overflow: hidden;
  border-radius: 25px;
}

.about-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual-badge {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 15px;
  color: #1e3347;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 42px rgba(2, 40, 74, 0.2);
  backdrop-filter: blur(12px);
}

.about-visual-badge > div {
  width: 43px;
  height: 43px;
  display: grid;
  flex: 0 0 43px;
  place-items: center;
  border-radius: 12px;
  color: #0875b7;
  background: rgba(8, 174, 181, 0.12);
}

.about-visual-badge svg {
  width: 21px;
  height: 21px;
}

.about-visual-badge span,
.about-visual-badge small,
.about-visual-badge strong {
  display: block;
}

.about-visual-badge small {
  color: #718091;
  font-size: 0.69rem;
}

.about-visual-badge strong {
  font-size: 0.86rem;
}

.about-badge-top {
  top: 14%;
  left: -45px;
}

.about-badge-bottom {
  right: -35px;
  bottom: 12%;
}


/* =========================================================
   HISTORIA
========================================================= */

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  padding-right: 7%;
  padding-left: 7%;
  background: #ffffff;
}

.about-story-visual {
  position: relative;
  min-height: 560px;
}

.about-story-main {
  width: 82%;
  height: 480px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(7, 62, 103, 0.17);
}

.about-story-main img,
.about-story-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 250px;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(7, 62, 103, 0.18);
}

.about-story-label {
  position: absolute;
  top: 43px;
  right: 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 235px;
  padding: 15px 17px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 62, 103, 0.17);
}

.about-story-label > svg {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  color: #08aeb5;
}

.about-story-label strong,
.about-story-label span {
  display: block;
}

.about-story-label strong {
  color: #20364b;
  font-size: 0.86rem;
}

.about-story-label span {
  margin-top: 2px;
  color: #718091;
  font-size: 0.69rem;
  line-height: 1.4;
}

.about-story-content .section-header {
  max-width: none;
  margin: 0;
  text-align: left;
}

.about-story-content .section-header h2 {
  max-width: 650px;
}

.about-story-content .section-header p {
  max-width: 650px;
  margin-right: 0;
  margin-left: 0;
}

.about-story-text {
  margin-top: 21px;
}

.about-story-text p {
  margin-top: 15px;
  color: #68798b;
  line-height: 1.8;
}

.about-story-features {
  display: grid;
  gap: 15px;
  margin-top: 30px;
}

.about-story-features article {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  border: 1px solid #dce8ef;
  border-radius: 17px;
  background: #ffffff;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.about-story-features article:hover {
  border-color: rgba(8, 174, 181, 0.35);
  box-shadow: 0 15px 35px rgba(7, 62, 103, 0.09);
  transform: translateX(5px);
}

.about-story-features article > svg {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  padding: 11px;
  border-radius: 13px;
  color: #0875b7;
  background: #edf7fa;
}

.about-story-features h3 {
  color: #22384d;
  font-size: 0.96rem;
}

.about-story-features p {
  margin-top: 4px;
  color: #718091;
  font-size: 0.82rem;
  line-height: 1.65;
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.about-purpose {
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(8, 174, 181, 0.08),
      transparent 25%
    ),
    #f5f9fc;
}

.about-purpose-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1180px;
  margin: 0 auto;
}

.about-purpose-grid .about-purpose-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 42px;
}

.about-purpose-card::after {
  content: "";
  position: absolute;
  right: -85px;
  bottom: -85px;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: rgba(8, 174, 181, 0.06);
  pointer-events: none;
}

.about-purpose-card:nth-child(2)::after {
  background: rgba(8, 104, 173, 0.06);
}

.about-purpose-number {
  position: absolute;
  top: 20px;
  right: 28px;
  color: rgba(8, 104, 173, 0.07);
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
}

.about-purpose-card > svg {
  position: relative;
  z-index: 2;
  width: 67px;
  height: 67px;
  padding: 17px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #08aeb5, #0874a1);
  box-shadow: 0 15px 30px rgba(8, 174, 181, 0.25);
}

.about-purpose-card:nth-child(2) > svg {
  background: linear-gradient(135deg, #0875b7, #054777);
  box-shadow: 0 15px 30px rgba(8, 104, 173, 0.24);
}

.about-purpose-card h3,
.about-purpose-card p {
  position: relative;
  z-index: 2;
}

.about-purpose-card h3 {
  margin-top: 27px;
  color: #20364b;
  font-size: 1.5rem;
}

.about-purpose-card p {
  margin-top: 15px;
  color: #68798b;
  line-height: 1.75;
}


/* =========================================================
   VALORES
========================================================= */

.about-values {
  background: #ffffff;
}

.about-values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}

.about-value-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 31px;
}

.about-value-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #0875b7, #08aeb5);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.about-value-card:hover::before {
  transform: scaleX(1);
}

.about-value-card > svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: 17px;
  color: #0875b7;
  background:
    linear-gradient(
      135deg,
      rgba(8, 104, 173, 0.1),
      rgba(8, 174, 181, 0.12)
    );
}

.about-value-card h3 {
  margin-top: 21px;
  color: #20364b;
  font-size: 1.14rem;
}

.about-value-card p {
  margin-top: 9px;
  color: #68798b;
  font-size: 0.88rem;
  line-height: 1.7;
}


/* =========================================================
   POR QUÉ ELEGIRNOS
========================================================= */

.about-reasons {
  background:
    linear-gradient(
      135deg,
      rgba(245, 249, 252, 1),
      rgba(237, 247, 250, 0.9)
    );
}

.about-reasons .why-grid {
  max-width: 1180px;
  margin: 0 auto;
}

.about-reasons .why-card {
  min-height: 230px;
}

.about-reasons .why-card.large {
  min-height: 100%;
}


/* =========================================================
   ESTADÍSTICAS
========================================================= */

.about-stats {
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(55, 210, 207, 0.16),
      transparent 25%
    ),
    linear-gradient(135deg, #052f5f, #0875b7);
}

.about-stats > div {
  position: relative;
}

.about-stats > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   PROCESO
========================================================= */

.about-process {
  background: #ffffff;
}

.about-process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1180px;
  margin: 55px auto 0;
}

.about-process-grid::before {
  content: "";
  position: absolute;
  top: 35px;
  right: 12%;
  left: 12%;
  z-index: 0;
  border-top: 2px dashed rgba(8, 174, 181, 0.3);
}

.about-process-item {
  position: relative;
  z-index: 2;
  padding: 0 20px 25px;
  text-align: center;
}

.about-process-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border: 8px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #0875b7, #08aeb5);
  box-shadow: 0 13px 25px rgba(8, 104, 173, 0.2);
}

.about-process-icon svg {
  width: 26px;
  height: 26px;
}

.about-process-item > span {
  position: absolute;
  top: -11px;
  right: 13px;
  color: rgba(8, 104, 173, 0.09);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.about-process-item h3 {
  margin-top: 22px;
  color: #20364b;
  font-size: 0.98rem;
}

.about-process-item p {
  margin-top: 8px;
  color: #718091;
  font-size: 0.81rem;
  line-height: 1.65;
}


/* =========================================================
   CTA FINAL
========================================================= */

.about-final {
  position: relative;
  width: min(calc(100% - 14%), 1180px);
  min-height: 440px;
  display: flex;
  align-items: center;
  margin: 20px auto 105px;
  padding: 70px;
  overflow: hidden;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(69, 222, 213, 0.17),
      transparent 28%
    ),
    linear-gradient(135deg, #052f5f, #0875b7 67%, #079ca8);
  box-shadow: 0 30px 75px rgba(3, 47, 94, 0.22);
}

.about-final-content {
  position: relative;
  z-index: 3;
  max-width: 740px;
}

.about-final h2 {
  margin-top: 17px;
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.about-final h2 span {
  color: #45ded5;
}

.about-final p {
  max-width: 650px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.about-final .btn-primary {
  color: #063d6b;
  background: #ffffff;
}

.about-final .btn-primary:hover {
  background: #f4fbfd;
}

.about-final .btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.about-final-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.about-final .decoration-one {
  top: -130px;
  right: -95px;
  width: 380px;
  height: 380px;
  border: 75px solid rgba(255, 255, 255, 0.04);
}

.about-final .decoration-two {
  right: 28%;
  bottom: -130px;
  width: 260px;
  height: 260px;
  background: rgba(55, 210, 207, 0.08);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {
  .hero-about {
    min-height: auto;
  }

  .hero-about .hero-content {
    text-align: center;
  }

  .hero-about .hero-content > p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-about .hero-actions,
  .hero-about .hero-benefits {
    justify-content: center;
  }

  .about-hero-visual {
    width: min(100%, 650px);
    margin: 35px auto 0;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .about-story-visual {
    width: min(100%, 650px);
    margin: 0 auto;
  }

  .about-story-content {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .about-story-content .section-header {
    text-align: center;
  }

  .about-story-content .section-header p {
    margin-right: auto;
    margin-left: auto;
  }

  .about-purpose-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 45px;
  }

  .about-process-grid::before {
    display: none;
  }
}


@media (max-width: 760px) {
  .hero-about {
    padding-top: 125px;
  }

  .about-visual-image {
    height: 400px;
  }

  .about-badge-top {
    left: 0;
  }

  .about-badge-bottom {
    right: 0;
  }

  .about-story {
    padding-right: 22px;
    padding-left: 22px;
  }

  .about-story-visual {
    min-height: 490px;
  }

  .about-story-main {
    height: 420px;
  }

  .about-story-secondary {
    height: 205px;
  }

  .about-purpose-grid,
  .about-values-grid,
  .about-process-grid {
    grid-template-columns: 1fr;
  }

  .about-purpose-grid .about-purpose-card {
    min-height: auto;
    padding: 33px 28px;
  }

  .about-process-grid {
    row-gap: 35px;
  }

  .about-stats > div::after {
    display: none;
  }

  .about-final {
    width: calc(100% - 44px);
    min-height: 420px;
    margin-bottom: 80px;
    padding: 50px 30px;
    text-align: center;
  }

  .about-final .hero-actions {
    justify-content: center;
  }
}


@media (max-width: 500px) {
  .about-visual-card {
    padding: 8px;
    border-radius: 26px;
  }

  .about-visual-image {
    height: 345px;
    border-radius: 20px;
  }

  .about-visual-badge {
    min-width: auto;
    padding: 10px 12px;
  }

  .about-visual-badge small {
    display: none;
  }

  .about-visual-badge strong {
    font-size: 0.72rem;
  }

  .about-story-visual {
    min-height: 415px;
  }

  .about-story-main {
    height: 350px;
  }

  .about-story-secondary {
    height: 170px;
    border-width: 7px;
  }

  .about-story-label {
    top: 20px;
    max-width: 180px;
    padding: 12px;
  }

  .about-story-label span {
    display: none;
  }

  .about-purpose-number {
    font-size: 4.5rem;
  }

  .about-value-card {
    min-height: auto;
  }

  .about-final {
    width: calc(100% - 30px);
    padding: 45px 22px;
  }

  .about-final .hero-actions {
    flex-direction: column;
  }

  .about-final .hero-actions .btn {
    width: 100%;
  }
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .about-story-features article,
  .about-value-card,
  .about-purpose-card {
    transition: none;
  }
}/* =========================================================
   CORRECCIONES DE COMPATIBILIDAD CON MAIN.CSS
========================================================= */


/* ---------------------------------------------------------
   HISTORIA: títulos y espaciado
--------------------------------------------------------- */

.about-story-content .section-header {
  width: 100%;
  min-height: auto;
  margin: 0 0 20px;
  padding: 0;
  text-align: left;
}

.about-story-content .section-header > span {
  display: inline-block;
  margin: 0 0 12px;
  color: #08bfc7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.about-story-content .section-header h2 {
  max-width: 650px;
  margin: 0;
  color: #102b47;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.13;
  letter-spacing: -0.045em;
}

.about-story-content .section-header p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #718198;
  font-size: 1rem;
  line-height: 1.8;
}


/* ---------------------------------------------------------
   MISIÓN Y VISIÓN
   Neutralizar colores blancos heredados de .why-section
--------------------------------------------------------- */

.about-purpose {
  position: relative;
  color: #172d45;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(8, 174, 181, 0.08),
      transparent 25%
    ),
    #f5f9fc;
}

.about-purpose::before,
.about-purpose::after {
  display: none;
}

.about-purpose .section-header > span {
  color: #08bfc7;
}

.about-purpose .section-header h2 {
  color: #102b47;
}

.about-purpose .section-header p {
  color: #718198;
}

.about-purpose .why-grid {
  position: relative;
  z-index: 2;
}

.about-purpose .why-card {
  color: #172d45;
  border: 1px solid #dce8ef;
  background: #ffffff;
  box-shadow: 0 15px 40px rgba(7, 62, 103, 0.08);
}

.about-purpose .why-card:hover {
  border-color: rgba(8, 174, 181, 0.32);
  box-shadow: 0 23px 55px rgba(7, 62, 103, 0.14);
}

.about-purpose .why-card h3 {
  color: #20364b;
}

.about-purpose .why-card p {
  color: #68798b;
}


/* ---------------------------------------------------------
   POR QUÉ ELEGIRNOS
--------------------------------------------------------- */

.about-reasons {
  position: relative;
  color: #172d45;
  background:
    linear-gradient(
      135deg,
      #f5f9fc,
      #edf7fa
    );
}

.about-reasons::before,
.about-reasons::after {
  display: none;
}

.about-reasons .section-header {
  position: relative;
  z-index: 2;
}

.about-reasons .section-header > span {
  color: #08bfc7;
}

.about-reasons .section-header h2 {
  color: #102b47;
}

.about-reasons .section-header p {
  color: #718198;
}

.about-reasons .why-grid {
  position: relative;
  z-index: 2;
}

.about-reasons .why-card {
  color: #172d45;
  border: 1px solid #dce8ef;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(7, 62, 103, 0.08);
}

.about-reasons .why-card:hover {
  border-color: rgba(8, 174, 181, 0.35);
  box-shadow: 0 22px 48px rgba(7, 62, 103, 0.14);
  transform: translateY(-6px);
}

.about-reasons .why-card > svg {
  color: #0784c5;
}

.about-reasons .why-card h3 {
  color: #20364b;
}

.about-reasons .why-card p {
  color: #718198;
}


/* ---------------------------------------------------------
   ESTADÍSTICAS
--------------------------------------------------------- */

.about-stats > div h2 {
  color: #ffffff;
}

.about-stats > div p {
  color: rgba(255, 255, 255, 0.75);
}

.about-stats > div > svg {
  color: #35d8d4;
}


/* ---------------------------------------------------------
   RESPONSIVE HISTORIA
--------------------------------------------------------- */

@media (max-width: 1050px) {
  .about-story-content .section-header {
    text-align: center;
  }

  .about-story-content .section-header h2,
  .about-story-content .section-header p {
    margin-right: auto;
    margin-left: auto;
  }
}.about-visual-image {
  background:
    linear-gradient(
      135deg,
      rgba(8, 117, 183, 0.45),
      rgba(8, 174, 181, 0.4)
    );
}

.about-visual-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}/* =========================================================
   HISTORIA CON UNA SOLA IMAGEN
========================================================= */

.about-story-main-single {
  width: 100%;
  height: 560px;
}

.about-story-main-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-story-visual:has(.about-story-main-single) {
  min-height: 560px;
}

.about-story-main-single + .about-story-label {
  top: 42px;
  right: -20px;
}

@media (max-width: 1050px) {
  .about-story-main-single {
    height: 520px;
  }

  .about-story-visual:has(.about-story-main-single) {
    min-height: 520px;
  }
}

@media (max-width: 760px) {
  .about-story-main-single {
    height: 430px;
  }

  .about-story-visual:has(.about-story-main-single) {
    min-height: 430px;
  }

  .about-story-main-single + .about-story-label {
    top: 24px;
    right: 0;
  }
}

@media (max-width: 500px) {
  .about-story-main-single {
    height: 350px;
  }

  .about-story-visual:has(.about-story-main-single) {
    min-height: 350px;
  }
}