* {
  box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-image: url('https://i.ibb.co/MxQZXPTF/polygon-scatter-haikei-2.png'); /* ← Cambiá esto por tu URL */
    background-size: auto;    /* La imagen cubre toda la pantalla */
    background-repeat: repeat;
    background-position: top-left;
    background-attachment: fixed; /* Hace que la imagen no se mueva al hacer scroll */
    font-family: Arial, sans-serif;
    color: white;
      background-color: rgba(255, 255, 255, 0.75); /* Blanco con 50% opacidad */
  background-blend-mode: lighten;
}

#inicio .container.p-0 {
  margin-left: 0 !important;
}
.video-section {
  position: relative;
  width: 100vw;
  height: 900px;
  overflow: hidden;
  z-index: 0;
}
.video-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  filter: blur(2px);
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  z-index: 1;
  pointer-events: none;
}

.tituloprincipal {
  position: absolute !important;
  top: 30%;
  left: 0; /* Cambiado para alinear al borde izquierdo */
  z-index: 2;
  margin: 0 !important;
  padding: 20px 10%; /* Aumenta el espacio interno */
  width: 100% !important; /* Abarca todo el ancho de la ventana */
   background-color: rgba(229, 231, 233, 0.2);
    backdrop-filter: blur(8px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
  box-sizing: border-box;
}

.caret {
  display: inline-block;
  width: 7px;
  height: 90px;
  background-color: rgba(0, 0, 0, 1);
  animation: blink-caret 1s step-end infinite;
  vertical-align: top;
  margin-top: 29px;
}

@keyframes blink-caret {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: sans-serif;
  color: black;
  z-index: 10;
  opacity: 0.75;
  font-size: 2rem;
}

.scroll-indicator p {
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.75;
}

.arrow-down {
  width: 60px;
  height: 60px;
  animation: bounceArrow 1.8s infinite;
}

@keyframes bounceArrow {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(15px); opacity: 0.4; }
  100% { transform: translateY(0); opacity: 1; }
}

.ssc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  perspective: 1000px;
}

.ssc-col {
  position: relative;
  width: 100%;
  min-height: 300px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  cursor: pointer;
  background-color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 60vh;
}

.ssc-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease;
    transform-style: preserve-3d;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ssc-col:hover .ssc-inner {
  transform: rotateY(180deg);
}

.ssc-front,
.ssc-back {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.ssc-front {
  background-color: white;
  color: black;
  z-index: 2;
}

.ssc-back {
  background-color: black;
  color: white;
  transform: rotateY(180deg);
}

/* Zoom sutil al hacer hover */
.ssc-col:hover {
  transform: scale(1.03);
  transition: transform 1s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Brillo suave animado */
.ssc-col::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(120deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.1) 100%);
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ssc-col:hover::before {
  opacity: 1;
  animation: shine 1s ease forwards;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(25deg);
  }
  100% {
    transform: translateX(100%) rotate(25deg);
  }
}

.hidden {
  display: none !important;
}

.more-info-global {
  padding: 20px;
  background: #111827;
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0,0,0,0.16);
  margin-top: 30px;
  color: #fff;
  opacity: 0;
  transform: translateY(300px) scale(0.98);
  display: none;
  pointer-events: none;
  transition: 
    opacity 0.5s cubic-bezier(.45,0,.55,1),
    transform 1s cubic-bezier(.45,0,.55,1);
}

/* Cuando está visible */
.more-info-global.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  display: block;
  pointer-events: auto;
}


.more-info-global h3 {
  font-size: 2rem;
  color: #fff;
  font-family: Quicksand, Arial, sans-serif;
  margin-bottom: 30px;  
  text-align: center;
  letter-spacing: 0.015em;
  line-height: 1.1;
  /* Sombras modernas: combinación glow + profundidad */
  text-shadow:
    0 2px 12px rgba(56,182,255,0.22),  /* glow celeste sutil */
    0 2px 4px rgba(30,41,59,0.15),      /* profundidad oscura */
    0 1px 0 #38b6ff;                    /* borde clarito abajo */
  font-weight: 800;
  /* Animación sutil al aparecer (opcional, si te gusta) */
  animation: fadeUpIn 0.7s cubic-bezier(.55,1.2,.5,1) both;
}

