:root {
  --bg: #121212;
  --bg-dark: #090909;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.13);

  --white: #ffffff;
  --text: #eeeeee;
  --muted: #b9b9b9;

  --orange: #d94f05;
  --orange-light: #ff6a00;
  --red: #E11A2B; /* rojo de marca MaxiPOS (Walgreens), igual que la App */
  --blue: #0b84d8;
  --green: #10820f;

  --radius: 32px;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  height: 86px;
  padding: 0; /* el inset lo maneja .header-container (centrado, = al contenido) */
  background: #E11A2B; /* rojo de marca sólido, igual que la App */
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 190px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  transition: 0.25s ease;
}

.logo:hover img {
  transform: scale(1.03);
}

.nav {
  display: flex;
  gap: 36px;
  font-weight: 600;
  color: #f2f2f2;
}

.nav a {
  position: relative;
  opacity: 0.95;
}

.nav a::after {
  content: "";
  width: 0;
  height: 2px;
  background: #ffffff;
  position: absolute;
  left: 0;
  bottom: -18px;
  transition: 0.25s ease;
}

.nav a.active::after,
.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 14px;
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), #c70f18);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(225, 26, 43, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 56px rgba(225, 26, 43, 0.38);
}

.btn-outline,
.btn-soft {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.btn-outline:hover,
.btn-soft:hover {
  background: rgba(255, 255, 255, 0.1);
}


/* Botones dentro del header rojo translúcido */
.site-header .btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.site-header .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header .btn-primary {
  background: #ffffff;
  color: var(--red);
  box-shadow: none;
}

.site-header .btn-primary:hover {
  background: #f5f5f5;
  color: #c70f18;
  box-shadow: none;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 1.9rem;
}

.hero,
.hero-maxipos {
  min-height: calc(100vh - 86px);
  padding: 140px 4.5% 40px;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 55%, rgba(16, 96, 140, 0.24), transparent 32%),
    radial-gradient(circle at 18% 38%, rgba(255, 106, 0, 0.10), transparent 24%),
    linear-gradient(180deg, #0b0b0b 0%, #101214 55%, #070707 100%);
}

.hero::after,
.hero-maxipos::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 15px;
  border-radius: 999px;
  color: var(--orange-light);
  border: 1px solid rgba(255, 106, 0, 0.55);
  background: rgba(255, 106, 0, 0.10);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(3.4rem, 4.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -4px;
  color: #f4f4f4;
  margin-bottom: 26px;
}

.hero p {
  max-width: 650px;
  color: #cfcfcf;
  font-size: 1.15rem;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.hero-buttons .btn {
  min-width: 234px;
  justify-content: space-between;
}

.hero-points {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 34px;
  color: #cfcfcf;
  font-size: 0.95rem;
}

.hero-points span {
  color: #cfcfcf;
}

.hero-points span::first-letter {
  color: var(--orange-light);
}

.hero-devices,
.hero-visual {
  position: relative;
  z-index: 2;
  height: 610px;
  min-height: 610px;
}

.laptop {
  position: absolute;
  right: 1%;
  top: 10px;
  width: min(760px, 92%);
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) rotateZ(-2deg);
  filter: drop-shadow(0 45px 55px rgba(0, 0, 0, 0.72));
}

.laptop-screen {
  padding: 12px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(145deg, #343434, #080808 55%);
  border: 2px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.laptop-screen img {
  width: 100%;
  height: 390px;
  object-fit: cover;
  object-position: top left;
  border-radius: 8px;
  filter: brightness(0.72) contrast(1.08);
}

.laptop-base {
  height: 58px;
  margin: -2px auto 0;
  width: 104%;
  border-radius: 0 0 38px 38px;
  background: linear-gradient(180deg, #777777, #242424 62%, #0d0d0d);
  transform: perspective(700px) rotateX(62deg);
  transform-origin: top;
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.7);
}

.phone-mockup,
.phone {
  position: absolute;
  right: 0;
  bottom: 38px;
  width: 185px;
  padding: 9px;
  border-radius: 34px;
  background: linear-gradient(145deg, #252525, #050505);
  border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.78);
  transform: rotate(-1deg);
  z-index: 4;
}

.phone-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #080808;
}

.phone-screen img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.82) contrast(1.08);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  width: 58px;
  height: 9px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
  z-index: 3;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading span {
  color: var(--orange-light);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 12px;
}

.section-heading h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

.video-section {
  padding: 105px 5%;
  background:
    radial-gradient(circle at 50% 10%, rgba(225, 26, 43, 0.16), transparent 30%),
    #090909;
}

.video-frame {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.65), rgba(225, 26, 43, 0.3), rgba(11, 132, 216, 0.3));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.video-frame video {
  width: 100%;
  border-radius: 28px;
  background: #000;
}

