/* =========================================================
   WAMARSA - NOSOTROS / VISIÓN / MISIÓN / VALORES
   CSS limpio y responsive
   ========================================================= */

:root {
  --navy: #0a2246;
  --navy-2: #082b55;
  --red: #e91414;
  --ink: #0b2345;
  --muted: #546175;
  --panel: #f7f8fa;
  --white: #ffffff;
}

/* =========================================================
   BASE
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", Arial, sans-serif;
  background: #ffffff;
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
  width: 100%;
}

a {
  color: inherit;
}
/* =========================================================
   ENCABEZADO WAMARSA
   ========================================================= */

.nosotros-header {
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 150px;

  padding: 25px clamp(20px, 5vw, 70px);

  background:
    /* CURVAS SUAVES DEL LADO DERECHO */
    radial-gradient(
      ellipse 420px 300px at 100% 0%,
      #eef1f5 0%,
      #f7f8fa 45%,
      rgba(255,255,255,0) 70%
    ),
    radial-gradient(
      ellipse 360px 250px at 100% 5%,
      #ffffff 0%,
      rgba(255,255,255,0) 70%
    ),
    #ffffff;

  border-bottom: 1px solid #dce3ea;

  overflow: hidden;
}


/* =========================================================
   CURVA AZUL IZQUIERDA
   ========================================================= */

.nosotros-header::before {
  content: "";

  position: absolute;

  top: -390px;
  left: -450px;

  width: 700px;
  height: 500px;

  background: var(--navy);

  border-radius: 50%;

  z-index: 0;
}


/* =========================================================
   CURVA ROJA IZQUIERDA
   ========================================================= */

.nosotros-header::after {
  content: "";

  position: absolute;

  top: -380px;
  left: -440px;

  width: 680px;
  height: 480px;

  background: var(--red);

  border-radius: 50%;

  z-index: 1;
}


/* =========================================================
   CONTENIDO DEL HEADER
   ========================================================= */

.nosotros-header > * {
  position: relative;

  z-index: 10;
}





/* =========================================================
   TITULAR CENTRAL
   ========================================================= */

.hero-nosotros .eyebrow {
  position: relative;

  display: flex;

  align-items: center;
  justify-content: center;

  width: 100%;

  margin: 0;

  color: var(--navy);

  font-family: "Montserrat", sans-serif;

  font-size: clamp(14px, 1.8vw, 23px);

  font-weight: 800;

  line-height: 1.2;

  text-align: center;

  white-space: nowrap;
}


/* LÍNEA IZQUIERDA */

.hero-nosotros .eyebrow::before {
  content: "";

  display: block;

  width: clamp(70px, 13vw, 180px);

  height: 1px;

  margin-right: 18px;

  background: #697788;

  flex-shrink: 1;
}


/* LÍNEA DERECHA */

.hero-nosotros .eyebrow::after {
  content: "";

  display: block;

  width: clamp(70px, 13vw, 180px);

  height: 1px;

  margin-left: 18px;

  background: #697788;

  flex-shrink: 1;
}



.hero-nosotros .eyebrow {
  background-image:
    radial-gradient(
      circle,
      var(--red) 0,
      var(--red) 4px,
      transparent 5px
    ),
    radial-gradient(
      circle,
      var(--red) 0,
      var(--red) 4px,
      transparent 5px
    );

  background-position:
    calc(50% - 150px) center,
    calc(50% + 150px) center;

  background-repeat: no-repeat;

  background-size: 10px 10px;
}

/* =========================================================
   TITULAR CON LÍNEAS Y PUNTOS
   ========================================================= */

.hero-nosotros .eyebrow {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;

  margin: 0;

  color: var(--navy);

  font-family: "Montserrat", sans-serif;

  font-size: clamp(14px, 1.8vw, 23px);

  font-weight: 800;

  text-align: center;

  white-space: nowrap;
}


/* Línea izquierda */

.hero-nosotros .eyebrow::before {
  content: "";

  width: clamp(70px, 13vw, 180px);

  height: 1px;

  margin-right: 25px;

  background: linear-gradient(
    to right,
    #697788 0%,
    #697788 82%,
    var(--red) 82%,
    var(--red) 86%,
    transparent 86%
  );

  flex-shrink: 1;
}


