/*
 Theme Name:  Divi Child - All Risk Consultores
 Template:    Divi
 Description: Tema hijo de Divi para All Risk Consultores: diseño del sitio corporativo (v4, «instrumento de precisión») y marca del panel de poligrafía.
 Version:     4.4.1
 Text Domain: divi-child
*/

/* ==========================================================================
   Sistema de diseño del sitio público (v4)

   Idea: el sitio se ve y se mueve como el instrumento que usa All Risk. Fondos luminosos de «papel de gráfica» que
   se funden con el registro de la prueba, bloques de azul de instrumento y tres canales de color (azul, verde azulado
   y dorado) que son los de las curvas. Movimiento con propósito: el registro se dibuja una vez, las cifras suben a su
   valor, las secuencias se trazan al llegar a ellas y todo lo demás responde al cursor.
   Tipografía: Archivo (variable en peso y ancho): titulares anchos y pesados, texto normal.
   ========================================================================== */
:root {
  --s-deep: #001a38;        /* azul profundo */
  --s-ink-deep: #00122a;
  --s-navy: #002e5e;        /* azul de la marca */
  --s-navy-2: #0a4180;
  --s-blue: #1b5fb0;
  --s-paper: #f1f4f7;       /* papel de gráfica */
  --s-mist: #f6f9fc;
  --s-grid: #dbe3ec;        /* cuadrícula del papel */
  --s-rule: #cfd8e3;        /* filetes */
  --s-gold: #c98a2b;        /* dorado de la marca: decoración y curvas */
  --s-gold-2: #e5b061;      /* dorado sobre azul (botones y texto): 9:1 */
  --s-gold-text: #8a5512;   /* dorado para texto sobre fondo claro: 6:1 (WCAG AA) */
  --s-gold-on-navy: #e5b061;
  --s-teal: #17797e;        /* canal «respiración» */
  --s-teal-2: #3fc1c6;      /* canal «respiración» sobre azul */
  --s-ink: #0d1b2e;
  --s-ink-2: #34445a;
  --s-muted: #566478;       /* 6:1 sobre blanco */
  --s-line: #e1e7ef;
  --s-soft: #f1f4f7;
  --s-radius: 18px;
  --s-radius-lg: 28px;
  --s-shadow: 0 1px 2px rgba(10, 30, 60, .04), 0 12px 32px -8px rgba(10, 30, 60, .10);
  --s-shadow-lg: 0 2px 4px rgba(10, 30, 60, .05), 0 30px 60px -18px rgba(10, 30, 60, .28);
  --s-ease: cubic-bezier(.2, .7, .2, 1);
  --s-max: 1180px;
}
.ar-app { --ar-brand: #002e5e; }
html { scroll-behavior: smooth; }

/* ==========================================================================
   Tipografía
   Las fuentes se declaran en functions.php (alojadas en /fonts). La plataforma (/app) conserva Source Sans 3.
   ========================================================================== */
body, button, input, select, textarea, #top-menu, .et_mobile_menu, #main-footer, #footer-bottom,
.et_pb_module, .et_pb_button, .gform_wrapper.gform-theme { font-family: var(--ar-font-display) !important; }
.gform_wrapper.gform-theme { --gf-font-family-base: var(--ar-font-display) !important; --gf-ctrl-font-family: var(--ar-font-display) !important; }
.ar-app, .ar-app button, .ar-app input, .ar-app select, .ar-app textarea { font-family: var(--ar-font-display) !important; }
.gform_wrapper.gform-theme { --gf-radius: 12px; }
/* Titulares: Archivo en el sitio público; la plataforma conserva Source Serif 4 */
h1, h2, h3, h4, h5, h6, .et_pb_module_header, .et_pb_module_header a { font-family: var(--ar-font-display) !important; }
.ar-app h1, .ar-app h2, .ar-app h3, .ar-app h4, .ar-app h5, .ar-app h6 { font-family: var(--ar-font-display) !important; }
.ar-app .ar-header h2, .ar-app .ar-login h1, .ar-app .ar-login h2 { font-family: var(--ar-font-display) !important; }

.ar-t, .ar-t p { color: var(--s-ink-2); font-size: 17px; line-height: 1.65; }
.ar-t p { padding-bottom: 0; margin: 0 0 1em; }
.ar-t p:last-child { margin-bottom: 0; }
.ar-t h1, .ar-t h2, .ar-t h3, .ar-blurb .et_pb_module_header { color: var(--s-ink); padding-bottom: 0; }
.ar-t h1 { font-weight: 800; font-stretch: 122%; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.03; letter-spacing: -.035em; margin: 0 0 26px; }
.ar-t h2 { font-weight: 790; font-stretch: 112%; font-size: clamp(29px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 18px; }
.ar-t h3, .ar-blurb .et_pb_module_header { font-weight: 720; font-stretch: 104%; font-size: 21px; line-height: 1.25; letter-spacing: -.012em; margin: 0 0 8px; }
.ar-t ul, .ar-t ol, .ar-t dl, .ar-blurb ul { list-style: none !important; padding: 0 !important; margin: 0; line-height: inherit; }
.ar-t li { list-style: none !important; }
.ar-lead, .ar-t p.ar-lead { font-size: clamp(18px, 1.6vw, 21px) !important; line-height: 1.55 !important; color: var(--s-ink) !important; }
.ar-hero-copy p.ar-lead, .ar-hero-copy .ar-lead { max-width: 56ch; }
.ar-page-hero .ar-hero-copy p.ar-lead, .ar-hero2 .ar-hero-copy p.ar-lead, .ar-navy .ar-t p, .ar-cta-box .ar-t p { color: #dbe5f1 !important; }
.ar-t a, .ar-blurb a { text-underline-offset: 3px; }

/* Antetítulo (solo donde dice a qué parte pertenece la página, p. ej. «Protección de datos») */
.ar-t p.ar-kicker { margin: 0 0 14px; font-size: 15px; font-weight: 700; letter-spacing: .04em; color: var(--s-teal); }
.ar-t p.ar-kicker--light, .ar-page-hero .ar-t p.ar-kicker { color: var(--s-gold-2) !important; }

/* Texto claro sobre azul */
.ar-page-hero .ar-t h1, .ar-hero2 .ar-t h1, .ar-navy .ar-t h2, .ar-cta-box .ar-t h2, .ar-pull h2 { color: #fff; }

/* Barra de avance de lectura (solo navegadores con animaciones ligadas al scroll) */
@supports (animation-timeline: scroll()) {
  html::before {
    content: ""; position: fixed; z-index: 100001; left: 0; right: 0; top: 0; height: 3px; pointer-events: none;
    background: linear-gradient(90deg, var(--s-teal), var(--s-blue) 55%, var(--s-gold));
    transform-origin: 0 50%; transform: scaleX(0); animation: ar-progress linear both; animation-timeline: scroll(root);
  }
}
@keyframes ar-progress { to { transform: scaleX(1); } }

/* ==========================================================================
   Cabecera Divi: cristal esmerilado, menú y botón "Plataforma"
   ========================================================================== */
#main-header {
  background: rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: 0 1px 0 rgba(13, 27, 46, .06) !important; transition: box-shadow .3s, background-color .3s;
}
#main-header.et-fixed-header { background: rgba(255, 255, 255, .88) !important; box-shadow: 0 1px 0 rgba(13, 27, 46, .06), 0 12px 32px -14px rgba(10, 30, 60, .22) !important; }
#top-menu li a { font-weight: 600; font-stretch: 100%; letter-spacing: -.005em; position: relative; }
/* Subrayado que se traza al pasar el cursor */
#top-menu > li:not(.ar-menu-cta) > a::after {
  content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--s-gold), var(--s-gold-2)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--s-ease);
}
#top-menu > li:not(.ar-menu-cta) > a:hover::after, #top-menu li.current-menu-item:not(.ar-menu-cta) > a::after { transform: scaleX(1); }
#top-menu li.ar-menu-cta > a {
  padding: 11px 22px !important; margin-top: -11px; border-radius: 999px;
  background: linear-gradient(135deg, var(--s-navy), var(--s-navy-2)); color: #fff !important; opacity: 1 !important;
  box-shadow: 0 6px 18px -6px rgba(0, 46, 94, .55); transition: transform .25s var(--s-ease), box-shadow .25s;
}
#top-menu li.ar-menu-cta > a:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(0, 46, 94, .6); }
#top-menu li.current-menu-item:not(.ar-menu-cta) > a { color: var(--s-gold-text) !important; }
/* «Plataforma» siempre en blanco, también con la cabecera fija y estando en /app (Divi pinta de dorado el ítem activo) */
#main-header #top-menu li.ar-menu-cta > a, #main-header.et-fixed-header #top-menu li.ar-menu-cta > a, #main-header #top-menu li.ar-menu-cta.current-menu-item > a, #main-header.et-fixed-header #top-menu li.ar-menu-cta.current-menu-item > a, body #top-menu li.ar-menu-cta > a:hover { color: #fff !important; }
#top-menu > li > a { display: inline-block; min-height: 24px; }
.et_mobile_menu li.ar-menu-cta a { color: var(--s-navy) !important; font-weight: 700; }

