/* GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  color: #f5f5f5;
}
/* Por defecto, oculto TODAS las secciones de página */
.page-section {
  display: none;
}

/* Solo muestro INICIO al cargar la web */
#inicio {
  display: block;
}

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

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  width: 100px; /* Ajustá el tamaño que quieras */
  height: auto; /* Mantiene proporción */
  margin-left: 20px; /* Separación opcional del borde */
  margin-top: 10px;
}
/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 9, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 25px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo-text {
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav a {
  color: #c4c4d0;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4fd0ff, #8a7dff);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
}

.nav a:hover::after {
  width: 60%;
}

/* BOTONES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #4fd0ff, #8a7dff);
  color: #020308;
  box-shadow: 0 0 18px rgba(79, 208, 255, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #f5f5f5;
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* HERO como fondo completo */
.hero {
  position: relative;
  min-height: calc(100vh - 70px); /* 70px es la altura del header */
  display: flex;
  align-items: center;
  padding: 0; /* quitamos el espacio negro de arriba */
  background-image: url("./img/fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* capa oscura encima de la imagen */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

#inicio .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column; /* título, texto, botones uno debajo del otro */
  justify-content: center; /* centra vertical */
  align-items: flex-start; /* si querés a la izquierda; usa center si lo querés al medio */
}
/* Centra la tarjeta dentro de la sección Nosotros */
#nosotros.section {
  display: flex;
  justify-content: center; /* centro horizontal */
  align-items: center; /* centro vertical */
  padding: 40px 20px;
}

#nosotros .text-card {
  max-width: 750px;
  margin: 0 auto;
}

/* contenido (texto) */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  text-align: left;
  margin-left: 40px;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: #e4e4e4;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
h1,
h2,
h3 {
  font-weight: 200;
}
p,
a,
li,
span {
  font-weight: 300;
}
/* SECCIONES */

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* POR QUÉ ELEGIRNOS */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #090b14;
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.card p {
  color: #c2c2d5;
  font-size: 0.95rem;
}
/* SECCIÓN NOSOTROS */
.text-card {
  max-width: 650px;
  padding: 30px 35px;
  background: rgba(0, 0, 0, 0.45); /* fondo oscuro translúcido */
  backdrop-filter: blur(6px); /* efecto moderno */
  border-radius: 18px;
  color: #f5f7fa; /* texto muy claro */
  line-height: 1.6;
  margin-top: 20px;
}

.text-card h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  font-weight: 300; /* fino */
  color: #ffffff;
}

.text-card p {
  font-size: 1.05rem;
  margin-bottom: 12px;
  font-weight: 300;
  color: #e6e6e6;
}

.text-card .btn {
  margin-top: 15px;
}

.about-section {
  padding: 6rem 0;
  background-image: url("./img/ChatGPT\ Image\ Nov\ 19\,\ 2025\,\ 07_56_07\ PM.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #c2c2d5;
}

.about-text p {
  color: #04041b;
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1rem;
}

.about-btn {
  margin-top: 1rem;
}

/* Imagen */
.about-image img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

/* Responsive */
@media (max-width: 900px) {
  .about-wrapper {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }
}

/* SEGURIDAD PRIVADA */
.security-section {
  background: #050509;
  padding: 5rem 0;
}

.security-section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.security-subtitle {
  color: #b9bed0;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1100px; /* ancho máximo del bloque de cards */
  margin: 0 auto 2.5rem; /* centra el grid */
}
.security-card {
  background: radial-gradient(circle at top left, #0b1220, #05070f 60%);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(79, 208, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  max-width: 350px; /* límite para que no se hagan “bandas” gigantes */
  width: 100%;
  margin: 0 auto; /* centra cada card dentro de su columna */
}

.security-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at top,
    rgba(79, 208, 255, 0.25),
    transparent 55%
  );
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.security-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.security-card p {
  color: #c4c7d8;
  font-size: 0.95rem;
}

/* EFECTO HOVER */
.security-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85);
  border-color: rgba(79, 208, 255, 0.55);
}

.security-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.security-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* EMBARCACIONES / NÁUTICA */
.nautica-section {
  background: #03060d;
  padding: 5rem 0;
}

.nautica-section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 0.5rem;
}

.nautica-subtitle {
  color: #b9bed0;
  margin-bottom: 2.5rem;
}

.nautica-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1100px; /* ancho máximo del bloque de cards */
  margin: 0 auto 2.5rem; /* centra el grid */
}