/* Línea derecha */

.hero-nosotros .eyebrow::after {
  content: "";

  width: clamp(70px, 13vw, 180px);

  height: 1px;

  margin-left: 25px;

  background: linear-gradient(
    to right,
    transparent 0%,
    var(--red) 0%,
    var(--red) 4%,
    #697788 4%,
    #697788 100%
  );

  flex-shrink: 1;
}




/* Logo */
.nosotros-header .brand {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  color: var(--ink);
}

.nosotros-header .brand img {
  width: 605px;
  height: auto;
  margin-bottom: 5px;
  z-index: -6;   
}

.nosotros-header .brand strong {
  display: block;

  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: .14em;
}

.nosotros-header .brand span {
  display: block;

  margin-top: 5px;

  font-size: 11px;
  letter-spacing: .25em;
  color: #555;
}


/* =========================================================
   CONTENIDO PRINCIPAL
   ========================================================= */

.nosotros-main {
  position: relative;

  width: 100%;
  max-width: 1280px;

  margin: 0 auto;

  padding: 0 clamp(18px, 4vw, 55px) 55px;
}


/* =========================================================
   HERO / TITULAR
   ========================================================= */

.hero-nosotros {
  position: relative;

  padding: 22px 20px 8px;

  text-align: center;
}

/* Convertimos el eyebrow en el pequeño encabezado */
.hero-nosotros .eyebrow {
  display: inline-block;

  margin: 0;

  color: var(--navy);

  font-family: "Montserrat", sans-serif;
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 800;

  letter-spacing: .01em;
  line-height: 1.2;
}

/* Título original oculto porque el encabezado superior
   ya presenta la frase completa */
.hero-nosotros h1 {
  display: none;
}

.hero-nosotros p {
  display: none;
}


/* =========================================================
   VISIÓN Y MISIÓN
   ========================================================= */

.vision-mision {
  position: relative;

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 32px;

  width: 100%;

  margin: 30px auto 0;

  padding-top: 74px;
}

/* Título superior y líneas */
.vision-mision::before {
  content: "SOLUCIONES DE TALENTO  PARA SU EMPRESA";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  min-height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px;

  color: var(--navy);

  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 2.1vw, 28px);
  font-weight: 800;

  text-align: center;
  white-space: nowrap;

  border-bottom: 1px solid #7d8997;
}

/* Puntos rojos decorativos */
.vision-mision::after {
  content: "•";

  position: absolute;

  top: -2px;
  left: 50%;

  color: var(--red);

  font-size: 28px;
  font-weight: 900;

  line-height: 1;

  transform: translateX(-50%);
  pointer-events: none;
}


/* =========================================================
   TARJETAS VISIÓN / MISIÓN
   ========================================================= */

.vision-card {
  position: relative;

  width: 100%;
  min-width: 0;
  min-height: 425px;

  margin: 0;

  padding: 0 42px 70px;

  background: var(--white);

  border: 1px solid #e9eef5;
  border-radius: 18px;

  text-align: center;

  overflow: visible;

  box-shadow:
    0 6px 18px rgba(8, 30, 62, .08);
}

/* Franja azul */
.vision-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;
  right: 0;

  height: 108px;

  background: var(--navy);

  border-radius: 17px 17px 0 0;

  z-index: 0;
}


/* =========================================================
   ICONO CIRCULAR
   ========================================================= */
