* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* oculta el scroll horizontal */
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

.header {
  background-color: #fff;
  padding: 1rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0056b3;
}

.internacional {
  text-decoration: none;
  color: white;
  background: #e63946;
  width: 100%;
  padding: 1%;
  border-radius: 12px;
}

.postura {
  width: auto;
  max-width: 430px;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Hero minimalista */
.hero {
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  color: #111;
}

.herotec {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  color: #111;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.2rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.terahertz {
  background-color: #f4c2c8;
  width: 100%;
  border-radius: 12px;
}

/* Botones estilo Tsutsumi */
.btn-primary {
  padding: 0.9rem 2rem;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #111;
  color: #fff;
}

.btn-secondary {
  padding: 0.9rem 2rem;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #111;
  color: #fff;
}

#producto > div:nth-child(2) div img {
  width: auto;
  max-width: 430px;
  max-height: 400px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

#producto > div:nth-child(2) {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#producto > div:nth-child(2) div {
  text-align: center;
}

/* Contenedor de beneficios */
#beneficios {
  padding: 4rem 2rem;
  text-align: center;
}

#beneficios h2 {
  text-align: center;
}

#beneficios .des {
  text-align: center;
}

/* Grid principal */
#beneficios .beneficios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Cada beneficio */
#beneficios .beneficio {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#beneficios .beneficio:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#beneficios .beneficio img {
  max-width: 80px;
  margin-bottom: 1rem;
}

#beneficios .beneficio h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

#beneficios .beneficio p {
  font-size: 0.95rem;
  color: #555;
}

/* Sección Transforma */
#transforma {
  background: #e63946;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 16px;
  max-width: 900px;
  margin: 4rem auto;
}

#transforma h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

#transforma > p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

/* Caja de precio */
#transforma #precio {
  background: #fff;
  color: #111;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  min-width: 280px;
}

#transforma #precio p:first-child {
  font-size: 1.2rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 0.3rem;
}

#transforma #precio .precio-nuevo {
  font-size: 2rem;
  font-weight: bold;
  color: #e63946;
  margin-bottom: 1rem;
}

#transforma #precio p.oferta {
  font-size: 1rem;
  color: #e63946;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.comprar {
  font-size: 1.2rem;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  cursor: pointer;
  background: #e63946;
  color: #fff;
  border: none;
  transition: background 0.3s ease;
}

#transforma #precio .btn-primary:hover {
  background: #c62828;
}

#transforma #precio p {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #111;
}

footer {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: #111;
  gap: 1rem;
  width: 100%;
  padding: 2rem;
  box-sizing: border-box;
}

footer div h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

footer p {
  color: #bbb;
  margin-bottom: 1rem;
}

footer h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin: 0.5rem 0;
}

footer ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #e63946;
}

#copyright {
  grid-column: 1 / -1;
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1rem;
  margin-top: 2rem;
  color: #888;
  font-size: 0.85rem;
}

/* 📱 Móviles (hasta 600px) */
@media (max-width: 600px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .hero h1, .herotec h2 {
    font-size: 2rem;
  }

  .hero p, .herotec p {
    font-size: 1rem;
  }

  #producto > div:nth-child(2) {
    flex-direction: column;
    align-items: center;
  }

  #beneficios .beneficios-grid {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

/* 📱 Tablets (601px a 992px) */
@media (min-width: 601px) and (max-width: 992px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  #beneficios .beneficios-grid {
    grid-template-columns: 1fr 1fr;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

/* 💻 Escritorio (más de 992px) */
@media (min-width: 993px) {
  #beneficios .beneficios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  footer {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}