.nautica-card {
  background: radial-gradient(circle at top left, #0b1220, #05070f 60%);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(79, 208, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  max-width: 350px; /* límite para que no se hagan “bandas” gigantes */
  width: 100%;
  margin: 0 auto; /* centra cada card dentro de su columna */
}

.nautica-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(0, 195, 255, 0.2),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nautica-card:hover::before {
  opacity: 1;
}

.nautica-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.nautica-card p {
  color: #c4c7d8;
  font-size: 0.95rem;
}

.nautica-cta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* CONTACTO */
.contact-section {
  background: #050509;
  padding: 5rem 0 4rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: flex-start;
}

.contact-text h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.contact-text p {
  color: #c2c2d5;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: grid;
  gap: 1.2rem;
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-info p {
  color: #d3d3e0;
  font-size: 0.95rem;
}

/* Tarjeta del formulario */
.contact-form-card {
  background: #090b14;
  border-radius: 20px;
  padding: 1.8rem 1.8rem 1.6rem;
  border: 1px solid rgba(79, 208, 255, 0.22);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.9rem;
  color: #d5d5e2;
}

.form-field input,
.form-field textarea {
  background: #050712;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 0.8rem;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #4fd0ff;
  box-shadow: 0 0 0 1px rgba(79, 208, 255, 0.4);
}
.page-section {
  display: none; /* todas ocultas por defecto, JS muestra la que va */
}

.contact-btn {
  margin-top: 0.4rem;
  width: 100%;
  justify-content: center;
}

.contact-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #a4a4b8;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* FRASE */

.section-quote {
  background: radial-gradient(circle at top, rgba(79, 208, 255, 0.15), #050509);
  text-align: center;
}

.quote-inner blockquote {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.quote-author {
  color: #c2c2d5;
}

/* CTA FINAL */

.section-cta {
  background: #070712;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  margin-bottom: 0.3rem;
}

.cta-inner p {
  color: #c2c2d5;
}

/* FOOTER */

.footer-modern {
  width: 100%;
  background: linear-gradient(180deg, #0a0c10 0%, #050607 100%) !important;
  color: #d4d4d4;
  padding: 60px 20px 30px;
  font-family: "Inter", sans-serif;
  border-top: 1px solid rgba(90, 120, 255, 0.2);
  box-shadow: 0 -4px 20px rgba(0, 150, 255, 0.08);
  display: block;
}

.footer-wrapper {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(80, 120, 255, 0.3);
  width: fit-content;
}

.footer-column p {
  margin: 8px 0;
}

.footer-column a {
  color: #cdd5ff;
  text-decoration: none;
  font-size: 0.97rem;
  transition: 0.3s ease;
}

.footer-column a:hover {
  color: #73b5ff;
  text-shadow: 0 0 6px rgba(80, 150, 255, 0.7);
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(100, 100, 120, 0.2);
}

.footer-bottom p {
  color: #8c8c8c;
  font-size: 0.9rem;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.5rem;
  }

  .header-inner {
    gap: 0.8rem;
  }

  @media (max-width: 900px) {
    .hero-inner {
      grid-template-columns: 1fr;
    }

    .hero {
      padding-top: 5.5rem;
    }

    .header-inner {
      gap: 0.8rem;
    }

    .cta-inner {
      flex-direction: column;
      align-items: flex-start;
    }
  }

  /* Ocultar menú original en mobile */
}
.footer-modern {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #05070b 0%, #020307 100%) !important;
  color: #d4d4d4 !important;
  padding: 60px 20px 30px;
  font-family: "Inter", sans-serif;
  border-top: 1px solid rgba(90, 120, 255, 0.35);
  box-shadow: 0 -4px 20px rgba(0, 150, 255, 0.12);
}

/* barra luminosa superior */
.footer-modern::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 45%;
  height: 3px;
  background: linear-gradient(90deg, #3fdcff, #6f7dff, #8a4dff);
  box-shadow: 0 0 18px rgba(111, 125, 255, 0.9);
  border-radius: 999px;
}

.footer-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column h3 {
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-column p {
  margin: 6px 0;
}

.footer-column a {
  color: #cfd6ff;
  text-decoration: none;
  font-size: 0.95rem;
  transition: 0.25s ease;
}

.footer-column a:hover {
  color: #70b4ff;
  text-shadow: 0 0 6px rgba(80, 150, 255, 0.8);
}

.footer-bottom {
  margin-top: 32px;
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid rgba(150, 150, 170, 0.25);
}

.footer-bottom p {
  color: #8e8e98;
  font-size: 0.9rem;
}
.nautica-card {
  background: radial-gradient(circle at top left, #0b1220, #05070f 60%);
  border-radius: 20px;
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(79, 208, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.nautica-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(
    circle at top,
    rgba(79, 208, 255, 0.25),
    transparent 55%
  );
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.nautica-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.nautica-card p {
  color: #c4c7d8;
  font-size: 0.95rem;
}

/* EFECTO HOVER */
.nautica-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.85);
  border-color: rgba(79, 208, 255, 0.55);
}

.nautica-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* Botón hamburguesa oculto en escritorio */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

/* --- MOBILE --- */

/* ===== AJUSTES SOLO PARA ESCRITORIO (MENÚ) ===== */
@media (min-width: 769px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* un poco de aire entre logo y menú */
  }

  .logo-area {
    flex-shrink: 0; /* que el logo no se achique ni pise el menú */
  }

  .nav {
    margin-left: auto; /* empuja el menú hacia la derecha */
    display: flex;
    align-items: center;
    gap: 2.5rem; /* más separación entre las opciones del menú */
    flex-wrap: nowrap; /* que no se bajen de renglón en escritorio */
  }

  .nav a {
    white-space: nowrap; /* evita que "Trámite Seguro" o textos largos se corten en dos líneas */
  }
}
/* CONTENEDOR GENERAL */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

/* FORMULARIO */
.contact-form {
  background: rgba(15, 20, 30, 0.45);
  padding: 25px;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(120, 150, 255, 0.25);
  box-shadow: 0 0 18px rgba(90, 150, 255, 0.15);
}

/* FILAS */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(140, 160, 255, 0.25);
  background: rgba(10, 15, 25, 0.9);
  color: #e7eaff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6ea8ff;
  box-shadow: 0 0 6px rgba(110, 168, 255, 0.6);
}

/* PLACEHOLDER moderno */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8f99c9;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

/* TEXTAREA */
.contact-form textarea {
  resize: none;
  height: 130px;
  margin-bottom: 15px;
}

/* BOTÓN */
.btn-submit {
  width: 100%;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #3ad4ff, #6f82ff, #9b5dff);
  box-shadow: 0 0 12px rgba(100, 150, 255, 0.4);
  transition: 0.25s ease;
}

.btn-submit:hover {
  box-shadow: 0 0 18px rgba(130, 170, 255, 0.7);
  transform: scale(1.03);
}

/* BOTÓN */
.btn-submit {
  width: 100%;
  padding: 12px 18px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(90deg, #3ad4ff, #6f82ff, #9b5dff);
  box-shadow: 0 0 12px rgba(100, 150, 255, 0.4);
  transition: 0.25s ease;
}

.btn-submit:hover {
  box-shadow: 0 0 18px rgba(130, 170, 255, 0.7);
  transform: scale(1.03);
}
/* CONTENEDOR GENERAL CONTACTO */
.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

/* COLUMNA DE TEXTO */
.contact-text {
  flex: 1;
  min-width: 280px;
}

/* FORMULARIO (columna derecha) */
.contact-form {
  flex: 1;
  max-width: 430px;
  background: rgba(15, 20, 30, 0.45);
  padding: 25px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(120, 150, 255, 0.25);
  box-shadow: 0 0 18px rgba(90, 150, 255, 0.15);
}

/* FILAS DEL FORMULARIO */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 18px;
}

/* ===========================
   📱 RESPONSIVE MOBILE (≤768px)
   =========================== */

/* ===================== */
/* MENÚ MOBILE FORZADO   */
/* ===================== */

/* En escritorio ocultamos el hamburguesa */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }
}
/* ========================= */
/* MENÚ HAMBURGUESA MOBILE   */
/* ========================= */

/* En escritorio ocultamos el hamburguesa y dejamos el menú normal */
@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex !important;
    position: static !important;
    flex-direction: row;
    gap: 2rem;
  }
}
/* POPUP DE ÉXITO */
.success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #4fd0ff, #8a7dff);
  color: #020308;
  padding: 18px 28px;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(79, 208, 255, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9999;
}