.software-section {
  padding: 90px 5%;
  background: #111111;
}

.software-block {
  max-width: 1240px;
  margin: 0 auto 95px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.software-block:last-child {
  margin-bottom: 0;
}

.software-block.reverse .software-img {
  order: 2;
}

.software-img {
  padding: 10px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.software-img img {
  border-radius: 26px;
  width: 100%;
}

.orange-border {
  border: 1px solid rgba(255, 106, 0, 0.42);
}

.green-border {
  border: 1px solid rgba(16, 130, 15, 0.5);
}

.blue-border {
  border: 1px solid rgba(11, 132, 216, 0.5);
}

.software-text span {
  color: var(--orange-light);
  text-transform: uppercase;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.software-text h2 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin: 14px 0 18px;
}

.software-text p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 26px;
}

.software-text ul {
  list-style: none;
  display: grid;
  gap: 12px;
}

.software-text li {
  color: var(--text);
  font-weight: 700;
}

.software-text li::before {
  content: "✓";
  color: var(--orange-light);
  margin-right: 10px;
}

.benefits {
  padding: 100px 5%;
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 106, 0, 0.12), transparent 24%),
    radial-gradient(circle at 90% 60%, rgba(11, 132, 216, 0.12), transparent 24%),
    #090909;
}

.benefits-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.benefit {
  text-align: center;
}

.benefit strong {
  font-size: 2rem;
  display: block;
  margin-bottom: 16px;
}

.benefit h3 {
  color: var(--white);
  margin-bottom: 8px;
}

.benefit p {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  padding: 100px 5%;
  background: #111111;
}

.timeline {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}

.timeline article {
  min-height: 240px;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  position: relative;
}

.timeline strong {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-light), var(--orange));
  color: var(--white);
  margin-bottom: 26px;
}

.timeline h3 {
  color: var(--white);
  margin-bottom: 10px;
}

.timeline p {
  color: var(--muted);
}

.plans {
  padding: 100px 5%;
  background: #090909;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 450px));
  justify-content: center;
  gap: 28px;
}

.plan-card {
  padding: 40px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  position: relative;
}

.plan-card.featured {
  border-color: rgba(225, 26, 43, 0.68);
  box-shadow: 0 28px 80px rgba(225, 26, 43, 0.14);
}

.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--red);
  font-size: 0.8rem;
  font-weight: 900;
}

.plan-card h3 {
  color: var(--orange-light);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.price {
  color: var(--white);
  font-size: 2.8rem;
  font-weight: 950;
  margin-bottom: 26px;
}

.price small {
  color: var(--muted);
  font-size: 1rem;
}

.plan-card ul {
  list-style: none;
  display: grid;
  gap: 13px;
  margin-bottom: 32px;
  color: var(--muted);
}

.contact-section {
  padding: 100px 5%;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.12), transparent 30%),
    #111111;
}

.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 30px;
}

.contact-card,
.contact-form {
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--border);
  padding: 36px;
}

.contact-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 24px;
  color: var(--orange-light);
  background: rgba(255, 106, 0, 0.12);
  font-size: 2rem;
}

