/* Paleta de colores*/
:root{
  --bg-dark: ;
  --gray-light: #E6E6E6;
  --brand: #14316A;
  --white: #FFFFFF;
  --black: #000000;
  --accent: #30B3C7;
  --deep: #1C2A4A;

  --max-width: 1100px;
  --radius: 12px;
  --gap: 18px;
  --transition: 200ms ease;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  background-color: #1A2635;
  color: #E6E6E6;
  font-family: 'Poppins', sans-serif;
}

.site-header {
  position: fixed;       /* fijo arriba de todo */
  top: 0;
  left: 0;
  width: 100%;           /* ocupa todo el ancho */
  z-index: 9999;         /* encima de todo */
  background: radial-gradient(circle at center, #1C2A4A 0%, #1a253b 60%, #1A2635 100%);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  color: #E6E6E6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body, main {
  padding-top: 70px; 
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  
  background: radial-gradient(circle at center, #1A2635 0%, #1C2A4A 80%, #1A2635 100%);
  color:var(--gray-light);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-size:16px;
  line-height:1.4;
}




.container {
  width: calc(100% - 32px);
  max-width: min(95vw, 1400px);
  margin: 0 auto;
  padding: 10px 16px;
}

.logo {
  height: 150px;
  width: auto;
  display: block;
}

.inicio {
  height: 300px;
  width: 250px;
  display: block;
}

/* === EFECTOS HOVER === */

/* Botones generales */
button, .btn {
  transition: all 0.3s ease;
  transform: scale(1);
}

button:hover, .btn:hover {
  background-color: #30B3C7; /* azul turquesa */
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(48, 179, 199, 0.4);
}

/* Imágenes o cards */
img, .card, .image-container {
  transition: all 0.4s ease;
  transform: scale(1);
}

img:hover, .card:hover, .image-container:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  border-radius: 10px;
}

/* Pequeño efecto para enlaces tipo botón */
a.btn, a.button {
  transition: all 0.3s ease;
}

a.btn:hover, a.button:hover {
  background-color: #1C2A4A;
  color: #E6E6E6;
  transform: scale(1.05);
}


hr {
  border: none;
  height: 3px;
  width: 80%;
  margin: 50px auto;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    #1C2A4A 0%,
    #30B3C7 50%,
    #1C2A4A 100%
  );
  opacity: 0.8;
}



/*NOSOTROS */
.servicios .accent{
  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}
.nosotros-inner {
  margin-top: -200px;
}

