/* assets/css/styles.css */

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none; 
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #111;
  background-color: #fff;
  line-height: 1.6;
}

/* ---------- GLOBAL ELEMENTS ---------- */
a {
  color: rgb(21,25,34);
  text-decoration: none;
}

a:hover {
  color: #fae053;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.section {
  padding: 40px 0;
}

.btn-primary {
  display: inline-block;
  background-color: #fae053;
  color: #111;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-primary:hover {
  background-color: #262626;
  color: #fae053;
  transform: scale(1.03);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgb(21,25,34);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  z-index: 10;
}

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

.logo img {
  height: 40px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav a {
  font-weight: 600;
  transition: color 0.3s;
  color:#ffffff;
}

.nav a:hover {
  color: #fae053;
}

/* New hamburger icon styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fae053;
  border-radius: 2px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

.hero-content {
  color: #fff;
  max-width: 1200px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px #262626;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 2px #262626;
}

/* ---------- ABOUT ---------- */
.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.about h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.about p {
  font-size: 1.1rem;
}

.about video {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.desktop-video {
  display: block;
}

.mobile-video {
  display: none !important;
}

/* ---------- FEATURES ---------- */
.feature .icon {
  height: 60px;
  width: 60px;
  margin: 0 auto 20px;
  display: block;
  color: #111;
}

.feature:hover .icon {
  color: #fae053;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px #fae053;
}

.feature img {
  margin-bottom: 20px;
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
}

/* ---------- USE CASES ---------- */
.usecases h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
}

.usecases .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px #fae053;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 15px 20px 10px;
}

.card p {
  margin: 0 20px 20px;
}

/* ---------- FAQ ---------- */
.faq h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  background-color: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Icono desplegable */
.faq-item summary::after {
  content: "＋";
  margin-left: auto;
  font-size: 1.1rem;
  transition: transform 0.2s, color 0.2s;
  color: #555;
}

.faq-item[open] summary::after {
  content: "－";
  color: #fae053;
}

.faq-item p {
  padding: 0 20px 16px 20px;
  font-size: 0.95rem;
  color: #444;
}

.faq-item[open] {
  box-shadow: 0 4px 12px #fae053;
  border-color: rgba(0,0,0,0.12);
}

/* ---------- CONTACT ---------- */
.contact {
  text-align: center;
  background-color: #fafafa;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background-color: #111;
  color: #eee;
  text-align: center;
  padding: 30px 0;
  font-size: 0.9rem;
}

.footer a {
  color: #fae053;
}

.footer a:hover {
  text-decoration: underline;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .section {
    padding: 20px 0;
  }

  .about .container {
    grid-template-columns: 1fr;
  }

  .desktop-video {
    display: none !important;
  }

  .mobile-video {
    display: block !important;
    width: 100%;
    height: auto;
    min-height: 280px;
    border-radius: 10px;
    object-fit: cover;
    background: #000;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .nav ul {
    gap: 15px;
    display: none;
    flex-direction: column;
    background: rgba(21,25,34,0.95);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 20px;
    border-radius: 8px;
  }

  .nav.active ul {
    display: flex;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
    top: 20px;
  }

  .faq h2 {
    font-size: 1.8rem;
  }

  .faq-item summary {
    padding: 14px 16px;
  }

  .faq-item p {
    padding: 0 16px 14px 16px;
  }
}

/* ============================= */
/* ---------- SOPORTE ---------- */
/* ============================= */

/* Hero específico de soporte (puedes ajustarlo a tu gusto) */
.support-hero {
  /* reutiliza .hero, pero puedes cambiar la altura o el fondo si quieres */
  height: 60vh;
  min-height: 420px;
  background: radial-gradient(circle at top, #1f2430 0, #111 60%, #000 100%);
}

/* Secciones internas de soporte */
.support-section {
  background-color: #ffffff;
}

.support-section:nth-of-type(even) {
  background-color: #fafafa;
}

/* Grid genérico para tarjetas de soporte (checklist, guías, etc.) */
.support-section .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Botón secundario usado en la zona de guías */
.btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #fae053;
  font-weight: 500;
  font-size: 0.95rem;
  background-color: transparent;
  color: #111;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.btn-secondary:hover {
  background-color: #fae053;
  color: #111;
  transform: scale(1.02);
}