/* Cuando aparece */
.success-popup.show {
  opacity: 1;
  transform: translateY(0);
}

.success-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #4fd0ff, #8a7dff);
  color: #020308;
  padding: 18px 28px;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 0 25px rgba(79, 208, 255, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.5s ease;
  z-index: 9999;
}

.success-popup.show {
  opacity: 1;
  transform: translateY(0);
}

/* MENÚ MOBILE */
.nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 20px;
  background: #fff;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

.nav a {
  padding: 0.5rem 0;
  font-size: 1rem;
}

/* Estilo del botón hamburguesa */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
}

/* Ocultamos menú en desktop */
@media (min-width: 900px) {
  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
  }
  .nav-toggle {
    display: none;
  }
}
/* ===========================
   🔥 MENÚ HAMBURGUESA FINAL
   Funciona con TU header y TU JS
=========================== */

/* ESTILO GENERAL DEL NAV EN DESKTOP */
.nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.95rem;
  align-items: center;
}

/* DESKTOP */
@media (min-width: 769px) {
  .nav {
    display: flex !important;
    position: static !important;
    flex-direction: row;
    gap: 2.5rem;
  }

  /* Hamburguesa oculta en desktop */
  .nav-toggle {
    display: none !important;
  }
}

/* =============== MOBILE (hasta 768px) =============== */
@media (max-width: 768px) {
  /* HEADER fijo oscuro arriba */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 9, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
  }

  .container.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .logo {
    height: 34px;
    width: auto;
  }

  /* Botón hamburguesa */
  .nav-toggle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }

  /* Botón "Iniciar trámite" del header */
  .header .btn.btn-primary {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-size: 0.8rem;
    border: none;
    background: linear-gradient(135deg, #4cc9f0, #7b5cff);
    color: #050509;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
  }

  /* ========== PANEL DE MENÚ ========== */
  /* IMPORTANTE: esto pisa cualquier estilo viejo de .nav-links */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 80px; /* deja lugar para el header */
    background: #f9f9fb;
    color: #111;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-100%); /* escondido hacia arriba */
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0); /* panel visible */
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid #e3e3ea;
    color: #111;
    text-decoration: none;
  }

  .nav-links a:hover {
    background: #ececf4;
  }

  /* Apagamos cualquier línea decorativa anterior */
  .nav-links a::before,
  .nav-links a::after {
    content: none !important;
    display: none !important;
  }

  /* Que el hero no quede oculto bajo el header fijo */
  #inicio {
    padding-top: 100px;
  }
}
/* ================= MOBILE FIX DEFINITIVO ================= */
@media (max-width: 768px) {
  /* HEADER fijo */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 9, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000 !important; /* arriba de TODO */
  }

  /* PANEL DE MENÚ */
  .nav-links {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 80px;
    background: #ffffff; /* panel blanco */
    z-index: 9999 !important; /* ARRIBA DE TODO EL SITIO */
    transform: translateY(-100%);
    transition: transform 0.35s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    border-bottom: 1px solid #eee;
  }

  /* bloqueamos líneas decorativas viejas */
  .nav-links a::before,
  .nav-links a::after {
    content: none !important;
    display: none !important;
  }

  /* el hero NO debe overlappear el menú */
  #inicio {
    position: relative;
    z-index: 1;
    padding-top: 100px;
  }

  .page-section {
    position: relative;
    z-index: 1;
  }
}
/* ================= AJUSTES VISUALES MOBILE ================= */
@media (max-width: 768px) {
  /* Header se vuelve blanco cuando el menú está abierto */
  body.menu-open .header {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  /* Botón hamburguesa más limpio cuando el menú está abierto */
  body.menu-open .nav-toggle {
    background: transparent;
  }

  /* Animación de hamburguesa → X */
  .nav-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Cuando el menú está abierto, las rayas de la X se ven oscuras sobre fondo blanco */
  body.menu-open .nav-toggle span {
    background: #111111;
  }

  /* Opcional: botón "Iniciar trámite" un poquito más discreto dentro del menú abierto */
  body.menu-open .header .btn.btn-primary {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
}
/* ========== AJUSTE FINAL HEADER + CIERRE MENÚ (MOBILE) ========== */
@media (max-width: 768px) {
  /* El header arriba de casi todo */
  .header {
    z-index: 10000;
  }

  /* El panel de menú un poco más abajo en la pila */
  .nav-links {
    z-index: 9000; /* menor que el header */
  }

  /* La hamburguesa por encima del panel → se ve la X para cerrar */
  .nav-toggle {
    position: relative;
    z-index: 11000;
  }

  /* Opcional: también el botón "Iniciar trámite" arriba del panel */
  .header .btn.btn-primary {
    position: relative;
    z-index: 11000;
  }

  /* Cuando el menú está abierto, el header se vuelve blanco como el panel */
  body.menu-open .header {
    background: #ffffff;
    backdrop-filter: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
}
/* ===== HERO MÁS MINIMALISTA SOLO MOBILE ===== */
@media (max-width: 768px) {
  /* Orden y espacio del hero */
  #inicio {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 110px 1.5rem 2.5rem; /* arriba / laterales / abajo */
    text-align: left;
  }

  /* TÍTULO: más chico y con ancho limitado */
  #inicio h1 {
    font-size: 1.7rem;
    line-height: 1.25;
    max-width: 15ch; /* máx. 15 caracteres de ancho aprox. */
  }

  /* TEXTO DESCRIPTIVO: más corto visualmente */
  #inicio p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 0.75rem;
    margin-bottom: 1.4rem;
    max-width: 26ch;
  }

  /* BOTÓN PRINCIPAL: más compacto */
  #inicio .btn.btn-primary {
    max-width: 230px;
    padding: 0.8rem 1.3rem;
    font-size: 0.9rem;
  }

  /* BOTÓN WHATSAPP: estilo ghost, más liviano */
  #inicio .btn.btn-secondary {
    max-width: 230px;
    padding: 0.75rem 1.3rem;
    font-size: 0.85rem;
    margin-top: 0.7rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
}

