/* =========================
   RESETEO GLOBAL
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background-color: #0b1d2a;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* =========================
   HEADER
   ========================= */
header.header {
  position: fixed;              /* se mantiene visible al hacer scroll */
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;                 /* controla la altura */
  background-color: #061426;
  /* background: linear-gradient(90deg, #103159, #224c82); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 1000;                /* se asegura de estar encima del contenido */
  padding: 0;                   /* elimina crecimiento extra */
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  background: transparent;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: contain;
  filter: drop-shadow(0 0 4px #00b4d8);
}

.logo img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px #00b4d8);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #00b4d8;
}

.lang-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
}

.lang-switcher button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.lang-switcher button img {
  width: 28px;
  height: auto;
  border-radius: 4px;
}

.lang-switcher button:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
  position: relative;
  background: url('../assets/img/bg-lock.png') center / cover no-repeat;
  background-size: cover;
  background-color: #0b0a0a;
  color: #ffffff;
  text-align: center;
  padding: 120px 20px;
  min-height: 100vh;
  width: 100%;
  margin-top: 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* ajusta intensidad */
  z-index: 1;
}

.hero * {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.btn {
  background-color: #1DB9A0;
  color: #0A2540;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover {
  background-color: #17a08a;
  transform: translateY(-2px);
}

/* =========================
   SERVICES
   ========================= */
.services {
  background-color: #071b2f;
  padding: 100px 0;
}

.services h3 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: #0A2540;
  padding: 35px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card h4 {
  color: #1DB9A0;
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 10px;
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon img {

  width: 40%;
  height: 40%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(29, 185, 160, 0.6));
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon img {
  transform: scale(2.1);
}

/* =========================
   CONTACT PAGE
   ========================= */
.contact {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a1f33, #081a2b);
}

.contact h3 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form textarea {
  grid-column: span 2;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  width: 100%;
}

.contact-form .btn {
  grid-column: span 2;
  justify-self: center;
  margin-top: 1rem;
  background: #1abc9c;
  color: #002b36;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
}

/* =========================
   PRICING
   ========================= */
.pricing,
.cta {
  padding: 6rem 0;
  text-align: center;
  background: #071b2f;
}

.cta .btn {
  margin-top: 2rem;
}

.cta a.btn {
  display: inline-block;
}

h2 span[data-lang],
p span[data-lang] {
  display: block;
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background-color: #061426;
  padding: 30px 0 10px;
  color: #ffffff;
}

.footer-container {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.5;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 25px;
  padding: 15px 0 5px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.6;
  margin: 0;
}

.footer img {
  max-height: 40px;             /* se ve grande sin romper el header */
  width: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: contain;
  filter: drop-shadow(0 0 4px #00b4d8);
}

.footer img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px #00b4d8);
}

/* =========================
   THANK YOU PAGE
   ========================= */
.thank-you {
  min-height: 100vh;
  background: linear-gradient(135deg, #071b2f, #0a2540);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.thank-you h1 {
  font-size: 40px;
  margin-bottom: 20px;
  color: #1DB9A0;
}

.thank-you p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero h2 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
}