/* ====================================
   GENERAL
==================================== */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  color: #484646;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* ====================================
   HEADER
==================================== */
.header {
  background-color: #52799da8;
  box-shadow: 0 2px 10px rgba(46, 46, 128, 0.756);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  height: 70px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  text-decoration: none;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: #000;
  transition: color 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

.btn-lang {
  background-color: #0e074d;
  color: #f7f6f9;
  border: none;
  padding: 8px 16px;
  font-family: 'Barlow', sans-serif;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-lang:hover {
  background-color: #291c4f;
}


/* ====================================
   HERO — Ahora totalmente responsivo
==================================== */
.hero {
  position: relative;
  background: url('../img/bandera.png') center/cover no-repeat;
  
  /* AJUSTE RESPONSIVO */
  padding: 120px 20px;
  min-height: 400px;       /* No muy alto */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-content h1 {
  font-family: 'Barlow', sans-serif;
  font-size: 58px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 25px;
}

.btn-hero {
  background-color: #0e0438;
  color: #ffffff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-hero:hover {
  background-color: #6d84a0;
  transform: scale(1.05);
}


/* ====================================
   SERVICIOS
==================================== */
.servicios {
  background-color: #fff;
  padding: 0;
  color: #302688;
}

.servicios-top {
  position: relative;
  background: url('../img/mapa.png') center/cover no-repeat;
  padding: 100px 0;
}

.servicios-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(23, 5, 90, 0.365);
}

.servicios-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.servicios-content h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 46px;
  color: #000;
  margin-bottom: 30px;
}

.servicios-content p {
  font-size: 22px;
  color: #ffffff;
  max-width: 950px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-content: center;
  background-color: #fff;
  padding: 80px 0;
}

.servicio-card {
  background-color: #8197AC;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.servicio-card h3 {
  font-family: 'Barlow', sans-serif;
  color: #000;
  font-size: 32px;
  margin-bottom: 15px;
}

.servicio-card p {
  color: #ffffff;
  font-size: 28px;
  line-height: 1.5;
}


/* ====================================
   POR QUÉ SNIPER
==================================== */
.porque-sniper {
  background-color: #ffffff;
  padding: 100px 0;
  text-align: center;
}

.porque-sniper-content h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 68px;
  color: #314B6E;
  margin-bottom: 20px;
}

.porque-text {
  font-size: 30px; 
  color: #000000;
  max-width: 950px;
  margin: 0 auto 60px;
  line-height: 1.5;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.porque-card {
  background-color: #314B6E;
  color: #ffffff;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
}

.porque-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.porque-card h3 {
  color: #BDB3A3;
  font-size: 32px;
  margin-bottom: 15px;
}

.porque-card p {
  font-size: 28px;
  line-height: 1.5;
}


/* ====================================
   FAQ
==================================== */
.faq {
  background-color: #f5f7fa;
  padding: 100px 0;
}

.faq-content h2 {
  text-align: center;
  font-size: 56px;
  color: #314B6E;
  margin-bottom: 60px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item {
  background-color: #314B6E;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.20);
  transition: all 0.4s ease;
  cursor: pointer;
}

.faq-question {
  font-size: 28px;
  color: #BDB3A3;
}

.faq-answer {
  font-size: 22px;
  color: #ffffff;
  max-height: 0;
  overflow: hidden;
  line-height: 1.5;
  transition: max-height 0.4s ease-in-out, padding-top 0.3s ease;
}

.faq-item:hover .faq-answer {
  max-height: 300px;
  padding-top: 15px;
}

.faq-item:hover {
  transform: translateY(-8px);
}


/* ====================================
   FOOTER
==================================== */
.footer {
  background-color: #05264d;
  color: white;
  padding: 50px 0 30px;
  position: relative;
  margin-top: 80px;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-column {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-column a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.footer-bottom {
  text-align: center;
  width: 100%;
  margin-top: 25px;
  font-size: 14px;
}

.go-top-btn {
  position: absolute;
  right: 40px;
  top: 40px;
  background-color: #d7d7c8;
  color: #05264d;
  padding: 10px 12px;
  font-size: 18px;
  border-radius: 50%;
  text-decoration: none;
}


/* ====================================
   PAYMENTS PAGE
==================================== */
.payment-section {
  padding: 80px 0;
  text-align: center;
}

.payment-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.payment-text {
  font-size: 18px;
  margin-bottom: 30px;
}

#paypal-button-container {
  width: 100%;
  max-width: 350px;
  margin: auto;
}


/* ====================================
   CONTACT PAGE
==================================== */
.contact-section {
  padding: 80px 0;
  text-align: center;
}

.contact-title {
  font-size: 36px;
  margin-bottom: 10px;
}

.contact-text {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  max-width: 600px;
  margin: auto;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgb(42, 8, 110);
}

/* === CONTACT FORM — Inputs más bonitos === */

.contact-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.contact-form label {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #0e2c4d;
  margin-bottom: 8px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid #b8b8b8;
  background-color: #f8f9fb;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #52799d;
  box-shadow: 0 0 6px rgba(82, 121, 157, 0.4);
  outline: none;
}

/* === Botón del formulario === */

.btn-form {
  width: 100%;
  padding: 14px;
  background: #0e074d;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-form:hover {
  background-color: #291c4f;
  transform: translateY(-2px);
}


/* ====================================
   GRACIAS PAGE
==================================== */
.gracias-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}

.gracias-box {
  max-width: 600px;
  text-align: center;
  background: #ffffff10; 
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.gracias-box h1 {
  color: #0a3d8c;
  margin-bottom: 20px;
  font-size: 2rem;
}

.btn-primary {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: #084aad;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #063a88;
}


/* ====================================
   INFO BOX (PAGOS)
==================================== */
.info-box {
  background: #102a46;
  color: #ffffff;
  padding: 20px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgb(19, 19, 19);
  margin: 30px auto;
  max-width: 750px;
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
  animation: fadeSlideIn 0.9s ease forwards;
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: #00d4ff;
  animation: slideBar 1.6s ease forwards;
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideBar {
  0% { left: -100%; }
  100% { left: 0; }
}

/* ===============================
   RESPONSIVE GLOBAL FIX
================================ */

@media (max-width: 768px) {

  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 28px !important;
  }

  h3 {
    font-size: 22px !important;
  }

  p {
    font-size: 16px !important;
  }

  .servicios-grid,
  .porque-grid,
  .faq-grid {
    grid-template-columns: 1fr !important;
  }

  .hero {
    padding: 80px 20px;
    min-height: auto;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

.contact-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.contact-form label {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #0e2c4d;
  margin-bottom: 8px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid #b8b8b8;
  background-color: #f8f9fb;
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #52799d;
  box-shadow: 0 0 6px rgba(82, 121, 157, 0.4);
  outline: none;
}

.btn-form {
  width: 100%;
  padding: 14px;
  background: #0e074d;
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'Barlow', sans-serif;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-form:hover {
  background-color: #291c4f;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 20px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center; 
    gap: 15px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%; 
    text-align: center;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: center; 
    gap: 15px;
  }

  .nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%; 
    text-align: center;
  }

  .nav li {
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
  }

  @media (max-width: 768px) {

  .nav {
    width: 100%;
  }

  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;   
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .nav ul li {
    list-style: none;
    width: 100%;           
    text-align: center;
  }

  .nav ul li a {
    display: block;        
    width: 100%;
    padding: 12px 0;
    margin: 0;
    text-align: center;
  }

}

.header .nav-container {
  margin: 0 auto;        
}

@media (max-width: 768px) {
  .header .nav-container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}
}