.card-icon {
  position: absolute;

  z-index: 50;

  width: 104px;
  height: 104px;

  display: grid;
  place-items: center;

  top: -40px;
  left: 55px;

  margin: 0;

  transform: none;

  background: #ffffff;

  border: 2px solid var(--navy);
  border-radius: 50%;

  color: var(--navy);

  font-size: 42px;

  box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

/* Detalle rojo para el segundo icono */
.vision-card:nth-child(2) .card-icon {
  color: var(--red);
}


/* =========================================================
   TÍTULO VISIÓN / MISIÓN
   ========================================================= */

.vision-card h2 {
  position: relative;

  z-index: 4;

  margin: 0;

  padding-top: 34px;
  padding-left: 120px;

  color: #ffffff;

  font-family: "Montserrat", sans-serif;

  font-size: clamp(30px, 3vw, 40px);

  font-weight: 800;

  line-height: 1;

  letter-spacing: .02em;

  text-align: left;
}


@media (max-width: 620px) {

  .card-icon {
    position: absolute;

    z-index: 70;

    width: 78px;
    height: 78px;

    top: -65px;
    left: -25px;

    margin: 0;

    transform: none;

    display: grid;
    place-items: center;

    background: #ffffff;

    border: 2px solid var(--navy);
    border-radius: 50%;

    color: var(--navy);

    font-size: 30px;
  }

}

@media (max-width: 620px) {

  .hero-nosotros .eyebrow {
    font-size: 11px;

    white-space: nowrap;
  }

  .hero-nosotros .eyebrow::before {
    width: 35px;

    margin-right: 8px;
  }

  .hero-nosotros .eyebrow::after {
    width: 35px;

    margin-left: 8px;
  }

}




@media (max-width: 620px) {

  /* TARJETA */
  .vision-card {
    position: relative;

    min-height: auto;

    padding-top: 0;
    padding-bottom: 72px;
  }


  /* FRANJA AZUL */
  .vision-card::before {
    height: 105px;
  }


  /* ICONO */
  .vision-card .card-icon {
    position: absolute;

    top: -10px;
    left: 25px;

    width: 78px;
    height: 78px;

    margin: 0;

    transform: none;

    z-index: 70;
  }


  /* VISIÓN / MISIÓN */
  .vision-card h2 {
    position: absolute;

    top: 48px;

    left: 105px;
    right: 10px;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 80;

    color: #ffffff;

    font-family: "Montserrat", sans-serif;

    font-size: 26px;

    line-height: 1;

    text-align: left;
  }


  /* DESCRIPCIÓN */
  .vision-card p {
    position: relative;

    z-index: 5;

    margin: 105px auto 0 !important;

    padding: 0 !important;

    max-width: 100%;

    color: #172942;

    font-size: 14px;

    line-height: 1.6;

    text-align: center;
  }

}



@media (max-width: 620px) {

  .vision-card h2 {
    position: absolute;

    z-index: 60;

    top: 48px;
    left: 100px;
    right: 10px;

    margin: 0;
    padding: 0;

    color: #f7f1f1;

    font-family: "Montserrat", sans-serif;

    font-size: 26px;
    font-weight: 800;

    line-height: 1.1;

    text-align: left;
  }

}

@media (max-width: 620px) {

  .vision-card p {
    position: relative;

    z-index: 5;

    margin-top: 100px;

    padding-top: 0;

    font-size: 14px;

    line-height: 1.6;

    text-align: center;
  }

}


/* =========================================================
   TEXTO DE LAS TARJETAS
   ========================================================= */
.vision-card p {
  position: relative;

  z-index: 2;

  max-width: 570px;

  margin: 0 auto;

  padding-top: 45px;

  color: #172942;

  font-size: 26px;
  font-family: "Quicksand", Arial, sans-serif;

  line-height: 1.65;

  text-align: center;
}
/* Línea roja inferior */
.vision-card::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 28px;

  width: 115px;
  height: 4px;

  transform: translateX(-50%);

  background: var(--red);

  border-radius: 5px;
}


/* =========================================================
   VALORES
   ========================================================= */

.valores-section {
  position: relative;

  margin-top: 58px;
}

.valores-section .section-heading {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 20px;

  margin-bottom: 25px;

  text-align: center;
}

/* Líneas */
.valores-section .section-heading::before,
.valores-section .section-heading::after {
  content: "";

  height: 1px;

  flex: 1;

  background: #7d8997;
}

.valores-section .section-heading h2 {
  margin: 0;

  color: var(--navy);

  font-family: "Montserrat", sans-serif;

  font-size: clamp(28px, 3vw, 40px);

  white-space: nowrap;
}