@media (max-width: 768px) {
  /* Ajuste del hero para que NO quede debajo del header */
  #inicio {
    padding-top: 160px !important; /* antes 100px, ahora más alto */
  }

  /* Ajuste del contenedor del hero */
  #inicio .hero-content,
  #inicio .contenedor,
  #inicio .texto-hero {
    margin-top: 0 !important;
  }

  /* Asegura que el título no se meta debajo */
  #inicio h1 {
    margin-top: 0 !important;
  }
}
/* ====== HEADER MÁS LIMPIO EN MOBILE ====== */
@media (max-width: 768px) {
  /* Header: solo logo + hamburguesa */
  .container.header-inner {
    padding: 0.7rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.75rem;
  }

  /* Logo un poquito más chico */
  .logo {
    height: 30px;
    width: auto;
  }

  /* Ocultar el botón de "Iniciar trámite" del header en mobile */
  .header .btn.btn-primary {
    display: none;
  }

  /* Hamburguesa prolija */
  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 10px;
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
  }
}
@media (max-width: 768px) {
  /* HEADER más compacto */
  .container.header-inner {
    padding: 0.4rem 0.8rem; /* menos padding */
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px; /* distancia justa entre logo y hamburguesa */
  }

  /* Logo un poquito más chico y alineado */
  .logo {
    height: 70px;
    width: auto;
  }

  /* Botón hamburguesa */
  .nav-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
  }

  .nav-toggle span {
    height: 2px;
    background: #fff;
    border-radius: 2px;
  }

  /* Ocultamos el botón de iniciar trámite en mobile */
  .header .btn.btn-primary {
    display: none;
  }
}
@media (max-width: 768px) {
  /* HEADER neon */
  .header {
    background: linear-gradient(
      135deg,
      rgba(0, 225, 255, 0.08),
      rgba(120, 80, 255, 0.1)
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 25px rgba(120, 80, 255, 0.16),
      0 0 40px rgba(0, 225, 255, 0.12);
  }

  /* Hamburguesa neón */
  .nav-toggle {
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 12px rgba(0, 225, 255, 0.25);
  }

  .nav-toggle span {
    background: #d9faff;
    box-shadow: 0 0 4px rgba(0, 225, 255, 0.6);
  }

  /* Logo con glow */
  .logo {
    filter: drop-shadow(0 0 5px rgba(0, 225, 255, 0.6))
      drop-shadow(0 0 8px rgba(120, 80, 255, 0.45));
  }
}
/* ================= AJUSTES FINALES MOBILE ================= */
@media (max-width: 768px) {
  /* --- 1) Botón menú con efecto neón tipo ejemplo --- */
  .nav-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    padding: 0 7px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;

    background: radial-gradient(
      circle at 30% 20%,
      rgba(0, 255, 255, 0.35),
      rgba(0, 0, 0, 0.95)
    );
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.55), 0 0 20px rgba(0, 0, 0, 0.9);
  }

  .nav-toggle span {
    height: 2px;
    border-radius: 2px;
    background: #bfffff;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.85);
  }

  /* Cuando está abierto (X), que siga con glow */
  .nav-toggle.is-open span {
    background: #bfffff;
  }

  /* --- 2) Hero más centrado y prolijo --- */
  #inicio {
    padding: 130px 1.5rem 3rem; /* espacio para el header + aire abajo */
    display: flex;
    flex-direction: column;
    justify-content: center; /* centra verticalmente */
  }

  #inicio .hero-content,
  #inicio .contenido-hero,
  #inicio .texto-hero {
    max-width: 320px;
    margin: 0 auto;
    text-align: center;
  }

  #inicio h1 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 0.8rem;
  }

  #inicio p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.4rem;
  }

  /* --- 3) Botones alineados y con mismo estilo --- */
  #inicio .btn.btn-primary {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 0.8rem auto;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-size: 0.95rem;
  }

  /* botón WhatsApp: misma forma y tamaño, estilo “ghost” pero moderno */
  #inicio .btn.btn-secondary,
  #inicio .btn-whatsapp {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    padding: 0.8rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: #f5f5f5;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  }

  #inicio .btn.btn-secondary:hover,
  #inicio .btn-whatsapp:hover {
    background: rgba(0, 0, 0, 0.8);
  }
}
@media (max-width: 768px) {
  /* PANEL MENÚ OSCURO NEÓN */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 90px;

    /* FONDO DEGRADADO NEÓN */
    background: rgba(15, 15, 20, 0.35);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.15);

    /* EFECTO GLOW EN LOS BORDES */
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.15),
      0 0 45px rgba(120, 80, 255, 0.18);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    z-index: 900;

    transform: translateY(-100%);
    transition: transform 0.35s ease;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  /* ESTILO DE ITEMS */
  .nav-links a {
    width: 100%;
    padding: 1.2rem 1.6rem;

    color: #e9faff;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    /* glow leve en hover */
    transition: 0.25s ease;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    text-shadow: 0 0 6px rgba(0, 255, 255, 0.5);
  }
}