.contact-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.contact-card p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 22px;
}

.form-group label {
  color: var(--white);
  font-weight: 850;
  margin-bottom: 9px;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 16px 18px;
  font: inherit;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255, 106, 0, 0.75);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.contact-form button {
  width: 100%;
}

.footer {
  padding: 30px 5%;
  text-align: center;
  color: var(--muted);
  background: #090909;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: 0.75s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .software-block,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .software-block.reverse .software-img {
    order: 0;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 5%;
    right: 5%;
    top: 84px;
    padding: 26px;
    border-radius: 26px;
    background: rgba(225, 26, 43, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .desktop-screen {
    position: relative;
    width: 100%;
    transform: rotate(0);
  }

  .mobile-screen {
    display: none;
  }

  .hero-visual {
    min-height: auto;
  }

  .plans-grid,
  .form-grid,
  .timeline,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero,
  .video-section,
  .software-section,
  .benefits,
  .steps,
  .plans,
  .contact-section {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-buttons,
  .hero-points {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-card,
  .contact-form,
  .plan-card {
    padding: 28px;
  }
}
.brand-section {
  padding: 140px 5%;
  background:
    radial-gradient(circle at center, rgba(255, 106, 0, 0.08), transparent 35%),
    #090909;
}

.brand-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.brand-line {
  display: block;
  width: 120px;
  height: 2px;
  margin: 0 auto 45px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--orange-light),
    transparent
  );
}

.brand-line-bottom {
  margin: 45px auto 0;
}

.brand-container h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -2px;
  font-weight: 300;
  margin-bottom: 35px;
}

.brand-container h2 span {
  display: block;
  color: var(--orange-light);
  font-weight: 900;
}

.brand-container p {
  max-width: 650px;
  margin: auto;
  font-size: 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

@media (max-width: 520px) {
  .brand-section {
    padding: 95px 22px;
  }
}

/* ===== Ajustes finales hero MaxiPOS ===== */
@media (max-width: 1100px) {
  .hero,
  .hero-maxipos {
    grid-template-columns: 1fr;
    padding-top: 120px;
    min-height: auto;
  }

  .hero-devices,
  .hero-visual {
    height: 520px;
    min-height: 520px;
  }

  .laptop {
    left: 0;
    right: auto;
    width: 88%;
  }

  .phone-mockup,
  .phone {
    right: 3%;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 76px;
  }

  .nav,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 5%;
    right: 5%;
    top: 84px;
    padding: 26px;
    border-radius: 26px;
    background: rgba(225, 26, 43, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero h1 {
    font-size: 3.4rem;
    letter-spacing: -2px;
  }

  .hero-devices,
  .hero-visual {
    height: 420px;
    min-height: 420px;
  }

  .laptop-screen img {
    height: 270px;
  }

  .phone-mockup,
  .phone {
    width: 135px;
    bottom: 30px;
  }

  .phone-screen img {
    height: 250px;
  }
}

@media (max-width: 520px) {
  .hero,
  .hero-maxipos {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-buttons,
  .hero-points {
    flex-direction: column;
  }

  .hero-buttons .btn,
  .btn {
    width: 100%;
  }

  .hero-devices,
  .hero-visual {
    height: 330px;
    min-height: 330px;
  }

  .laptop {
    width: 100%;
  }

  .laptop-screen img {
    height: 210px;
  }

  .phone-mockup,
  .phone {
    width: 105px;
    right: -4px;
  }

  .phone-screen img {
    height: 195px;
  }
}


/* ===== Hero con imagen ===== */
.hero-image{display:flex;justify-content:flex-end;align-items:center;position:relative;z-index:2}
.hero-image img{width:100%;max-width:900px;height:auto;display:block;object-fit:contain;filter:drop-shadow(0 35px 60px rgba(0,0,0,.45))}
@media(max-width:1100px){.hero-image{justify-content:center;margin-top:100px}.hero-image img{max-width:1500px}}
@media(max-width:520px){.hero-image img{max-width:150%}}


/* ===== Ajustes solicitados: secciones Caja/Ventas y WhatsApp ===== */

/* Caja y Ventas quedan con la misma estructura visual que Productos */
.software-block,
.software-block.reverse {
  grid-template-columns: 1.15fr 0.85fr;
}

.software-block.reverse .software-img {
  order: 0;
}

.software-img {
  min-height: 430px;
  display: flex;
  align-items: center;
}

.software-img img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  object-position: top left;
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  height: 58px;
  padding: 0 12px 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25d366;
  color: #07130b;
  font-weight: 950;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.46);
}

.whatsapp-float strong {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.95);
  color: #25d366;
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 1100px) {
  .software-block,
  .software-block.reverse {
    grid-template-columns: 1fr;
  }

  .software-img {
    min-height: auto;
  }

  .software-img img {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    height: 54px;
    padding-left: 16px;
  }

  .whatsapp-float span {
    display: none;
  }
}


