/* Design Main Styles */
:root {
  /*Colores*/
  --fraterni-green: #080f09;
  --fraterni-yellow: #c49102;
  --blankc: #ffffff;
  --blackc: #000000;
  --fraterni-blue: #111b21;
  --fraterni-orange: #D18807;
  --fraterni-lgreen: #2a452d;
}

/*End Design Main Styles */

/* Universal Selector */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style: none;
}

/* End Universal Selector */

/* HTML & Body Selector */
html {
  font-size: 62.5%;
  font-family: 'DM Sans', sans-serif;
  scroll-behavior: smooth;
}

/* Start Visual Content */
#translateBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 42px;
  height: 42px; 
  cursor: pointer;
  z-index: 1000;
}

#translateBtn:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

body {
  margin: 0;
  padding: 0;
  overflow: auto;
  overflow-x: hidden;
  background-color:#080f09;
}

/* End HTML Selector */

/* Norwester Font *Dont touch! (It doesnt support the  <meta charset="UTF-8"> */
@font-face {
  font-family: 'Norwester';
  src: url('./assets/fonts/norwester.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 2. Start Main */
/* CSS (mobile first) */

/* 1. Centrar todo el contenido de <main> */
.hero-header {
  display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 850px;
    background-color: #080f09;
    border-bottom: #2A2D32  4px solid;
}

/* 2. Reposicionar el logo/texto de la marca */
.hero-header--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 4rem;
}
.hero-header--brand p {
  color: var(--blankc);
  font-size: 0.8rem; /* 8px */
}
.hero-header--brand img {
  height: 1.6rem; /* 30px */
}

/* 3. Contenedor de la animación + texto */
.earth-header--container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 1.6rem 0;
}

/* 4. Box que agrupa tu animación y tu hero-text */
.hero-header--earth {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  width: 100%;
}

/* 5. Ajustar tamaño del planeta sin deformar */
.section-banner {
  width: 80vw;        /* ocupa 80% del ancho móvil */
  max-width: 300px;   /* y como máximo 200px de ancho */
  aspect-ratio: 1 / 1;
}

/* 6. Hero text */
.hero-text {
  color: var(--blankc);
  font-size: 2rem;    /* 20px */
  line-height: 1.2;
  padding: 0 1rem;
}

.vuca-world{
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  box-shadow: -40px -30px 0 0 rgba(0,0,0,.1) inset,
              -70px -30px 0 0 rgba(0,0,0,.1) inset,
              5px 5px 0 0 rgba(255,255,255,.2) inset;
  background: url(./assets/imgs/mapaMoreTiny.png);
  background-size: cover;
  animation: earthRotate 45s linear 0s infinite;
}

@keyframes earthRotate {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 377px 0;
  }
}

.curved-corner-star {
  display: flex;
  position: relative;
}

#curved-corner-bottomleft,
#curved-corner-bottomright,
#curved-corner-topleft,
#curved-corner-topright {
  width: 4px;
  height: 5px;
  overflow: hidden;
  position: relative;
}

#curved-corner-bottomleft:before,
#curved-corner-bottomright:before,
#curved-corner-topleft:before,
#curved-corner-topright:before {
  content: "";
  display: block;
  width: 200%;
  height: 200%;
  position: absolute;
  border-radius: 50%;
}

#curved-corner-bottomleft:before {
  bottom: 0;
  left: 0;
  box-shadow: -5px 5px 0 0 white;
}

#curved-corner-bottomright:before {
  bottom: 0;
  right: 0;
  box-shadow: 5px 5px 0 0 white;
}

#curved-corner-topleft:before {
  top: 0;
  left: 0;
  box-shadow: -5px -5px 0 0 white;
}

#curved-corner-topright:before {
  top: 0;
  right: 0;
  box-shadow: 5px -5px 0 0 white;
}

@keyframes twinkling {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 1;
  }
}

#star-1 {
  position: absolute;
  left: -20px;
  animation: twinkling 3s infinite;
}

#star-2 {
  position: absolute;
  left: -40px;
  top: 30px;
  animation: twinkling 2s infinite;
}
#star-3 {
  position: absolute;
  left: -30px;
  top: 90px;
  animation: twinkling 4s infinite;
}
#star-4 {
  position: absolute;
  left: 200px;
  top: 180px;
  animation: twinkling 3s infinite;
}
#star-5 {
  position: absolute;
  left: 10px;
  top: 200px;
  animation: twinkling 1.5s infinite;
}

#star-6 {
  position: absolute;
  left: 200px;
  top: -30px;
  animation: twinkling 4s infinite;
}
#star-7 {
  position: absolute;
  left: 220px;
  top: 10px;
  animation: twinkling 2s infinite;
}

/* 1. Contenedor general */
.hero-header--ms {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.4rem;
  text-align: center;
  background-color: #080f09;
}