@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(.95);
  }
  to {
    opacity: 1;
    transform: none;
  }
}


.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-card {
  background: linear-gradient(120deg, #ececec 70%, #e2e8f0 100%);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(30,41,59,0.08), 0 1.5px 6px rgba(56,182,255,0.07);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 150px;
  transition: transform 0.2s cubic-bezier(.4,2,.5,1), box-shadow 0.2s;
  border: 1.5px solid #e0e7ef;
  color: #222;
  position: relative;
  overflow: hidden;
}

.info-card h4 {
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b44;
  letter-spacing: 0.01em;
}

.info-card p {
  font-size: 1rem;
  color: #3b3b3b;
  margin: 0;
  line-height: 1.45;
}

.info-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #38b6ff30 0%, #e2e8f000 80%);
  pointer-events: none;
  z-index: 1;
}

.info-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 40px rgba(56,182,255,0.15), 0 1.5px 6px rgba(56,182,255,0.10);
  border-color: #38b6ff40;
}

/* Responsive para móvil */
@media (max-width: 700px) {
  .info-cards-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.about-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px 0;
}

.profile-card {
    background: #fff;
    padding: 0px;
    padding-bottom: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 350px;
    margin: 25px;}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.profile-card img {
    width: 150px;
    height: 500px;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 0px solid #f0f4f8;
    overflow: hidden;
}

.profile-card h3 {
    font-size: 1.4rem;
    margin: 10px 0 5px;
    color: #333;
}

.profile-card p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 15px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.skills span {
    background-color: #e0f2ff;
    color: #0073e6;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background-color 0.3s, color 0.3s;
}

.skills span:hover {
    background-color: #0073e6;
    color: #fff;
}

.quienes-somos {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
}

.quienes-somos.visible {
  opacity: 1;
  transform: translateY(0);
}


/* 🌐 Fuente global */
body, p, h1, h2, h3, h4, h5, h6, a, li, button {
  font-family: 'Roboto', sans-serif !important;
  color: #333;
}

/* ✅ Botones generales */
button,
input[type="submit"],
.ss-button,
.ss-accordion-btn {
  background-color: #5a8dee;
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 10px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(90, 141, 238, 0.2);
}

button:hover,
input[type="submit"]:hover,
.ss-button:hover {
  background-color: #3a6dde;
  box-shadow: 0 6px 14px rgba(90, 141, 238, 0.3);
}


/* ✅ Enlaces */
a {
  color: #5a8dee;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #3a6dde;
  text-decoration: underline;
}