/* ===== Corrección final: Caja y botón WhatsApp ===== */
.software-block:nth-of-type(2) .software-text h2 {
  font-size: clamp(2.2rem, 3.35vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: -1.8px;
}

.software-block:nth-of-type(2) .software-text p {
  margin-bottom: 22px;
}

.software-block:nth-of-type(2) .software-text ul {
  gap: 10px;
}

.whatsapp-float {
  width: 62px;
  height: 62px;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #ffffff;
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
  display: block;
}

.whatsapp-float strong,
.whatsapp-float span {
  display: none !important;
}

@media (max-width: 520px) {
  .software-block:nth-of-type(2) .software-text h2 {
    font-size: clamp(2.05rem, 12vw, 3.1rem);
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }

  .whatsapp-float svg {
    width: 31px;
    height: 31px;
  }
}


/* ===== Corrección intercalado + ajuste alto Ventas ===== */
.software-block {
  align-items: stretch;
}

.software-block.reverse .software-img {
  order: 2;
}

.software-block.reverse .software-text {
  order: 1;
}

.software-img {
  height: 100%;
}

.software-img img {
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.software-text {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.software-block:nth-of-type(3) .software-text h2 {
  font-size: clamp(2.1rem, 3.45vw, 3.55rem);
  line-height: 1.04;
}

.software-block:nth-of-type(3) .software-text p {
  margin-bottom: 22px;
}

.software-block:nth-of-type(3) .software-text ul {
  gap: 10px;
}

@media (max-width: 1100px) {
  .software-block.reverse .software-img,
  .software-block.reverse .software-text {
    order: initial;
  }

  .software-text {
    display: block;
  }
}


/* ===== Slider de videos MaxiPOS ===== */
.video-slider {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  padding: 0 68px 54px;
}

.video-track {
  position: relative;
  min-height: 760px;
}

.video-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(22px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.video-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.video-slider .video-frame {
  max-width: none;
}

.video-slider .video-frame video {
  height: 610px;
  object-fit: cover;
  object-position: top left;
}

.video-caption {
  max-width: 760px;
  margin: 26px auto 0;
  text-align: center;
}

.video-caption span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--orange-light);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-caption h3 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 8px;
}

.video-caption p {
  color: var(--muted);
  font-size: 1.05rem;
}

.video-arrow {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 106, 0, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  display: grid;
  place-items: center;
  position: absolute;
  top: 310px;
  z-index: 5;
  font-size: 2.7rem;
  line-height: 1;
  cursor: pointer;
  transition: 0.25s ease;
}

.video-arrow:hover {
  background: rgba(255, 106, 0, 0.18);
  transform: translateY(-2px);
}

.video-prev { left: 0; }
.video-next { right: 0; }

.video-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 12px;
}

.video-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: 0.25s ease;
}

.video-dots button.active {
  width: 34px;
  background: var(--orange-light);
}

