* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
  background: #f5f6fa;
  color: #333;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  z-index: 1000;
}

.navbar a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}

/* HERO */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
              url("https://images.unsplash.com/photo-1518770660439-4636190af475");
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 45px;
}

.hero p {
  margin: 15px 0;
}

.btn {
  background: #00c3ff;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

/* SECCIONES */
.section {
  padding: 80px 20px;
  text-align: center;
}

.section.dark {
  background: #111;
  color: #fff;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  transition: 0.3s;
}

.section.dark .card {
  background: #222;
}

.card:hover {
  transform: translateY(-5px);
}

/* PRECIOS */
.price-num {
  font-size: 25px;
  margin: 10px 0;
}

.price button {
  margin-top: 10px;
  padding: 10px;
  border: none;
  background: #00c3ff;
  color: white;
  cursor: pointer;
}

.highlight {
  border: 2px solid #00c3ff;
}

/* CONTACTO */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  margin: 10px 0;
  padding: 10px;
}

.contact button {
  padding: 10px;
  background: #00c3ff;
  border: none;
  color: white;
}

/* FOOTER */
footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero h1 {
    font-size: 30px;
  }

  .navbar nav {
    display: none;
  }
}
/* FORMULARIO EMBEBIDO */
.form-container {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* TEXTO */
.subtitle {
  margin-top: 10px;
  opacity: 0.8;
}

/* RESPONSIVE */
@media(max-width:768px){
  .form-container iframe {
    height: 700px;
  }
}

/* GALERÍA */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

/* EFECTO HOVER */
.gallery-grid img:hover {
  transform: scale(1.05);
  filter: brightness(0.8);
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 30px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
}
/* ESTILO DEL POPUP */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none; /* se activa con JS */
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: #fff;
  border-radius: 10px;
  max-width: 900px;
  width: 90%;
  height: 90%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.popup-content iframe {
  flex: 1;
  width: 100%;
  border: none;
  border-radius: 5px;
}

#closePopup {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}
/* FILTROS */
.pdf-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.pdf-filters button {
  padding: 8px 15px;
  border: none;
  background: #eee;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.3s;
}

.pdf-filters button.active, .pdf-filters button:hover {
  background: #00c3ff;
  color: #fff;
}

/* GRID DOCUMENTOS */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.pdf-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.pdf-card:hover {
  transform: translateY(-5px);
}

.pdf-card img {
  width: 50px;
  margin: 10px 0;
}

/* MODAL */
.pdf-modal {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.pdf-modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  height: 90%;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pdf-modal-content iframe {
  flex: 1;
  width: 100%;
  border-radius: 5px;
  margin-top: 10px;
}

#closePdfModal {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 22px;
}

/* RESPONSIVE */
@media(max-width:768px){
  .pdf-modal-content iframe {
    height: 70%;
  }
}