/* 2. Cabeceras H2: tamaño, color y animación */
.hero-header--ms h2, h3 {
  color: var(--blankc);
  opacity: 0;
  padding: 0.8rem 0;
}

.hero-header--ms h2 {
  font-size: 4rem;
  line-height: 1.2;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.hero-header--ms h3 {
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 300;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
  text-wrap: balance;
  padding: 0 8px;
}

.hero-header--ms h3:nth-of-type(2) {
  padding: 16px 0;
}

.hero-header--ms h3:nth-of-type(3) {
  padding-bottom: 16px;
}

.hero-header--ms h3:nth-of-type(3) {
  font-size: 1.4rem;
  padding-bottom: 8px;
}

.hero-header--ms h3:nth-of-type(4) {
  padding-bottom: 16px;
}

/* 3. Retraso en cascada */
.hero-header--ms h2:nth-of-type(1) { animation-delay: 0.2s; }
.hero-header--ms h2:nth-of-type(2) { animation-delay: 0.4s; }
.hero-header--ms h2:nth-of-type(3) { animation-delay: 0.6s; }
.hero-header--ms h2:nth-of-type(4) { animation-delay: 0.8s; }
.hero-header--ms h2:nth-of-type(5) { animation-delay: 1.0s; }

/* 4. Animación fadeInUp */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* 6. Keyframes para la rotación */
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 7. Botón estilo simple */

.hero-header--bcontainer {
  position: relative;
  width: 230px;
  height: 0;
}

.hero-header--bcontainer .header--button {
  width: 100%;
  position: absolute;
  left: 50%;
  bottom: -55px;
  transform: translateX(-50%);
  padding: 16px 24px;
  background-color: var(--fraterni-orange);
  box-shadow: 0px 5px 0 var(--fraterni-yellow);
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  z-index: 10;
  transition: all 0.2s ease-in-out;
  border-bottom: 4px solid #a26b06; /* <-- Aquí el truco visual */
}


.header--button span {
  display: inline-block;
  width: 13px;
  height: 8px;
  margin-left: 12px;
  background-image: url('./assets/icons/whitearrow.svg');
}

.header--button:active {
  box-shadow: none;
  transform: translateX(-50%) translateY(5px); /* importante mantener el centrado + animación */
  background-color: var(--fraterni-orange);
}



/* 9. Ajustes de responsividad (si quieres afinar) */
@media (min-width: 710px) {
  .hero-header--ms h2 {
    font-size: 3.2rem;
  }
  .hero-header--ms button {
    font-size: 1.8rem;
  }
}

.main-context-details{
  position: inherit;
    width: 100%;
    min-width: 320px;
    min-height: 400px;
    padding: 20px 10px;
    background-color: var(--blackc);
    border-bottom: #2A2D32  4px solid;
}

.main-context-details--text{
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.main-context-details--text h2{
  font-size: 2rem;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  color: var(--blankc);
}

.main-context-details--text :nth-child(3){
  padding: 8px 0;
}

.main-context-details--text h4{
  font-size: 1.6rem;
  font-weight: 300;
  padding-top: 8px;
  line-height: 1;
  text-align: center;
  color: var(--blankc);
}


/* From Uiverse.io by narmesh_sah */ 
.solar-system-container {
  perspective: 1500px;
  width: 200px;
  height: 150px;
  margin: 0 auto;
}

.solar-system {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: all 0.5s ease-out;
  animation: rotate-center 6s linear infinite;
}

.sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  background: radial-gradient(circle at 30% 30%, #fff, #ffd700, #ffa500);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  box-shadow: 0 0 20px #ffd700;
  transition: all 0.5s ease-out;
}

.earth-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-50px);
  transform-style: preserve-3d;
  transition: all 0.5s ease-out;
}

.earth {
  position: absolute;
  top: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 30% 30%, #4b9cd3, #1b4f72);
  border-radius: 50%;
  transform: translateX(-50%) translateZ(0);
  transform-style: preserve-3d;
  transition: all 0.5s ease-out;
}

.moon-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-10px);
  animation: rotate-orbit 2s linear infinite;
  transform-style: preserve-3d;
  transition: all 0.5s ease-out;
}

.moon {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle at 30% 30%, #fff, #ccc);
  border-radius: 50%;
  transform: translateX(-50%) translateZ(0);
  transition: all 0.5s ease-out;
}

/* Hover Effects */
.solar-system-container:hover .solar-system {
  animation-play-state: paused;
  transform: rotateX(45deg) rotateY(-45deg);
}

.solar-system-container:hover .sun {
  transform: translate(-50%, -50%) translateZ(100px);
  box-shadow: 0 0 40px #ffd700;
}

