.home-products,
.home-enterprise,
.home-journey,
.home-delivery,
.home-plans,
.home-status {
  margin: 0 0 clamp(72px, 6.2vw, 112px);
}

.proof-strip { margin: 32px 0 clamp(72px, 6.2vw, 112px); }
.home-products .section-heading { margin-bottom: clamp(28px, 3vw, 42px); }
.home-products .section-heading h2,
.home-enterprise h2,
.home-delivery h2,
.home-plans h2,
.home-status h2 {
  margin: 12px 0 15px;
  font-size: clamp(34px, 3.1vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.home-products .section-heading > p,
.home-journey .section-heading > p,
.home-enterprise p,
.home-delivery p,
.home-plans p,
.home-status p {
  color: var(--muted);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.75;
}

.home-product-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(14px, 1.5vw, 22px); align-items: stretch; transition: grid-template-columns .78s cubic-bezier(.22,1,.36,1); }
.home-product-card {
  display: grid;
  grid-template-rows: clamp(220px, 16vw, 300px) minmax(0, 1fr);
  height: clamp(620px, 36vw, 700px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: linear-gradient(150deg, rgba(17,28,50,.97), rgba(10,18,33,.97));
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
  transform-origin: center;
  transition: transform .78s cubic-bezier(.22,1,.36,1), filter .65s ease, opacity .65s ease, border-color .55s ease, box-shadow .65s ease;
}
.home-product-grid[data-active="0"] { grid-template-columns: 1.5fr .75fr .75fr; }
.home-product-grid[data-active="1"] { grid-template-columns: .75fr 1.5fr .75fr; }
.home-product-grid[data-active="2"] { grid-template-columns: .75fr .75fr 1.5fr; }
.home-product-grid[data-active] .home-product-card { filter: grayscale(.72); opacity: .78; }
.home-product-grid[data-active="0"] .home-product-card:nth-child(1),
.home-product-grid[data-active="1"] .home-product-card:nth-child(2),
.home-product-grid[data-active="2"] .home-product-card:nth-child(3) { transform: translateY(-4px); filter: none; opacity: 1; border-color: rgba(124,58,237,.7); box-shadow: 0 25px 58px rgba(0,0,0,.3), 0 0 0 1px rgba(124,58,237,.12); }
.home-product-image { position: relative; display: block; height: 100%; overflow: hidden; border-bottom: 1px solid var(--line); background: #091222; }
.home-product-image::after { position: absolute; inset: 40% 0 0; content: ""; background: linear-gradient(transparent, rgba(5,10,20,.83)); pointer-events: none; }
.home-product-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .35s ease; }
.home-product-card:hover .home-product-image img { transform: scale(1.035); filter: saturate(1.08); }
.home-product-image > span { position: absolute; z-index: 1; right: 15px; bottom: 13px; left: 15px; color: #d6e1f0; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.home-product-copy { display: grid; align-content: start; justify-items: start; min-height: 0; overflow: hidden; padding: 22px 23px 21px; }
.home-product-tag { padding: 6px 9px; border: 1px solid rgba(124,58,237,.25); border-radius: 999px; color: #c4b5fd; font-size: 9px; font-weight: 850; letter-spacing: .1em; background: rgba(124,58,237,.12); }
.home-product-copy h3 { margin: 15px 0 9px; font-size: clamp(23px, 1.7vw, 29px); letter-spacing: -.025em; }
.home-product-copy p { margin: 0 0 19px; color: #aab8cc; font-size: 15px; line-height: 1.7; }
.home-product-copy .home-product-detail { height: clamp(58px, 3.4vw, 68px); margin: 0 0 17px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .48s ease, transform .72s cubic-bezier(.22,1,.36,1), visibility 0s linear .48s; }
.home-product-grid[data-active="0"] .home-product-card:nth-child(1) .home-product-detail,
.home-product-grid[data-active="1"] .home-product-card:nth-child(2) .home-product-detail,
.home-product-grid[data-active="2"] .home-product-card:nth-child(3) .home-product-detail { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 80ms, 0ms, 0ms; }
.home-product-link { display: inline-flex; align-items: center; gap: 9px; margin-top: auto; color: #d9d1ff; font-size: 14px; font-weight: 800; text-decoration: none; }
.home-product-link svg { color: var(--cyan); transition: transform .2s ease; }
.home-product-link:hover svg { transform: translateX(4px); }

.home-demo { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(32px, 6vw, 82px); margin: 0 0 clamp(64px, 5vw, 88px); padding: clamp(28px, 5vw, 58px); scroll-margin-top: 105px; border: 1px solid rgba(86, 104, 145, .38); border-radius: 24px; background: radial-gradient(ellipse at 4% 0%, rgba(104, 77, 199, .18), transparent 45%), linear-gradient(140deg, rgba(15, 26, 47, .98), rgba(9, 17, 31, .98)); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.home-demo-copy h2 { max-width: 520px; margin: 14px 0 16px; color: var(--text); font-size: clamp(36px, 3.4vw, 58px); line-height: 1.05; letter-spacing: -.05em; }
.home-demo-copy > p { max-width: 500px; margin: 0; color: var(--muted); font-size: clamp(16px, 1.05vw, 18px); line-height: 1.75; }
.home-demo-steps { display: grid; gap: 17px; margin: 32px 0 0; padding: 0; list-style: none; }
.home-demo-steps li { display: flex; align-items: center; gap: 13px; }
.home-demo-steps li > span { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; border: 1px solid rgba(157, 139, 255, .4); border-radius: 50%; color: #c8bcff; font: 750 10px ui-monospace, Consolas, monospace; background: rgba(117, 87, 211, .15); }
.home-demo-steps li div { display: grid; gap: 3px; }
.home-demo-steps strong { color: #e5ebf5; font-size: 14px; }
.home-demo-steps small { color: #8999b2; font-size: 12px; }
.home-demo-form { min-width: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid rgba(74, 91, 126, .5); border-radius: 18px; background: rgba(6, 13, 25, .76); box-shadow: 0 18px 45px rgba(0,0,0,.2); }
.home-demo-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 13px; }
.home-demo-fields label { display: grid; align-content: start; gap: 7px; color: #dce5f2; font-size: 12px; font-weight: 700; }
.home-demo-fields .home-demo-label { display: flex; align-items: center; gap: 5px; color: #dce5f2; font-size: 12px; font-weight: 700; }
.home-demo-fields .home-demo-label i { color: #b9aaff; font-size: 13px; font-style: normal; }
.home-demo-fields .home-demo-label small { margin-left: auto; color: #8392aa; font-size: 9px; font-weight: 500; }
.home-demo-fields input,.home-demo-fields select,.home-demo-fields textarea { box-sizing: border-box; width: 100%; min-height: 45px; padding: 11px 12px; border: 1px solid #30415f; border-radius: 10px; color: #f4f6fb; background: #0b1527; font: inherit; font-size: 14px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.home-demo-fields select { padding-right: 30px; }
.home-demo-fields textarea { min-height: 86px; resize: vertical; line-height: 1.55; }
.home-demo-fields input::placeholder,.home-demo-fields textarea::placeholder { color: #71819b; }
.home-demo-fields input:focus,.home-demo-fields select:focus,.home-demo-fields textarea:focus { border-color: #9582ed; outline: 0; background: #0d192d; box-shadow: 0 0 0 3px rgba(132, 103, 224, .17); }
.home-demo-fields .home-demo-message { grid-column: 1 / -1; }
.home-demo-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-demo-submit { display: flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 17px; border: 1px solid rgba(173, 157, 255, .6); border-radius: 10px; color: #fff; background: linear-gradient(110deg, #694bd6, #5144b8); box-shadow: 0 10px 24px rgba(79, 60, 185, .24); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.home-demo-submit:hover { transform: translateY(-2px); filter: brightness(1.12); box-shadow: 0 14px 28px rgba(79, 60, 185, .34); }
.home-demo-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.home-demo-submit svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s ease; }
.home-demo-submit:hover svg { transform: translateX(4px); }
.home-demo-submit:focus-visible { outline: 3px solid #b5a7ff; outline-offset: 3px; }
.home-demo-status { min-height: 17px; margin: 10px 0 0; color: #efb8b8; font-size: 12px; line-height: 1.5; }
.home-demo-status[data-state="success"] { color: #82e1ba; }
.home-demo-privacy { display: block; margin-top: 4px; color: #8392aa; font-size: 11px; line-height: 1.5; }

.home-enterprise { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr); align-items: center; gap: 52px; padding: clamp(27px, 5vw, 56px); border: 1px solid rgba(124,58,237,.35); border-radius: 24px; background: radial-gradient(ellipse at 100% 0, rgba(32,213,243,.08), transparent 43%), linear-gradient(135deg, rgba(17,28,50,.96), rgba(10,18,33,.97)); box-shadow: 0 24px 65px rgba(0,0,0,.2); }
.home-enterprise h2 { max-width: 620px; }
.home-enterprise p { max-width: 630px; margin: 0 0 24px; }
.module-chips { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.module-chips span { display: flex; align-items: center; min-height: 56px; padding: 12px 15px; border: 1px solid rgba(75,94,128,.55); border-radius: 12px; color: #d1dced; font-size: 15px; font-weight: 700; background: rgba(7,14,27,.52); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.module-chips span::before { width: 7px; height: 7px; flex: 0 0 7px; margin-right: 10px; border-radius: 50%; content: ""; background: var(--cyan); box-shadow: 0 0 12px rgba(32,213,243,.5); }
.module-chips span:hover { transform: translateY(-2px); border-color: rgba(32,213,243,.42); background: rgba(18,31,52,.9); }

.home-journey .section-heading { margin-bottom: clamp(32px, 3.3vw, 46px); }
.home-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.home-steps::before { position: absolute; top: 23px; right: 9%; left: 9%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, #394b6a 15%, #394b6a 85%, transparent); }
.home-steps li { position: relative; display: grid; align-content: start; gap: 10px; padding: 0 17px 20px; }
.home-steps li b { display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid #435574; border-radius: 50%; color: #c8baff; font: 800 12px ui-monospace, Consolas, monospace; background: #101b30; box-shadow: 0 0 0 7px var(--canvas); }
.home-steps li strong { margin-top: 8px; font-size: 18px; }
.home-steps li span { color: var(--muted); font-size: 15px; line-height: 1.7; }

.home-delivery { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 45px; padding: 34px 39px; border: 1px solid var(--line); border-radius: 19px; background: rgba(13,21,40,.76); }
.home-delivery h2 { max-width: 610px; }
.home-delivery p { max-width: 700px; margin: 0; }
.home-delivery-links { display: grid; min-width: 206px; gap: 8px; }
.home-delivery-links a,.home-plan-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; color: #d7e2f1; font-size: 14px; font-weight: 750; text-decoration: none; background: rgba(8,14,27,.62); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.home-delivery-links a:hover,.home-plan-links a:hover { transform: translateY(-2px); border-color: #6b55d8; background: #121d33; }
.home-delivery-links svg,.home-plan-links svg { color: var(--cyan); }

.home-plans { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: center; gap: 48px; }
.home-plans-copy h2 { max-width: 470px; }
.home-plans-copy p { margin: 0; }
.home-plan-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.home-plan-links a { min-height: 78px; padding: 17px; }
.home-status { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 20px; padding: 34px 38px; border: 1px solid rgba(32,213,243,.28); border-radius: 18px; background: linear-gradient(100deg, rgba(17,28,50,.96), rgba(10,20,36,.96)); }
.home-status h2 { max-width: 750px; margin-bottom: 0; font-size: clamp(23px,3vw,34px); }
.home-status p { max-width: 690px; margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.home-status .primary-link { flex: 0 0 auto; }

@media (min-width: 1500px) {
  main { width: min(1320px, calc(100% - 80px)); }
  .home-product-grid { gap: 24px; }
  .home-product-copy { min-height: 290px; padding: 22px 26px 20px; }
  .home-product-copy p { font-size: 15px; }
  .home-product-tag { font-size: 11px; }
  .module-chips span { font-size: 15px; }
  .home-demo-fields label,.home-demo-fields .home-demo-label { font-size: 13px; }
  .home-demo-fields input,.home-demo-fields select,.home-demo-fields textarea { font-size: 14px; }
}
/* Lectura en escritorio: 16–18 px para texto y hasta 54 px para títulos de sección. */
@media (max-width: 1000px) {
  .home-product-grid,
  .home-product-grid[data-active] { grid-template-columns: repeat(2,minmax(0,1fr)); transition: none; }
  .home-product-card,
  .home-product-grid[data-active] .home-product-card { height: auto; min-height: 0; grid-template-rows: auto; transform: none; filter: none; opacity: 1; }
  .home-product-image { height: auto; aspect-ratio: 1.62; }
  .home-product-copy { min-height: 253px; }
  .home-product-copy .home-product-detail { height: auto; min-height: 68px; opacity: 1; visibility: visible; transform: none; }
  .home-product-card:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: .95fr 1.05fr; }
  .home-product-card:last-child .home-product-image { height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
  .home-enterprise { grid-template-columns: 1fr; gap: 30px; }
  .home-demo { grid-template-columns: 1fr; gap: 32px; }
  .home-plans { grid-template-columns: 1fr; gap: 25px; }
}
@media (max-width: 720px) {
  .home-product-grid,
  .home-product-grid[data-active] { grid-template-columns: 1fr; }
  .home-product-card:last-child { display: block; grid-column: auto; }
  .home-product-card:last-child .home-product-image { height: auto; aspect-ratio: 1.62; border-right: 0; border-bottom: 1px solid var(--line); }
  .home-product-copy { min-height: 0; padding: 20px; }
  .home-product-copy .home-product-detail { height: auto; margin-bottom: 17px; overflow: visible; opacity: 1; visibility: visible; transform: none; }
  .home-enterprise { padding: 27px 22px; }
  .home-demo { padding: 28px 22px; }
  .home-products .section-heading h2,
  .home-journey .section-heading h2,
  .home-enterprise h2,
  .home-delivery h2,
  .home-plans h2 { font-size: clamp(30px, 7vw, 38px); }
  .home-products .section-heading > p,
  .home-journey .section-heading > p,
  .home-enterprise p,
  .home-delivery p,
  .home-plans p { font-size: 16px; }
  .home-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 10px; }
  .home-steps::before { display: none; }
  .home-steps li { padding: 0 6px 8px; }
  .home-delivery { grid-template-columns: 1fr; gap: 23px; padding: 26px 22px; }
  .home-delivery-links { grid-template-columns: repeat(3,minmax(0,1fr)); min-width: 0; }
  .home-delivery-links a { padding: 11px 9px; font-size: 11px; }
  .home-delivery-links svg { display: none; }
  .home-plan-links { grid-template-columns: 1fr; }
  .home-plan-links a { min-height: 56px; }
  .home-status { align-items: flex-start; flex-direction: column; padding: 27px 22px; }
  .home-status h2 { font-size: clamp(25px, 6vw, 32px); }
  .home-status p { font-size: 16px; }
}
@media (hover: none) {
  .home-product-copy .home-product-detail { height: auto; margin-bottom: 17px; overflow: visible; opacity: 1; visibility: visible; transform: none; }
  .home-product-grid[data-active] { transition: none; }
  .home-product-grid[data-active] .home-product-card { transform: none; filter: none; opacity: 1; }
  .home-product-grid[data-active] .home-product-image { height: auto; aspect-ratio: 1.62; }
}
@media (hover: none) and (max-width: 1000px) {
  .home-product-grid[data-active] { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (hover: none) and (max-width: 720px) {
  .home-product-grid[data-active] { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .module-chips { gap: 8px; }
  .module-chips span { min-height: 48px; padding: 10px; font-size: 11px; }
  .home-delivery-links { grid-template-columns: 1fr; }
  .home-delivery-links a { padding: 12px 14px; font-size: 12px; }
  .home-delivery-links svg { display: block; }
  .home-demo-fields { grid-template-columns: minmax(0, 1fr); }
  .home-demo-fields .home-demo-message { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-product-grid,.home-product-card,.home-product-image img,.home-product-copy .home-product-detail,.home-product-link svg,.module-chips span,.home-delivery-links a,.home-plan-links a,.home-demo-fields input,.home-demo-fields select,.home-demo-fields textarea,.home-demo-submit,.home-demo-submit svg { transition: none; }
}

.public-header nav .applications-dropdown { position: relative; }
.public-header nav .applications-dropdown > summary { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 29px 0 26px; color: #b3c0d4; font-size: 11px; font-weight: 650; cursor: pointer; list-style: none; }
.public-header nav .applications-dropdown > summary::-webkit-details-marker { display: none; }
.public-header nav .applications-dropdown > summary::after { position: absolute; right: 50%; bottom: 18px; left: 50%; height: 2px; border-radius: 2px; content: ""; background: var(--cyan); transition: right .2s ease,left .2s ease; }
.public-header nav .applications-dropdown > summary:hover,
.public-header nav .applications-dropdown[open] > summary { color: #fff; }
.public-header nav .applications-dropdown > summary:hover::after,
.public-header nav .applications-dropdown[open] > summary::after { right: 0; left: 0; }
.public-header nav .applications-dropdown > summary svg { width: 13px; height: 13px; transform: rotate(90deg); transition: transform .18s ease; }
.public-header nav .applications-dropdown[open] > summary svg { transform: rotate(-90deg); }
.applications-menu { position: absolute; z-index: 60; top: calc(100% - 9px); left: -18px; display: grid; width: 278px; gap: 2px; padding: 6px; border: 1px solid #31415f; border-radius: 14px; background: rgba(10,17,31,.98); box-shadow: 0 22px 55px rgba(0,0,0,.42); backdrop-filter: blur(18px); }
.public-header nav .applications-menu a { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 9px; text-decoration: none; }
.public-header nav .applications-menu a::after { display: none; }
.public-header nav .applications-menu a:hover { color: #fff; background: #15213a; }
.applications-menu a > svg { width: 34px; height: 34px; flex: 0 0 34px; padding: 8px; border: 1px solid #354766; border-radius: 9px; color: #ad98ff; background: #111d34; }
.applications-menu a span { display: grid; gap: 4px; }
.applications-menu a strong { color: #eef3fb; font-size: 12px; }
.applications-menu a small { color: #8e9db4; font-size: 10px; }
.applications-menu a[aria-current="page"] { outline: 1px solid rgba(32,213,243,.4); background: rgba(32,213,243,.08); }
@media (max-width: 1120px) {
  .public-header nav .applications-dropdown > summary { font-size: 10px; }
}
@media (max-width: 900px) {
  .public-header nav .applications-dropdown > summary { display: flex; justify-content: space-between; width: 100%; padding: 13px; border-radius: 8px; font-size: 12px; }
  .public-header nav .applications-dropdown > summary::after { display: none; }
  .public-header nav .applications-dropdown > summary:hover,
  .public-header nav .applications-dropdown[open] > summary { background: #152039; }
  .applications-menu { position: static; width: auto; gap: 3px; margin: 2px 0 7px 10px; padding: 5px; border-color: rgba(49,65,95,.65); border-radius: 10px; background: rgba(7,13,25,.55); box-shadow: none; backdrop-filter: none; }
  .public-header nav .applications-menu a { padding: 8px; }
  .applications-menu a > svg { width: 32px; height: 32px; padding: 8px; }
}
