/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: #0b3c5d;
  color: #fff;
  font-size: 13px;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.top-left span {
  margin-right: 15px;
}

.top-right a {
  margin-left: 10px;
  font-weight: 500;
}

/* ================= HEADER ================= */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 55px;
}

.nav ul {
  display: flex;
  align-items: center;
}

.nav li {
  position: relative;
}

.nav a {
  padding: 10px 15px;
  font-weight: 500;
  color: #222;
  transition: color 0.3s;
}

.nav a:hover {
  color: #0b3c5d;
}

.btn-cotizar a {
  background: #f5a623;
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  margin-left: 10px;
}

.btn-cotizar a:hover {
  background: #d98e16;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
}

.dropdown-menu li a {
  padding: 10px 15px;
  font-size: 14px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.hero-slide {
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 18px;
}

/* ================= ABOUT ================= */
.about {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.about h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #0b3c5d;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 16px;
}

/* ================= SERVICES ================= */
.services {
  padding: 80px 0;
}

.services h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
  color: #0b3c5d;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-card h3 {
  padding: 15px;
  font-size: 18px;
  text-align: center;
}

/* ================= STATS ================= */
.stats {
  background: #0b3c5d;
  color: #fff;
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat h3 {
  font-size: 36px;
  color: #f5a623;
}

.stat p {
  margin-top: 5px;
  font-size: 15px;
}

/* ================= PARTNERS ================= */
.partners {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.partners h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #0b3c5d;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-logos img {
  max-height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.partners-logos img:hover {
  opacity: 1;
}

/* ================= FOOTER ================= */
.footer {
  background: #111;
  color: #ccc;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 40px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  background: #000;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .services-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content h1 {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .nav ul {
    flex-direction: column;
    display: none;
  }

  .services-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 26px;
  }
}















/* MENU MOVIL */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .menu-toggle {
    display: block;
  }

  .nav ul.active {
    display: flex;
    background: #fff;
    width: 100%;
  }
}
















/* ================= PULIDO GENERAL ================= */
h1, h2, h3 {
  letter-spacing: 0.5px;
}

section {
  position: relative;
}

.services,
.about,
.partners {
  background-image: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

/* Transiciones suaves */
a, button, .service-card, img {
  transition: all 0.3s ease;
}


.hero-content h1 {
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

.hero-content p {
  margin-top: 10px;
  opacity: 0.9;
}










.header {
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav a {
  font-size: 15px;
}











/* ================= GALERIA ================= */
.gallery {
  padding: 80px 0;
  text-align: center;
}

.gallery h2 {
  font-size: 32px;
  color: #0b3c5d;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-grid img {
  border-radius: 6px;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= ENLACES ================= */
.social-links {
  list-style: none;
  padding: 0;
}

.social-links li {
  margin-bottom: 10px;
}

.social-links a {
  display: block;
  padding: 10px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  border-radius: 6px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* WhatsApp */
.btn-whatsapp a {
  background-color: #24b358;
}

/* Facebook */
.btn-facebook a {
  background-color: #1877F2;
}

/* Hover */
.social-links a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}










