/* ===== RESETEO GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ===== IMAGEN DE FONDO ===== */

body {
  background-image: url("img/fondo.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}



ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ===== TÍTULO SUPERIOR ===== */
.titulo-barra {
  background: #003366; /* Azul oscuro */
  color: white;
  padding: 1.5rem 5%; /* ✅ AUMENTA el 1.5rem para BAJAR la letra */
  text-align: center;
  position: relative;
  
}

.titulo-barra h1 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #ffffff;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.navbar {
  background: #111; /* Negro */
  color: white;
  padding: 0;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
}



/* 🍔 Checkbox oculto (interruptor sin JS) */
.menu-checkbox {
  display: none;
}

/* 🍔 Icono hamburguesa — SOLO en móvil */
.menu-toggle-icon {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  padding: 1rem 5%;
  text-align: right;
  user-select: none;
}

/* ===== MENÚ ESCRITORIO ===== */
.menu {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  padding: 0 5%;
}

.menu li a {
  display: block;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.menu li a:hover {
  background: #333;
}

/* ===== SECCIONES ===== */
section {
  padding: 2.5rem 5%;
  min-height: 80vh;
}

section h2 {
  font-size: 1.5rem;
  margin-top: 4.5rem;
  margin-bottom: 1rem;
  color: #003366;
}

section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

.whatsapp img {
  width: 50px;
  height: 50px;
  animation: pulse 2s infinite;
  border-radius: 50%;
}

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}


.titulo{
  text-align: center;
  font-size: 38px;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 50px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contenedor{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 50px;
}

.tarjeta{
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
}

.tarjeta:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.tarjeta.destacada{
  border: 4px solid #2563eb;
  box-shadow: 0 0 0 rgba(37,99,235,0.2), 0 8px 24px rgba(0,0,0,0.08);
  border: none;
}

.etiqueta-mas-vendido{
  position: absolute;
  top: 0;
  right: 0;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-bottom-left-radius: 16px;
}

.duracion{
  font-size: 42px;
  font-weight: 800;
  color: #000;
  margin-bottom: 12px;
}

.descripcion{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
}


.precio{
  margin-top: 8%;
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
}



.tarjeta{position: relative;
}

.descripcion1{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}

.precio1 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

 .descripcion2{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}

.precio2 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

.descripcion3{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}

.precio3 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

 .descripcion4{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 33%;
  transform: translate(-50%);
  text-align: right;
}

.precio4 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

.descripcion5{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}


.precio5 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 53%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

.descripcion6{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}

.precio6 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

 .descripcion7{
  font-size: 20px;
  color: #555;
  margin-bottom: 20px;
  position: absolute;
  right: 1%;
  top: 32%;
  transform: translate(-50%);
  text-align: right;
}

.precio7 {
   font-size: 32px;
   font-weight: 700;
   color: #000;
   margin-bottom: 30px;
   /* ✅ AGREGA ESTAS 4 LÍNEAS */
   position: absolute;
   right: 11%;
   top: 55%;        /* 🔑 Ajusta igual: sube ↓ % = sube precio | baja ↑ % = baja precio */
   transform: translateY(-50%);
   text-align: right;
 }

 /* ===== CONTENEDOR PRINCIPAL ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

/* ===== TÍTULOS ===== */
h1 {
  text-align: center;
  color: #000000;
  margin-bottom: 30px;
  font-size: 1.8rem;
}

h1 small {
  font-size: 1rem;
  opacity: 0.85;
  color: #000;
}

/* ===== TARJETAS GENERAL ===== */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
}

/* Contenedor de la imagen */
.contenedor-imagen {
  margin: 0 0 40px 0; /* 🔑 40px de espacio ABAJO — cámbialo a tu gusto */
  padding: 0;
  float: left;
  border-radius: 20px
}

/* La imagen */
.imagen-nosotros {
  width: 40%;
  height: auto;
  display: block; /* 🔑 Elimina el espacio fantasma debajo */
  margin: 0;
  position: absolute;
  z-index: 10;
  top: 450px;
  padding: 40px;
  border-radius: 50px;
}

/* ===== SECCIÓN NOSOTROS ===== */
.nosotros-seccion {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Cuadro transparente con bordes redondeados */
.cuadro-transparente {
  background: rgba(255, 255, 255, 0.85); /* Blanco semitransparente */
  border-radius: 20px; /* Bordes redondeados */
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 51, 102, 0.1);
  line-height: 1.8;
  color: #333;
}

.cuadro-transparente h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.cuadro-transparente p {
  margin-bottom: 18px;
  text-align: justify;
}

.lista-servicios {
  list-style: none;
  padding: 0;
  margin: 25px 0;
}

.lista-servicios li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}