.solar-system-container:hover .earth-orbit {
  transform: translate(-50%, -50%) translateZ(-100px) rotateX(75deg);
  border-color: rgba(255, 255, 255, 0.2);
}

.solar-system-container:hover .earth {
  transform: translateX(-50%) translateZ(20px);
  box-shadow: 0 0 15px rgba(75, 156, 211, 0.8);
}

.solar-system-container:hover .moon-orbit {
  transform: translate(-50%, -50%) translateZ(-120px) rotateX(75deg);
  border-color: rgba(255, 255, 255, 0.2);
}

.solar-system-container:hover .moon {
  transform: translateX(-50%) translateZ(10px);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Active state for even more depth */
.solar-system-container:active .solar-system {
  transform: rotateX(55deg) rotateY(-55deg);
}

.solar-system-container:active .sun {
  transform: translate(-50%, -50%) translateZ(150px);
  box-shadow: 0 0 50px #ffd700;
}

.solar-system-container:active .earth-orbit {
  transform: translate(-50%, -50%) translateZ(-150px) rotateX(85deg);
}

.solar-system-container:active .moon-orbit {
  transform: translate(-50%, -50%) translateZ(-180px) rotateX(85deg);
}

@keyframes rotate-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes rotate-center {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.main-product-info{
  position: inherit;
  width: 100%;
  min-width: 320px;
  min-height: 450px;
  padding: 20px 10px 0 10px;
  background-color: var(--fraterni-green);
}

.main-product-info--text{
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.main-product-info--text strong {
animation: twinkling 2s infinite;
}

.main-product-info--text h2{
  font-size: 4rem;
  font-family: 'Norwester', sans-serif;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  color: var(--blankc);
  padding-bottom: 32px;
}

.main-product-info--text h4{
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--blankc);
  padding: 0 16px 24px 24px;
}

.main-product-info--text h5{
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.3;
  color: var(--blankc);
  padding: 0 24px ;
  text-wrap: balance;
}

.main-product-info--text h5:not(:last-child) {
  padding-bottom: 16px;
}

/* From Uiverse.io by JkHuger */ 

.main-product-info--image{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--fraterni-green);
}


/* From Uiverse.io by gustavofusco */ 
.pencil {
  display: block;
  width: 10em;
  height: 10em;
  margin-top: 16px;
}

.pencil__body1,
.pencil__body2,
.pencil__body3,
.pencil__eraser,
.pencil__eraser-skew,
.pencil__point,
.pencil__rotate,
.pencil__stroke {
  animation-duration: 3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.pencil__body1,
.pencil__body2,
.pencil__body3 {
  transform: rotate(-90deg);
}

.pencil__body1 {
  animation-name: pencilBody1;
}

.pencil__body2 {
  animation-name: pencilBody2;
}

.pencil__body3 {
  animation-name: pencilBody3;
}

.pencil__eraser {
  animation-name: pencilEraser;
  transform: rotate(-90deg) translate(49px,0);
}

.pencil__eraser-skew {
  animation-name: pencilEraserSkew;
  animation-timing-function: ease-in-out;
}

.pencil__point {
  animation-name: pencilPoint;
  transform: rotate(-90deg) translate(49px,-30px);
}

.pencil__rotate {
  animation-name: pencilRotate;
}

.pencil__stroke {
  animation-name: pencilStroke;
  transform: translate(100px,100px) rotate(-113deg);
}

/* Animations */
@keyframes pencilBody1 {
  from,
	to {
    stroke-dashoffset: 351.86;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 150.8;
 /* 3/8 of diameter */
    transform: rotate(-225deg);
  }
}

@keyframes pencilBody2 {
  from,
	to {
    stroke-dashoffset: 406.84;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 174.36;
    transform: rotate(-225deg);
  }
}

@keyframes pencilBody3 {
  from,
	to {
    stroke-dashoffset: 296.88;
    transform: rotate(-90deg);
  }

  50% {
    stroke-dashoffset: 127.23;
    transform: rotate(-225deg);
  }
}

@keyframes pencilEraser {
  from,
	to {
    transform: rotate(-45deg) translate(49px,0);
  }

  50% {
    transform: rotate(0deg) translate(49px,0);
  }
}

@keyframes pencilEraserSkew {
  from,
	32.5%,
	67.5%,
	to {
    transform: skewX(0);
  }

  35%,
	65% {
    transform: skewX(-4deg);
  }

  37.5%, 
	62.5% {
    transform: skewX(8deg);
  }

  40%,
	45%,
	50%,
	55%,
	60% {
    transform: skewX(-15deg);
  }

  42.5%,
	47.5%,
	52.5%,
	57.5% {
    transform: skewX(15deg);
  }
}

@keyframes pencilPoint {
  from,
	to {
    transform: rotate(-90deg) translate(49px,-30px);
  }

  50% {
    transform: rotate(-225deg) translate(49px,-30px);
  }
}

@keyframes pencilRotate {
  from {
    transform: translate(100px,100px) rotate(0);
  }

  to {
    transform: translate(100px,100px) rotate(720deg);
  }
}

@keyframes pencilStroke {
  from {
    stroke-dashoffset: 439.82;
    transform: translate(100px,100px) rotate(-113deg);
  }

  50% {
    stroke-dashoffset: 164.93;
    transform: translate(100px,100px) rotate(-113deg);
  }

  75%,
	to {
    stroke-dashoffset: 439.82;
    transform: translate(100px,100px) rotate(112deg);
  }
}

.findus-container-section{
  background: linear-gradient(0deg,#062d08  0%,#152517 100%);
  width: 100%;
  height: auto;
}

.header--portrait-container {
  position: relative;
  width: 100%;
  min-width: 288px;
  height: 220px;
  padding-top: 24px;
  text-align: center;
  align-self: center;
  background: var(--fraterni-green);
}

.header--portrait-container .overlay, 
.header--portrait-container .social-icons, .header--portrait-container .professional-info {
  position: relative;
  z-index: 2; /* Aseguramos que el texto y los íconos estén sobre las burbujas */
}


.header--portrait-container h1 {
  font-family: 'Norwester', sans-serif;
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 4rem;
  color: var(--blankc);
  z-index: 10;
}


/* 2.1.2 Social Icons */
.social-icons {
  display: flex;
  justify-content: center; /* Centra los iconos horizontalmente */
  align-items: center; /* Centra los iconos verticalmente */
  height: 55px;
  width: 100%; /* Asegúrate de que el contenedor ocupe el 100% del ancho disponible */
  margin: 16px auto; /* Centra el contenedor dentro de su sección padre */
}

.social-icons .social-link1,
.social-icons .social-link2,
.social-icons .social-link3,
.social-icons .social-link4, 
.social-icons .social-link5 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px; /* Asegúrate de que los enlaces tengan suficiente espacio */
  height: 50px; /* Ajusta la altura para que sean círculos perfectos */
  color: whitesmoke;
  font-size: 24px;
  text-decoration: none;
  transition: 0.25s;
  border-radius: 50%; /* Haz que los iconos sean completamente redondos */
  overflow: hidden; /* Evita que el contenido sobresalga */
  z-index: 3;
}

.social-icon img {
  position: absolute;
  display: flex;
  width: 30px;
  height: auto;
  opacity: 1;
  transition: opacity 0.25s;
  z-index: 2;
  padding: 0.25rem;
  cursor: pointer;
  transform: scale(1);
}

.social-icons .social-link3 img{
  position: absolute;
  display: flex;
  width: 18px;
  height: auto;
  opacity: 1;
  transition: opacity 0.25s;
  z-index: 2;
  padding: 0.25rem;
  cursor: pointer;
  transform: scale(1);
}

.social-icon[data-disabled="true"] {
  filter: grayscale(100%) brightness(60%);
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: auto; /* aún escucha el clic */
  position: relative;
  transition: all 0.3s ease;
}

.toast-message {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffc107;
  color: #111;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: fadeInOut 3s forwards;
  z-index: 9999;
  text-align: center;
  max-width: 300px;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
  10% { opacity: 1; transform: translateX(-50%) translateY(0); }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}


.social-icons .social-link1:hover {
  background-color: var(--fraterni-yellow);
  animation: bounce_613 0.4s linear;
}

.social-icons .social-link2:hover {
  background-color:var(--fraterni-yellow);
  animation: bounce_613 0.4s linear;
}

.social-icons .social-link3:hover {
  background-color: var(--fraterni-yellow);
  animation: bounce_613 0.4s linear;
}

.social-icons .social-link4:hover {
  background-color: var(--fraterni-yellow);
  animation: bounce_613 0.4s linear;
}

.social-icons .social-link5:hover {
  background-color: var(--fraterni-yellow);
  animation: bounce_613 0.4s linear;
}

@keyframes bounce_613 {
  40% {
      transform: scale(1.4);
  }

  60% {
      transform: scale(0.8);
  }

  80% {
      transform: scale(1.2);
  }

  100% {
      transform: scale(1);
  }
}

/* Footer Styles */
footer {
  padding-top: 24px;
  background-color: var(--fraterni-green); /* Fondo del footer acorde con la paleta de colores */
  padding: 20px 0;
  text-align: center;
  border-top: 5px solid var(--fraterni-yellow); /* Borde superior acorde al estilo */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* Espaciado entre elementos */
}

.footer-logo img {
  height: 10px; /* Tamaño del logo */
}

.footer-copyright p {
  color: #c7c7c7; /* Color del texto */
  font-size: 1.4rem; /* Tamaño de fuente */
}
