body, html {
  margin: 0;
  padding: 0;
  font-family: 'Onest', 'Baskervville', sans-serif;
  color: #fff;
  background-color: #030537;
}

.reveal-up {
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 1.2s cubic-bezier(.77,0,.18,1), transform 1.4s cubic-bezier(.77,0,.18,1);
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* NAVBAR*/ 
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 8%;
  background: #030537; 
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  padding: 10px 40px;
  z-index: 999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.navbar img {
  align-items: center;
  margin-top: 5px;
  cursor: pointer;
}

.navbar img:hover {
  transform: scale(1.04);
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: flex-start;
  margin-right: 80px;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 20px;
  font-family: 'Onest', sans-serif;
  font-weight: 100;
}

.nav-links a:hover {
  color: #fff;
  background-color: #E55739;
  border-color: #E55739;
  transform: scale(1.04);
  cursor: pointer;
}

/* LOGO */
.logo {
  text-decoration: none;
  color: #fff;
  padding: 5px 10px;
  transition: color 0.3s ease;
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.logo:hover {
  transform: scale(1.04);
}

/* HOME */
.hero {
  height: 100vh; 
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding-top: 60px;
  margin: 0 auto;
  box-sizing: border-box;
  background:
    radial-gradient(
      circle at top left,
      rgba(70, 90, 255, 0.651),
      transparent 50%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(229, 87, 57, 1),
      transparent 45%
    ),
    #030537;
  
}

.hero img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* SECCION ABOUT INDIGO */
.about-section {
  text-align: start;
  background-color: rgb(229, 87, 57, 1.3);
  scroll-margin-top: 80px;
  padding-bottom: 190px;
}

.about-section h1 {
  margin: 0 auto;
  padding-top: 150px;
  text-align: center;
  font-size: 60px;
  font-weight: 300;
  font-family: 'Baskervville', serif;
  color: #FFF;
  max-width: 75rem;
  width: 80%;
}

.about-section p {
  margin: 1.875rem auto;
  max-width: 75rem;
  width: 80%;
  font-size: 1.3825rem;
  font-weight: 100;
  font-family: 'Baskervville', serif;
  font-size: 32px;
  color: #fff;
}

.about-section .cursiva {
  font-style: italic;
  color: #fff;
}

.about-section .marcado {
  font-weight: bold;
}

.about-foto {
  margin: 60px auto 60px;
  text-align: center;
}

.about-foto img {
  width: 360px;            
  height: 360px;           
  border-radius: 50%;      
  object-fit: cover;
}

.caption-foto {
  margin: 10px auto;
  text-align: center;
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  font-family: 'Onest', sans-serif;
}

/* SECCION DE PILARES */
.pilares-section {
  text-align: center;
  scroll-margin-top: 70px; 
  padding: 60px 20px 280px;
  background:
    radial-gradient(
    ellipse 100% 90% at top center, 
    rgba(229,87,57,1) 50%, 
    transparent 75%),
    #F5A43A;
}

    .pilares-section h1 {
      font-size: 44px;
      margin: 3.375rem auto 3.375rem;
      max-width: 70%;
      font-weight: 200;
      font-family: 'Onest', sans-serif;
      color: #fff;
    }

.pilares-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 80%;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}

.pilares-box {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 3px solid #fff;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.pilares-box p {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Baskervville', serif;
  font-style: italic;
  color: #DF320D;
  padding: 20px;
  text-align: center;
}

.pilares-box:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

/* SECCION DE OFFERING */
.offering-section { 
  text-align: center; 
  padding: 60px 20px; 
  scroll-margin-top: 80px; 
  background:
    radial-gradient(
    ellipse 100% 100% at top center, 
    rgba(70, 90, 255, 0.651), 
    transparent 80%),
    #030537;
} 

.offering-container {
  display: grid;
  grid-template-columns: 1fr 1fr;   
  gap: 45px;
  width: 80%;                        
  margin: 0 auto;
  justify-items: center;
}

.offering-box {
  width: 90%;                         
  max-width: 800px;                   
  padding: 20px 15px;
  background-color: #FFF;
  border-radius: 20px;
  text-align: center;
}

.offering-box-aparte {
  width: 90%;                         
  max-width: 800px;                   
  padding: 20px 15px;
  background-color: #FFF;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  margin: 45px auto 50px;
}

.offering-box:hover { 
  transform: scale(1.02); 
  transition: transform 0.2s ease-in-out; 
}

.offering-box-aparte:hover { 
  transform: scale(1.02); 
  transition: transform 0.2s ease-in-out; 
}

.offering-info h3 { 
  font-size: 24px; 
  color: #000; 
  margin-bottom: 30px; 
  margin-left: 10px;
  width: 95%;
  font-family: 'baskervville', serif;
  font-weight: 700;
  text-align: start;
}

.offering-info p {
  font-size: 16px;
  color: #000;
  margin-top: 5px;
  margin-left: 10px;
  width: 90%;
  font-family: 'Onest', sans-serif;
  font-weight: 200;
  text-align: start;
}

.offering-info span {
  color: #fff;
}

.offering-section h1 {
  font-size: 84px;
  font-family: 'Baskervville', serif;
  font-weight: 100;
  font-style: italic;
  color: #fff;
  width: 65%;
  margin: 0 auto 90px;
}

/* SECCION CLIENTES */
.clientes-section {
  display: flex;
  flex-wrap: nowrap;
  scroll-margin-top: 93px;
  background:
    radial-gradient(
      ellipse 100% 90% at top center,
      rgba(229,87,57,1) 50%,
      transparent 75%
    ),
    #F5A43A;
}

.clientes-container {
  width: 50%;
  padding: 30px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.clientes-container h1 {
  font-size: 50px;
  font-family: 'Baskervville', serif;
  font-style: italic;
  color: #030537;
}

.clientes-logos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  width: 100%;
}

.clientes-logos-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clientes-logos-box img {
  max-width: 80%;
  object-fit: contain;
}

.clientes-logos-box img:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/* VIDEOS */
.clientes-videos {
  width: 50%;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-video {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 16px;
}

.carousel {
  position: relative;
  width: 500px;
  height: 800px;
}

.video-slide {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-slide.active {
  opacity: 1;
  pointer-events: auto;
  display: block;
}

.video-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expand-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 60;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.expand-btn:hover { transform: scale(1.05); }

/* BOTONES */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 90px;
  border-radius: 5%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 32px;
  border: none;
  cursor: pointer;
}

.carousel-btn.prev {
  left: -40px;
}

.carousel-btn.next {
  right: -40px;
}

/* SEPARADOR */
.borde{
    width: 80%;
    height: 2px;
    background-color: #000;
    margin: 0 auto;
}

.borde-derechos{
    width: 60%;
    height: 2px;
    background-color: #FFF;
    margin: 0 auto;
}

/* SECCION CONTACTO */
.contacto-section {
    text-align: center;
    color: #E6E6E6;
    font-size: smaller;
    padding-bottom: 40px;
    padding-top: 20px;
    background:
    radial-gradient(
      circle at bottom left,
      rgba(70, 90, 255, 0.65),
      transparent 50%
    ),
    radial-gradient(
      circle at top right,
      rgba(229, 87, 57, 1),
      transparent 50%
    ),
    #030537;
}

.contacto-section h1{
    font-size: 54px;
    font-family: 'Baskervville', serif;
    font-style: italic;
    font-weight: 100;
    margin-bottom: 5px;
    margin-right: 15px;
    margin-top: 70px;
    text-align: center;
    color: #FFFFFF;
}

.resaltado{
    color: #FFFFFF;
    font-weight: bold;
}

.iconos-contacto {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
    margin-bottom: 30px;
}

.iconos-contacto a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 40px;
}

.contacto-section img {
    max-width: 90%;
    height: auto;
    transition: transform 0.2s ease-in-out;
}

.contacto-section img:hover{
    transform: scale(1.2);
}

.contacto-section p {
    margin-top: 30px;
    font-size: 16px;
    color: #fff;
    font-family: 'Onest', sans-serif;
    font-weight: 200;
}

/* CONTENEDOR DEL FORMULARIO */
.left-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 40%;
    margin: 70px auto 30px;
}