/* Ocultamos el eyebrow original y lo convertimos
   en el punto rojo decorativo */
.valores-section .section-heading .eyebrow {
  position: absolute;

  width: 10px;
  height: 10px;

  padding: 0;
  margin: 0;

  left: calc(50% - 155px);

  border-radius: 50%;

  background: var(--red);

  font-size: 0;
}


/* =========================================================
   GRID DE VALORES
   ========================================================= */

.valores-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  gap: 2px;

  border-radius: 15px;

  overflow: hidden;
}

.valores-grid article {
  display: flex;

  flex-direction: column;
  align-items: center;

  gap: 10px;

  min-height: 235px;

  padding: 20px 13px;

  background: #ffffff;

  border: 1px solid #e2e5e9;

  text-align: center;
}


/* Iconos */
.icon-circle {
  width: 58px;
  height: 58px;

  margin: 0 auto;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #ffffff;

  border: 2px solid var(--navy);

  color: var(--navy);

  font-size: 24px;
}

.valores-grid article:nth-child(even) .icon-circle {
  color: var(--red);
  border-color: var(--red);
}


/* Títulos */
.valores-grid h3 {
  margin: 0;

  color: var(--navy);

  font-size: 14px;

  letter-spacing: .06em;

  font-weight: 800;
}

.valores-grid h3::after {
  content: "";

  display: block;

  width: 42px;
  height: 3px;

  margin: 7px auto 0;

  background: var(--red);
}


/* Descripciones */
.valores-grid p {
  margin: 0;

  color: #4f5d70;

  font-size: 11px;

  line-height: 1.55;
}


/* =========================================================
   CONCLUSIÓN
   ========================================================= */

.conclusion-banner {
  position: relative;

  max-width: 680px;

  margin: 35px auto 0;

  padding: 24px;

  background: #ffffff;

  border: 1px solid #e0e3e7;

  border-radius: 15px;

  box-shadow: 0 5px 18px rgba(8, 30, 62, .08);

  text-align: center;
}

.conclusion-banner p {
  margin: 0;

  color: var(--navy);

  font-size: 20px;

  font-weight: 800;
}

.conclusion-banner strong {
  color: var(--red);
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  position: relative;

  display: grid;

  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;

  gap: 24px;

  padding: 32px clamp(24px, 5vw, 76px);

  color: #ffffff;

  background: var(--navy);

  overflow: hidden;
}

/* Curva roja */
.footer::after {
  content: "";

  position: absolute;

  right: -100px;
  bottom: -160px;

  width: 500px;
  height: 250px;

  border-radius: 100% 0 0 0;

  border-top: 8px solid var(--red);

  pointer-events: none;
}

.footer-brand p {
  margin: 0;

  font-weight: 800;

  letter-spacing: .15em;
}

.footer h3 {
  margin: 0 0 12px;

  font-size: 12px;
}

.footer ul {
  margin: 0;
  padding: 0;

  list-style: none;

  line-height: 1.8;
}

.footer a {
  color: #ffffff;

  text-decoration: none;
}

.footer .contact-list i {
  margin-right: 8px;
}

