body {
  margin: 0;
  font-family: 'Raleway', Arial, sans-serif;
  background-color: #0e0e0e;
  color: #fff;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

header {
  background-color: rgba(0,0,0,0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 1.8em;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  font-size: 2em;
  color: #fff;
  cursor: pointer;
}

nav {
  flex-grow: 1;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 10px;
  justify-content: flex-end;
}

nav ul li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: #fff;
  padding: 10px 15px;
  display: block;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  z-index: 5;
  flex-direction: column;
  background-color: rgba(0,0,0,0.7);
}

.dropdown-content li {
  display: block;
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.btn-contacto {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}

.btn-contacto:hover {
  background-color: #fff;
  color: #000;
}

/* HERO */
#hero {
  background: url('../img/hero.jpg') center center/cover no-repeat;
  height: 500px;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
}

.hero-text {
  max-width: 600px;
  margin-left: 10%;
  text-align: left;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-text p {
  font-size: 1.1em;
  color: #ddd;
  margin-bottom: 30px;
  line-height: 1.6;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.btn-hero {
  background-color: transparent;
  color: #fff;
  padding: 10px 25px;
  text-decoration: none;
  border: 1px solid #fff;
  font-weight: 600;
  font-size: 1em;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: #fff;
  color: #000;
}

/* TRUSTED BY */
#trusted {
  background-color: #0e0e0e;
  padding: 60px 20px;
}

#trusted h2 {
  margin-bottom: 30px;
  font-size: 1.5em;
  text-align: center;
}

.trusted-logos {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  animation: scrollLogos 30s linear infinite;
}

.trusted-logos  {
  max-height: 40px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.trusted-logos :hover {
  opacity: 1;
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* SERVICIOS ARTÍCULO */
#servicios-articulo {
  background-color: #111;
  padding: 60px 20px;
}

.servicio-contenido {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 20px;
}

.servicio-img {
  max-width: 450px;
  width: 100%;
  border-radius: 6px;
}

.servicio-texto {
  max-width: 450px;
  text-align: left;
}

.servicio-texto h2 {
  font-size: 1.8em;
}

.servicio-texto p {
  font-size: 1.1em;
  color: #ccc;
}

/* FOOTER */
footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

footer img {
  max-width: 150px;
  margin-bottom: 10px;
}

footer .social {
  margin-top: 10px;
}

footer .social a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.2em;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    display: none;
    background-color: rgba(0,0,0,0.95);
    width: 100%;
  }

  nav.open ul {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    background-color: rgba(0,0,0,0.8);
  }
}