.lista-servicios li:last-child {
  border-bottom: none;
}

/* Galería de las 4 imágenes juntas */
.galeria-imagenes {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
  gap: 15px;
  width: 100%;
}

.galeria-imagenes img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.galeria-imagenes img:hover {
  transform: scale(1.03);
}

/*media query nosotros

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 900px) {
  .galeria-imagenes {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
  }

  .galeria-imagenes img {
    height: 200px;
  }

  .cuadro-transparente {
    padding: 25px;
  }

  .cuadro-transparente h2 {
    font-size: 1.6rem;
  }
}

/* ===== RESPONSIVE — CELULAR ===== */
@media (max-width: 480px) {
  .nosotros-seccion {
    margin: 20px auto;
    padding: 0 15px;
  }

  .cuadro-transparente {
    padding: 20px;
    border-radius: 15px;
  }

  .cuadro-transparente h2 {
    font-size: 1.4rem;
  }

  .cuadro-transparente p,
  .lista-servicios li {
    font-size: 0.95rem;
  }

  .galeria-imagenes {
    grid-template-columns: 1fr; /* 1 columna en celular — una debajo de otra */
    gap: 12px;
  }

  .galeria-imagenes img {
    height: 180px;
    border-radius: 10px;
  }
}

/* ==============================================
   📱 Media Query para CELULARES (pantallas ≤ 768px)
   ============================================== */
@media (max-width: 768px) {

  /* Contenedor — ocupa casi toda la pantalla */
  .container {
    max-width: 95%;
    padding-left: 10px;
    padding-right: 10px;
    top: 1px;
    transform: translateY(6%);
  }

  /* Títulos — ajusta tamaño para que no se salgan */
  h1 {
    font-size: 1.4rem;
    margin-bottom: 0px;
  }

  h1 small {
    font-size: 0.9rem;
  }

  /* Tarjetas — más compactas, se adaptan a la pantalla */
  .card {
    padding: 18px;
    margin-bottom: 15px;
    border-radius: 10px;
    /* Efecto hover suave en móvil (opcional) */
    transition: none; /* Quita animación si prefieres más fluidez */
  }

  /* Opcional: reduce el efecto de elevación en celular */
  .card:hover {
    transform: none;
  }

}

