/* ==============================
   HEADER
=================================*/



/* ===== MEGA DROPDOWN ===== */
.mega-dropdown {
  position: absolute;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  padding: 28px 36px;
  display: none;
  gap: 60px;
  z-index: 999;
  min-width: 520px;
}

.mega-dropdown.active {
  display: flex;
}

.dropdown-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.dropdown-col a {
  font-size: 13px;
  text-decoration: none;
  color: #0a74ff;
}

.dropdown-col ul {
  list-style: none;
  padding: 0;
  margin-top: 12px;
}

.dropdown-col li {
  margin-bottom: 8px;
}

.dropdown-col li a {
  color: #333;
  font-size: 13px;
  text-decoration: none;
}

.dropdown-col li a:hover {
  color: #0a74ff;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .mega-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    width: 100%;
    padding: 20px;
    flex-direction: column;
    gap: 30px;
  }
}


/* ===== HEADER BASE ===== */


.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  color: #111;
  padding: 0;
}

.mega-dropdown {
  position: absolute;
  top: 46px;
  left: 0;
  display: none;
  background: #fff;
  padding: 24px 28px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  min-width: 420px;
  gap: 48px;
  z-index: 999;
}

/* Mostrar dropdown al hover */
.has-dropdown:hover .mega-dropdown {
  display: flex;
}

/* Columnas */
.dropdown-col {
  min-width: 180px;
}

.dropdown-col h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dropdown-col a {
  font-size: 13px;
  color: #0a74ff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 12px;
}

.dropdown-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-col li a {
  display: block;
  font-size: 13px;
  color: #111;
  padding: 6px 0;
  text-decoration: none;
}

.dropdown-col li a:hover {
  color: #0a74ff;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.header-wrap {
  max-width: 1300px;
  margin: auto;
  padding: 12px 24px; /* ↓ un poco más compacto */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 26px; /* ↓ más pequeño */
}

/* NAV */
.nav {
  display: flex;
  gap: 22px; /* ↓ menos espacio */
}

.nav a {
  text-decoration: none;
  font-size: 13px; /* ↓ tamaño real tipo Samsung */
  color: #111;
  font-weight: 500;
}

/* ACCIONES */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.start-free {
  background: #0a74ff;
  color: #fff;
  padding: 7px 14px; /* ↓ más compacto */
  border-radius: 18px;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

/* BANDERA */
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.lang-btn img {
  width: 20px; /* ↓ */
  height: auto;
  display: block;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 12px;
  }

  .start-free {
    padding: 6px 12px;
    font-size: 11px;
  }

  .logo img {
    height: 24px;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .header-wrap {
    padding: 10px 16px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 58px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
    border-top: 1px solid #eee;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    font-size: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .start-free {
    font-size: 11px;
    padding: 6px 12px;
  }

  .lang-btn img {
    width: 18px;
  }
}

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

/* ==============================
   BODY
=================================*/
body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111;
}

/* ==============================
   SECCIÓN INDUSTRIES / HERO
=================================*/
.industries {
  max-width: 1200px;
  margin: 30px auto 0;   /* ⬅ sube la sección */
  padding: 40px 20px;
}

.top-label {
  text-align: center;
  font-size: 12px;
  letter-spacing: 4px;
  color: #555;
  margin-bottom: 30px;
}

.content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.text-block {
  flex: 1;
  min-width: 320px;
}

.text-block h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.text-block p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  max-width: 480px;
}

.text-block p a {
  color: royalblue;
  text-decoration: none;
}

.buttons {
  margin-top: 24px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.primary {
  background: #000;
  color: #fff;
}

.secondary {
  background: #333;
  color: #fff;
}

.image-block {
  flex: 1;
  min-width: 320px;
}

.image-block img {
  width: 100%;
  aspect-ratio: 16 / 10;  /* proporción correcta */
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* ==============================
   SECCIÓN BENEFITS
=================================*/

.benefits {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 30px;
}

.benefits h2 {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* GRID DE 3 */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

/* ITEM */
.benefit-item {
  text-align: left;
}

/* IMAGEN — AJUSTE CLAVE */
.benefit-image {
  max-width: 320px;        /* 🔑 imagen más pequeña */
  margin: 0 auto 18px;     /* 🔑 centrada */
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}

.benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* TEXTO */
.benefit-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.benefit-item p a {
  color: #2563eb;
  text-decoration: none;
}

.benefit-item p a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .benefits h2 {
    font-size: 26px;
    margin-bottom: 35px;
  }

  .benefit-image {
    max-width: 100%;
  }
}

/* ==============================
   SECCIÓN zig zag
=================================*/

.zigzag-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 70px;
}

.zigzag-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin: 0;
}

.zigzag-btn {
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.zigzag-btn:hover {
  background: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .zigzag-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}


.zigzag-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
}

.zigzag-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