.copyright {
  grid-column: 1 / -1;

  margin-top: 10px;
  padding-top: 16px;

  font-size: 11px;

  border-top: 1px solid rgba(255, 255, 255, .18);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 980px) {

  .nosotros-header {
    min-height: 135px;
  }

  .nosotros-main {
    padding-left: 25px;
    padding-right: 25px;
  }

  .vision-mision {
    gap: 20px;
  }

  .vision-card {
    min-height: 400px;

    padding-left: 24px;
    padding-right: 24px;
  }

  .vision-card h2 {
    font-size: 30px;
  }

  .vision-card p {
    font-size: 15px;
  }

  .valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 620px) {

  .nosotros-header {
    min-height: 125px;

    padding: 18px 15px;
  }

  .nosotros-header::before {
    width: 250px;
    height: 190px;

    top: -110px;
    left: -110px;
  }

  .nosotros-header::after {
    width: 230px;
    height: 170px;

    top: -95px;
    left: -95px;
  }

  .nosotros-header .brand img {
    width: 80px;
  }

  .nosotros-header .brand strong {
    font-size: 21px;
  }

  .nosotros-header .brand span {
    font-size: 8px;
  }


  .nosotros-main {
    padding-left: 12px;
    padding-right: 12px;
  }


  .hero-nosotros {
    padding: 20px 5px 5px;
  }

  .hero-nosotros .eyebrow {
    font-size: 16px;
  }


  /* Visión / misión */

  .vision-mision {
    grid-template-columns: 1fr;

    gap: 28px;

    margin-top: 25px;

    padding-top: 62px;
  }

  .vision-mision::before {
    font-size: 14px;

    white-space: nowrap;

    overflow: hidden;

    padding-left: 5px;
    padding-right: 5px;
  }

  .vision-mision::after {
    top: 0;
  }

  .vision-card {
    min-height: auto;

    padding: 0 20px 72px;

    border-radius: 15px;
  }

  .vision-card::before {
    height: 90px;

    border-radius: 14px 14px 0 0;
  }

  .card-icon {
    width: 82px;
    height: 82px;

    font-size: 31px;

    transform: translateY(-15px);
  }

  .vision-card h2 {
    font-size: 27px;

    margin-top: -59px;

    margin-bottom: 45px;
  }

  .vision-card p {
    font-size: 14px;

    line-height: 1.6;
  }

  .vision-card::after {
    width: 95px;

    bottom: 28px;
  }


  /* Valores */

  .valores-section {
    margin-top: 40px;
  }

  .valores-section .section-heading {
    gap: 10px;
  }

  .valores-section .section-heading h2 {
    font-size: 25px;
  }

  .valores-section .section-heading::before,
  .valores-section .section-heading::after {
    min-width: 20px;
  }

  .valores-grid {
    grid-template-columns: 1fr 1fr;

    gap: 4px;
  }

  .valores-grid article {
    min-height: 205px;

    padding: 17px 9px;
  }

  .icon-circle {
    width: 48px;
    height: 48px;

    font-size: 20px;
  }

  .valores-grid h3 {
    font-size: 11px;
  }

  .valores-grid p {
    font-size: 10px;

    line-height: 1.45;
  }


  /* Conclusión */

  .conclusion-banner {
    margin-top: 25px;

    padding: 20px 15px;
  }

  .conclusion-banner p {
    font-size: 16px;
  }


  /* Footer */

  .footer {
    grid-template-columns: 1fr;

    padding: 28px 20px;
  }

  .copyright {
    grid-column: auto;
  }
}


/* =========================================================
   TELÉFONOS PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

  .hero-nosotros .eyebrow {
    font-size: 14px;
  }

  .vision-mision::before {
    font-size: 12px;
  }

  .vision-card h2 {
    font-size: 24px;
  }

  .vision-card p {
    font-size: 13px;
  }

  .valores-grid article {
    min-height: 190px;
  }

  .valores-grid p {
    font-size: 9px;
  }
}




/* FOOTER */
.footer{
  background:#fff;
  border-bottom:3px solid var(--gold);
}
.footer-inner{
  width:min(1200px,92%);
  margin:auto;
  padding:38px 0 24px;
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:35px;
}
.footer-logo{
  width:155px;
  height:65px;
  object-fit:contain;
  object-position:left center;
}
.footer-brand p,
.footer-column a,
.footer-column p{
  color:#687482;
  font-size:11px;
  line-height:1.5;
  margin-top:8px;
}
.social{
  display:flex;
  gap:8px;
  margin-top:13px;
}
.social a{
  width:28px;
  height:28px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:11px;
  font-weight:900;
}
.footer-column{
  border-left:1px solid #dce3ea;
  padding-left:24px;
}
.footer-column h4{
  font-size:11px;
  margin-bottom:12px;
}
.footer-column a{
  display:block;
}
.footer-column a:hover{
  color:var(--gold);
}
.footer-bottom{
  width:min(1200px,92%);
  margin:auto;
  border-top:1px solid var(--border);
  padding:12px 0;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#727d89;
  font-size:10px;
}
