/* ============================================
   AGENCIA FGS — estilos-disenoweb.css
   Página: Diseño de Páginas Web
   ============================================ */

/* ===== HERO ===== */
.dw-hero {
  position: relative;
  min-height: 500px;
  padding-top: 74px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.dw-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.dw-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: hero-bg-drift 18s ease-in-out infinite;
}

.dw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(10,10,107,0.80) 0%,
    rgba(10,10,107,0.55) 50%,
    rgba(26,26,224,0.40) 100%
  );
}

.dw-hero-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

/* --- Imagen izquierda con borde amarillo --- */
.dw-hero-img-col {
  animation: fade-up 0.9s ease both;
}

.dw-hero-img-wrap {
  border: 4px solid var(--amarillo);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 32px rgba(255,215,0,0.35), var(--sombra-card);
  position: relative;
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.dw-hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.15), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dw-hero-img-wrap:hover {
  box-shadow: 0 0 48px rgba(255,215,0,0.6), var(--sombra-card-hover);
  transform: translateY(-4px) scale(1.01);
}

.dw-hero-img-wrap:hover::after { opacity: 1; }

.dw-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.95) saturate(1.1);
}

.dw-hero-img-wrap:hover .dw-hero-img {
  transform: scale(1.04);
  filter: brightness(1.05) saturate(1.25);
}

/* --- Texto derecha --- */
.dw-hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  animation: fade-up 0.9s 0.2s ease both;
}

.dw-hero-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--blanco);
  text-shadow: 0 0 24px rgba(0,102,255,0.5);
}

.dw-title-block {
  font-family: var(--font-titulo);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--blanco);
  display: block;
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(0,102,255,0.6);
}

.dw-hero-line {
  width: 80px;
  height: 4px;
  background: var(--verde-neon);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,255,102,0.6);
}

.dw-hero-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  font-style: italic;
  max-width: 460px;
}

/* ===== LÍNEA VERDE BAJO BANNER ===== */
.dw-green-line {
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--verde-neon), transparent);
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(0,255,102,0.5);
}

/* ===== CARACTERÍSTICAS ===== */
.dw-caracteristicas {
  background: linear-gradient(160deg, #0D0D7A 0%, var(--azul-oscuro) 60%, #0C0C85 100%);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}

.dw-caracteristicas::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,102,0.07), transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none;
  animation: float-particle 14s ease-in-out infinite;
}

.dw-carac-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Título subrayado */
.dw-carac-titulo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--blanco);
  font-style: italic;
  text-decoration: underline;
  text-decoration-color: var(--verde-neon);
  text-underline-offset: 6px;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

/* Lista de características */
.dw-carac-lista {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dw-carac-lista li {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--blanco);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition), transform var(--transition);
  cursor: default;
}

.dw-carac-lista li:hover {
  color: var(--amarillo);
  transform: translateX(6px);
}

.dw-bullet {
  color: var(--blanco);
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

/* SSL destacado en amarillo */
.dw-highlight {
  color: var(--amarillo) !important;
}

.dw-highlight strong {
  color: var(--amarillo);
  text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

.dw-highlight .dw-bullet {
  color: var(--amarillo);
}

.dw-btn-margin {
  margin-top: 28px;
  display: inline-block;
}

/* --- Columna derecha imagen + whatsapp --- */
.dw-carac-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.dw-carac-img-wrap {
  width: 100%;
  border: 3px solid var(--azul-electrico);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra-card);
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}

.dw-carac-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,102,255,0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.dw-carac-img-wrap:hover {
  box-shadow: var(--sombra-card-hover);
  transform: translateY(-4px);
}

.dw-carac-img-wrap:hover::after { opacity: 1; }

.dw-carac-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.9) saturate(1.1);
}

.dw-carac-img-wrap:hover .dw-carac-img {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.3);
}

.dw-whatsapp-wrap {
  display: flex;
  justify-content: center;
}

/* ===== RESPONSIVE TABLET ===== */
@media (max-width: 900px) {
  .dw-hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .dw-hero-text-col {
    align-items: center;
  }

  .dw-hero-desc {
    text-align: center;
  }

  .dw-carac-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .dw-carac-right {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ===== RESPONSIVE MÓVIL ===== */
@media (max-width: 600px) {
  .dw-hero-img-wrap {
    max-width: 340px;
    margin: 0 auto;
  }

  .dw-carac-titulo {
    font-size: 0.95rem;
  }

  .dw-carac-lista li {
    font-size: 0.9rem;
  }
}

/* ===== MENÚ DESPLEGABLE SERVICIOS ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0A0A6B;
  border: 1px solid #0066FF;
  border-radius: 8px;
  min-width: 230px;
  z-index: 2000;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: 0.3s ease;
}

.nav-dropdown li a:hover {
  background: rgba(255,215,0,0.12);
  color: #FFD700;
  padding-left: 24px;

/* ===== MENÚ DESPLEGABLE SERVICIOS ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0A0A6B;
  border: 1px solid #0066FF;
  border-radius: 8px;
  min-width: 230px;
  z-index: 2000;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: 0.3s ease;
}

.nav-dropdown li a:hover {
  background: rgba(255,215,0,0.12);
  color: #FFD700;
  padding-left: 24px;

  /* ===== MENÚ DESPLEGABLE SERVICIOS ===== */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #0A0A6B;
  border: 1px solid #0066FF;
  border-radius: 8px;
  min-width: 230px;
  z-index: 2000;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.nav-item-dropdown:hover .nav-dropdown {
  display: block;
}

.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
  transition: 0.3s ease;
}

.nav-dropdown li a:hover {
  background: rgba(255,215,0,0.12);
  color: #FFD700;
  padding-left: 24px;