.inputs {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #242325;
    color: #fff;
    transition: border-color 0.3s ease;
    font-family: 'Onest', sans-serif;
}

/* BOTÓN */
.message-button{
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 40px;
    border-radius: 15px;
    color: #fff;
    border: 2px solid #ccc;
    background-color: #242325;
    width: 140px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 5px;
    margin-bottom: 30px;
    font-family: 'Onest', sans-serif;
}

.message-button:hover {
    background-color: #E55739;
    color: #fff;
    transform: scale(1.04);
}

/* MODAL DE VIDEO */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal.active {
  display: flex;
}

.video-modal video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.inputs:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #242325 inset !important;
  box-shadow: 0 0 0 1000px #242325 inset !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  background-color: #242325 !important;
  transition: background-color 5000s ease-in-out 0s;
}

body::-webkit-scrollbar {
  width: 10px;
  background: #030537; 
}

body::-webkit-scrollbar-track {
  background: #030537;
}

body::-webkit-scrollbar-thumb {
  background: #E55739;
  border-radius: 8px;
}

body.no-scroll {
  overflow: hidden;
  height: 100%;
}

video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

/* ==========================
   responsive styles
   ========================== */

/* Utilidades generales */
.hero img, .clientes-logos-box img, .contacto-section img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 1024px) {
  .nav-links { gap: 16px; margin-right: 40px; }
  .hero img { max-width: 85%; margin: 0 auto; }
  .about-foto img { width: 300px; height: 300px; margin-right: 90px; }
  .about-section h1 { font-size: 48px; width: 90%; }
  .about-section p { font-size: 24px; width: 90%; }
  .offering-section h1 { font-size: 64px; width: 85%; }
  .offering-container { gap: 30px; }
  .clientes-container h1 { font-size: 42px; }
  .carousel { width: 420px; height: 640px; }
}

