html{ box-sizing: border-box; scroll-behavior: smooth; } 

*, *::before, *::after{ margin: 0; padding: 0; box-sizing: inherit; font-family: "Raleway", sans-serif; text-decoration: none; list-style: none;} 

img, picture, canvas{ max-width: 100%; display: block; } 

body{ overflow-x: hidden;} 

main, footer, header { width: 100%; max-width: 1600px; margin: auto; }



:root{
    --dorado:      #D2AF56;
    --dorado-oscuro: #68562a;
      --gris-txt: #58595D;
      --azul-oscuro:      #161B23;
      --negro-tit: #161B23;
      --azul-oscuro-cajas:     #22252B;
      --grey: #828181;
      --grey-tit: #3D3D3D;
}



/* HERO */

.header {
  min-height: 500px;


  /* Valores para móvil */
  --imagen-x: center;
  --imagen-y: center;
  --imagen-size: auto 100%;

  background-color: #fafbfb;

  background-image:
    radial-gradient(
      ellipse 60% 50%, 
      rgba(255, 255, 255, 0.95) 0%, 
      rgba(255, 255, 255, 0.8) 90%, 
      rgba(250, 251, 251, 0) 100%
    ),
    url("/images/nosotros.webp");

  background-position:
    center,
    var(--imagen-x) var(--imagen-y);

  background-size:
    fill,
    var(--imagen-size);

  background-repeat: no-repeat;
}

.header .hero {
  min-height: 420px;
  padding: 164px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero > div{
  max-width: 620px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.breadcrumb-container{
  color: var(--dorado);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 8%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-variant: small-caps;
  margin-bottom: 44px;
  justify-content: center;
}

.breadcrumb-item a{
    color: var(--dorado);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 8%;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
  transition: color .25s ease;
}

.breadcrumb-item a:hover{
    color: var(--azul-oscuro);
}


.breadcrumb-item + .breadcrumb-item::before {
  content: ">";
  padding: 0 8px;
  color: var(--dorado, #D2AF56); /* O el color que prefieras para el símbolo */
  font-weight: 400;
}

h1{
  color: var(--negro-tit);
  font-size: 34px;
  font-weight: bold;
  margin-bottom: 24px;
  text-align: center;
}

.hero > div > p:first-of-type,
.hero > div > ul > li{
  color: var(--gris-txt);
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.hero > div > p:first-of-type{
    text-align: center;
}

.hero > div > ul > li{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.hero > div > ul{
  margin-top: 34px;
  display: flex;
    flex-wrap: wrap;
}

.cta-hero{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 44px;
}

.cta-hero a:first-of-type,
.cta-hero a:last-of-type,
.cta-servicios a{
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 600;
  border-radius: 4px;
  padding: 12px 34px;
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
  transition: transform .25s ease;
  font-variant: small-caps;
}

.cta-hero a:first-of-type{
  color: var(--dorado-oscuro);
  border: 1px solid var(--dorado);
}

.cta-hero a:last-of-type{
  color: whitesmoke;
  background-color: var(--azul-oscuro);
  display: flex;
  flex-direction: row;
  gap: 16px;
  border: 1px solid var(--azul-oscuro);
}

.cta-servicios a{
  color: white;
  background-color: var(--dorado);
  display: flex;
  flex-direction: row;
  gap: 16px;
  border: 1px solid var(--dorado);
  max-width: 204px;
  margin: 84px auto 0 auto;
}

.cta-hero a:first-of-type:hover,
.cta-hero a:last-of-type:hover,
.cta-servicios a:hover
{ transform: translateX(2px) translateY(-2px); }

/* TITULOS */

.h2-tit{
  color: var(--dorado);
  font-size: 16px;
  letter-spacing: 1px;
  font-variant: small-caps;
  font-weight: bold;
}

.tit-p{
  color: var(--azul-oscuro);
  font-size: 36px;
  font-weight: bold;
}

.txt-tit,
.documentacion-lista li{
  font-size: 16px;
  color: var(--gris-txt);
  line-height: 1.5;
}

.txt-tit a{
    color: var(--dorado);
    font-weight: bold;
}

/* INTRODUCCION */

.intro-secc{
  margin: 364px 10px 80px;
}

.titutlos-intro{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.titutlos-intro{
  max-width: 840px;
  margin: auto;
}

.titutlos-intro h2,
.titutlos-intro p{
  text-align: center;
}

.titutlos-intro h2{
  margin: 16px 0;
}

.titutlos-intro p{
  margin-bottom: 34px;
}

.credenciales,
.forma-lista {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}

.credenciales li,
.forma-lista li{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: auto;
}

.credenciales li::before {
  content: "";
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: url("/images/icons/escudo.svg") center / contain no-repeat;
}

/* FORMA DE TRABAJAR */

.servicios{
   --profundidad-punta: 100px;

  background: var(--azul-oscuro-cajas);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--profundidad-punta)),
    50% 100%,
    0 calc(100% - var(--profundidad-punta))
  );

  /* Deja espacio para que la punta no corte el contenido */
  padding: 80px 10px calc(80px + var(--profundidad-punta));
  margin: 84px 0;
}

.tit-p-blanco{
  color: white;
  font-size: 36px;
  font-weight: bold;
}

.forma-lista{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 64px auto;
  max-width: 980px;
}



.forma-lista li{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  max-width: 220px;
}

.forma-lista li::before {
  content: "";
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: url("/images/icons/mapa.svg") center / contain no-repeat;
}

.forma-lista li h3{
  font-size: 18px;
  letter-spacing: 2px;
  color: white;
  padding: 16px 0;
}


.forma-lista li p{
  font-size: 16px;
  letter-spacing: 2px;
  color: white;
  line-height: 1.5;
}

.cta-banner-div{
  margin-bottom: 164px;
}

/* WHATSAPP */
  
  #whatsapp-logo {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
  transform: scale(0);
  opacity: 0;
  pointer-events: none; /* Evita clics cuando está invisible */
}

/* Estado visible que activaremos con JS */
#whatsapp-logo.visible {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.logo-whatsapp {
  background-color: #4FCE5D;
  display: flex;
    height: 64px;
    width: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 8px;
  transition: transform 0.3s ease-in-out;
}

.logo-whatsapp:hover {
  transform: translateY(-2px) translateX(2px);
}

/* TITULO ANIMADO */

.titulo-animado.preparado {
  opacity: 0;
  transform: translateY(50px);
}

.titulo-animado.preparado.visible {
  animation: entrada-titulo 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes entrada-titulo {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .titulo-animado.preparado,
  .titulo-animado.preparado.visible {
    opacity: 1;
    transform: none;
    animation: none;
  }
}



@media (min-width: 768px) {

  /* HERO */

  .header .hero {
    min-height: 520px;
    padding: 244px 20px 164px 20px;
  }

  .hero > div > ul{
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 24px;
  }

  .header {
    background-image: radial-gradient(ellipse 60% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 70%, rgba(250, 251, 251, 0) 100%), url(/images/nosotros.webp);
    }

    /* INTRODUCCION */

     .intro-secc{
    margin: 164px 10px 80px;
    }

    .credenciales {
  flex-wrap: nowrap;
}

  /* FORMA DE TRABAJAR */

  .servicios {
    --profundidad-punta: 45px;
    padding: 80px 20px calc(60px + var(--profundidad-punta));
  }


}


@media (min-width: 1200px) {

  /* HERO */

  .header .hero {
    min-height: 520px;
  }
}