/* Cuerpo de los acordeones de soporte (cuando hay más de un párrafo o listas) */
.faq-body {
  padding: 0 20px 16px 20px;
  font-size: 0.95rem;
  color: #444;
}

.faq-body p {
  margin-bottom: 10px;
}

.faq-body ul {
  padding-left: 18px;
  margin-bottom: 8px;
}

.faq-body li {
  margin-bottom: 4px;
}

/* Títulos de bloque dentro de la lista de FAQs de soporte */
.support-page .faq-list h3 {
  margin: 24px 0 12px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
}

/* ---------- SOPORTE: CARDS SIN ANIMACIÓN ---------- */
.support-section .card {
  padding: 20px;
}
.support-section .card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.08) !important;
  transform: none !important;
}

/* ---------- SOPORTE: CHECKLIST SIMPLE ---------- */

.support-section .card ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.support-section .card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #222;
}

/* Casilla visible y clicable */
.support-section .card ul li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #fae053;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
}

/* Estado marcado: clic simulado al pulsar */
.support-section .card ul li.checked::before {
  background-color: #fae053;
  box-shadow: inset 0 0 0 3px #fff;
  transform: scale(0.95);
}

/* Efecto visual en el texto al marcar */
.support-section .card ul li.checked {
  color: #777;
  text-decoration: line-through;
}

/* Responsive específico para soporte */
@media (max-width: 768px) {
  .support-hero {
    height: auto;
    padding: 120px 0 60px;
  }

  .support-section .grid {
    grid-template-columns: 1fr;
  }

  .faq-body {
    padding: 0 16px 14px 16px;
  }
}

/* ---------- SOPORTE: AVISO EN HERO ---------- */
.hero-warning {
  background-color: #fae053;
  color: #000;
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 25px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero-warning p {
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 0.95rem;
  text-shadow: none;
}

.hero-warning a {
  color: #000;
  font-weight: 600;
}

.hero-warning .btn-primary {
  display: inline-block;
  background-color: #262626;
  color: #fae053;
  border-radius: 30px;
  padding: 10px 26px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.hero-warning .btn-primary:hover {
  background-color: #fff;
  color: #262626;
}

/* ---------- 404 PAGE ---------- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px;
  text-align: center;

  /* Fondo coherente con hero/support */
  background: radial-gradient(circle at top, #1f2430 0, #111 60%, #000 100%);
  color: #fff;
}

.error-container .content {
  max-width: 520px;
  margin: 0 auto;
}

.logo-404 {
  width: 80px;
  margin: 0 auto 20px;
}

.error-container h1 {
  font-size: 5rem;
  font-weight: 700;
  color: #fae053;
  margin-bottom: 10px;
}

.error-container h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.error-container p {
  font-size: 1rem;
  margin-bottom: 24px;
  color: #ddd;
  line-height: 1.5;
}

/* Botones y acciones */
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.error-page .btn-secondary {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid #fae053;
  font-weight: 500;
  font-size: 0.95rem;
  background-color: transparent;
  color: #fae053;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.error-page .btn-secondary:hover {
  background-color: #fae053;
  color: #111;
  transform: scale(1.02);
}

.error-note {
  font-size: 0.9rem;
  color: #aaa;
}

.error-note a {
  color: #fae053;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .error-page {
    padding: 30px 20px;
  }

  .error-container h1 {
    font-size: 3.5rem;
  }

  .error-container h2 {
    font-size: 1.4rem;
  }

  .error-container p {
    font-size: 0.95rem;
  }
}