/* 10.Cero · 10cero.es — misma dirección B «Bloques de marca» que prestashop.10cero.es */
:root {
  --orange: #eb6e07;
  --ink: #1f140a;
  --cream: #fff8f1;
  --peach: #fff1e4;
  --brown: #9a4a06;
  --muted: #6b5645;
  --orange-light: #ff9a4a;
  --kicker: #ffb57a;
  --line: #e6d7c8;
  --error: #b3261e;
  --green: #1e9e57;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito', 'Arial Rounded MT Bold', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 1280px; margin: 0 auto; padding-inline: 64px; }

/* Cabecera + hero */
.hero { background: var(--orange); color: #fff; border-radius: 0 0 48px 48px; }
.hero-inner { display: flex; flex-direction: column; gap: 72px; padding-block: 56px 96px; }
/* Misma presentación que la cabecera de demops.10cero.es (tema Hummingbird):
   franja superior marrón con el selector de idioma y franja naranja con logo y menú. */
.site-header { position: relative; z-index: 5; color: #fff; }
.header-top { background: var(--brown); padding-block: 4px; }
.header-top-inner { display: flex; justify-content: flex-end; align-items: center; min-height: 40px; }
.lang-menu { position: relative; }
.lang-trigger { list-style: none; display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; background: rgba(0, 0, 0, .18); font-size: 15px; font-weight: 800; line-height: 22px; cursor: pointer; user-select: none; transition: background .2s; }
.lang-trigger::-webkit-details-marker { display: none; }
.lang-trigger:hover, .lang-menu[open] .lang-trigger { background: rgba(0, 0, 0, .3); }
.lang-trigger:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lang-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); flex: none; }
.lang-chevron { opacity: .8; transition: transform .2s; }
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 12px); z-index: 20; min-width: 230px; margin: 0; padding: 8px; list-style: none; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 20px 44px rgba(90, 35, 0, .28), 0 2px 6px rgba(90, 35, 0, .12); animation: lang-in .18s ease-out; }
.lang-list::before { content: ""; position: absolute; top: -6px; right: 24px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px 0 0 0; }
.lang-list a { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; font-size: 16px; font-weight: 700; transition: background .15s; }
.lang-list a:hover { background: var(--peach); }
.lang-list .lang-flag { width: 24px; height: 24px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.lang-name { flex: 1; }
.lang-code { font-size: 12px; font-weight: 800; letter-spacing: .06em; color: var(--muted); }
.lang-list a[aria-current] { background: var(--orange); color: #fff; }
.lang-list a[aria-current] .lang-code { color: rgba(255, 255, 255, .85); }
.lang-list a[aria-current] .lang-flag { box-shadow: 0 0 0 2px #fff; }
@keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.header-bottom { background: var(--orange); border-bottom: 1px solid #dee2e6; padding-block: 8px 20px; }
.header-bottom-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; flex: none; }
.brand img { width: 48px; height: 48px; }
.nav { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; }
.nav a { padding: 20px 8px; color: #fff; }
.nav a:hover { opacity: .8; }
.nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; }

.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu .i-open { display: flex; }
.menu .i-close, .menu[open] .i-open { display: none; }
.menu[open] .i-close { display: flex; }
.menu-panel { position: absolute; right: 0; top: 56px; z-index: 10; width: min(300px, calc(100vw - 40px)); background: #fff; border: 3px solid var(--ink); border-radius: 20px; overflow: hidden; color: var(--ink); }
.menu-links { display: flex; flex-direction: column; font-weight: 900; font-size: 20px; }
.menu-links a { padding: 16px 20px; }
.menu-links a + a { border-top: 2px solid var(--peach); }
.menu-links a[aria-current] { color: var(--orange); }
.menu-lang { display: none; flex-wrap: wrap; gap: 6px; padding: 14px 16px; border-top: 2px solid var(--peach); }
.menu-lang a { min-width: 44px; padding: 9px 10px; border-radius: 10px; background: var(--peach); font-weight: 800; font-size: 15px; text-align: center; }
.menu-lang a[aria-current] { background: var(--ink); color: #fff; }

.hero-body { display: flex; flex-direction: column; gap: 32px; max-width: 1040px; }
.kicker { align-self: flex-start; margin: 0; background: var(--ink); color: var(--kicker); font-weight: 800; font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.hero h1 { margin: 0; font-size: clamp(48px, 7.5vw, 96px); line-height: .95; font-weight: 900; letter-spacing: -.035em; text-wrap: balance; }
.hero-row { display: flex; align-items: center; gap: 40px; }
.hero-row p, .hero-lead { margin: 0; font-size: 22px; line-height: 1.5; font-weight: 600; max-width: 620px; }

.hero-compact .hero-inner { gap: 56px; padding-bottom: 72px; }
.hero-compact .hero-body { gap: 24px; }
.hero-compact h1 { font-size: clamp(44px, 6vw, 80px); }


.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 60px; font-family: inherit; font-weight: 900; font-size: 18px; padding: 18px 30px; border: 0; border-radius: 16px; white-space: nowrap; cursor: pointer; transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-orange { background: var(--orange); color: #fff; font-size: 20px; padding: 20px 36px; border-radius: 18px; }

/* Módulos */
.section { padding-block: 96px 72px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.section-head h2 { margin: 0; font-size: 56px; line-height: 1.05; font-weight: 900; letter-spacing: -.03em; }
.section-head span { font-size: 18px; font-weight: 800; color: var(--orange); }

.certified { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; padding: 22px 28px; background: var(--peach); border: 3px solid var(--ink); border-radius: 24px; }
.certified-icon { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.certified-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.certified-body strong { font-size: 20px; font-weight: 900; line-height: 1.2; }
.certified-body p { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; color: #5a3a1c; }
.certified-link { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 900; font-size: 15px; white-space: nowrap; }
.certified-link:hover { background: var(--orange); }

.modules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; gap: 18px; padding: 28px 24px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 0 -10px var(--orange); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.card-top img { width: 88px; height: 88px; margin: -10px 0 0 -10px; }
.card-num { font-weight: 900; font-size: 20px; color: var(--orange); }
.card h3 { margin: 0; font-size: 26px; line-height: 1.1; font-weight: 900; hyphens: auto; }
.card p { margin: 0; line-height: 1.55; }
.features { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 15px; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features svg { flex: none; margin-top: 2px; }
.card-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.card-meta { font-size: 14px; font-weight: 700; color: var(--muted); }
.badge { background: var(--peach); border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 800; color: var(--brown); }
.badge-link:hover { background: var(--orange); color: #fff; }

/* Tarjeta con ilustración (módulos con ficha de detalle): imagen a sangre en
   la parte superior en vez del logo pequeño de .card-top. El propio border-
   radius de .card (con overflow: hidden) recorta la imagen; no hace falta
   redondear la imagen aparte. */
.card-has-illust { padding-top: 0; overflow: hidden; }
.card-media { position: relative; margin: 0 -24px; }
.card-media img:first-child { display: block; width: calc(100% + 48px); height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.card-media-logo { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; background: #fff; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 14px rgba(31, 20, 10, .18); }
.card-media-logo img { width: 26px; height: 26px; margin: 0; }
.card-media-num { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 900; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.card-has-illust h3 { margin-top: 2px; }

/* Módulo destacado: ocupa el ancho completo y va antes del resto del catálogo */
.featured { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: 56px; align-items: center; margin-bottom: 20px; padding: 48px 56px; background: var(--ink); color: #fff; border-radius: 32px; }
.featured-media { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.featured-media > img { width: 100%; max-width: 230px; height: auto; }
.featured-media-illust { position: relative; }
.featured-illust { max-width: none !important; border-radius: 20px; aspect-ratio: 3 / 2; object-fit: cover; }
.featured-logo { position: absolute; bottom: -14px; right: -14px; width: 56px; height: 56px; background: #fff; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(31, 20, 10, .25); }
.featured-logo img { width: 32px; height: 32px; }
.featured-flag { display: inline-flex; align-items: center; padding: 8px 16px; background: var(--orange); color: #fff; border-radius: 999px; font-size: 14px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.featured-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.featured h3 { margin: 0; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; }
.featured p { margin: 0; max-width: 760px; font-size: 19px; line-height: 1.55; font-weight: 600; color: #f0dfd0; }
.featured-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; font-size: 16px; }
.featured-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.featured-foot .card-meta { font-size: 15px; color: #bda894; }
.featured-foot .badge { padding: 12px 20px; font-size: 15px; background: rgba(255, 255, 255, .12); color: #ffd6b0; }

.next { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 26px 32px; border: 3px dashed var(--orange); border-radius: 24px; }
.next svg { flex: none; }
.next strong { font-size: 22px; font-weight: 900; margin-right: 12px; }
.next span { font-size: 17px; font-weight: 600; color: var(--muted); }

/* Compatibilidad */
.compat { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 44px; background: var(--ink); color: #fff; border-radius: 28px; }
.compat div { display: flex; flex-direction: column; gap: 2px; }
.compat small { font-size: 14px; font-weight: 800; color: var(--orange-light); text-transform: uppercase; letter-spacing: .06em; }
.compat b { font-size: 30px; font-weight: 900; }

/* Contacto y pie */
.contact { padding-block: 112px 96px; }
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.contact h2 { margin: 0; font-size: 60px; line-height: 1; font-weight: 900; letter-spacing: -.03em; max-width: 900px; text-wrap: balance; }
.contact p { margin: 0; font-size: 20px; font-weight: 600; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; padding-block: 28px; font-size: 15px; font-weight: 600; color: var(--muted); }
.footer-inner a { font-weight: 800; }
.footer-inner a:hover { color: var(--orange); }
.footer-cookies { flex: 1 1 100%; margin: 12px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.55; }

/* Enlaces a la página de detalle */
.featured-more { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 12px 20px; border-radius: 14px; background: var(--orange); color: #fff; font-size: 15px; font-weight: 900; white-space: nowrap; }
.featured-more:hover { background: var(--orange-light); color: var(--ink); }
.card-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 900; }
.card-more:hover { background: var(--orange); }

/* Página «Propón un módulo» */
.proposal { padding-block: 72px 96px; }
.proposal-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px; align-items: start; }
.form-card { grid-column: span 8; display: flex; flex-direction: column; gap: 24px; padding: 40px; background: #fff; border: 3px solid var(--ink); border-radius: 28px; }
.proposal-aside { grid-column: span 4; position: sticky; top: 32px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 900; font-size: 16px; }
.field label small { margin-left: 4px; font-size: 14px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  background: var(--cream); border: 2px solid var(--line); border-radius: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.field select { appearance: none; padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231f140a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field textarea { min-height: 200px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #a8927e; font-weight: 600; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: #fff; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(235, 110, 7, .2); }
.field .help { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.field .error { margin: 0; font-size: 14px; font-weight: 800; color: var(--error); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); background-color: #fff6f5; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.field .check { font-weight: 700; font-size: 16px; }
.check input { width: 24px; height: 24px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--orange); cursor: pointer; }
.alert { padding: 16px 20px; border-radius: 16px; font-weight: 800; }
.alert-error { background: #fdecea; color: #8c1d18; border: 2px solid #f1b5b0; }
.form-actions { display: flex; justify-content: flex-end; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.privacy { padding: 24px; background: var(--peach); border-radius: 20px; font-size: 15px; line-height: 1.6; color: #5a3a1c; }
.privacy h2 { margin: 0 0 8px; font-size: 18px; font-weight: 900; color: var(--ink); }
.privacy p { margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; font-weight: 900; color: var(--orange); }
.back-link:hover { color: var(--brown); }

.success-card { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 56px 40px; text-align: center; background: #fff; border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 22px 0 -10px var(--orange); }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; }
.success-card h2 { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 900; letter-spacing: -.02em; }
.success-card p { margin: 0 0 8px; max-width: 560px; font-size: 19px; font-weight: 600; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .55); }
.btn-ghost:hover { box-shadow: inset 0 0 0 3px #fff; }

.section-alt { background: var(--peach); padding-block: 96px; }
.section-sm { padding-block: 72px; }

.prose { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.prose p { margin: 0; font-size: 19px; line-height: 1.65; font-weight: 600; color: #4a3220; }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.split-media { margin: 0; }
.split-media img { width: 100%; height: auto; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; }
.pillar-num { font-size: 15px; font-weight: 900; letter-spacing: .08em; color: var(--orange); }
.pillar h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 600; color: var(--muted); }
.pillar-plain { padding: 8px 0; background: transparent; border-color: transparent; }
.pillar-plain h3 { font-size: 22px; }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fgroup { display: flex; flex-direction: column; gap: 18px; padding: 32px 28px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; }
.fgroup h3 { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 900; letter-spacing: -.02em; }
.fgroup .features { font-size: 16px; }

.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.benefit { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--peach); display: flex; align-items: center; justify-content: center; }
.benefit h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 900; }
.benefit p { margin: 0; font-size: 16px; line-height: 1.6; font-weight: 600; color: var(--muted); }


/* Preguntas frecuentes de la ficha: <details> nativos, sin JavaScript */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 2px solid var(--line); border-radius: 20px; transition: border-color .2s; }
.faq-item[open] { border-color: var(--orange); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-size: 19px; font-weight: 900; line-height: 1.3; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--peach); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; line-height: 1; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 24px 22px; max-width: 900px; font-size: 17px; line-height: 1.6; font-weight: 600; color: var(--muted); }
.specs-title { margin: 0 0 24px; font-size: 32px; font-weight: 900; letter-spacing: -.02em; }

.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-actions .back-link { align-self: center; }


/* ——— Web principal 10cero.es ——— */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-ext { display: inline-flex; align-items: center; gap: 6px; }
.nav-ext svg { opacity: .8; }
.menu-links .nav-ext { display: flex; justify-content: space-between; }
.nav-cta { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 900; font-size: 15px; white-space: nowrap; transition: transform .2s ease; }
.nav-cta:hover { transform: translateY(-2px); }
.nav-cta + .menu { margin-left: 0; }

/* Hero con panel de «actualización en curso» */
.hero-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.hero-split .hero-body { max-width: none; }
.hero-split h1 { font-size: clamp(44px, 5.4vw, 78px); }
.hero-panel { padding: 24px 28px 26px; background: #fff; color: var(--ink); border: 3px solid var(--ink); border-radius: 28px; box-shadow: 0 26px 0 -10px var(--brown); transform: rotate(1.5deg); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel-dots { display: flex; gap: 6px; }
.panel-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.panel-dots i:first-child { background: var(--orange); }
.panel-store { padding: 4px 12px; border-radius: 999px; background: var(--cream); font-size: 13px; font-weight: 800; color: var(--muted); }
.panel-label { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 4px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.panel-pct { margin-left: auto; font-size: 15px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--ink); }
.panel-versions { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--orange); }
.panel-versions svg { transition: color .4s; }
.panel-from { font-size: 34px; font-weight: 900; color: var(--muted); }
.panel-to { font-size: 56px; line-height: 1; font-weight: 900; letter-spacing: -.03em; transition: color .4s; }
.panel-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 700; }
.panel-steps li { display: flex; gap: 10px; align-items: center; transition: opacity .3s; }
.step-box { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--green); background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .25s, border-color .25s; }
.step-box svg { width: 13px; height: 13px; transition: opacity .25s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.panel-bar { position: relative; height: 12px; margin: 22px 0 18px; border-radius: 999px; background: var(--peach); }
/* Check verde sobrepuesto al final de la barra cuando llega al 100 % */
.bar-check { position: absolute; right: -6px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--green); color: #fff; box-shadow: 0 0 0 3px #fff; display: flex; align-items: center; justify-content: center; transition: opacity .3s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.bar-check svg { width: 18px; height: 18px; }
.hero-panel.is-running .bar-check { opacity: 0; transform: scale(.3); }
.panel-bar span { display: block; height: 100%; width: var(--p, 100%); border-radius: inherit; background: var(--orange); transition: width .5s ease, background .4s; }
.panel-foot { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 16px; font-weight: 900; transition: color .4s; }
.panel-foot svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; transition: background .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.panel-label-run { display: none; }
/* Estado final (también sin JavaScript): todo marcado y en verde */
.hero-panel:not(.is-running) .panel-bar span { background: var(--green); }
.hero-panel:not(.is-running) .panel-foot, .hero-panel:not(.is-running) .panel-label-done { color: var(--green); }
.hero-panel:not(.is-running) .panel-to, .hero-panel:not(.is-running) .panel-versions svg { color: var(--green); }
.hero-panel:not(.is-running) .panel-pct { color: var(--green); }
.hero-panel.is-complete .panel-foot svg { animation: panel-pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes panel-pop { from { transform: scale(.3); } to { transform: none; } }
/* Animación en curso (la activa el JS de landing.php) */
.hero-panel.is-running .panel-label-run { display: inline; }
.hero-panel.is-running .panel-label-done { display: none; }
.hero-panel.is-running .panel-steps li:not(.is-done) { opacity: .45; }
.hero-panel.is-running .panel-steps li:not(.is-done) .step-box { background: transparent; border-color: var(--line); }
.hero-panel.is-running .panel-steps li:not(.is-done) .step-box svg { opacity: 0; transform: scale(.3); }
.hero-panel.is-running .panel-foot { color: var(--muted); }
.hero-panel.is-running .panel-foot svg { background: var(--line); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service p { color: var(--muted); font-weight: 600; }
.service-icon { width: 56px; height: 56px; flex: none; border-radius: 16px; background: var(--peach); color: var(--orange); display: flex; align-items: center; justify-content: center; }
.service-dark { background: var(--ink); color: #fff; }
.service-dark p { color: #f0dfd0; }
.service-dark .service-icon { background: var(--orange); color: #fff; }
.service-dark .card-more { background: var(--orange); }
.service-dark .card-more:hover { background: var(--orange-light); color: var(--ink); }

/* PrestaShop 9 */
.section-tight { padding-block: 0 96px; }
.featured h2 { margin: 0; font-size: clamp(34px, 3.6vw, 50px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; text-wrap: balance; }
.upgrade { align-items: start; }
.upgrade-path { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.path { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.path small { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-light); }
.path-from { display: flex; gap: 8px; }
.path-from span { flex: 1; padding: 12px 0; border-radius: 14px; background: rgba(255, 255, 255, .08); text-align: center; font-size: 24px; font-weight: 900; color: #f0dfd0; }
.path-arrow { align-self: center; color: var(--orange); }
.path-to { padding: 6px 0; border-radius: 20px; background: var(--orange); text-align: center; font-size: 76px; line-height: 1.1; font-weight: 900; letter-spacing: -.03em; }

/* Módulos de conexión para empresas */
.split-top { align-items: start; }
.kicker-orange, .prose .kicker-orange { background: var(--orange); color: #fff; font-size: 15px; font-weight: 800; line-height: 1.5; }
.prose-title { margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.04; font-weight: 900; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.sectors li { padding: 8px 15px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-size: 14px; font-weight: 800; }
.btn-block { align-self: stretch; margin-top: 8px; font-size: 18px; white-space: normal; text-align: center; }

/* Catálogo de módulos */
.catalog { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.catalog a { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 16px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; text-align: center; font-size: 17px; font-weight: 900; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease; }
.catalog a:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 0 -10px var(--orange); }
.catalog img { width: 72px; height: 72px; }

/* Proceso, FAQ, pie */
.pillars-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 32px; padding: 0; list-style: none; }
.faq-wrap .faq { max-width: 960px; }
.footer-links { display: flex; gap: 20px; }
.aside-modules p { margin: 0 0 12px; }

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; color: rgba(255, 255, 255, .85); }
.breadcrumb a { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.breadcrumb a:hover { opacity: .8; }
.summary { position: sticky; top: 32px; }
.featured-link { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 15px; font-weight: 900; color: #ffd6b0; }
.featured-link:hover { color: #fff; }
.featured-link + .featured-more { margin-left: 0; }
.related { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.related a { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; background: #fff; border: 3px solid var(--ink); border-radius: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.related a:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 22px 0 -10px var(--orange); }
.related strong { font-size: 20px; line-height: 1.15; font-weight: 900; }
.related span { font-size: 15px; line-height: 1.55; font-weight: 600; color: var(--muted); }
.related em { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 14px; font-weight: 900; color: var(--orange); }
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 24px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-brand .brand { background: var(--orange); border-radius: 14px; padding: 6px; }
.footer-brand p { margin: 0; max-width: 420px; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--muted); }
.footer-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; color: var(--orange); }
.footer-cta:hover { color: var(--brown); }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-weight: 700; }
.footer-col h2 { margin: 0 0 4px; font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.footer-col a:hover { color: var(--orange); }

/* Tablet */
@media (max-width: 1100px) {
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 36px; padding: 40px 36px; }
  .featured-features { grid-template-columns: minmax(0, 1fr); }
  .pillars, .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .nav { display: none; }
  .menu { display: block; }
  .form-card, .proposal-aside { grid-column: 1 / -1; }
  .proposal-aside { position: static; }
}

/* Móvil */
@media (max-width: 760px) {
  .wrap { padding-inline: 20px; }
  .hero { border-radius: 0 0 32px 32px; }
  .hero-inner { gap: 44px; padding-block: 32px 56px; }
  .header-top { display: none; }
  .header-bottom { padding-block: 8px; }
  .menu-lang { display: flex; }
  .hero-body { gap: 24px; }
  .kicker { font-size: 13px; padding: 7px 14px; }
  .hero h1 { font-size: 48px; line-height: .96; }
  .hero-row p, .hero-lead { font-size: 18px; }
  .hero-row .btn { align-self: stretch; }
  .hero-compact .hero-inner { gap: 40px; padding-bottom: 48px; }
  .hero-compact h1 { font-size: 42px; }

  .section { padding-block: 64px 48px; }
  .section-head { flex-direction: column; gap: 6px; margin-bottom: 28px; }
  .section-head h2 { font-size: 40px; }
  .section-head span { font-size: 17px; }
  .certified { flex-wrap: wrap; align-items: flex-start; gap: 14px 16px; margin-bottom: 24px; padding: 20px; border-radius: 20px; }
  .certified-icon { width: 44px; height: 44px; }
  .certified-icon svg { width: 22px; height: 22px; }
  .certified-body { flex: 1 1 200px; }
  .certified-body strong { font-size: 18px; }
  .certified-body p { font-size: 15px; }
  .certified-link { margin-left: 0; flex: 1 1 100%; justify-content: center; white-space: normal; }
  .modules { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
  .featured { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 24px; border-radius: 24px; }
  .featured h3 { font-size: 34px; }
  .featured p { font-size: 17px; }
  .featured-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .featured-more { align-self: stretch; justify-content: center; margin-left: 0; }

  .section-alt { padding-block: 64px; }
  .section-sm { padding-block: 48px; }
  .prose p { font-size: 17px; }
  .pillar, .fgroup, .benefit { gap: 10px; padding: 24px 20px; }
  .pillar h3, .fgroup h3 { font-size: 21px; }
  .pillar-plain { padding: 0; }
  .specs-title { font-size: 26px; }
  .faq-item summary { padding: 16px 18px; font-size: 17px; }
  .faq-item p { padding: 0 18px 18px; font-size: 16px; }
  .hero-actions { align-self: stretch; }
  .hero-actions .btn { flex: 1 1 100%; white-space: normal; }
  .cta-actions { align-self: stretch; }
  .cta-actions .btn { width: 100%; white-space: normal; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .card { gap: 16px; padding: 24px 20px; }
  .card:hover { transform: none; box-shadow: none; }
  .card-top img { width: 72px; height: 72px; margin: -8px 0 0 -8px; }
  .card-num { font-size: 18px; }
  .next { align-items: flex-start; gap: 14px; margin-top: 28px; padding: 22px 20px; }
  .next strong { display: block; font-size: 20px; margin: 0 0 4px; }
  .next span { font-size: 16px; }

  .compat { flex-direction: column; align-items: stretch; gap: 20px; padding: 28px 24px; border-radius: 24px; }
  .compat small { font-size: 13px; }
  .compat b { font-size: 24px; }

  .contact { padding-block: 80px 64px; }
  .contact-inner { gap: 20px; }
  .contact h2 { font-size: 38px; }
  .contact p { font-size: 18px; }
  .contact .btn { align-self: stretch; font-size: 19px; white-space: normal; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; padding-block: 24px 32px; font-size: 14px; }
  .footer-cookies { align-self: stretch; margin-top: 10px; padding-top: 12px; font-size: 12px; }

  .proposal { padding-block: 40px 64px; }
  .proposal-grid { gap: 24px; }
  .form-card { gap: 20px; padding: 24px 20px; border-radius: 24px; }
  .form-row { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .form-actions .btn { width: 100%; white-space: normal; }
  .success-card { padding: 40px 24px; }
  .success-card h2 { font-size: 34px; }
  .success-card .btn { align-self: stretch; white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .btn { transition: none; }
  .lang-list { animation: none; }
}

/* Web principal: tablet y móvil */
@media (max-width: 1100px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-panel { max-width: 520px; transform: none; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillars-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-top { grid-template-columns: minmax(0, 1fr); }
  .upgrade-path { max-width: 320px; }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .nav-cta { display: none; }
  .nav-cta + .menu { margin-left: auto; }
  .hero-split h1 { font-size: 40px; line-height: 1; }
  .hero-panel { padding: 20px; border-radius: 24px; box-shadow: 0 18px 0 -8px var(--brown); }
  .panel-to { font-size: 44px; }
  .panel-from { font-size: 28px; }
  .services { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .catalog a { padding: 20px 12px; font-size: 16px; }
  .catalog a:hover { transform: none; box-shadow: none; }
  .pillars-4 { grid-template-columns: minmax(0, 1fr); }
  .section-tight { padding-block: 0 64px; }
  .upgrade-path { max-width: none; width: 100%; }
  .path-from span { font-size: 20px; }
  .path-to { font-size: 56px; }
  .featured h2 { font-size: 32px; }
  .prose-title { font-size: 32px; }
  .footer-links { justify-content: center; }
  .related, .fgrid, .pillars { grid-template-columns: minmax(0, 1fr); }
  .related a:hover { transform: none; box-shadow: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 40px 8px; }
  .featured-link { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .panel-bar span, .step-box, .step-box svg { transition: none; }
  .catalog a, .nav-cta { transition: none; }
}