@media (max-width: 820px) {
  .video-slider {
    padding: 0 0 50px;
  }

  .video-track {
    min-height: 560px;
  }

  .video-slider .video-frame video {
    height: 390px;
  }

  .video-arrow {
    top: auto;
    bottom: 0;
    width: 46px;
    height: 46px;
    font-size: 2.2rem;
  }

  .video-prev { left: 24px; }
  .video-next { right: 24px; }
}

@media (max-width: 520px) {
  .video-track {
    min-height: 500px;
  }

  .video-slider .video-frame {
    padding: 7px;
    border-radius: 24px;
  }

  .video-slider .video-frame video {
    height: 300px;
    border-radius: 18px;
  }

  .video-caption {
    margin-top: 22px;
  }
}
.contact-layout {
  grid-template-columns: 0.45fr 0.55fr;
  align-items: center;
}

.contact-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 35px 60px rgba(0,0,0,.55));
}

/* ===== Ajustes responsive logo header ===== */
@media (max-width: 820px) {
  .logo img {
    width: 130px;
  }
}

@media (max-width: 520px) {
  .logo img {
    width: 138px;
  }
}


/* ===== Ajustes finales de estructura y alineación ===== */
:root {
  --container: 1280px;
  --container-pad: 32px;
}

.site-header {
  height: auto;
  padding: 0;
  display: block;
}

.header-container {
  width: 100%;
  max-width: var(--container);
  height: 86px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Misma línea visual entre logo del header y textos del hero */
.hero,
.hero-maxipos {
  padding: 142px max(var(--container-pad), calc((100vw - var(--container)) / 2 + var(--container-pad))) 76px;
}

/* Ancho máximo unificado para que todas las secciones respiren igual */
.video-slider,
.video-frame,
.software-block,
.benefits-grid,
.timeline,
.plans-grid,
.contact-layout {
  max-width: var(--container);
}

.software-section,
.benefits,
.steps,
.plans,
.contact-section {
  padding-top: 125px;
  padding-bottom: 125px;
}

.video-section {
  padding-top: 125px;
  padding-bottom: 125px;
}

.brand-section {
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-heading {
  margin-bottom: 64px;
}

.software-block {
  margin-bottom: 120px;
}

@media (max-width: 1100px) {
  .hero,
  .hero-maxipos {
    padding: 126px var(--container-pad) 70px;
  }
}

@media (max-width: 820px) {
  .header-container {
    height: 76px;
  }

  .nav.open {
    left: var(--container-pad);
    right: var(--container-pad);
    top: 82px;
  }

  .hero,
  .hero-maxipos {
    padding-top: 112px;
  }
}

@media (max-width: 520px) {
  :root {
    --container-pad: 22px;
  }

  .header-container {
    padding: 0 var(--container-pad);
  }

  .hero,
  .hero-maxipos,
  .video-section,
  .software-section,
  .benefits,
  .steps,
  .plans,
  .contact-section {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .software-section,
  .benefits,
  .steps,
  .plans,
  .contact-section,
  .video-section {
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .brand-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}


/* ===== Corrección definitiva: contenedor único header + hero ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.header-container.container {
  /* Mismo container que el contenido (max-width centrado + pad) → el logo queda
     alineado a la izquierda con las secciones. El site-header NO agrega padding
     horizontal propio (si no, doble inset y el logo queda más adentro). */
  max-width: var(--container);
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.hero,
.hero-maxipos {
  display: block;
  min-height: calc(100vh - 86px);
  padding: 142px 0 76px;
}

.hero-container {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.logo {
  margin-left: 0;
  padding-left: 0;
}

@media (max-width: 1100px) {
  .hero,
  .hero-maxipos {
    padding: 126px 0 70px;
  }

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

@media (max-width: 820px) {
  .hero,
  .hero-maxipos {
    padding-top: 112px;
  }
}

@media (max-width: 520px) {
  .container,
  .header-container.container {
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
  }

  .hero,
  .hero-maxipos {
    padding-left: 0;
    padding-right: 0;
  }
}
