/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* === HAMBURGUESA === */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #000;
}

/* === MENÚ MOBILE === */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fdfdfd;
  border-top: 2px solid #000;
  padding: 1rem 2rem;
  z-index: 999;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li {
  margin-bottom: 1rem;
}

.mobile-menu ul li a {
  color: #111;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
}

/* Mostrar cuando se activa */
.mobile-menu.show {
  display: block !important;
}

.hidden {
  display: none !important;
}

/* === MENÚ DESKTOP === */
.desktop-menu {
  display: none;
}

@media (min-width: 769px) {
  .hamburger,
  .mobile-menu {
    display: none !important;
  }

  .desktop-menu {
    display: block;
  }

  .nav {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
  }

/* Elimina puntos de listas en menús */
.nav li,
.nav ul,
.mobile-nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}


  .nav > li {
    position: relative;
  }

  .nav a {
    text-decoration: none;
    font-weight: bold;
    color: #111;
    padding: 0.5rem;
    display: block;
  }

  .has-submenu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fdfdfd;
    border: 1px solid #000;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 10;
  }

  .has-submenu:hover .submenu {
    display: block;
  }

  .submenu li {
    border-bottom: 1px solid #eee;
  }

  .submenu li a {
    padding: 0.75rem 1rem;
    color: #111;
  }

  .submenu li a:hover {
    background-color: #e8aa00;
    color: #000;
  }
}

.mobile-menu {
  display: none;
}

.mobile-menu.show {
  display: block;
}

.mobile-menu.hidden {
  display: none;
}

/* TESTIMONIOS */
.testimonios {
  background: #f7f7f7;
  padding: 3rem 1rem;
  text-align: center;
}

.testimonios h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.testimonios blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
}

.testimonios footer {
  margin-top: 0.5rem;
  font-weight: bold;
}

/* OFERTA LIMITADA */
.oferta {
  background-color: #d32f2f;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.oferta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.oferta p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.oferta .cta-btn {
  background-color: #fff;
  color: #d32f2f;
}

.oferta .cta-btn:hover {
  background-color: #f5f5f5;
}

/* === HERO LANDING === */
.hero {
  background: linear-gradient(to bottom, #fdfdfd, #eaeaea); /* Degradado suave */
  text-align: center; /* Centra todo el texto */
  padding: 5rem 1rem 3rem; /* Espaciado amplio */
}

/* Título principal */
.hero h1 {
  font-size: 2.5rem; /* Tamaño grande */
  margin-bottom: 1rem;
  color: #111; /* Negro suave */
  font-weight: bold;
}

/* Subtítulo o descripción */
.hero p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
}

/* Botones principales (CTA y secundario) */
/* Estilo base común */
.hero-buttons a {
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s ease;
  display: inline-block;
}

/* Botón 1: Azul */
.cta-btn {
  background-color: #005b94;
}

.cta-btn:hover {
  background-color: #004476;
}

/* Botón 2: Amarillo */
.secondary-btn:nth-of-type(2) {
  background-color: #e8aa00;
  color: #000;
}

.secondary-btn:nth-of-type(2):hover {
  background-color: #d19b00;
}

/* Botón 3: Verde */
.secondary-btn:nth-of-type(3) {
  background-color: #157245;
}

.secondary-btn:nth-of-type(3):hover {
  background-color: #125a38;
}

/* Botón 4: Rojo */
.secondary-btn:nth-of-type(4) {
  background-color: #d32f2f;
}

.secondary-btn:nth-of-type(4):hover {
  background-color: #b71c1c;
}

/* Botón solicitar presupuesto */
.violet-btn {
  background-color: #8e24aa; /* Violeta principal */
}

.violet-btn:hover {
  background-color: #6a1b9a; /* Más oscuro al hover */
}

/* Prueba social (texto debajo de botones) */
.clients {
  font-size: 0.95rem;
  color: #444;
  margin-top: 1rem;
}

/* === Responsivo para móviles === */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .cta-btn,
  .secondary-btn {
    width: 100%; /* Botones apilan en pantalla chica */
    text-align: center;
  }
}

/* Botón violeta reutilizable */
.violet-btn {
  background-color: #8e24aa;
}

.violet-btn:hover {
  background-color: #6a1b9a;
}

/* Contenedor de botones centrado y responsivo */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Fondo del hero */
.oferta {
  background: linear-gradient(
    to bottom,
    #b12120 0%,     /* rojo */
    #b12120 25%,
    #005b94 25%,
    #005b94 50%,
    #e8aa00 50%,
    #e8aa00 75%,
    #157245 75%,
    #157245 100%
  );
  text-align: center;
  padding: 5rem 1rem 3rem;
  color: white;
}

.hero h1,
.hero p {
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* OFERTA H2 */
.oferta h2 {
  font-size: 3rem; /* Antes: 2rem → aumentado un 50% */
  margin-bottom: 1rem;
}

.oferta h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
}

.tictac {
  font-size: clamp(4rem, 14vw, 6.5rem); /* Rango: 64px a ~104px */
  font-weight: bold;
  margin-top: 1rem;
  color: #fff;
  text-align: center;
}

.tictac {
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: bold;
  margin-top: 1rem;
  color: #fff;
  text-align: center;

  /* Sombra de texto para resaltar sobre cualquier fondo */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tictac {
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: bold;
  margin-top: 1rem;
  color: #fff;
  text-align: center;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);

  /* Animación de entrada */
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.reloj {
  display: inline-block;
  background: linear-gradient(145deg, #2b2b2b, #1a1a1a); /* Negro elegante */
  border: 4px solid #5c4033; /* Marrón oscuro */
  border-radius: 12px;
  padding: 0.5rem 1rem;
  color: #fff; /* Números blancos */
  font-family: 'Courier New', monospace;
  font-size: 2rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  margin-left: 0.5rem;
}