/* Zig-zag automático */
.zigzag-item:nth-child(even) {
  direction: rtl;
}

.zigzag-item:nth-child(even) > * {
  direction: ltr;
}

.zigzag-text h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.zigzag-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.zigzag-image img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 900px) {
  .zigzag-item {
    grid-template-columns: 1fr;
  }

  .zigzag-item:nth-child(even) {
    direction: ltr;
  }

  .zigzag-image {
    order: -1;
  }
}


/* ==============================
   SECCIÓN faq egro
=================================*/


.ease-section {
  max-width: 1300px;
  margin: 80px auto;
  padding: 100px 40px;
  background: #fff;        /* fondo blanco como la referencia */
  color: #000;             /* texto negro */
  border: 2px solid #000;  /* UN SOLO BORDE */
}

.ease-title {
  color: #000;
}

.faq-content p {
  color: #666;
}

.faq-number {
  color: #999;
}

.faq-divider {
  background: rgba(0,0,0,0.2);
}


.ease-title {
  text-align: center;
  font-size: 42px;
  margin-bottom: 80px;
}

.ease-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ease-image img {
  width: 100%;
  border-radius: 0; /* en la referencia es recta */
}


/* =========================
   FAQ
   ========================= */

.section-container {
    background: #0d0d0d;
    color: white;
    padding: 80px 40px;
}

/* TITULO CENTRADO */
.main-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 60px;
}

/* CONTENEDOR 2 COLUMNAS */
.content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap; /* permite que se acomode en móvil */
}

.left {
    width: 45%;
    min-width: 300px; /* evita que se rompa */
}

.right img {
    width: 100%;
    max-width: 520px;
    border-radius: 8px;
    object-fit: cover;
}

/* FAQ */
.faq {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-question span {
    font-weight: bold;
    font-size: 18px;
    color: #c0c0c0;
}

.faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #cfcfcf;
}

.faq-item.active .faq-answer {
    display: block;
}

.cta {
    margin-top: 40px;
    padding: 12px 28px;
    background: white;
    color: black;
    border-radius: 20px;
    border: none;
    cursor: pointer;
}

/* ==============================
   RESPONSIVE FAQ NEGRA
=================================*/

@media (max-width: 1000px) {
    .content {
        gap: 40px;
    }
}

@media (max-width: 850px) {
    .content {
        flex-direction: column;
        text-align: center;
    }

    .left,
    .right {
        width: 100%;
    }

    .main-title {
        font-size: 28px;
    }
}

@media (max-width: 500px) {
    .main-title {
        font-size: 24px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }
}

/* ==============================
   video
=================================*/


.tutorial-hero {
  text-align: center;
  padding: 40px 0;
}

.tutorial-hero h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

/* párrafo centrado arriba del video (si existe) */
.tutorial-hero p {
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-size: 16px;
  color: #555;
}

/* =========================
   VIDEO
   ========================= */

.video-container {
  width: 70%;                 /* más pequeño */
  max-width: 900px;           /* controlado */
  margin: 0 auto;             /* centrado */
  background: black;
  border-radius: 20px;
  overflow: hidden;
}

.video-container video,
.video-container iframe {
  width: 100%;
  display: block;
}

/* =========================
   BOTÓN
   ========================= */

.tutorial-btn {
  margin-top: 30px;
  padding: 14px 36px;
  background: #000;           /* fondo negro */
  color: #fff;
  border: none;
  border-radius: 999px;       /* totalmente redondo */
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.tutorial-btn:hover {
  background: #222;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {
  .tutorial-hero h2 {
    font-size: 24px;
  }

  .tutorial-hero p {
    font-size: 15px;
  }

  .video-container {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .tutorial-btn {
    width: auto;
    padding: 14px 30px;
  }
}



/* ==============================
    FAQ
=================================*/


/* =========================
   DIGITAL MENU FAQ
   ========================= */

.dm-faq-section {
  max-width: 900px;
  margin: 100px auto;
  padding: 0 20px;
}

.dm-faq-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

.dm-faq-item {
  background: #f1f1f1;
  margin-bottom: 10px;
}

.dm-faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.dm-faq-icon {
  font-size: 22px;
  font-weight: 400;
}

.dm-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f1f1f1;
}

.dm-faq-answer p {
  padding: 0 20px 20px 20px;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.dm-faq-item.active .dm-faq-answer {
  max-height: 300px;
}


/* ==============================
   FOOTER
=================================*/

.site-footer {
  background: #0e0e0e;
  color: #cfcfcf;
  padding: 80px 30px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cfcfcf;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #fff;
}

/* BOTÓN */
.footer-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 22px;
  border-radius: 30px;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* REDES SOCIALES */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.social-links a:hover {
  background: #fff;
}

.social-links a:hover svg {
  fill: #000;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-btn {
    margin: auto;
  }
}