.btn-comprar{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 20px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-comprar:hover{
  background: #1da855;
}

.btn-comprar svg{
  width: 22px;
  height: 22px;
  fill: #fff;
}

.logo-superior-izquierda{
  position: absolute;
  top: 155px;
  left: 20px;
  max-width: 70px;
  height: auto;
  z-index: 10;
}

/* Imagen de Contabilidad */
.imagen-contabilidad {
  display: block;              /* ✅ Para centrarla correctamente */
  margin: 3rem auto 2rem;      /* ✅ Arriba 3rem = BAJARLA + auto = CENTRARLA */
  max-width: 330px;            /* ✅ Más pequeña — ajústalo */
  width: 80%;                 /*  ✅ Que no se pase del ancho disponible */
  height: auto;                /* ✅ Mantiene proporción */
  border-radius: 12px;         /* Opcional: esquinas redondeadas */
}



/* 📱 Ajuste automático para CELULAR */
@media (max-width: 768px) {
  .imagen-contabilidad {
    max-width: 230px;          /* ✅ Más pequeña en celular */
    margin-top: 2rem;          /* ✅ Menos espacio arriba en móvil */
  }
}

/* Imagen de firma */
.imagen-firma {
  display: block;              /* ✅ Para centrarla correctamente */
  margin: 3rem auto 2rem;      /* ✅ Arriba 3rem = BAJARLA + auto = CENTRARLA */
  max-width: 330px;            /* ✅ Más pequeña — ajústalo */
  width: 80%;                 /* ✅ Que no se pase del ancho disponible */
  height: auto;                /* ✅ Mantiene proporción */
  border-radius: 12px;         /* Opcional: esquinas redondeadas */
}

/* Imagen de firma */
.imagen-facturaelectrónica {
  display: block;              /* ✅ Para centrarla correctamente */
  margin: 3rem auto 2rem;      /* ✅ Arriba 3rem = BAJARLA + auto = CENTRARLA */
  max-width: 280px;            /* ✅ Más pequeña — ajústalo */
  width: 80%;                 /* ✅ Que no se pase del ancho disponible */
  height: auto;                /* ✅ Mantiene proporción */
  border-radius: 12px;         /* Opcional: esquinas redondeadas */
}

/* Imagen de firma */
.imagen-dominio {
  display: block;              /* ✅ Para centrarla correctamente */
  margin: 3rem auto 2rem;      /* ✅ Arriba 3rem = BAJARLA + auto = CENTRARLA */
  max-width: 280px;            /* ✅ Más pequeña — ajústalo */
  width: 80%;                 /* ✅ Que no se pase del ancho disponible */
  height: auto;                /* ✅ Mantiene proporción */
  border-radius: 12px;         /* Opcional: esquinas redondeadas */
}



/* 📱 Ajuste automático para CELULAR */
@media (max-width: 768px) {
  .imagen-firma {
    max-width: 230px;          /* ✅ Más pequeña en celular */
    margin-top: 2rem;          /* ✅ Menos espacio arriba en móvil */
  }
}

/* 📱 Ajuste automático para CELULAR */
@media (max-width: 768px) {
  .imagen-dominio {
    max-width: 230px;          /* ✅ Más pequeña en celular */
    margin-top: 2rem;          /* ✅ Menos espacio arriba en móvil */
  }
}



/* Responsive para móviles y tablets */
@media (max-width: 1200px) {
  .contenedor{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .contenedor{
    grid-template-columns: 1fr;
  }
  .titulo{
    font-size: 28px;
  }
  .duracion{
    font-size: 32px;
  }
}

/* ================================= */
/* 📱 RESPONSIVE — PANTALLAS PEQUEÑAS */
/* ================================= */
@media (max-width: 768px) {

  /* Ajustar título */
  .titulo-barra h1 {
    font-size: 2.7rem;
  }

  /* ✅ Mostrar botón hamburguesa ☰ */
  .menu-toggle-icon {
    display: block;
  }

  /* ✅ Ocultar menú por defecto */
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #222;
    flex-direction: column;
    gap: 0;
    padding: 0;
    display: none; /* Oculto */
    z-index: 100;
  }

  .menu li a {
    padding: 1rem 5%;
    border-bottom: 1px solid #333;
  }

  /* ✅ AL TOCAR → se abre el menú */
  .menu-checkbox:checked ~ .menu {
    display: flex;
  }
}

@media (max-width: 480px) {
   body {
     background-size: cover; /* ✅ Cubre toda la pantalla */
     background-position: center top;
   }
 }
 /* ✅ Fondo semi-transparente para que el texto se lea bien */
 main {
   background: rgba(255, 255, 255, 0.85);
 
}
 /* RESPONSIVE — EN CELULAR */
 /* ====================================== */
 @media (max-width: 768px) {
   .whatsapp-fijo {
     width: 55px;
     height: 55px;
     right: 20px;
     /* Sigue a la mitad en celular */
     top: 50%;
     transform: translateY(-50%);
   }
 }
 @media (max-width: 480px) {
   .whatsapp-fijo {
     width: 50px;
     height: 50px;
     right: 15px;
     top: 50%;
     transform: translateY(-50%);
   }
 }

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Escritorio: dejo espacio para el logo */
.titulo,
.bienvenida,
.intro {
  margin-top: 140px; /* ✅ Espacio suficiente para el logo en pantallas grandes */
}