.nosotros-inner .accent{
  text-align: center;
  font-size:3.0rem; 
  margin:0 0 12px; 
  color:linear-gradient(to bottom,  #30B3C7 80%, #E6E6E6 20%)};





/* Header */
.site-header{background:transparent; 
  position:sticky; 
  top:0; 
  z-index:40; 
  backdrop-filter: blur(6px);
}


.header-inner{display:flex; 
  align-items:center; 
  justify-content:space-between; 
  gap:var(--gap)
}


.brand{
  color:var(--white); 
  font-weight:700;
   font-size:1.1rem;
    text-decoration:none;
}


.menu-btn{display:none;
   background:none;
    border:0; 
    color:var(--gray-light);
     font-size:1.3rem; 
     cursor:pointer;
    }



/* Nav */
.nav{display:flex; 
  align-items:center;
   gap:14px}
.nav a{color:var(--gray-light);
   text-decoration:none; 
   padding:8px 10px;
    border-radius:8px; 
    transition:var(--transition)
  }

.nav a:hover{background:rgba(255,255,255,0.03)
}


/* Buttons */
.btn{
  font-weight:600; 
  padding:12px 28px;
   border-radius:30px;
    cursor:pointer; 
    border:none;
     background:transparent; 
     color:var(--gray-light);
     transition: all 0.3 ease;
    }

.btn.primary{
  background: #30B3C7;
  color: #FFFFFF;
}

.btn.primary:hover {
  background: #1C2A4A;
  color: #FFFFFF;
  transform: scale(1.05);
}

.btn.secondary {
  background: transparent;
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
}

.btn.secondary:hover{
  background: #30B3C7;
  color: #FFFFFF;
  transform: scale(1.05);
}


.btn.outline{
  border:1px solid rgba(230,230,230,0.08)
}


/* Hero */
.hero {
  background: linear-gradient(circle at center, #1C2A4A 0%, #1A2635 100%);
  padding: 100px 0;
  color: #E6E6E6;
}

.hero-inner{display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:10px; 
  align-items:center}

  .hero h1 {
  font-size: 3.8rem;
  color: #FFFFFF;
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 800;
}

.hero .accent {
  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}

.hero .accent::after {
  
  display: inline-block;
  width: 100%;
  height: 100%;
  filter: blur(6px);
  opacity: 0.2;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(230, 230, 230, 0.9);
  max-width: 500px;
}

.badge {
  display: inline-block;
  background: rgba(48, 179, 199, 0.15);
  color: #30B3C7;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.hero-buttons {
  margin-top: 25px;
}


.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.hero-stats .stat h2 {
  font-size: 2.4rem;
  color: #30B3C7;
  margin: 0;
}

.stat p {
  margin: 0;
  color: rgba(230, 230, 230, 0.85);
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.03);
}



/* Mock browser image */
.mock-browser{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); 
  border-radius:12px; 
  padding:14px; 
  border:1px solid rgba(255,255,255,0.03)
}

.mock-browser .bar{height:10px; 
  background:linear-gradient(90deg, rgba(0,0,0,0.08), rgba(255,255,255,0.02)); 
  border-radius:6px; 
  margin-bottom:12px
}

.mock-browser img{width:100%; 
  display:block; 
  border-radius:8px;
}


/* NUESTROS SERVICIOS*/
#features {
  background: radial-gradient(to bottom,  #14316A 80%, #1A2635 20%);
  padding: 200px;
  margin-top: -50px;
}


/* Sections */
.section{
  padding:60px 0
}

.section.light{
  background:var(--gray-light); 
  color:var(--black); 
  border-radius:14px; 
  margin:20px 0; 
  box-shadow:0 8px 24px rgba(2,6,23,0.6)
}

.section.dark{
  text-align: left;
  background: radial-gradient(to bottom,  #14316A 80%, #1A2635 20%);
  margin:20px 0; 
  border-radius:12px; 
  padding:40px
}
.section.dark span{
  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Cards */
.cards{
  display:grid; 
  grid-template-columns:repeat(3,2fr); 
  gap:20px; 
  margin-top:0px
}

.card{
  background:linear-gradient(180deg, #1C2A4A, #1A2635); 
  padding:20px; 
  border-radius:20px; 
  border:1px solid #a8b8c6;
}

.icon i{
  font-size: 2rem;
  color: #40e0d0;
  margin-bottom: 10px;
}





/* Proyectos*/
.galeria-proyectos {
  text-align: center;
  padding: 60px 5%;
  background: radial-gradient(to bottom,  #14316A 80%, #1A2635 20%);
  color: #fff;
}

.galeria-proyectos h2 {
  font-size: 2.5rem;
}

.galeria-proyectos .accent {
  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}


.grid-proyectos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.proyecto {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.proyecto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.proyecto:hover img {
  transform: scale(1.1);
}

.proyecto .info {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  text-align: center;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

#cerrar {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

#nav span {
  color: white;
  font-size: 50px;
  cursor: pointer;
  user-select: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

#prev { left: 30px; }
#next { right: 30px; }

.modal.show {
  display: flex;
}


/* sobre nosotros*/
.sobre-nosotros {
  background: linear-gradient(140deg,  #1a253b 0%, #1A2635 100%);
  color: #fff;
  padding: 80px 0%;
  display: flex;
  justify-content: center;
}

.container-nosotros {
  max-width: 1300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* ===== Columna Izquierda ===== */
.izquierda h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.izquierda h2 span {
  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;
}

.izquierda p {
  color: #b0bec5;
  line-height: 1.6;
  margin-bottom: 50px;
}

/* Grid de valores */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.valor {
  background: #0e223d;
  border: 1px solid rgba(64, 224, 208, 0.15);
  border-radius: 15px;
  padding: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(64, 224, 208, 0);
}

.valor i {
  font-size: 2rem;
  color: #40e0d0;
  margin-bottom: 10px;
}

.valor h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.valor p {
  color: #a8b8c6;
  font-size: 0.95rem;
}

/* Efecto hover */
.valor:hover {
  transform: translateY(-5px);
  border-color: #40e0d0;
  box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
}

/* ===== Columna Derecha ===== */
.imagen-nosotros {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 0px rgba(64, 224, 208, 0.15);
  transition: all 0.3s ease;
}

.imagen-nosotros img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.imagen-nosotros:hover img {
  transform: scale(1.05);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.stat {
  flex: 1;
  background: #0e223d;
  border: 1px solid rgba(64, 224, 208, 0.15);
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(64, 224, 208, 0);
}

.stat h3 {
  color: #40e0d0;
  font-size: 2rem;
  margin-bottom: 5px;
}

.stat p {
  color: #b0bec5;
  font-size: 0.95rem;
}

/* Hover efecto */
.stat:hover {
  border-color: #40e0d0;
  box-shadow: 0 0 15px rgba(64, 224, 208, 0.5);
  transform: scale(1.05);
}

/* ===== Responsivo ===== */
@media (max-width: 992px) {
  .container-nosotros {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }
}

/* ===== Contact Section ===== */
.contact-section {
  padding: 100px 0;
  background: radial-gradient(to bottom,  #000000 80%, #1A2635 20%);
  color: #E6E6E6;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.4rem;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.contact-section span {

  background: linear-gradient(90deg, #30B3C7 0%, #E6E6E6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: 1px;

}

.contact-section p {
  color: rgba(230, 230, 230, 0.8);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #30B3C7;
  background: rgba(255,255,255,0.1);
}

/* Botón principal */
.contact-form .btn.primary {
  background: linear-gradient(90deg, #30B3C7 0%, #1EE3CF 100%);
  color: #1C2A4A;
  font-weight: 700;
  padding: 14px 22px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .btn.primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(48, 179, 199, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 0;
  }
}



/* Form */
.form{display:block; gap:12px}
.form-row{display:flex; gap:12px; margin-bottom:12px}
.form input, .form textarea{width:100%; padding:10px; border-radius:8px; border:1px solid rgba(255,255,255,0.06); background:transparent; color:var(--gray-light)}
.form input::placeholder, .form textarea::placeholder{color:rgba(230,230,230,0.6)}
.form-actions{display:flex; gap:10px; margin-top:12px}
.form-status{margin-top:10px; color:var(--accent)}



/* ==== FOOTER ==== */
.site-footer {
  background: radial-gradient(circle at center, #1C2A4A 0%, #0F1B2A 60%, #0F1B2E 100%);
  color: rgba(240,240,240,0.9);
  padding: 60px 20px 20px;
  margin-top: 60px;
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img.footer-logo {
  width: 120px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 6px rgba(48,179,199,0.5));
}

.footer-brand p {
  color: rgba(220,220,220,0.8);
  line-height: 1.6;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: #30B3C7;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: rgba(240,240,240,0.8);
  text-decoration: none;
  margin: 6px 0;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: #30B3C7;
  transform: translateX(5px);
}

.footer-contact p {
  margin: 6px 0;
  color: rgba(230,230,230,0.85);
}

.footer-contact i {
  margin-right: 8px;
  color: #30B3C7;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: rgba(240,240,240,0.8);
  font-size: 1.3rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #30B3C7;
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 15px;
  color: rgba(200,200,200,0.7);
  font-size: 0.85rem;
}


/* Responsive */
@media (max-width:900px){
  .hero-inner{
    grid-template-columns:1fr; 
    text-align:center
  }

  .hero-stats{
    justify-content: center;
  }

  .hero-image {
    margin-top: 30px;
  }

  .hero-media{
    order:2
  }

  .hero-copy{
    order:1
  }

  .cards{
    grid-template-columns:repeat(2,1fr
    )}

  .pricing-grid{grid-template-columns:repeat(1,1fr)}

  .form-row{flex-direction:column}

  .nav{display:none}

  .menu-btn{display:block}

}
/* RESPONSIVE CARDS */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}


@media (max-width:480px){
  .hero h1{font-size:1.6rem}
  .cards{grid-template-columns:1fr}
}