/* Ajustar hero para que arranque más arriba en mobile */
.hero {
  padding-top: 40px; /* antes seguro tenías algo como 120px o más */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Imagen de fondo más corta y centrada */
.hero::before {
  background-position: center top;
  background-size: cover;
  height: 100%; /* evita que se estire demasiado */
}

/* Contenedor del texto + botones */
.hero-content {
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

/* Botones centrados en mobile */
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center; /* CENTRA horizontalmente */
  width: 100%;
}

/* Evitar espacios extras en mobile */
@media (max-width: 768px) {
  .hero {
    padding-top: 20px;
  }
  .hero::before {
    height: 85vh; /* recorta la imagen desde arriba */
  }
}

/* AJUSTES SOLO PARA MOBILE */
@media (max-width: 768px) {
  /* La sección de inicio (hero) un poco más baja en mobile */
  #inicio.hero {
    min-height: 75vh; /* antes seguro estaba en 100vh */
  }

  .hero-content {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}
/* Centrar todo el contenido del HERO */
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Centrar el párrafo */
.hero-content p {
  text-align: center;
  width: 100%;
}

/* Contenedor de botones centrado */
.hero-buttons {
  display: flex;
  flex-direction: column; /* uno abajo del otro en mobile */
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Botones del mismo tamaño */
.hero-buttons a {
  width: 220px; /* mismo ancho para ambos */
  text-align: center;
  display: inline-block;
}

/* En desktop podés ponerlos uno al lado si querés */
@media (min-width: 769px) {
  .hero-buttons {
    flex-direction: row; /* en fila */
    justify-content: center; /* centrados */
  }
}
/* Mismo tamaño y alineación de los botones del hero */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-buttons .btn,
.hero-buttons .btn-outline {
  min-width: 230px; /* mismo ancho */
  text-align: center; /* texto centrado */
  justify-content: center;
}
/* ===== PARCHE MOBILE MENÚ SIN ROMPER ESCRITORIO ===== */
@media (max-width: 768px) {
  /* Panel del menú hamburguesa: tapa toda la pantalla y no mezcla con las secciones */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 80px;

    /* 🔹 Fondo translúcido tipo glass, no negro sólido */
    background: rgba(5, 5, 9, 0.25);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex; /* se muestra solo cuando JS le agrega .open */
  }

  .nav-links a {
    width: 100%;
    padding: 1.1rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* desactivamos rayitas decorativas viejas para que no hagan efectos raros */
  .nav-links a::before,
  .nav-links a::after {
    content: none !important;
  }

  /* El header queda arriba del menú y no se pisa con el contenido */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
  }

  /* Damos aire al contenido para que no quede escondido detrás del header */
  .page-section {
    padding-top: 110px;
  }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
@media (max-width: 768px) {
  header {
    position: static;
  }
}