/* ==========================================================================
   Estructura común de las páginas (módulos nativos de Divi 5)
   Fondos, espaciados y colores de botones se editan en cada módulo (Visual Builder).
   Aquí solo van los detalles que Divi no ofrece, ligados a la "Clase CSS" de cada módulo.
   ========================================================================== */
.ar-s { position: relative; }
.ar-s .et_pb_row.ar-row { margin-left: auto; margin-right: auto; }
.ar-s .et_pb_column > .et_pb_module { margin-bottom: 0; }
.ar-s .et_pb_column > .et_pb_module + .et_pb_module { margin-top: 20px; }
#poligrafo, #asesorias, #estudios, #vom, #exploratorias, #diagnostico, #como-funciona, #tipos { scroll-margin-top: 96px; }
/* Fondos de sección: papel de gráfica que se desvanece */
.ar-paper { background-image: linear-gradient(180deg, #fff 0, transparent 140px), linear-gradient(var(--s-grid) 1px, transparent 1px), linear-gradient(90deg, var(--s-grid) 1px, transparent 1px) !important; background-size: auto, 48px 48px, 48px 48px !important; background-position: 0 0, -1px -1px, -1px -1px !important; }

/* Botones (colores en el módulo; aquí forma, estados y alineación) */
.et_pb_button.ar-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 54px; line-height: 1.2 !important; text-decoration: none; letter-spacing: -.005em;
  border-radius: 999px !important; padding: 13px 30px !important;
  transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--s-ease), box-shadow .3s;
}
.et_pb_button.ar-btn::after { display: none !important; }
.et_pb_button.ar-btn:hover { transform: translateY(-3px); padding: 13px 30px !important; }
body .et_pb_button.ar-btn--gold { box-shadow: 0 10px 26px -10px rgba(229, 176, 97, .8); }
body .et_pb_button.ar-btn--gold:hover { background-color: #f0c47d !important; box-shadow: 0 16px 32px -10px rgba(229, 176, 97, .9); }
body .et_pb_button.ar-btn--navy { background-image: linear-gradient(135deg, var(--s-navy), var(--s-navy-2)) !important; box-shadow: 0 12px 28px -10px rgba(0, 46, 94, .7); }
body .et_pb_button.ar-btn--navy:hover { box-shadow: 0 18px 34px -10px rgba(0, 46, 94, .75); }
body .et_pb_button.ar-btn--outline:hover { background-color: rgba(0, 46, 94, .08) !important; border-color: var(--s-navy-2) !important; }
body .et_pb_button.ar-btn--ghost:hover { background-color: rgba(255, 255, 255, .14) !important; border-color: #fff !important; }
body .et_pb_button.ar-btn--whatsapp { box-shadow: 0 12px 26px -10px rgba(21, 122, 64, .7); }
body .et_pb_button.ar-btn--whatsapp:hover { background-color: #106534 !important; }
.ar-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ar-btn-row > .et_pb_module:not(.et_pb_button_module_wrapper) { flex: 0 0 100%; }
.ar-s .ar-btn-row > .et_pb_module + .et_pb_module { margin-top: 0; }
.ar-btn-row > .et_pb_button_module_wrapper { margin: 0 !important; }
.ar-btn-row > .ar-intro + .et_pb_button_module_wrapper, .ar-btn-row > .ar-hero-copy ~ .et_pb_button_module_wrapper { margin-top: 12px !important; }
.et_pb_button_module_wrapper:has(.ar-btn--block) .ar-btn { display: flex; width: 100%; }
.ar-navy .ar-intro + .et_pb_button_module_wrapper { margin-top: 28px !important; }

/* Enlace de texto: el subrayado dorado se llena al pasar el cursor */
.ar-link {
  font-weight: 700; color: var(--s-navy) !important; text-decoration: none !important; padding-bottom: 3px;
  background: linear-gradient(var(--s-gold), var(--s-gold)) 0 100% / 100% 2px no-repeat, linear-gradient(var(--s-navy), var(--s-navy)) 0 100% / 0 2px no-repeat;
  transition: background-size .4s var(--s-ease);
}
.ar-link:hover { background-size: 100% 2px, 100% 2px; }
.ar-tag { display: inline-block; margin: 0 16px 0 0; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; line-height: 1.5; color: var(--s-ink-2); background: rgba(13, 27, 46, .06); }

/* Numeración: solo en secuencias reales (pasos del examen, pasos de la asesoría) */
.ar-n {
  display: block; margin: 0 0 10px !important; font-weight: 800 !important; font-stretch: 125%; font-size: 56px !important; line-height: 1 !important; letter-spacing: -.04em;
  color: transparent !important; -webkit-text-stroke: 1.5px var(--s-navy); font-variant-numeric: tabular-nums; transition: color .4s, -webkit-text-stroke-color .4s;
}

/* Columna de título que acompaña al contenido al desplazarse */
@media (min-width: 981px) {
  .et_pb_row.ar-row--top { display: flex; align-items: stretch; }
  .et_pb_row.ar-row--top > .et_pb_column:first-child { position: sticky; top: 118px; align-self: flex-start; }
}

/* ------------------------------------------------------------------ Portada de inicio
   Azul profundo con cuadrícula y luz de color; el registro de la prueba (papel de gráfica) emerge del azul y se funde con él por los cuatro bordes. */
body #page-container .ar-s.ar-hero2 {
  overflow: hidden; background-color: var(--s-deep) !important;
  background-image:
    radial-gradient(52% 46% at 88% 6%, rgba(63, 193, 198, .26), transparent 70%),
    radial-gradient(46% 40% at 4% 52%, rgba(229, 176, 97, .16), transparent 72%),
    radial-gradient(60% 40% at 50% 100%, rgba(27, 95, 176, .30), transparent 75%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
}
.ar-hero2::before { /* la cuadrícula se desvanece hacia los bordes de la portada */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 35%, rgba(0, 18, 42, .55) 100%);
}
.ar-hero2 .et_pb_row { position: relative; z-index: 1; }
.ar-hero2 .ar-hero-copy .et_pb_text_inner { max-width: 980px; }
.ar-hero2 .ar-hero-copy h1 { margin-bottom: 22px; color: #fff; }
.ar-hero2 .ar-hero-copy p.ar-lead, .ar-hero2 .ar-hero-copy p { color: #dbe5f1 !important; }
.ar-hero-copy { margin-bottom: 0 !important; }
.ar-hero2 .et_pb_row.ar-chart-row { margin-top: -8px; width: 100% !important; }

/* Entrada de la portada: una sola secuencia al cargar */
@keyframes ar-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes ar-unmask { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(18px); } to { opacity: 1; clip-path: inset(-10% -2% -10% -2%); transform: none; } }
.ar-hero2 .ar-hero-copy h1 { animation: ar-unmask 1s var(--s-ease) .05s both; }
.ar-hero2 .ar-hero-copy p.ar-lead { animation: ar-rise .9s var(--s-ease) .3s both; }
.ar-hero2 .ar-btn-row > .et_pb_button_module_wrapper:nth-of-type(1) { animation: ar-rise .9s var(--s-ease) .5s both; }
.ar-hero2 .ar-btn-row > .et_pb_button_module_wrapper:nth-of-type(2) { animation: ar-rise .9s var(--s-ease) .6s both; }
.ar-hero2 .ar-chart-wrap { animation: ar-rise 1.1s var(--s-ease) .45s both; }
.ar-hero2 .ar-ledger { animation: ar-rise 1s var(--s-ease) 1.2s both; }

/* Botones de la portada sobre azul: principal dorado y secundario con borde claro (aunque la página guardada traiga las variantes de fondo claro) */
body #page-container .ar-hero2 .et_pb_button.ar-btn--navy { background-color: #e5b061 !important; background-image: none !important; color: #002e5e !important; border-color: #e5b061 !important; box-shadow: 0 10px 26px -10px rgba(229, 176, 97, .8); }
body #page-container .ar-hero2 .et_pb_button.ar-btn--navy:hover { background-color: #f0c47d !important; box-shadow: 0 16px 32px -10px rgba(229, 176, 97, .9); }
body #page-container .ar-hero2 .et_pb_button.ar-btn--outline { background-color: rgba(255, 255, 255, 0) !important; color: #fff !important; border-color: rgba(255, 255, 255, .7) !important; }
body #page-container .ar-hero2 .et_pb_button.ar-btn--outline:hover { background-color: rgba(255, 255, 255, .14) !important; border-color: #fff !important; }

/* Registro de poligrafía (SVG decorativo): papel con cuadrícula y resplandor azul que lo funde con la portada */
.ar-chart-wrap { margin: 0 !important; padding: 0 !important; }
.ar-chart {
  --pad-x: 48px; --pad-y: 56px; --x0: .017; --x1: .983;
  position: relative; max-width: 1400px; margin: 0 auto; padding: var(--pad-y) var(--pad-x);
}
.ar-chart svg { display: block; width: 100%; height: auto; position: relative; z-index: 2; }
/* El registro brilla con el azul de la portada (sin halo blanco): resplandor azul alrededor del papel */
.ar-chart svg.svg-d, .ar-chart svg.svg-m { filter: drop-shadow(0 0 14px rgba(90, 170, 255, .55)) drop-shadow(0 0 54px rgba(27, 95, 176, .75)); }
.ar-chart svg.svg-m { display: none; max-width: 560px; margin: 0 auto; }
.ar-chart svg .plot { fill: #fffafd; }
.ar-chart svg .frame { fill: none; stroke: #1b1b24; stroke-width: 1.2; }
.ar-chart .g-h { stroke: #f1c3dd; stroke-width: 1; }
.ar-chart .g-v { stroke: #4a4ab8; stroke-width: 1; stroke-dasharray: 1.2 2.6; opacity: .8; }
.ar-chart .g-v2 { stroke: #e6a4d2; stroke-width: 1; stroke-dasharray: 1.2 3.2; }
.ar-chart .tick { font: 600 11.5px var(--ar-font-display); fill: #b9d0ff; }
.ar-chart .svg-m .tick { font-size: 15px; }
.ar-chart .mark rect.band-n { fill: rgba(128, 128, 250, .42); }
.ar-chart .mark rect.band-c { fill: rgba(70, 225, 70, .38); }
.ar-chart .mark rect.band-r { fill: rgba(255, 70, 70, .38); }
.ar-chart .mark rect.band-y { fill: rgba(255, 246, 120, .55); }
.ar-chart .mark line.q-line { stroke: rgba(20, 20, 30, .55); stroke-width: 1; }
.ar-chart .q-box { fill: #fff; stroke: #1b1b24; stroke-width: 1.1; }
.ar-chart .q-txt { fill: #101018; font: 600 13.5px var(--ar-font-display); }
.ar-chart .svg-m .q-txt { font-size: 14px; }
.ar-chart .trace { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: ar-draw 2.8s cubic-bezier(.45, 0, .25, 1) .3s forwards; }
.ar-chart .trace--1 { stroke: #1c1cb4; }
.ar-chart .trace--2 { stroke: #1fa5e4; animation-delay: .4s; }
.ar-chart .trace--3 { stroke: #ee1c1c; stroke-width: 1.8; animation-delay: .55s; }
.ar-chart .trace--4 { stroke: #7d0b0b; stroke-width: 2; animation-delay: .6s; }
.ar-chart .trace--5 { stroke: #138a1c; stroke-width: 2.4; animation-delay: .8s; }
.ar-chart .trace--6 { stroke: #15151c; stroke-width: 1.4; animation-delay: 1s; }
.ar-chart .mark { opacity: 0; animation: ar-mark .5s ease forwards; }
/* Cabezal de grabación: una línea con estela recorre el registro al ritmo del trazo */
.ar-chart::after {
  content: ""; position: absolute; z-index: 3; top: var(--pad-y); bottom: var(--pad-y); width: 120px; margin-left: -120px; pointer-events: none; opacity: 0;
  left: calc(var(--pad-x) + (100% - 2 * var(--pad-x)) * var(--x0)); border-right: 2px solid rgba(220, 40, 120, .75);
  background: linear-gradient(90deg, transparent, rgba(220, 40, 120, .13));
  animation: ar-scan 3.1s cubic-bezier(.45, 0, .25, 1) .45s forwards;
}
@keyframes ar-scan { 0% { opacity: 1; left: calc(var(--pad-x) + (100% - 2 * var(--pad-x)) * var(--x0)); } 92% { opacity: 1; } 100% { opacity: 0; left: calc(var(--pad-x) + (100% - 2 * var(--pad-x)) * var(--x1)); } }
@keyframes ar-draw { to { stroke-dashoffset: 0; } }
@keyframes ar-mark { to { opacity: 1; } }

/* Cifras bajo el registro */
.ar-ledger { margin: 8px auto 0 !important; max-width: var(--s-max); }
.ar-ledger .et_pb_text_inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.ar-ledger p { margin: 0; padding: 6px 28px 6px 24px; border-left: 2px solid transparent; border-image: linear-gradient(180deg, var(--s-gold), rgba(201, 138, 43, .05)) 1; font-size: 15px; line-height: 1.4; color: var(--s-ink-2); }
.ar-hero2 .ar-ledger p { color: #c9d6e6; }
.ar-ledger strong { display: block; font-weight: 800; font-stretch: 118%; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; letter-spacing: -.03em; white-space: nowrap; color: var(--s-navy); font-variant-numeric: tabular-nums; }
.ar-hero2 .ar-ledger strong { color: #fff; }

/* ------------------------------------------------------------------ Tipos de prueba */
.ar-types > .et_pb_column { display: flex; }
.ar-type {
  --c: var(--s-navy); position: relative; width: 100%; padding: 32px 30px 34px; overflow: hidden; border-radius: var(--s-radius-lg);
  background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
  transition: transform .5s var(--s-ease), box-shadow .5s, border-color .4s;
}
.ar-type::before { /* curva del canal: se desplaza al pasar el cursor */
  content: ""; display: block; height: 44px; margin-bottom: 26px; background: var(--c);
  -webkit-mask: var(--wave) 0 50% / 120px 44px repeat-x; mask: var(--wave) 0 50% / 120px 44px repeat-x;
}
.ar-type::after { /* resplandor del canal */
  content: ""; position: absolute; z-index: 0; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent); opacity: .08; transition: opacity .5s, transform .6s var(--s-ease); pointer-events: none;
}
.ar-type > * { position: relative; z-index: 1; }
.ar-type--1 { --c: var(--s-teal); --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44' viewBox='0 0 120 44'%3E%3Cpath d='M0 22C15 2 45 2 60 22S105 42 120 22' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ar-type--2 { --c: var(--s-navy-2); --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44' viewBox='0 0 120 44'%3E%3Cpath d='M0 28H22L27 6L34 40L40 18L46 28H120' fill='none' stroke='%23000' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ar-type--3 { --c: var(--s-gold); --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='44' viewBox='0 0 120 44'%3E%3Cpath d='M0 36C28 36 38 8 60 8S92 36 120 36' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ar-type:hover { transform: translateY(-8px); border-color: var(--c); box-shadow: var(--s-shadow-lg); }
.ar-type:hover::before { animation: ar-wave 1.6s linear infinite; }
.ar-type:hover::after { opacity: .16; transform: scale(1.25); }
@keyframes ar-wave { to { -webkit-mask-position: -120px 50%; mask-position: -120px 50%; } }
.ar-type h3 { font-weight: 790; font-stretch: 114%; font-size: clamp(26px, 2.4vw, 32px); letter-spacing: -.025em; margin-bottom: 12px; }
.ar-type p { font-size: 16.5px; }
.ar-type p:last-child { margin-top: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.ar-type .ar-tag { margin: 0; }
.ar-s .ar-type + .ar-type { margin-top: 0; }

/* ------------------------------------------------------------------ Cómo es una evaluación (secuencia) */
.ar-step2 { position: relative; padding-top: 34px; }
.ar-step2::before { content: ""; position: absolute; top: 0; left: 0; right: 14px; height: 2px; background: var(--s-line); }
.ar-step2::after { /* el trazo se dibuja al llegar a la secuencia */
  content: ""; position: absolute; top: 0; left: 0; right: 14px; height: 2px; background: linear-gradient(90deg, var(--s-navy), var(--s-teal)); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 1.1s var(--s-ease) var(--d, 0s);
}
.ar-step2.is-in::after, html:not(.ar-js) .ar-step2::after { transform: scaleX(1); }
.ar-step2 h3 { font-size: 20px; position: relative; }
.ar-step2 .ar-n::before { /* punto del paso sobre el trazo */
  content: ""; position: absolute; top: -39px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--s-gold); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--s-line); z-index: 1;
}
.ar-step2 p:not(.ar-n) { font-size: 16px; line-height: 1.6; }
.ar-step2:hover .ar-n { color: var(--s-navy) !important; }

/* ------------------------------------------------------------------ Ficha técnica (secciones azules) */
.ar-navy { overflow: hidden; }
body .ar-s.ar-navy {
  background-image:
    radial-gradient(50% 60% at 100% 0%, rgba(63, 193, 198, .22), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(229, 176, 97, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
.ar-spec { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; margin: 0; }
.ar-spec dt, .ar-spec dd { margin: 0; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .16); transition: background-color .3s; }
.ar-spec dt { padding-right: 28px; font-weight: 700; font-stretch: 106%; font-size: 18px; line-height: 1.3; color: var(--s-gold-on-navy); }
.ar-spec dd { font-size: 17px; line-height: 1.6; color: #dbe5f1; }
.ar-spec dt:nth-last-of-type(1), .ar-spec dd:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .16); }

/* ------------------------------------------------------------------ Soluciones */
.ar-tile {
  position: relative; height: 100%; overflow: hidden; border-radius: var(--s-radius-lg); background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
  transition: transform .5s var(--s-ease), box-shadow .5s;
}
.ar-tile:hover { transform: translateY(-6px); box-shadow: var(--s-shadow-lg); }
.ar-tile .et_pb_main_blurb_image { margin: 0 0 4px; overflow: hidden; }
.ar-tile .et_pb_main_blurb_image img { display: block; width: 100%; height: auto; aspect-ratio: 7 / 6; object-fit: cover; transition: transform 1.1s var(--s-ease); }
.ar-tile:hover .et_pb_main_blurb_image img { transform: scale(1.06); }
.ar-tile--wide .et_pb_main_blurb_image img { aspect-ratio: 16 / 9; }
.ar-tile--product .et_pb_main_blurb_image img { object-fit: contain; background: linear-gradient(180deg, #fff, var(--s-paper)); padding: 14px; }
.ar-tile .et_pb_blurb_container { padding: 20px 30px 32px; }
.ar-tile .et_pb_module_header { font-size: 25px; font-weight: 770; font-stretch: 110%; letter-spacing: -.02em; }
.ar-tile .et_pb_blurb_description p { font-size: 16.5px; line-height: 1.6; margin: 0 0 14px; max-width: 52ch; }
.ar-tile .et_pb_blurb_description p:last-child { margin-bottom: 0; }

/* Beneficios */
.ar-benefit {
  position: relative; padding: 26px 28px 28px 92px; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
  transition: transform .45s var(--s-ease), border-color .4s, box-shadow .4s;
}
.ar-benefit::before { /* marca de verificación */
  content: ""; position: absolute; left: 28px; top: 28px; width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--s-teal), var(--s-navy-2));
  -webkit-mask: none; mask: none;
}
.ar-benefit::after {
  content: ""; position: absolute; left: 41px; top: 39px; width: 8px; height: 15px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg) scale(.7); transition: transform .5s var(--s-ease);
}
.ar-benefit:hover { transform: translateX(8px); border-color: rgba(23, 121, 126, .45); box-shadow: var(--s-shadow-lg); }
.ar-benefit:hover::after { transform: rotate(45deg) scale(1); }
.ar-s .ar-benefit + .ar-benefit { margin-top: 16px; }
.ar-benefit h3 { font-size: 21px; }
.ar-benefit p { max-width: 54ch; font-size: 16.5px; }
.ar-benefit-img { margin-top: 36px; }
.ar-rounded img { width: 100%; height: auto; border-radius: var(--s-radius-lg); display: block; box-shadow: var(--s-shadow-lg); }

/* ------------------------------------------------------------------ Llamado a la acción y franja de contacto */
.et_pb_row.ar-cta-box {
  position: relative; overflow: hidden; border-radius: 36px; align-items: center; background-color: var(--s-deep);
  background-image:
    radial-gradient(60% 120% at 100% 0%, rgba(63, 193, 198, .34), transparent 65%),
    radial-gradient(50% 100% at 0% 100%, rgba(27, 95, 176, .45), transparent 65%),
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: auto, auto, 40px 40px, 40px 40px; box-shadow: var(--s-shadow-lg);
}
.ar-cta-box .ar-t h2 { max-width: 20ch; }
.ar-cta__actions { justify-content: flex-end; }
/* Mismo blanco que la sección anterior: sin borde gris entre ambas */
body .ar-s.ar-cta, body .ar-s.ar-contact-strip { background-color: #fff !important; }
.ar-datums > .et_pb_column { display: flex; }
.ar-datum {
  position: relative; width: 100%; overflow: hidden; border-radius: var(--s-radius-lg); background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow);
  transition: transform .5s var(--s-ease), box-shadow .5s, border-color .4s;
}
.ar-datum .et_pb_text_inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px 28px 30px; }
.ar-datum::after { /* filete de color que se despliega al pasar el cursor */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--s-teal), var(--s-blue), var(--s-gold));
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--s-ease);
}
.ar-datum:hover { transform: translateY(-6px); box-shadow: var(--s-shadow-lg); border-color: rgba(0, 46, 94, .25); }
.ar-datum:hover::after { transform: scaleX(1); }
.ar-datum__icon { flex: 0 0 56px; width: 56px !important; height: 56px !important; padding: 15px; border-radius: 18px; background: linear-gradient(135deg, var(--s-navy), var(--s-navy-2)); box-shadow: 0 10px 22px -10px rgba(0, 46, 94, .7); transition: transform .5s var(--s-ease); }
.ar-datum:hover .ar-datum__icon { transform: rotate(-6deg) scale(1.06); }
.ar-datum__body { min-width: 0; }
.ar-datum p { margin: 0; }
.ar-datum .ar-label { font-size: 14px; font-weight: 650; color: var(--s-muted); line-height: 1.4; margin-bottom: 4px; }
.ar-datum .ar-value { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--s-ink); overflow-wrap: break-word; }
.ar-datum .ar-value a { color: var(--s-ink); text-decoration: none; background: linear-gradient(var(--s-gold), var(--s-gold)) 0 100% / 100% 2px no-repeat; padding-bottom: 2px; transition: background-color .3s; }
.ar-datum .ar-value a:hover { background-image: linear-gradient(var(--s-navy), var(--s-navy)); }
.ar-datum .ar-note { margin-top: 8px !important; font-size: 14.5px; line-height: 1.45; color: var(--s-muted); }

/* ------------------------------------------------------------------ Portadas de las páginas interiores */
.ar-page-hero { overflow: hidden; }
body .ar-s.ar-page-hero {
  background-image:
    radial-gradient(48% 70% at 92% 0%, rgba(63, 193, 198, .28), transparent 70%),
    radial-gradient(40% 60% at 0% 100%, rgba(229, 176, 97, .18), transparent 72%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
.ar-page-hero .et_pb_row, .ar-page-hero .et_pb_column { position: static !important; }
.ar-page-hero .ar-hero-copy h1 { animation: ar-unmask 1s var(--s-ease) .05s both; }
.ar-page-hero .ar-hero-copy p.ar-lead { animation: ar-rise .9s var(--s-ease) .3s both; }
.ar-page-hero .ar-anchors { animation: ar-rise .9s var(--s-ease) .45s both; }
.ar-s .ar-hero-media { position: absolute !important; inset: 0; z-index: 0; margin: 0 !important; }
.ar-hero-media .et_pb_image_wrap, .ar-hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ar-hero-media img { filter: grayscale(1) contrast(1.05); }
.ar-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(0, 26, 56, .95) 0%, rgba(0, 26, 56, .82) 55%, rgba(0, 46, 94, .6) 100%); }
.ar-page-hero .et_pb_module:not(.ar-hero-media) { position: relative; z-index: 1; }
.ar-s .ar-hero-media + .et_pb_module { margin-top: 0; }
.ar-page-hero .ar-hero-copy .et_pb_text_inner { max-width: 940px; }
.ar-prose p { font-size: 17.5px; line-height: 1.7; max-width: 62ch; }
.ar-prose p.ar-lead { max-width: 52ch; }

.ar-pull::before { content: ""; display: block; width: 84px; height: 5px; border-radius: 5px; margin-bottom: 30px; background: linear-gradient(90deg, var(--s-gold-2), var(--s-teal-2)); }
.ar-pull h2 { font-weight: 800; font-stretch: 122%; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.035em; max-width: 18em; margin-bottom: 28px; }
.ar-pull p { max-width: 62ch; font-size: 18px; }

.ar-facility { position: relative; overflow: hidden; border-radius: var(--s-radius-lg); background: var(--s-deep); aspect-ratio: 1 / 1; box-shadow: var(--s-shadow); transition: transform .5s var(--s-ease), box-shadow .5s; }
.ar-facility:hover { transform: translateY(-6px); box-shadow: var(--s-shadow-lg); }
/* Las fotos vienen recortadas en círculo: al ampliarlas 1,42 veces el cuadrado cae dentro del círculo y llena el recuadro */
.ar-facility .et_pb_blurb_content { display: block; height: 100%; max-width: none; }
.ar-facility .et_pb_main_blurb_image { display: block; height: 100%; margin: 0; overflow: hidden; }
.ar-facility .et_pb_image_wrap { display: block; width: 100%; height: 100%; }
.ar-facility img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.42); transition: transform 1.1s var(--s-ease); }
.ar-facility:hover img { transform: scale(1.52); }
.ar-facility .et_pb_blurb_container { position: absolute; left: 0; right: 0; bottom: 0; padding: 64px 20px 18px; background: linear-gradient(transparent, rgba(0, 18, 42, .92)); }
.ar-facility .et_pb_module_header { color: #fff; font-size: 17px; margin: 0; }
.ar-facility-note { align-self: center; }
.ar-facility-note h3 { font-size: 24px; font-weight: 760; font-stretch: 110%; }
.ar-facility-note p { max-width: 58ch; }

/* ------------------------------------------------------------------ Portafolio */
.ar-anchors p { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ar-anchors a {
  padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .07); color: #fff !important;
  font-size: 15.5px; font-weight: 650; text-decoration: none !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .3s, border-color .3s, transform .3s var(--s-ease), color .3s;
}
.ar-anchors a:hover { background: var(--s-gold-2); border-color: var(--s-gold-2); color: var(--s-deep) !important; transform: translateY(-3px); }

.et_pb_row.ar-service { border-top: 1px solid var(--s-rule); }
.ar-service-img .et_pb_image_wrap { display: block; width: 112px !important; }
.ar-service-img img { width: 112px !important; max-width: 112px !important; height: 112px !important; border-radius: 50%; object-fit: cover; display: block; background: var(--s-paper); box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--s-line), var(--s-shadow); }
.ar-service-img { margin-bottom: 22px !important; }
.ar-service-title h3 { font-weight: 790; font-stretch: 114%; font-size: clamp(27px, 2.7vw, 36px); letter-spacing: -.025em; margin-bottom: 12px; }
.ar-evalua p { max-width: 62ch; }
.ar-evalua ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 24px; }
.ar-evalua li { padding: 11px 14px; border-radius: 12px; background: var(--s-mist); border: 1px solid var(--s-line); font-size: 15.5px; font-weight: 620; line-height: 1.4; color: var(--s-ink-2); transition: transform .35s var(--s-ease), background-color .3s, border-color .3s, color .3s; }
.ar-evalua li:hover { transform: translateX(5px); background: #fff; border-color: var(--s-teal); color: var(--s-ink); }

.ar-timeline .ar-step3 { position: relative; height: 100%; padding: 0 0 6px; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); box-shadow: var(--s-shadow); overflow: hidden; transition: transform .5s var(--s-ease), box-shadow .5s; }
.ar-timeline .ar-step3:hover { transform: translateY(-8px); box-shadow: var(--s-shadow-lg); }
.ar-step3 .et_pb_main_blurb_image { margin: 0 0 18px; overflow: hidden; }
.ar-step3 .et_pb_main_blurb_image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--s-ease); }
.ar-step3:hover .et_pb_main_blurb_image img { transform: scale(1.07); }
.ar-step3 .et_pb_blurb_container { display: flex; flex-direction: column; padding: 0 22px 22px; }
.ar-step3 .et_pb_blurb_description { display: contents; }
.ar-step3 .ar-n { order: -2; }
.ar-step3 .et_pb_module_header { order: -1; font-size: 19px; }
.ar-step3 .et_pb_blurb_description p:not(.ar-n) { font-size: 15.5px; line-height: 1.6; margin: 0; }
.ar-step3:hover .ar-n { color: var(--s-navy) !important; }

.ar-plan { padding: 24px 26px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; box-shadow: var(--s-shadow); }
.ar-plan h3 { font-size: 18px; margin-bottom: 14px; }
.ar-plan ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.ar-plan li { position: relative; padding-left: 22px; font-size: 16px; font-weight: 620; }
.ar-plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--s-gold), var(--s-gold-2)); }
.ar-s .ar-plan + .ar-plan { margin-top: 14px; }

.ar-product-col { padding: 30px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow); transition: transform .5s var(--s-ease), box-shadow .5s; }
.ar-product-col:hover { transform: translateY(-6px); box-shadow: var(--s-shadow-lg); }
.ar-product img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border-radius: var(--s-radius); background: linear-gradient(180deg, #fff, var(--s-paper)); }
.ar-product-col h3 { font-size: 22px; font-weight: 760; font-stretch: 108%; }
.ar-product-col .ar-evalua ul { grid-template-columns: 1fr; }

/* ------------------------------------------------------------------ Contáctanos */
.ar-contact-card {
  position: relative; overflow: hidden; padding: 44px 38px; border-radius: var(--s-radius-lg); color: #fff; background-color: var(--s-deep); box-shadow: var(--s-shadow-lg);
  background-image: radial-gradient(70% 50% at 100% 0%, rgba(63, 193, 198, .3), transparent 70%), linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
}
.ar-contact-card h2 { font-size: 27px !important; color: #fff !important; margin-bottom: 8px; }
.ar-legal-id { margin: 0 0 8px !important; font-size: 15px !important; color: #b9c8da !important; }
.ar-contact-dl dl { margin: 0; }
.ar-contact-dl dt { margin: 26px 0 4px; font-size: 14px; font-weight: 700; color: var(--s-gold-on-navy); }
.ar-contact-dl dd { margin: 0; font-size: 17px; line-height: 1.55; color: #fff; }
.ar-contact-dl a { color: #fff; text-decoration: underline; text-decoration-color: var(--s-gold-2); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ar-contact-card .et_pb_button_module_wrapper { margin-top: 30px !important; }
.ar-form-card { padding: 44px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius-lg); box-shadow: var(--s-shadow-lg); }
.ar-form-card h2 { font-size: 27px !important; }
.ar-form-ok { padding: 22px; border-radius: 14px; background: #e9f7ef; color: #16794a; border: 1px solid #b6e3c9; }
@media (min-width: 981px) { .et_pb_row.ar-contact-row { display: flex; align-items: flex-start; } }

/* Formulario de contacto (Gravity Forms, tema Orbital con los colores de la marca) */
/* Con !important: Gravity inyecta sus colores con un selector de ID (#gform_wrapper_N) */
.ar-form-card .gform_wrapper.gform-theme {
  --gf-color-primary: #002e5e !important; --gf-color-primary-rgb: 0, 46, 94 !important; --gf-color-primary-darker: #00224a !important; --gf-color-primary-lighter: #0a4180 !important;
  --gf-color-in-ctrl: #fff !important; --gf-ctrl-border-color: #aab6c5 !important; --gf-ctrl-border-color-hover: #6c7d92 !important; --gf-ctrl-border-color-focus: #002e5e !important;
  --gf-radius: 12px !important; --gf-ctrl-size: 52px !important; --gf-ctrl-font-size: 16px !important; --gf-ctrl-label-font-size-primary: 15px !important;
  --gf-ctrl-label-color-primary: #0d1b2e !important; --gf-ctrl-desc-color: #566478 !important; --gf-ctrl-label-color-req: #b42318 !important;
  --gf-form-gap-y: 22px !important; --gf-form-gap-x: 20px !important; --gf-ctrl-btn-radius: 999px !important;
  margin: 0;
}
.ar-form-card .gform_wrapper input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.ar-form-card .gform_wrapper select, .ar-form-card .gform_wrapper textarea { width: 100% !important; transition: border-color .25s, box-shadow .25s; }
.ar-form-card .gform_wrapper textarea { min-height: 150px !important; height: 150px; resize: vertical; }
.ar-form-card .gform_wrapper .gfield_label { font-weight: 650 !important; }
.ar-form-card .gform_wrapper .gfield_required { color: #b42318 !important; }
.ar-form-card .gform_wrapper .gfield--type-checkbox .gchoice { align-items: flex-start; }
.ar-form-card .gform_wrapper .gfield--type-checkbox label { font-size: 14px !important; line-height: 1.5 !important; color: #34445a !important; }
.ar-form-card .gform_wrapper .gfield--type-checkbox a { color: #002e5e; text-decoration: underline; }
.ar-form-card .gform_wrapper .ginput_counter { font-size: 13px !important; color: #566478 !important; }
.ar-form-card .gform_wrapper .gform_footer { margin-top: 8px !important; padding: 0 !important; }
.ar-form-card .gform_wrapper .gform_footer .gform_button {
  min-height: 56px !important; padding: 0 40px !important; border-radius: 999px !important; border: 0 !important;
  background: linear-gradient(135deg, #002e5e, #0a4180) !important; color: #fff !important; font-size: 16px !important; font-weight: 700 !important;
  box-shadow: 0 12px 28px -10px rgba(0, 46, 94, .7); transition: transform .3s var(--s-ease), box-shadow .3s;
}
.ar-form-card .gform_wrapper .gform_footer .gform_button:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -10px rgba(0, 46, 94, .75); }
.ar-form-card .gform_wrapper .gform_validation_errors { border-radius: 12px; }

.et_pb_section.ar-map .et_pb_row { width: 100% !important; max-width: none !important; }
.ar-map { position: relative; height: 400px; background: var(--s-paper) linear-gradient(var(--s-grid) 1px, transparent 1px), linear-gradient(90deg, var(--s-grid) 1px, transparent 1px); background-size: 40px 40px; }
.ar-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.ar-map__load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 34px; border: 1px solid var(--s-line); border-radius: var(--s-radius); background: #fff; box-shadow: var(--s-shadow-lg); cursor: pointer; font: inherit; color: var(--s-navy); font-weight: 700; transition: transform .3s var(--s-ease); }
.ar-map__load:hover { transform: translateY(-4px); }
.ar-map__load small { font-weight: 500; color: var(--s-muted); }

/* ==========================================================================
   Revelado al desplazarse (lo activa js/ar-motion.js; sin JavaScript todo se ve de entrada)
   ========================================================================== */
/* Solo se mueve (sin cambiar la opacidad): el texto conserva siempre su contraste */
.ar-js .ar-rv { transform: translateY(34px); transition: transform .9s var(--s-ease) var(--d, 0s); }
.ar-js .ar-rv.is-in { transform: none; }
.ar-js .ar-type.ar-rv.is-in, .ar-js .ar-tile.ar-rv.is-in, .ar-js .ar-benefit.ar-rv.is-in, .ar-js .ar-datum.ar-rv.is-in, .ar-js .ar-facility.ar-rv.is-in, .ar-js .ar-step3.ar-rv.is-in, .ar-js .ar-product-col.ar-rv.is-in {
  transition: transform .5s var(--s-ease), box-shadow .5s, border-color .4s;
}
/* ==========================================================================
   Páginas legales
   ========================================================================== */
.ar-legal-doc h2 { font-size: 22px !important; margin: 36px 0 10px !important; padding-top: 4px; }
.ar-legal-doc h2:first-of-type { margin-top: 8px !important; }
.ar-legal-doc p, .ar-legal-doc li { font-size: 16px; line-height: 1.75; color: var(--s-ink-2); }
.ar-legal-doc ul { margin: 0 0 1em !important; }
.ar-legal-doc ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.ar-legal-doc ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; border-radius: 2px; background: var(--s-gold); }
.ar-legal-doc a { color: var(--s-navy); text-decoration: underline; text-underline-offset: 3px; }
.ar-legal-meta { display: inline-block; padding: 6px 12px; border-radius: 3px; background: var(--s-soft); font-size: 14px !important; color: var(--s-muted) !important; }

/* ==========================================================================
   Pie de página
   ========================================================================== */
#main-footer { background: var(--s-deep); }
#main-footer .footer-widget { font-size: 15px; }
/* Títulos del pie como h2 (orden de encabezados WCAG) con el tamaño visual de antes */
#main-footer .footer-widget h2.title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 14px; padding-bottom: 0; color: #fff; }
#main-footer .footer-widget ul li { padding-left: 16px; margin-bottom: 8px; }
#main-footer .footer-widget ul li::before { border-radius: 2px; }
.ar-footer-brand img { width: 150px; height: auto; padding: 10px; background: #fff; border-radius: 4px; margin-bottom: 14px; }
.ar-footer-brand p { color: #d6e0ec; }
.ar-footer-legal { font-size: 14px; color: #c3d0e0 !important; }
.ar-footer-contact li::before { display: none; }
.ar-footer-contact li { padding-left: 0 !important; }
#footer-bottom { background: #00122a; }
#footer-info { display: flex; flex-wrap: wrap; gap: 4px 22px; justify-content: center; text-align: center; }
#footer-info, #footer-info a { color: #c3d0e0 !important; }
#et-footer-nav { background: #00152e; }
#et-footer-nav .bottom-nav a { color: #d6e0ec !important; opacity: 1 !important; }
#et-footer-nav .bottom-nav li.current-menu-item a, #et-footer-nav .bottom-nav a:hover { color: var(--s-gold-on-navy) !important; }

/* ==========================================================================
   Accesibilidad (WCAG 2.1 / 2.2 AA)
   ========================================================================== */
/* 2.4.1 Saltar bloques */
.ar-skip-link { position: absolute; left: 12px; top: -80px; z-index: 100000; padding: 12px 18px; border-radius: 6px; background: var(--s-navy); color: #fff !important; font-weight: 700; text-decoration: none; }
.ar-skip-link:focus { top: 12px; outline: 3px solid var(--s-gold-2); outline-offset: 2px; }
/* 2.4.7 / 2.4.13 Foco visible en todo el sitio */
body a:focus-visible, body button:focus-visible, body input:focus-visible, body select:focus-visible, body textarea:focus-visible, body summary:focus-visible {
  outline: 3px solid var(--s-gold-2) !important; outline-offset: 3px !important; box-shadow: 0 0 0 6px rgba(0, 46, 94, .45) !important; border-radius: 4px;
}
#main-content:focus { outline: none; }
/* 2.4.11 El foco no queda oculto bajo la cabecera fija */
html { scroll-padding-top: 110px; }
/* 1.4.1 Los enlaces dentro de párrafos no dependen solo del color */
.ar-t p a:not([class]), .ar-blurb .et_pb_blurb_description a:not([class]) { text-decoration: underline !important; text-underline-offset: 3px; }
/* 2.5.8 Tamaño mínimo de objetivo (24 px) en enlaces del pie y el menú */
#main-footer .footer-widget a, #footer-bottom a { display: inline-block; min-height: 24px; padding-top: 2px; padding-bottom: 2px; }
/* 2.4.7 Foco visible en botones y enlaces de módulos */
.et_pb_button.ar-btn:focus-visible, .ar-link:focus-visible, .ar-anchors a:focus-visible { outline: 3px solid var(--s-gold-2) !important; outline-offset: 3px !important; }

/* Botones flotantes (OneTap a la izquierda, WhatsApp a la derecha) en móvil: más pequeños, sin tapar el
   final de la página y ocultos mientras se escribe en un campo (con el teclado abierto tapaban el formulario) */
@media (max-width: 767px) {
  .onetap-toggle { width: 44px !important; height: 44px !important; }
  .onetap-toggle img, .onetap-toggle svg { width: 26px !important; height: 26px !important; }
  #footer-bottom { padding-bottom: 76px !important; }
  body:has(input:focus, textarea:focus, select:focus) .onetap-container-toggle,
  body:has(input:focus, textarea:focus, select:focus) .joinchat { visibility: hidden !important; }
}

/* Panel de accesibilidad (OneTap): cerrado, espera fuera de pantalla y su sombra de 60 px se colaba como una franja gris en el borde de la página */
body .onetap-accessibility.onetap-plugin-onetap { box-shadow: none !important; }

/* Cabecera fija de Divi en escritorio: Divi calcula este espacio con JavaScript después de pintar y el
   contenido salta (CLS). Se reserva desde el CSS con la altura del menú (Divi > Opciones > Cabecera: 84 px). */
@media (min-width: 981px) {
  .et_fixed_nav.et_show_nav #page-container { padding-top: 84px; }
}

/* ==========================================================================
   Pie de página: acabados
   ========================================================================== */
#main-footer { position: relative; background: var(--s-deep); background-image: radial-gradient(40% 80% at 100% 0%, rgba(63, 193, 198, .12), transparent 70%), radial-gradient(40% 80% at 0% 100%, rgba(229, 176, 97, .08), transparent 70%); }
#main-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--s-teal), var(--s-blue) 55%, var(--s-gold)); }
#main-footer .footer-widget a { transition: color .25s, transform .25s var(--s-ease); }
#main-footer .footer-widget ul a:hover { color: var(--s-gold-on-navy) !important; transform: translateX(4px); }
.ar-footer-brand img { border-radius: 12px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 981px) {
  .et_pb_row.ar-row--middle { display: flex; align-items: center; }
  .et_pb_row.ar-cta-box { display: flex; }
}
@media (max-width: 980px) {
  .ar-ledger { padding: 0 20px; }
  .ar-ledger .et_pb_text_inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ar-ledger p { padding: 16px 16px 15px; border: 1px solid var(--s-line); border-image: none; border-radius: var(--s-radius); background: rgba(255, 255, 255, .85); box-shadow: var(--s-shadow); position: relative; overflow: hidden; }
  .ar-ledger p::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--s-gold), var(--s-gold-2)); }
  .ar-hero2 .ar-ledger p { border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); box-shadow: none; }
  .ar-ledger strong { font-size: clamp(21px, 5.8vw, 30px); font-stretch: 100%; white-space: normal; margin-bottom: 2px; }
  .ar-s .et_pb_row > .et_pb_column { margin-bottom: 32px; }
  .ar-s .et_pb_row > .et_pb_column:last-child { margin-bottom: 0 !important; }
  .ar-types > .et_pb_column { margin-bottom: 22px !important; }
  .ar-mosaic > .et_pb_column { margin-bottom: 20px !important; }
  .et_pb_row.ar-cta-box { padding: 44px 32px !important; }
  .ar-cta__actions { justify-content: flex-start; }
  #top-menu li.ar-menu-cta > a { margin-top: 0; }
  .ar-timeline > .et_pb_column { margin-bottom: 36px !important; }
  .ar-step2::before, .ar-step2::after { right: 0; }
}
@media (max-width: 720px) {
  .ar-chart { --pad-x: 14px; --pad-y: 44px; --x0: .014; --x1: .986; }
  .ar-chart svg.svg-d { display: none; }
  .ar-chart svg.svg-m { display: block; }
}
@media (max-width: 640px) {
  .ar-btn-row > .et_pb_button_module_wrapper { flex: 0 0 100%; }
  .ar-btn-row .et_pb_button.ar-btn { display: flex; width: 100%; }
  .ar-type { padding: 26px 22px 28px; }
  .ar-spec { grid-template-columns: 1fr; }
  .ar-spec dt { padding: 22px 0 0; border-bottom: 0 !important; }
  .ar-spec dd { padding: 6px 0 22px; border-top: 0; }
  .ar-evalua ul, .ar-plan ul { grid-template-columns: 1fr; }
  .ar-benefit { padding: 22px 20px 24px 76px; }
  .ar-benefit::before { left: 20px; top: 22px; }
  .ar-benefit::after { left: 33px; top: 33px; }
  .ar-product-col { padding: 22px 18px; }
  .et_pb_row.ar-cta-box { padding: 34px 22px !important; border-radius: 26px; }
  .ar-contact-card, .ar-form-card { padding: 30px 22px; }
  .ar-map { height: 300px; }
  .ar-ledger p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ar-chart .trace { animation: none !important; stroke-dashoffset: 0; }
  .ar-chart .mark { animation: none !important; opacity: 1; }
  .ar-chart::after { display: none; }
  .ar-js .ar-rv { transform: none; }
  .ar-step2::after { transform: scaleX(1); }
}
