/* V3 ERP — v3erp.es · dirección v3 (decisión de David, tras ver la v2)
   El estilo visual de la web de producción con el contenido nuevo: primera pantalla en azul
   marino casi negro, bandas que alternan oscuro y claro, tarjetas con sombra suave e iconos de
   línea, datos grandes sobre fondo oscuro y pocas capturas grandes en un marco de ventana.
   Rojo de la V (#f7081c, botón #dc0a1c). Tipografía Poppins, servida en local.
   Las páginas se construyen en Elementor con widgets nativos; cada elemento lleva una clase v3-…
   y este archivo es el único sitio donde vive el diseño (no hay estilos en los widgets). */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --navy: #171a2b;          /* fondo oscuro */
  --navy-2: #20243a;        /* tarjetas sobre oscuro */
  --navy-3: #2c3150;        /* líneas y círculos sobre oscuro */
  --on-dark: #ffffff;
  --on-dark-muted: #b4b8d0; /* 8,6:1 sobre --navy */
  --bg: #ffffff;
  --tone: #f5f6fa;          /* banda clara alterna */
  --ink: #171a2b;
  --muted: #5b6075;         /* 6,2:1 sobre blanco · 5,8:1 sobre --tone */
  --line: #e6e8f0;
  --accent: #dc0a1c;        /* botón: blanco encima 5,1:1 */
  --accent-press: #b80816;
  --brand: #f7081c;
  --brand-soft: #fdecee;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-small: 0.875rem;                                   /* 14 */
  --step-body: 1rem;                                        /* 16 */
  --step-lead: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);    /* 17–20 */
  --step-h3: 1.1875rem;                                     /* 19 */
  --step-head: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);      /* 28–40 */
  --step-display: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);   /* 36–56 */
  --step-big: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);         /* datos grandes */

  --margin: clamp(1rem, 4vw, 2.5rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(4rem, 8vw, 7.5rem);
  --wrap: min(75rem, 100vw - 2 * var(--margin));
  --radius: 14px;

  --shadow-sm: 0 1px 2px rgba(16, 19, 40, 0.06), 0 8px 24px rgba(16, 19, 40, 0.07);
  --shadow-md: 0 2px 6px rgba(16, 19, 40, 0.08), 0 18px 40px rgba(16, 19, 40, 0.12);
  --shadow-lg: 0 30px 60px -12px rgba(5, 7, 20, 0.45), 0 18px 36px -18px rgba(5, 7, 20, 0.5);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-press: 140ms;
  --t-hover: 200ms;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, h4, h5, h6, p, figure, ul, ol, dl, dd { margin: 0; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:target { scroll-margin-top: 1.5rem; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
p { text-wrap: pretty; }
.v3-sr, .v3-sr .elementor-heading-title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 100; background: #fff; padding: 0.5rem 1rem; }

/* ---------- Elementor: fuera sus espaciados y estilos por defecto ---------- */
:where(.elementor) .e-con.v3 {
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --width: 100%; --content-width: 100%;
  --flex-wrap: nowrap; --container-widget-width: 100%;
  padding: 0; gap: 0; min-height: 0; max-width: none;
}
:where(.elementor .e-con.v3 > .elementor-widget, .elementor .e-con.v3 > .e-con) { max-width: 100%; width: 100%; margin: 0; }
.elementor-widget-heading .elementor-heading-title {
  font-family: var(--font); font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; text-wrap: balance;
}
.elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: none; }
.elementor-widget-heading { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.elementor-widget-text-editor { color: inherit; font-size: inherit; line-height: inherit; }
.elementor-widget-text-editor p + p, .elementor-widget-text-editor p + ul, .elementor-widget-text-editor ul + p { margin-top: 0.9em; }
.elementor-widget-text-editor a { color: inherit; text-underline-offset: 0.2em; }
.elementor-widget-image { line-height: 0; }
.elementor-widget-image img { display: block; max-width: 100%; height: auto; }
/* WordPress pone contain-intrinsic-size: 3000px 1500px a las imágenes diferidas con sizes="auto". Fuera. */
img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: none; }

.v3-wrap { width: var(--wrap) !important; margin-inline: auto !important; }
.e-con.v3-sec { padding-block: var(--section); }
.e-con.v3-tone { background: var(--tone); }
.e-con.v3-dark { background: var(--navy); color: var(--on-dark); }
.v3-h2 { font-size: var(--step-head); font-weight: 600; line-height: 1.2; }
.v3-h3 { font-size: var(--step-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; }
.v3-lead { font-size: var(--step-lead); line-height: 1.6; color: var(--muted); max-width: 46ch; }
.v3-dark .v3-lead, .v3-dark .elementor-widget-text-editor { color: var(--on-dark-muted); }
.v3-note { font-size: var(--step-small); color: var(--muted); }
.v3-k { display: inline-block; min-width: 8.5rem; color: var(--muted); font-size: var(--step-small); }
.v3-dark .v3-k { color: var(--on-dark-muted); }

/* cabecera de sección centrada, como en producción */
.e-con.v3-sechead { align-items: center; text-align: center; gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.e-con.v3-sechead > .v3-lead { max-width: 56ch; margin-inline: auto; }

/* ---------- botones (widget Botón) ---------- */
.v3-btn .elementor-button, .v3-pbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0 1.75rem; border: 2px solid var(--accent); border-radius: 8px;
  background: var(--accent); color: #fff; font-family: var(--font); font-size: var(--step-body); font-weight: 600; line-height: 1;
  text-decoration: none; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(220, 10, 28, 0.6);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease, color var(--t-hover) ease, box-shadow var(--t-hover) ease, border-color var(--t-hover) ease;
}
.v3-btn .elementor-button:hover, .v3-btn .elementor-button:focus, .v3-pbtn:hover { background: var(--accent-press); border-color: var(--accent-press); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(220, 10, 28, 0.7); }
.v3-btn .elementor-button:active, .v3-pbtn:active { transform: translateY(0) scale(0.98); }
.v3-btn--sm .elementor-button { min-height: 2.75rem; padding: 0 1.25rem; font-size: var(--step-small); }
.v3-btn--lg .elementor-button { min-height: 3.5rem; padding: 0 2.25rem; }
.v3-btn--ghost .elementor-button { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #fff; box-shadow: none; }
.v3-btn--ghost .elementor-button:hover, .v3-btn--ghost .elementor-button:focus { background: #fff; border-color: #fff; color: var(--ink); box-shadow: none; }
.v3-btn--outline .elementor-button { background: transparent; color: var(--accent); box-shadow: none; }
.v3-btn--outline .elementor-button:hover, .v3-btn--outline .elementor-button:focus { background: var(--accent); color: #fff; }
.v3-btn--white .elementor-button, .v3-pbtn--white { background: #fff; border-color: #fff; color: var(--accent); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.35); }
.v3-btn--white .elementor-button:hover, .v3-btn--white .elementor-button:focus, .v3-pbtn--white:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.e-con > .elementor-widget-button.v3-btn, .e-con > .elementor-widget-button.v3-btn-link { width: auto; }
.v3-btn-link .elementor-button {
  display: inline; padding: 0; min-height: 0; background: none; border: 0; border-radius: 0; color: var(--accent); box-shadow: none;
  font-family: var(--font); font-size: var(--step-body); font-weight: 600; line-height: 1.4;
  text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
}
.v3-btn-link .elementor-button:hover { background: none; color: var(--accent-press); }
.v3-btn-link--on-ink .elementor-button { color: #fff; }

/* ---------- iconos ---------- */
.v3-ico { width: auto !important; }
.v3-ico img { width: 56px; height: 56px; padding: 14px; background: var(--brand-soft); border-radius: 14px; }
.v3-ico--sm img { width: 44px; height: 44px; padding: 10px; border-radius: 12px; }
.v3-dark .v3-ico img { background: rgba(247, 8, 28, 0.14); }

/* ---------- capturas en marco de ventana ---------- */
.e-con.v3-win {
  position: relative; background: #fff; border-radius: 12px; padding-top: 30px; overflow: hidden;
  box-shadow: var(--shadow-lg); width: auto; max-width: 100%;
}
.e-con.v3-win::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30px; background: #eef0f6;
}
.e-con.v3-win::after {
  content: ""; position: absolute; top: 11px; left: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: #f7081c; box-shadow: 14px 0 0 #f5b400, 28px 0 0 #2fb44a;
}
.v3-win__img img { display: block; max-width: 100%; }
.e-con.v3-winbox { gap: 0.875rem; align-items: flex-start; }
.v3-win__cap { font-size: var(--step-small); color: var(--muted); }
.v3-dark .v3-win__cap { color: var(--on-dark-muted); }

/* ---------- cabecera ---------- */
.elementor-location-header { background: var(--navy); }
.e-con.v3-header { flex-direction: row; align-items: center; gap: 2rem; padding-block: 1.25rem; color: #fff; }
.e-con.v3-brand { flex-direction: row; align-items: center; gap: 0.75rem; width: auto; margin-right: auto; }
.e-con.v3-brand > .elementor-widget { width: auto; }
.v3-brand__mark img { width: 64px; }
.v3-brand__name { font-size: 1.125rem; font-weight: 600; color: #fff; }
.e-con > .v3-nav, .e-con > .v3-header__cta, .e-con > .v3-footer__links { width: auto; }
.v3-nav .elementor-nav-menu, .v3-footer__links .elementor-nav-menu { display: flex; flex-wrap: wrap; gap: 0.25rem clamp(1rem, 2.4vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.v3-nav .elementor-nav-menu--main .elementor-item {
  display: inline-block; padding: 0.625rem 0; color: #fff; font-family: var(--font); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; text-decoration: none;
}
.v3-nav .elementor-item:hover, .v3-nav .elementor-item:focus { color: var(--brand); }
.v3-nav .elementor-item.elementor-item-active { color: #fff; box-shadow: inset 0 -2px 0 var(--brand); }
.v3-nav .elementor-menu-toggle, .v3-nav .elementor-nav-menu--dropdown, .v3-footer__links .elementor-menu-toggle, .v3-footer__links .elementor-nav-menu--dropdown { display: none !important; }

/* ---------- primera pantalla ---------- */
.e-con.v3-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(5rem, 9vw, 8rem); overflow: hidden; position: relative; }
.e-con.v3-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-hero__text { grid-column: 1 / span 5; position: relative; z-index: 2; }
.v3-hero__title { font-size: var(--step-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.v3-hero__lead { margin-top: 1.5rem; font-size: var(--step-lead); line-height: 1.65; color: var(--on-dark-muted); max-width: 40ch; }
.e-con.v3-hero__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.25rem; }
.e-con.v3-stage { grid-column: 6 / span 7; position: relative; perspective: 1800px; min-height: 580px; margin-right: -3rem; justify-content: center; }
.e-con.v3-stage::before {
  content: ""; position: absolute; z-index: 0; width: 460px; height: 460px; border-radius: 50%;
  background: var(--navy-3); left: -6%; top: 50%; transform: translateY(-55%);
}
.e-con.v3-stage::after {
  content: ""; position: absolute; z-index: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); left: -9%; top: 8%;
}
.e-con.v3-stage__main { position: relative; z-index: 1; width: 94%; margin-left: 4%; transform: rotateY(-14deg) rotateX(3deg); transform-origin: right center; }
.e-con.v3-stage__second { position: absolute; z-index: 2; width: 44%; left: -6%; bottom: -2%; transform: rotateY(-14deg) rotateX(3deg) translateZ(60px); }
.v3-stage__second img { width: 100%; }

/* ---------- funcionalidades: tarjetas ---------- */
.e-con.v3-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2vw, 1.75rem); }
.e-con.v3-card {
  background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 2.4vw, 2rem); gap: 1rem; box-shadow: var(--shadow-sm);
  transition: transform var(--t-hover) var(--ease-out), box-shadow var(--t-hover) ease;
}
.e-con.v3-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.v3-card .elementor-widget-text-editor { color: var(--muted); }
.e-con > .v3-feat__more { margin: clamp(2.5rem, 4vw, 3rem) auto 0; }

/* ---------- de los albaranes a la factura ---------- */
.e-con.v3-show__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-show__text { grid-column: 1 / span 5; gap: 1.25rem; }
.e-con.v3-show__media { grid-column: 6 / span 7; position: relative; min-height: 600px; margin-right: -2rem; }
.e-con.v3-show__back { width: 86%; }
.e-con.v3-show__front { position: absolute; width: 50%; right: 0; top: 22%; z-index: 2; }
.v3-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.875rem; }
.v3-checks li { position: relative; padding-left: 2.25rem; line-height: 1.6; }
.v3-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.1em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23dc0a1c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat;
}
.v3-dark .v3-checks li::before { background-color: rgba(247, 8, 28, 0.16); }

/* ---------- datos grandes sobre oscuro ---------- */
.e-con.v3-stats { padding-block: clamp(3.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.e-con.v3-stats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.e-con.v3-stat { gap: 0.5rem; padding-left: 1.25rem; box-shadow: inset 3px 0 0 var(--brand); }
.v3-stat__big { font-size: var(--step-big); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.v3-stat__label { color: var(--on-dark-muted); }

/* ---------- VeriFactu ---------- */
.e-con.v3-vf__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-vf__text { grid-column: 1 / span 6; gap: 1.5rem; }
.v3-vf__close { color: var(--muted); max-width: 46ch; }
.e-con.v3-vf__media { grid-column: 8 / span 5; }

/* ---------- cómo empezar ---------- */
.e-con.v3-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.e-con.v3-step > .v3-step__price { margin-top: auto; padding-top: 1rem; font-weight: 600; color: var(--accent); }

/* ---------- precios ---------- */
.v3-price__table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.v3-price__table table { width: 100%; margin: 0; border-collapse: collapse; table-layout: fixed; font-size: var(--step-body); border: 0; }
.v3-price__table th, .v3-price__table td { padding: 1rem 1.5rem; text-align: left; vertical-align: middle; font-weight: 400; border: 0; background: transparent; }
.v3-price__corner { width: 31%; }
.v3-price__table tbody tr:nth-child(odd) > * { background: var(--tone); }
.v3-price__table .is-rec { background: var(--navy) !important; color: #fff; }
.v3-price__table tbody tr:nth-child(odd) > .is-rec { background: #1f2337 !important; }
.v3-price__table thead th { padding-top: 2rem; padding-bottom: 1.75rem; }
.v3-price__table thead th.is-rec { box-shadow: inset 0 4px 0 var(--brand); }
.v3-price__name { display: block; font-size: var(--step-h3); font-weight: 600; line-height: 1.3; }
.v3-price__from { display: block; margin-top: 0.5rem; font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.v3-price__per { display: block; margin-top: 0.5rem; font-size: var(--step-small); opacity: 0.8; }
.v3-price__table tbody th { font-weight: 600; }
.v3-price__pick {
  background: none; border: 0; color: inherit; cursor: pointer; font-size: inherit;
  text-align: left; font-variant-numeric: tabular-nums; padding: 0.35rem 0.7rem; margin: -0.35rem -0.7rem; border-radius: 6px;
  outline: 2px solid transparent; outline-offset: -2px;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, outline-color var(--t-hover) ease, transform var(--t-press) var(--ease-out);
}
.v3-price__pick:hover, .v3-price__pick:focus { background: none; color: inherit; outline-color: currentColor; }
.v3-price__pick:active { transform: scale(0.97); }
.v3-price__pick.is-on, .v3-price__pick.is-on:hover { background: var(--accent); color: #fff; font-weight: 600; outline-color: transparent; }
.v3-price__btns td { padding-top: 1.5rem; padding-bottom: 2rem; }
.v3-price__cards { display: none; }
.v3-price__pickline { margin-top: 1.75rem; text-align: center; color: var(--muted); }
.v3-price__pickline b { color: var(--ink); }
.e-con.v3-price__extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: clamp(2.5rem, 4vw, 3rem); }
.e-con.v3-extra { background: #fff; border-radius: var(--radius); padding: 1.5rem; gap: 0.75rem; box-shadow: var(--shadow-sm); justify-content: flex-start; }
.v3-extra__k { color: var(--muted); font-size: var(--step-body); line-height: 1.55; }
.v3-extra__v { font-size: var(--step-body); font-weight: 600; color: var(--accent); }

/* ---------- nosotros ---------- */
.e-con.v3-about__grid, .e-con.v3-contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-about__text { grid-column: 1 / span 6; gap: 1.5rem; }
.e-con.v3-photo { grid-column: 8 / span 5; }
.v3-photo__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.v3-photo__cap { margin-top: 0.875rem; font-size: var(--step-small); color: var(--on-dark-muted); }
.v3-about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem var(--gutter); margin-top: 0.5rem; }
.v3-about__facts .elementor-widget-container, .v3-about__facts > div { display: contents; }
.v3-about__facts p { margin: 0 !important; display: flex; flex-direction: column; padding: 1rem 1.25rem; background: var(--navy-2); border-radius: 12px; }
.v3-about__facts b { color: #fff; font-weight: 600; }
.v3-about__facts .v3-k { min-width: 0; }

/* ---------- preguntas frecuentes ---------- */
.e-con.v3-faq__col { max-width: min(var(--wrap), 52rem); }
.v3-faq__acc .e-n-accordion { display: grid; gap: 0.75rem; }
.v3-faq__acc .e-n-accordion-item { background: #fff; border-radius: 12px; border: 0; box-shadow: var(--shadow-sm); }
.v3-faq__acc .e-n-accordion-item-title {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center;
  padding: 1.25rem 1.5rem; border: 0; background: transparent; font-family: var(--font); font-weight: 600; font-size: var(--step-body); color: var(--ink);
}
.v3-faq__acc .e-n-accordion-item-title::-webkit-details-marker { display: none; }
.v3-faq__acc .e-n-accordion-item-title-text { font: inherit; color: inherit; }
.v3-faq__acc .e-n-accordion-item-title::after {
  content: ""; width: 0.65rem; height: 0.65rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: translateY(-25%) rotate(45deg); transition: transform var(--t-hover) var(--ease-out);
}
.v3-faq__acc .e-n-accordion-item[open] > .e-n-accordion-item-title::after { transform: translateY(15%) rotate(-135deg); }
.v3-faq__acc .e-n-accordion-item-title:hover { color: var(--accent); }
.v3-faq__acc .e-n-accordion-item-title-icon { display: none; }
.v3-faq__acc .e-n-accordion-item > .e-con { border: 0; padding: 0 1.5rem 1.5rem; max-width: 64ch; color: var(--muted); }

/* ---------- contacto (formulario de Pro Elements) ---------- */
.e-con.v3-contact__col { grid-column: 1 / span 6; gap: 1.25rem; }
.e-con.v3-office { grid-column: 8 / span 5; background: var(--navy); color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); gap: 1.25rem; box-shadow: var(--shadow-lg); }
.v3-office .v3-k { color: var(--on-dark-muted); }
.v3-office a { color: #fff; }
.v3-form { max-width: 34rem; margin-top: 0.25rem; }
.v3-form .elementor-form-fields-wrapper { position: relative; margin: 0; }
.v3-form .elementor-field-group { padding: 0 !important; margin: 0 !important; }
.v3-form .elementor-field-group:not(.elementor-field-type-submit):not(.elementor-field-type-hidden):not(.elementor-field-type-honeypot) { width: 100%; }
.v3-form .elementor-field-textual, .v3-form input[type="text"] {
  width: 100%; height: 64px; min-height: 64px; padding: 0 76px 0 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-family: var(--font); font-size: var(--step-body); color: var(--ink); box-shadow: var(--shadow-sm);
}
.v3-form .elementor-field-textual::placeholder { color: #6b7086; opacity: 1; }
.v3-form .elementor-field-textual:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.v3-form .elementor-field-type-submit { position: absolute !important; right: 8px; top: 8px; width: auto !important; }
.v3-form .elementor-button {
  width: 48px; height: 48px; min-height: 48px; padding: 0; border: 0; border-radius: 8px; background: var(--accent); color: transparent; font-size: 0;
  display: grid; place-items: center; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.v3-form .elementor-button::before {
  content: ""; width: 22px; height: 22px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.v3-form .elementor-button:hover { background: var(--accent-press); }
.v3-form .elementor-button:active { transform: scale(0.94); }
.v3-form .elementor-message { margin-top: 0.875rem; font-size: var(--step-small); }
.v3-form .elementor-message.elementor-message-success { color: var(--ink); font-weight: 600; }
.v3-form .elementor-message.elementor-message-danger, .v3-form .elementor-error .elementor-message { color: var(--accent-press); }
.v3-form .elementor-field-group .elementor-message { position: static; }
.v3-contact__next { font-size: var(--step-small); color: var(--muted); max-width: 52ch; }
.v3-contact__next a { color: var(--ink); }
.v3-contact__rows { display: grid; gap: 0.875rem; }
.v3-contact__rows p { margin: 0 !important; }
.v3-contact__rows .v3-k { display: block; min-width: 0; margin-bottom: 0.15rem; }

/* ---------- banda roja final ---------- */
.e-con.v3-cta { background: var(--accent); color: #fff; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.e-con.v3-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.e-con.v3-cta__copy { width: auto; flex: 1 1 auto; gap: 0.75rem; }
.e-con.v3-cta__inner > .v3-btn { width: auto; flex: 0 0 auto; }
.v3-cta__title { font-size: var(--step-head); font-weight: 700; }
.v3-cta__text { font-size: var(--step-lead); max-width: 52ch; }

/* ---------- páginas interiores ---------- */
/* cabecera oscura: titular, entradilla, botones y una captura en perspectiva */
.e-con.v3-pagehead { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4.5rem, 8vw, 7rem); overflow: hidden; position: relative; }
.e-con.v3-pagehead__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-pagehead__text { grid-column: 1 / span 5; position: relative; z-index: 2; }
.e-con.v3-pagehead__grid.is-compact > .v3-pagehead__text { grid-column: 1 / span 8; }
.v3-pagehead__title { font-size: var(--step-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: #fff; }
.v3-pagehead__title.v3-pagehead__title--long { font-size: clamp(2rem, 1.3rem + 2.1vw, 3rem); }
.e-con.v3-pstage { grid-column: 6 / span 7; position: relative; perspective: 1800px; padding-block: 1.5rem; }
.e-con.v3-pstage::before {
  content: ""; position: absolute; z-index: 0; width: 400px; height: 400px; border-radius: 50%;
  background: var(--navy-3); left: 2%; top: 50%; transform: translateY(-50%);
}
.e-con.v3-pstage::after { content: ""; position: absolute; z-index: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--brand); left: -2%; top: 4%; }
.e-con.v3-pstage__win { position: relative; z-index: 1; margin-left: auto; transform: rotateY(-12deg) rotateX(3deg); transform-origin: right center; }
.e-con.v3-pagehead__grid.has-long > .v3-pagehead__text { grid-column: 1 / span 6; }
.e-con.v3-pagehead__grid.has-long > .v3-pstage { grid-column: 7 / span 6; }
.e-con.v3-pstage.is-portrait { grid-column: 7 / span 6; }
.e-con.v3-pstage.is-portrait > .v3-pstage__win { width: 74%; }
.v3-pstage.is-portrait .v3-win__img img { width: 100%; }

/* banda de una función: texto con icono y lista a un lado, captura(s) al otro */
.e-con.v3-feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-feature__text { grid-column: 1 / span 5; gap: 1.25rem; align-items: flex-start; }
.e-con.v3-feature__text > .elementor-widget { width: 100%; }
.e-con.v3-feature__text > .v3-ico, .e-con.v3-feature__text > .v3-btn { width: auto; }
.e-con.v3-feature__text > .v3-btn { margin-top: 0.5rem; }
.e-con.v3-feature__media { grid-column: 7 / span 6; position: relative; align-items: flex-end; }
.e-con.v3-feature__grid.is-flip > .v3-feature__text { grid-column: 8 / span 5; grid-row: 1; }
.e-con.v3-feature__grid.is-flip > .v3-feature__media { grid-column: 1 / span 6; grid-row: 1; align-items: flex-start; }
.e-con.v3-feature__media.has-pair { padding-bottom: 14%; }
.e-con.v3-feature__media.has-pair > .v3-feature__back { width: 88%; }
.e-con.v3-feature__media.has-pair > .v3-feature__front { position: absolute; z-index: 2; width: 44%; right: -2%; bottom: 0; }
.e-con.v3-feature__grid.is-flip .v3-feature__media.has-pair > .v3-feature__front { right: auto; left: -2%; }
.e-con.v3-feature__grid.is-flip .v3-feature__media.has-pair > .v3-feature__back { margin-left: auto; }
.v3-feature__front .v3-win__img img, .v3-feature__back .v3-win__img img { width: 100%; }
.e-con.v3-feature .v3-sechead { margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.v3-feature .v3-lead { max-width: 44ch; }
.v3-dark .v3-checks { color: var(--on-dark-muted); }

/* tarjetas «Y además» y hardware: la misma tarjeta de la portada */
.e-con.v3-more .v3-card a, .e-con.v3-hw .v3-card a { color: var(--accent); font-weight: 600; }

/* contacto: primera pantalla con los datos y el formulario en una tarjeta blanca */
.e-con.v3-cohero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: center; }
.e-con.v3-cohero__text { grid-column: 1 / span 6; grid-row: 1; align-self: end; }
.e-con.v3-cohero__info { grid-column: 1 / span 6; grid-row: 2; align-items: flex-start; align-self: start; }
.e-con.v3-cohero__info > .elementor-widget { width: 100%; }
.e-con.v3-cohero__info > .v3-btn { width: auto; margin-top: 2rem; }
.v3-cohero__rows { margin-top: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem var(--gutter); max-width: 38rem; }
.v3-cohero__rows .elementor-widget-container, .v3-cohero__rows > div { display: contents; }
.v3-cohero__rows a, .v3-office a { color: #fff; }
.e-con.v3-formcard {
  grid-column: 8 / span 5; grid-row: 1 / span 2; background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem);
  gap: 1.25rem; box-shadow: var(--shadow-lg); position: relative;
}
.e-con.v3-formcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--brand); }
.v3-formcard .v3-form { max-width: none; }
.v3-dark .v3-formcard .elementor-widget-text-editor, .v3-formcard .v3-contact__next { color: var(--muted); }
.v3-formcard .v3-contact__next a { color: var(--ink); }
.e-con.v3-office > .v3-btn { width: auto; }
.e-con.v3-where { background: var(--bg); }
.v3-where .v3-photo__cap { color: var(--muted); }
.e-con.v3-where .v3-about__text > .v3-btn { width: auto; }
.v3-where .elementor-widget-text-editor p, .v3-cohero__text .elementor-widget-text-editor p { max-width: 60ch; }

/* páginas legales */
.e-con.v3-legal { padding-top: var(--section); background: var(--tone); }
.e-con.v3-legal__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: start; }
.e-con.v3-legal__toc { grid-column: 1 / span 4; position: sticky; top: 2rem; background: #fff; border-radius: var(--radius); padding: 1.75rem; gap: 0.75rem; box-shadow: var(--shadow-sm); }
.v3-legal__toctitle { font-size: var(--step-body); }
.v3-legal__toclist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.v3-legal__toclist a { text-decoration: none; font-weight: 500; }
.v3-legal__toclist a:hover { color: var(--accent); }
.e-con.v3-legal__body { grid-column: 5 / span 8; gap: 1.25rem; }
.e-con.v3-legal__part { gap: 0.75rem; background: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm); }
.v3-legal__text p { max-width: 66ch; }
.v3-legal__text a { color: var(--accent); }

/* ---------- pie ---------- */
.elementor-location-footer { background: var(--navy); color: var(--on-dark-muted); }
.e-con.v3-footer { padding-block: 3rem 2rem; font-size: var(--step-small); }
.v3-footer__credits { margin-bottom: 1.25rem; }
.v3-footer__credits a { color: var(--on-dark-muted); }
.e-con.v3-footer__line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: var(--gutter); padding-top: 1.25rem; box-shadow: inset 0 1px 0 var(--navy-3); }
.v3-footer__by { text-align: right; }
.v3-footer__links .elementor-nav-menu--main .elementor-item { display: inline-block; padding: 0.375rem 0; color: #fff; font-family: var(--font); font-size: var(--step-small); font-weight: 500; text-decoration: none; }
.v3-footer__links .elementor-item:hover { color: var(--brand); }

/* ================= tableta (< 1025, como Elementor) ================= */
@media (max-width: 64em) {
  .e-con.v3-header { flex-wrap: wrap; gap: 0.5rem 1.5rem; }
  .e-con.v3-header > .v3-nav { order: 3; width: 100%; }
  .e-con.v3-hero__grid, .e-con.v3-show__grid, .e-con.v3-vf__grid, .e-con.v3-about__grid, .e-con.v3-contact__grid, .e-con.v3-pagehead__grid, .e-con.v3-legal__grid { display: flex; flex-direction: column; align-items: stretch; }
  .e-con.v3-stage { margin-top: 3rem; min-height: 0; perspective: none; padding-bottom: 3rem; }
  .e-con.v3-stage::before { width: 340px; height: 340px; left: auto; right: -10%; }
  .e-con.v3-stage__main { width: 86%; margin-left: auto; transform: none; }
  .e-con.v3-stage__second { width: 52%; left: 0; right: auto; bottom: 0; transform: none; }
  .e-con.v3-cards, .e-con.v3-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .e-con.v3-show__text, .e-con.v3-vf__text, .e-con.v3-about__text, .e-con.v3-contact__col { margin-bottom: 2.5rem; }
  .e-con.v3-show__media { min-height: 0; padding-bottom: 4rem; }
  .e-con.v3-show__back { width: 88%; }
  .e-con.v3-show__front { width: 46%; top: auto; bottom: 0; }
  .e-con.v3-stats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .e-con.v3-price__extras { grid-template-columns: 1fr 1fr; }
  .e-con.v3-cta__inner { flex-direction: column; align-items: flex-start; }
  .e-con.v3-feature__grid, .e-con.v3-cohero__grid { display: flex; flex-direction: column; align-items: stretch; }
  .e-con.v3-feature__text { margin-bottom: 2.5rem; }
  .e-con.v3-cohero__text { order: 1; margin-bottom: 2rem; }
  .e-con.v3-formcard { order: 2; }
  .e-con.v3-cohero__info { order: 3; }
  .e-con.v3-pstage::after { left: auto; right: 4%; top: -1.5rem; }
  .e-con.v3-feature__grid.is-flip > .v3-feature__text { order: 1; }
  .e-con.v3-feature__grid.is-flip > .v3-feature__media { order: 2; }
  .e-con.v3-feature__media, .e-con.v3-feature__grid.is-flip > .v3-feature__media { align-items: flex-start; }
  .e-con.v3-feature__media.has-pair > .v3-feature__back { width: 86%; margin-left: 0 !important; }
  .e-con.v3-feature__media.has-pair > .v3-feature__front, .e-con.v3-feature__grid.is-flip .v3-feature__media.has-pair > .v3-feature__front { width: 42%; left: auto; right: 0; }
  .e-con.v3-pstage, .e-con.v3-pstage.is-portrait { margin-top: 3rem; perspective: none; padding-block: 0; }
  .e-con.v3-pstage::before { width: 320px; height: 320px; left: auto; right: -8%; }
  .e-con.v3-pstage__win { transform: none; margin-inline: 0 auto; }
  .e-con.v3-pstage.is-portrait > .v3-pstage__win { width: min(100%, 26rem); }
  .e-con.v3-legal__toc { position: static; margin-bottom: 1.5rem; }
}

/* ================= tabla de precios en bloques (< 900) ================= */
@media (max-width: 56.24em) {
  .v3-price__table { display: none; }
  .v3-price__cards { display: grid; gap: 1rem; }
  .pcard { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
  .pcard.is-rec { background: var(--navy); color: #fff; box-shadow: inset 0 4px 0 var(--brand), var(--shadow-md); }
  .pcard__name { font-size: var(--step-h3); font-weight: 600; }
  .pcard__price { margin-top: 0.25rem; font-size: var(--step-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
  .pcard dl { margin-top: 1.25rem; display: grid; gap: 0.75rem; }
  .pcard dt { color: var(--muted); font-size: var(--step-small); }
  .pcard.is-rec dt { color: var(--on-dark-muted); }
  .pcard .v3-pbtn { margin-top: 1.5rem; width: 100%; }
}

/* ================= móvil (< 768, como Elementor) ================= */
@media (max-width: 47.99em) {
  .e-con.v3-header > .v3-header__cta { display: none; }
  .v3-brand__mark img { width: 52px; }
  .v3-nav .elementor-nav-menu { justify-content: space-between; gap: 0.5rem; }
  .v3-nav .elementor-nav-menu--main .elementor-item { font-size: 0.875rem; }
  .e-con.v3-stage { padding-bottom: 0; }
  .e-con.v3-stage::before { width: 260px; height: 260px; }
  .e-con.v3-stage__main { width: 100%; }
  .e-con.v3-stage__second { display: none; }
  .e-con.v3-cards, .e-con.v3-cards--3, .e-con.v3-price__extras { grid-template-columns: minmax(0, 1fr); }
  .e-con.v3-feature__media.has-pair { padding-bottom: 0; }
  .e-con.v3-feature__media.has-pair > .v3-feature__back { width: 100%; }
  .v3-cohero__rows { grid-template-columns: minmax(0, 1fr); }
  .e-con.v3-pstage::before { width: 240px; height: 240px; }
  .e-con.v3-show__media { padding-bottom: 0; }
  .e-con.v3-show__back { width: 100%; }
  .e-con.v3-stats__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 1rem; }
  .e-con.v3-stat { padding-left: 0.875rem; }
  .v3-stat__big { font-size: 1.625rem; white-space: normal; }
  .v3-about__facts { grid-template-columns: 1fr; }
  .v3-contact__rows p { display: block; }
  .v3-k { display: block; min-width: 0; }
  .e-con.v3-footer__line { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .v3-footer__by { text-align: left; }
}

/* ================= movimiento (sutil) ================= */
@media (prefers-reduced-motion: no-preference) {
  .js .v3-rise { opacity: 0; transform: translateY(18px); animation: v3-rise 700ms var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
  .js .v3-stage.v3-rise { animation-duration: 1000ms; }
  /* en móvil y tableta el contenido nunca empieza oculto: solo sube un poco al entrar */
  .js .v3-r { transform: translateY(16px); transition: transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .v3-r.is-in { transform: none; }
  .js .elementor-editor-active .v3-r, .js .elementor-editor-active .v3-rise { opacity: 1; transform: none; animation: none; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 64.01em) {
  .js .v3-r { opacity: 0; transform: translateY(22px); transition: opacity 650ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .v3-r.is-in { opacity: 1; transform: none; }
}
@keyframes v3-rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
/* la elevación al pasar el ratón gana a la entrada animada */
.e-con.v3-card.v3-r.is-in:hover, .e-con.v3-card:hover { transform: translateY(-4px); }
