@charset "UTF-8";

/* RESET + BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Gistesy';
  src: url('../assets/fonts/Gistesy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sifonn Pro';
  src: url('../assets/fonts/SIFONN_PRO.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
	
	
}


body {
  font-family: 'Sifonn Pro', sans-serif;
  background-color: #fff;
  color: #222;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.3s ease;
}

.logo {
  height: auto;
  max-height: 70px;
  width: auto;
}

.cta-btn {
  background: #D6423D;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-color: #0a1f38;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  z-index: -1;
}

.hero-sidebar-text {
  position: absolute;
  top: 150px;
  left: 10px;
  writing-mode: vertical-rl;
  font-family: 'Poppins Thin', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  letter-spacing: 0.2rem;
  z-index: 2;
}

.hero-text-block {
  position: absolute;
  bottom: 6%;
  left: 5%;
  max-width: 600px;
  color: white;
  z-index: 2;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.hero-title {
  font-size: 3rem;
  font-family: 'Poppins Black', sans-serif;
  font-weight: 800;
  line-height: 1.2;
}

.hero-sub {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  margin-top: 0.5rem;
  font-weight: 400;
}

.hero-desc {
  font-size: 1.2rem;
  font-family: 'Poppins Thin', sans-serif;
}
/* SERVICIOS */
.servicios {
  background: #104A77;
  padding: 4rem 2rem;
  text-align: center;
}

.servicios h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
	
}

.card {
  max-width: 300px;
  color: white;
	 font-family: 'Poppins', sans-serif;
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
	
}

/* OTROS SERVICIOS */
.otros-servicios {
  background: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
}

.red-title {
  color: #D6423D;
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
}

.otros-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  font-family: 'Poppins', sans-serif;
}

.col {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
}

.col h3 {
  color: #D6423D;
  margin-bottom: 0.5rem;
  font-family: 'Poppins', sans-serif;
}

.col p {
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
}

/* Center the laptop column */
.laptop-center {
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Laptop container */
.laptop {
  width: 320px;
  margin: 0 auto;
  background: transparent;
}

/* Screen with bezels */
.laptop-screen {
  background: #111;
  border-radius: 18px 18px 0 0;
  padding: 12px;
  border: 8px solid #333;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Inner video */
.laptop-video {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.6);
}

/* Bottom keyboard base */
.laptop-base {
  width: 90%;
  height: 14px;
  background: linear-gradient(to bottom, #444, #111);
  margin: 0 auto;
  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.4);
}

/* PLATAFORMAS */
.plataformas {
  padding: 4rem 2rem;
  text-align: center;
}

.plataformas h2 {
  color: #D6423D;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-family: 'Sifonn Pro', sans-serif;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.logos img {
  height: 60px;
  object-fit: contain;
}

/* SOBRE NOSOTROS */
.about {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
  margin-top: 3rem;
  gap: 2rem;
}

.about .left h3 {
  font-size: 2rem;
  font-family: 'Sifonn Pro', sans-serif;
}

.about .right {
  max-width: 600px;
	font-family: 'Poppins medium', sans-serif;
}

.highlight {
  color: #D6423D;
  font-size: 2.6rem;
  font-family: 'Gistesy';
  src: url('../assets/fonts/Gistesy.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* FOOTER */
.footer {
  background: #fff;
  text-align: center;
  padding: 3rem 2rem 1rem;
  border-top: 1px solid #eee;
}

.footer h2 {
  font-size: 2rem;
  color: #D6423D;
  margin-bottom: 1rem;
	font-family: 'Poppins', sans-serif;
}

.cta-outline {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border: 2px solid #D6423D;
  border-radius: 50px;
  color: #D6423D;
  font-weight: bold;
	font-family: 'Poppins', sans-serif;
}

.animated-button {
  animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}
.footer {
  background: #fff;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid #eee;
  font-family: 'Poppins', sans-serif;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content: flex-end;
  gap: 0.3rem;
  font-family: 'Poppins', sans-serif;
}

.footer-left p {
  font-size: 0.95rem;
  color: #444;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1rem;
}

.footer-right h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}


.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-social img {
  height: 28px;
  transition: transform 0.2s;
}

.footer-social img:hover {
  transform: scale(1.1);
}

footer .copyright {
  font-size: 0.75rem;
  color: #999;
}

/* ANIMATIONS */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-50px);
}
.fade-right {
  transform: translateX(50px);
}
.fade-left.active,
.fade-right.active {
  transform: translateX(0);
}

/* Default Desktop Footer */
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .footer-left,
  .footer-right {
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }

  .footer-right h2 {
    font-size: 1.5rem;
    line-height: 1.4;
    padding: 0 1rem;
  }

  .cta-outline {
    font-size: 1rem;
    padding: 0.9rem 1.8rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }

  .footer-social {
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .footer-social img {
    height: 30px;
  }

  footer .copyright {
    font-size: 0.75rem;
    color: #999;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
  }

  .hero-sidebar-text {
    top: 120px;              /* 🟢 Shifted down from 60px to 120px */
    font-size: 0.7rem;
    left: 5px;
    color: white;
    writing-mode: vertical-rl;
    font-family: 'Poppins Thin', sans-serif;
    z-index: 2;
  }

  .hero-text-block {
    position: relative;
    padding: 1rem 1.2rem;
    background: linear-gradient(to bottom, rgba(10,31,56,0.1) 01%, rgba(10,31,56,0.85) 100%);
    z-index: 2;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
	  max-width: 92%;
    margin: 0 auto;
    padding: 0 0.5rem;
  }

  .hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 1.1rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}