/* ✅ Títulos */
h1, h2, h3 {
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

/* ✅ Estilo para íconos Font Awesome */
i.fas, i.far, i.fab {
  color: #5a8dee;
}

/*
.btn-consulta:hover {
    background-color: #38b6ff !important;
    color: #ffffff !important;
}
*/

.ssc-form-fields-container .ssc-form-button-full-width {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.ssc-form-fields-container .ssc-form-button-full-width:hover {
    background-color: #38b6ff; /* Fondo celeste */
    color: #ffffff !important; /* Letras blancas */
}


/*Inicio codigo - pie de pagina*/

.footer-custom-background-color.footer-custom-text-color a {
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

.footer-custom-background-color.footer-custom-text-color a:hover {
    background-color: #38b6ff; /* Celeste */
    color: #ffffff !important;
    text-decoration: none;
}
/*Fin codigo - pie de pagina*/

/*AGREGADO POR LEO 30/05*/

/* NAVBAR GENERAL */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  padding: 16px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 0 0 16px 16px;
  font-family: 'Quicksand', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* LOGO */
nav .logo {
  font-size: 24px;
  font-weight: 700;
  color: #38b6ff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

/* MENÚ DE NAVEGACIÓN */
nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* ÍTEMS DEL MENÚ */
nav ul li a {
  text-decoration: none;
  color: #000 !important; /* negro por defecto */
  font-weight: 700;
  font-size: 20px !important;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* HOVER MODERNO */
nav ul li a:hover {
  background-color: #38b6ff;
  color: #fff !important; /* blanco al pasar el cursor */
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(56, 182, 255, 0.3);
}

/* ACTIVO */
nav ul li a.active {
  background-color: #38b6ff;
  color: #fff !important;
  font-weight: 700;
}



/* RESPONSIVE */
@media (max-width: 768px) {

.quienes-somos {
    margin-top: 40px;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li a {
    width: 100%;
  }
}

//NUEVO - RESPONSIVE LEO - 6/6/25

/* 📱 Ajustes generales para pantallas chicas */
@media (max-width: 768px) {

  /* ✅ Secciones generales */
  .section {
    padding: 30px 15px;
  }

  /* ✅ Título principal sobre el video */
  .tituloprincipal {
    top: 15%;
    padding: 20px;
    text-align: center;
  }

  /* ✅ Video más compacto */
  .video-section {
    height: 60vh;
  }

  .video-section video {
    height: 60vh;
  }

  /* ✅ Contenedor tipo grid de servicios */
  .ssc-row {
    grid-template-columns: 1fr; /* una columna en móvil */
    gap: 30px;
  }

  .ssc-col {
    height: auto;
    min-height: auto;
    padding: 20px;
  }

  /* ✅ Sobre nosotros */
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
  }

  .profile-card {
    width: 90%;
    margin: 10px 0;
  }

  /* ✅ Botones y texto */
  button, .ss-button {
    width: 100%;
    font-size: 1rem;
    padding: 12px 16px;
  }

  .ss-accordion-btn {
    font-size: 20px;
    padding: 14px 18px;
  }

  .ss-accordion .content {
    font-size: 16px;
    padding: 14px 16px;
  }

  /* ✅ Navbar móvil (ya lo tenías, lo completamos) */
  nav {
    padding: 12px 20px;
  }

  nav ul {
    gap: 12px;
  }

  nav ul li a {
    font-size: 18px !important;
    padding: 10px 12px;
  }

  /* ✅ Scroll indicator más chico */
  .scroll-indicator {
    font-size: 1.2rem;
    bottom: 20px;
  }

  .arrow-down {
    width: 40px;
    height: 40px;
  }

  /* ✅ Evita desbordes */
  img, video {
    max-width: 100%;
    height: auto;
  }


  form {
    width: 100% !important;
    padding: 20px;
    box-sizing: border-box;
  }

  form input,
  form textarea,
  form select,
  form button {
    width: 100% !important;
    font-size: 1rem;
  }

  .form-group, .form-row, .form-col {
    width: 100% !important;
    display: block !important;
    margin-bottom: 15px;
  }

  .form-row {
    flex-direction: column !important;
  }

/* Título "¿QUIÉNES SOMOS?" */
  [data-ss-rich-heading] h2,
  [data-ss-rich-heading] strong {
    font-size: 28px !important;
    text-align: center !important;
    padding: 0 10px;
  }

  /* Contenedor de las dos cards */
  .about-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 30px !important;
    padding: 0 15px !important;
    margin-top: 20px;
  }

  /* Tarjetas personales */
  .profile-card {
    width: 100% !important;
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .profile-card h3 {
    font-size: 20px !important;
  }

  .profile-card p {
    font-size: 16px !important;
  }

  /* Skills en formato más legible */
  .skills {
    gap: 6px;
    padding: 0 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .skills span {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
  }
  
}