@media (max-width: 900px) {

  .pilares-section h1 { font-size: 24px; margin: 1.5rem auto; }

  .nav-links { display: none; }

  .navbar { padding: 10px 20px; height: auto; }

  .hero { padding-top: 100px; justify-content: center; min-height: 80vh; }
  .hero > div { display: flex; flex-direction: column; align-items: center; }
  .hero img { max-width: 360px; width: 80%; margin: 0 auto; }

  .pilares-logos { grid-template-columns: repeat(2, 1fr); gap: 18px; width: 90%; }
  .pilares-box { width: 200px; height: 200px; }
  .pilares-box p { font-size: 18px; padding: 12px; }
  .pilares-section { padding-bottom: 50px; }

  .about-foto { margin-left: 0; margin-top: 25px; margin-bottom: 10px; }
  .about-foto img { width: 260px; height: 260px; }
  .about-section { padding-bottom: 80px; }

  .offering-section { padding: 40px 0; }
  .offering-container { grid-template-columns: 1fr; width: 100%; margin: 0; gap: 20px; padding: 0 24px; box-sizing: border-box; }
  .offering-box { width: 100%; max-width: 100%; margin: 0; padding: 4px 10px; }
  .offering-box-aparte { width: 89%; max-width: 100%; margin: 18px auto !important; padding: 4px 10px; }

  .clientes-section { flex-direction: column; }
  .clientes-container, .clientes-videos { width: 100%; padding: 20px; box-sizing: border-box; }
  .clientes-container h1 { text-align: center; }
  .clientes-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; width: 100%; padding: 0 8px; box-sizing: border-box; }
  .clientes-logos-box { max-width: 160px; margin: 0 auto; }
  .clientes-logos-box img { max-width: 100%; }

  .clientes-videos { display: flex; align-items: center; justify-content: center; width: 100%; }
  .carousel { position: relative; width: 100%; max-width: 100%; height: auto; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
  .video-slide { position: relative; display: none; width: 100%; margin: 0; padding: 0; }
  .video-slide.active { display: block; }
  .video-slide video, .cliente-video { width: 100%; height: 480px; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 12px; display: block; }
  .expand-btn { display: none;}

  .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 50px; border-radius: 6px; font-size: 24px; background: rgba(0, 0, 0, 0.5); border: none; color: white; cursor: pointer; z-index: 10; }
  .carousel-btn.prev { left: -14px; }
  .carousel-btn.next { right: -14px; }

  .contacto-section { padding-bottom: 30px; } 
  .contacto-section p { width: 80%; margin: 30px auto; }

  .left-form { max-width: 80%; }
  .message-button { width: 130px; font-size: 16px; line-height: 38px; }

}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .about-foto img { width: 200px; height: 200px; margin: auto; margin-top: 20px; }
  .caption-foto { font-size: 12px; margin-bottom: 60px; }
  .about-section h1 { font-size: 34px; padding-top: 90px; }
  .about-section p { font-size: 18px; }
  .pilares-box { width: 150px; height: 150px; margin: 0 auto; }
  .pilares-box p { font-size: 16px; }
  .pilares-logos { grid-template-columns: repeat(2, 1fr); }
  .offering-section h1 { font-size: 36px; width: 95%; margin-bottom: 40px; }
  .offering-info h3 { font-size: 18px; margin-bottom: 15px;}
  .offering-info p { font-size: 13px; }
  .clientes-logos { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contacto-section h1 { font-size: 36px; }
  .iconos-contacto a { width: 44px; height: 44px; margin: 0 8px; }
  .video-modal video { max-width: 98%; max-height: 80%; }
  .left-form { max-width: 95%; }

  .inputs { font-size: 15px; padding: 10px 12px; }

  .message-button { width: 120px; font-size: 15px; line-height: 36px; }
}


