/* =====================================================================
   ARTEC 2026 — sistema de diseño
   Se carga DESPUÉS de bootstrap.min.css y style.css: redefine colores, tipografía,
   navbar, footer, FAQ, contacto y agrega los componentes nuevos (prefijo "ar-").
   Azul de marca = azul del logo.
   ===================================================================== */

:root {
  --ar-blue: #0047c4;
  --ar-blue-d: #00297a;
  --ar-blue-l: #2f6dff;
  --ar-navy: #041433;
  --ar-ink: #0e1a2e;
  --ar-mut: #5b6b82;
  --ar-bg: #f5f8ff;
  --ar-line: #e3eaf6;
  --ar-acc: #ffb703;
  --ar-acc-d: #f59e00;
  --ar-hot: #ff5a1f;
  --ar-wa: #25d366;
  --ar-r: 18px;
  --ar-shadow: 0 10px 30px rgba(4, 20, 51, .08);
  --ar-shadow-lg: 0 24px 60px rgba(4, 20, 51, .18);
  --ar-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ar-font-h: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* variables que ya usaba el navbar antiguo */
  --primary-color: var(--ar-navy);
  --primary-light: var(--ar-blue);
  --secondary-color: var(--ar-acc);
  --nav-height: 70px;
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--ar-font); color: var(--ar-ink); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5, h6, .display-3, .display-4, .display-5, .display-6 { font-family: var(--ar-font-h); letter-spacing: -.02em; }
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---- Colores de Bootstrap redefinidos (afecta a todo el sitio) ---- */
.text-primary { color: var(--ar-blue) !important; }
.bg-primary { background-color: var(--ar-blue) !important; }
.border-primary { border-color: var(--ar-blue) !important; }
.text-secondary { color: var(--ar-acc) !important; }
.bg-secondary { background-color: var(--ar-acc) !important; }
.btn-primary { background: var(--ar-blue); border-color: var(--ar-blue); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--ar-blue-d); border-color: var(--ar-blue-d); color: #fff; }
.btn-secondary { background: var(--ar-acc); border-color: var(--ar-acc); color: var(--ar-navy); }
.btn-secondary:hover { background: var(--ar-acc-d); border-color: var(--ar-acc-d); color: var(--ar-navy); }
.btn-warning { background: var(--ar-acc); border: 0; color: var(--ar-navy); }
a { color: var(--ar-blue); }
.back-to-top { background: var(--ar-blue) !important; border-color: var(--ar-blue) !important; box-shadow: var(--ar-shadow); }
.back-to-top i { color: #fff !important; }

/* ---- Botones propios ---- */
.ar-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.ar-btn:hover { transform: translateY(-2px); }
.ar-btn--acc { background: var(--ar-acc); color: var(--ar-navy); box-shadow: 0 10px 24px rgba(255, 183, 3, .38); }
.ar-btn--acc:hover { background: #ffc633; color: var(--ar-navy); }
.ar-btn--blue { background: var(--ar-blue); color: #fff; box-shadow: 0 10px 24px rgba(0, 71, 196, .3); }
.ar-btn--blue:hover { background: var(--ar-blue-d); color: #fff; }
.ar-btn--ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(4px); }
.ar-btn--ghost:hover { background: #fff; color: var(--ar-blue-d); }
.ar-btn--line { background: #fff; color: var(--ar-blue); border-color: var(--ar-line); }
.ar-btn--line:hover { border-color: var(--ar-blue); color: var(--ar-blue-d); }
.ar-btn--wa { background: var(--ar-wa); color: #05301a; box-shadow: 0 10px 24px rgba(37, 211, 102, .32); }
.ar-btn--wa:hover { background: #3be07f; color: #05301a; }
.ar-btn--sm { padding: .65rem 1.1rem; font-size: .9rem; }
.ar-btn:focus-visible, .ar-card-link:focus-visible { outline: 3px solid var(--ar-acc); outline-offset: 2px; }

/* ---- Secciones ---- */
.ar-section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.ar-section--tint { background: var(--ar-bg); }
.ar-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.ar-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 999px;
  background: rgba(0, 71, 196, .09); color: var(--ar-blue); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem;
}
.ar-title { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; line-height: 1.1; margin: 0 0 1rem; color: var(--ar-navy); }
.ar-title em { font-style: normal; color: var(--ar-blue); }
.ar-lead { color: var(--ar-mut); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.65; margin: 0; }

/* aparición suave al hacer scroll (sin librerías) */
.ar-js .ar-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.ar-js .ar-reveal.in { opacity: 1; transform: none; }

/* =====================================================================
   NAVBAR (se conserva el HTML; aquí todo el estilo)
   ===================================================================== */
.navbar-area { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; transition: box-shadow .3s ease; box-shadow: 0 2px 20px rgba(4, 20, 51, .08); }
.navbar-area.ar-nav-flow { position: sticky; }
body.ar-home { padding-top: 0 !important; }

.top-bar { background: var(--ar-navy); color: #fff; font-size: .82rem; padding: .45rem 0; transition: all .3s ease; }
.top-info .info-item, .top-info a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.top-info a:hover { color: var(--ar-acc); }
.top-info .text-warning { color: var(--ar-acc) !important; }
.social-link { display: inline-flex; width: 30px; height: 30px; background: rgba(255, 255, 255, .1); color: #fff; align-items: center; justify-content: center; border-radius: 50%; margin-left: .4rem; transition: all .25s ease; }
.social-link:hover { background: var(--ar-acc); color: var(--ar-navy); transform: translateY(-2px); }
.navbar-area.scrolled .top-bar { height: 0; overflow: hidden; padding: 0; opacity: 0; }

.main-navbar { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); padding: 0; min-height: var(--nav-height); border-bottom: 1px solid var(--ar-line); }
.logo-wrapper { display: flex; align-items: center; gap: .75rem; }
.logo-img { width: 46px; height: 46px; object-fit: contain; }
.logo-text h1 { font-size: 1.3rem; font-weight: 800; color: var(--ar-blue); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
.logo-text span { font-size: .72rem; color: var(--ar-mut); display: block; }
.navbar-nav { gap: .25rem; }
.nav-link { color: var(--ar-navy) !important; font-weight: 600; font-size: .95rem; padding: .6rem .95rem !important; border-radius: 999px; transition: all .2s ease; position: relative; display: flex; align-items: center; }
.nav-link:hover, .nav-link.active { background: rgba(0, 71, 196, .09); color: var(--ar-blue) !important; }
.nav-link.active::after { display: none; }
.nav-link i { color: var(--ar-blue); opacity: .8; }

.mega-dropdown { position: static; }
.mega-menu { width: 100%; left: 0; top: 100%; border: 0; border-radius: 0 0 22px 22px; box-shadow: var(--ar-shadow-lg); padding: 1.6rem 0; margin-top: 0; background: #fff; }
.mega-menu-section { padding: 0 1rem; }
.mega-menu-list { list-style: none; padding: 0; margin: 0; }
.mega-menu-list-grid { column-count: 3; column-gap: 2rem; }
@media (max-width: 1199px) { .mega-menu-list-grid { column-count: 2; } }
.mega-menu-list li { margin-bottom: .35rem; break-inside: avoid; }
.mega-menu-list a { color: var(--ar-ink); text-decoration: none; display: flex; align-items: center; padding: .5rem .75rem; border-radius: 10px; font-weight: 500; transition: all .2s ease; }
.mega-menu-list a:hover { background: var(--ar-bg); color: var(--ar-blue); padding-left: 1rem; }
.mega-menu-list .text-warning { color: var(--ar-acc) !important; }
.mega-menu-footer { text-align: center; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ar-line); }

.navbar-toggler { border: 0; padding: 6px 8px; background: transparent; }
.navbar-toggler span { display: block; width: 26px; height: 3px; background: var(--ar-blue); margin: 5px 0; border-radius: 3px; }
.navbar-toggler:focus { box-shadow: none; }
@media (min-width: 992px) { .navbar-toggler { display: none; } }

.offcanvas { max-width: 320px; }
.offcanvas-title { font-family: var(--ar-font-h); font-weight: 800; color: var(--ar-blue); }
.mobile-nav { list-style: none; padding: 0; margin: 0; }
.mobile-nav li { border-bottom: 1px solid var(--ar-line); }
.mobile-nav a { display: flex; align-items: center; padding: 1rem .75rem; color: var(--ar-navy); text-decoration: none; font-weight: 600; }
.mobile-nav a i { color: var(--ar-blue); width: 1.4rem; }
.mobile-nav a:hover { background: var(--ar-bg); color: var(--ar-blue); }
.submenu { list-style: none; padding: 0; margin: 0; display: none; background: var(--ar-bg); }
.submenu li { border-bottom: 1px solid var(--ar-line); }
.submenu a { padding-left: 2.2rem; font-size: .92rem; font-weight: 500; }
.has-submenu > .submenu { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.has-submenu.active > .submenu { max-height: 70vh; overflow: auto; display: block; }
.submenu-toggle.active { background: rgba(0, 71, 196, .08); }
@media (max-width: 991px) {
  .navbar-brand { flex: 1; }
  .logo-text span { display: none; }
  body:not(.ar-home) { padding-top: var(--nav-height); }
}
@media (max-width: 575px) { .logo-text h1 { font-size: 1.1rem; } .logo-img { width: 40px; height: 40px; } }

/* barra de anuncio de promoción (solo portada, solo si hay promoción) */
.ar-promobar { background: linear-gradient(90deg, var(--ar-hot), var(--ar-acc)); color: var(--ar-navy); text-align: center; font-weight: 700; font-size: .9rem; }
.ar-promobar a { display: flex; gap: .6rem; align-items: center; justify-content: center; padding: .55rem 1rem; color: var(--ar-navy); text-decoration: none; flex-wrap: wrap; line-height: 1.25; }
.ar-promobar a:hover { text-decoration: underline; }
.ar-promobar .ar-promobar__go { background: var(--ar-navy); color: #fff; border-radius: 999px; padding: .15rem .7rem; font-size: .8rem; }
.ar-promobar i.fa-bolt { animation: ar-flash 1.6s ease-in-out infinite; }
@keyframes ar-flash { 50% { transform: scale(1.25) rotate(-8deg); } }

/* =====================================================================
   HERO
   ===================================================================== */
.ar-hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(47, 109, 255, .55), transparent 60%),
    radial-gradient(700px 420px at -5% 105%, rgba(255, 183, 3, .18), transparent 60%),
    linear-gradient(135deg, var(--ar-blue-d) 0%, var(--ar-blue) 62%, #0a5cf0 100%);
  padding: clamp(40px, 7vw, 92px) 0 clamp(96px, 12vw, 150px);
}
.ar-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.ar-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ar-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem; backdrop-filter: blur(6px); }
.ar-pill i { color: var(--ar-acc); }
.ar-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 800; line-height: 1.04; margin: 0 0 1.2rem; color: #fff; }
.ar-hero h1 em { font-style: normal; color: var(--ar-acc); position: relative; white-space: nowrap; }
.ar-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.08em; height: .14em; background: var(--ar-acc); opacity: .35; border-radius: 99px; }
.ar-hero__lead { font-size: clamp(1.05rem, 1.8vw, 1.28rem); line-height: 1.6; color: rgba(255, 255, 255, .88); max-width: 34rem; margin: 0 0 1.8rem; }
.ar-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.8rem; }
.ar-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .9); }
.ar-trust li { display: flex; align-items: center; gap: .5rem; }
.ar-trust i { color: var(--ar-acc); }

.ar-slider { position: relative; }
.ar-slider__track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 26px; -webkit-overflow-scrolling: touch; }
.ar-slider__track::-webkit-scrollbar { display: none; }
.ar-slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; aspect-ratio: 4 / 3.3; border-radius: 26px; overflow: hidden; background: var(--ar-blue-d); box-shadow: var(--ar-shadow-lg); }
.ar-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-slide__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.4rem 1.3rem; background: linear-gradient(0deg, rgba(4, 20, 51, .92), rgba(4, 20, 51, .55) 55%, transparent); color: #fff; }
.ar-slide__body h3 { font-size: 1.35rem; font-weight: 800; margin: 0 0 .3rem; color: #fff; }
.ar-slide__body p { margin: 0 0 .8rem; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.ar-slider__ui { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.ar-dots { display: flex; gap: .45rem; }
.ar-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .4); transition: all .25s ease; cursor: pointer; }
.ar-dots button.on { width: 28px; background: var(--ar-acc); }
.ar-arrows { display: flex; gap: .5rem; }
.ar-arrows button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: all .2s ease; }
.ar-arrows button:hover { background: #fff; color: var(--ar-blue-d); }
@media (max-width: 991px) {
  .ar-hero__grid { grid-template-columns: 1fr; }
  .ar-slide { aspect-ratio: 16 / 11; }
}
@media (max-width: 575px) {
  .ar-cta .ar-btn { flex: 1 1 100%; }
  .ar-hero h1 em { white-space: normal; }
}

/* =====================================================================
   PROMOCIONES
   ===================================================================== */
.ar-promos { position: relative; z-index: 3; padding: 0 0 clamp(24px, 4vw, 40px); }
.ar-hero + .ar-promos { margin-top: clamp(-120px, -9vw, -70px); }
.ar-promos__box {
  background: #fff; border-radius: 28px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--ar-shadow-lg);
  border: 1px solid var(--ar-line); position: relative; overflow: hidden;
}
.ar-promos__box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--ar-hot), var(--ar-acc), var(--ar-blue-l)); }
.ar-promos__head { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; margin: .4rem 0 1.4rem; }
.ar-promos__head h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin: 0; color: var(--ar-navy); }
.ar-promos__tag { background: linear-gradient(90deg, var(--ar-hot), #ff8a00); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .85rem; border-radius: 99px; display: inline-flex; gap: .4rem; align-items: center; }
.ar-promos__sub { color: var(--ar-mut); margin: 0; flex-basis: 100%; }
.ar-promos__grid { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.ar-promo { flex: 1 1 280px; max-width: 100%; position: relative; display: flex; flex-direction: column; border-radius: var(--ar-r); overflow: hidden; background: var(--ar-bg); border: 1px solid var(--ar-line); transition: transform .25s ease, box-shadow .25s ease; }
.ar-promo:hover { transform: translateY(-5px); box-shadow: var(--ar-shadow); }
.ar-promo--lead { flex: 1 1 100%; flex-direction: row; background: linear-gradient(135deg, var(--ar-navy), var(--ar-blue-d) 60%, var(--ar-blue)); color: #fff; border: 0; }
.ar-promo__img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dfe9ff, #fff3d1); overflow: hidden; flex: none; }
.ar-promo__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.ar-promo:hover .ar-promo__img img { transform: scale(1.05); }
.ar-promo--lead .ar-promo__img { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
.ar-promo__body { padding: 1.25rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.ar-promo--lead .ar-promo__body { padding: clamp(1.4rem, 3vw, 2.4rem); justify-content: center; }
.ar-promo__label { align-self: flex-start; background: var(--ar-acc); color: var(--ar-navy); font-weight: 800; font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; }
.ar-promo h3 { font-size: 1.2rem; font-weight: 800; margin: 0; color: var(--ar-navy); line-height: 1.2; }
.ar-promo--lead h3 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); color: #fff; }
.ar-promo p { margin: 0; color: var(--ar-mut); font-size: .95rem; line-height: 1.55; }
.ar-promo--lead p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.ar-promo__cta { margin-top: auto; padding-top: .6rem; }
.ar-promo__img > i.fa-gift { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: rgba(0, 71, 196, .3); }
.ar-promo__img img { position: relative; }
.ar-promo__play { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(4, 20, 51, .28); }
.ar-promo.is-video .ar-promo__play { display: flex; }
.ar-promo__play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--ar-hot); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 0 0 0 rgba(255, 255, 255, .6); animation: ar-pulse 2s infinite; padding-left: 4px; }
@keyframes ar-pulse { 70% { box-shadow: 0 0 0 18px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
@media (max-width: 767px) {
  .ar-promo--lead { flex-direction: column; }
  .ar-promo--lead .ar-promo__img { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}

/* ventana emergente */
.ar-pmodal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(4, 20, 51, .7); backdrop-filter: blur(6px); }
.ar-pmodal.open { display: flex; animation: ar-fade .35s ease; }
@keyframes ar-fade { from { opacity: 0; } to { opacity: 1; } }
.ar-pmodal__card { position: relative; width: min(100%, 880px); max-height: 92vh; overflow: auto; border-radius: 26px; background: #fff; display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--ar-shadow-lg); animation: ar-pop .45s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes ar-pop { from { transform: translateY(24px) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.ar-pmodal__img { background: linear-gradient(135deg, var(--ar-blue), var(--ar-hot)); min-height: 280px; position: relative; }
.ar-pmodal__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ar-pmodal__body { padding: clamp(1.4rem, 4vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.ar-pmodal__body h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 800; color: var(--ar-navy); margin: 0; line-height: 1.1; }
.ar-pmodal__body p { color: var(--ar-mut); margin: 0; line-height: 1.6; }
.ar-pmodal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ar-navy); font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: var(--ar-shadow); }
.ar-pmodal__skip { background: none; border: 0; color: var(--ar-mut); font-size: .85rem; text-decoration: underline; cursor: pointer; align-self: flex-start; padding: 0; }
@media (max-width: 700px) {
  .ar-pmodal__card { grid-template-columns: 1fr; }
  .ar-pmodal__img { min-height: 0; aspect-ratio: 16 / 9; }
}

/* =====================================================================
   ESTADÍSTICAS (contadores)
   ===================================================================== */
.ar-stats { position: relative; z-index: 2; padding: clamp(28px, 4vw, 48px) 0; }
.ar-hero + .ar-stats { margin-top: clamp(-120px, -9vw, -70px); padding-top: 0; }
.ar-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ar-stat { background: #fff; border: 1px solid var(--ar-line); border-radius: var(--ar-r); padding: 1.5rem 1.2rem; text-align: center; box-shadow: var(--ar-shadow); transition: transform .25s ease; }
.ar-stat:hover { transform: translateY(-4px); }
.ar-stat__ico { width: 52px; height: 52px; border-radius: 16px; margin: 0 auto .8rem; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(0, 71, 196, .12), rgba(255, 183, 3, .22)); color: var(--ar-blue); font-size: 1.3rem; }
.ar-stat__num { font-family: var(--ar-font-h); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--ar-blue); margin: 0; }
.ar-stat__num small { font-size: .55em; color: var(--ar-acc-d); margin-left: 2px; }
.ar-stat p { margin: .5rem 0 0; color: var(--ar-mut); font-size: .92rem; font-weight: 500; }
@media (max-width: 991px) { .ar-stats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .ar-stat { padding: 1.1rem .7rem; } }

/* =====================================================================
   CURSOS (tarjetas)
   ===================================================================== */
.ar-courses__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.ar-course { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ar-line); border-radius: 22px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.ar-course:hover { transform: translateY(-8px); box-shadow: var(--ar-shadow-lg); border-color: transparent; }
.ar-course__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #dfe9ff, #fff3d1); display: block; }
.ar-course__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s ease; }
.ar-course:hover .ar-course__media img { transform: scale(1.07); }
.ar-course__media::after { content: ""; position: absolute; inset: 55% 0 0 0; background: linear-gradient(0deg, rgba(4, 20, 51, .55), transparent); pointer-events: none; }
.ar-course__badge { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--ar-hot); color: #fff; font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; padding: .32rem .7rem; border-radius: 99px; box-shadow: 0 6px 14px rgba(255, 90, 31, .4); }
.ar-course__dur { position: absolute; z-index: 2; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); color: var(--ar-navy); font-weight: 700; font-size: .78rem; padding: .3rem .7rem; border-radius: 99px; display: inline-flex; align-items: center; gap: .4rem; }
.ar-course__dur i { color: var(--ar-blue); }
.ar-course__body { padding: 1.25rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.ar-course__title { font-size: 1.22rem; font-weight: 800; line-height: 1.2; margin: 0; }
.ar-course__title a { color: var(--ar-navy); text-decoration: none; }
.ar-course__title a:hover { color: var(--ar-blue); }
.ar-course__desc { margin: 0; color: var(--ar-mut); font-size: .93rem; line-height: 1.55; }
.ar-course__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.ar-course__tags li { background: var(--ar-bg); color: var(--ar-blue-d); font-size: .76rem; font-weight: 600; padding: .28rem .65rem; border-radius: 99px; display: inline-flex; align-items: center; gap: .35rem; }
.ar-course__tags i { color: var(--ar-blue); font-size: .7rem; }
.ar-course__foot { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--ar-line); display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.ar-course__price { font-family: var(--ar-font-h); font-weight: 800; font-size: 1.5rem; color: var(--ar-navy); line-height: 1; }
.ar-course__price small { display: block; font-family: var(--ar-font); font-weight: 500; font-size: .72rem; color: var(--ar-mut); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .05em; }
.ar-course__price span { font-size: .8rem; font-weight: 600; color: var(--ar-mut); }
.ar-course__act { display: flex; gap: .45rem; }
.ar-course__act .ar-btn { padding: .6rem .95rem; font-size: .88rem; }
.ar-course__wa { width: 42px; padding: 0 !important; }

/* =====================================================================
   NOSOTROS (minimalista)
   ===================================================================== */
.ar-about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.ar-about__media { position: relative; }
.ar-about__frame { border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--ar-blue-d), var(--ar-blue)); display: flex; align-items: center; justify-content: center; box-shadow: var(--ar-shadow-lg); }
.ar-about__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-about__media::before { content: ""; position: absolute; width: 60%; height: 60%; right: -18px; bottom: -18px; border-radius: 28px; background: var(--ar-acc); z-index: -1; opacity: .85; }
.ar-about__text { color: var(--ar-mut); line-height: 1.8; font-size: 1.04rem; }
.ar-about__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 1.8rem; padding: 0; list-style: none; }
.ar-about__chips li { border: 1px solid var(--ar-line); background: #fff; padding: .45rem .9rem; border-radius: 99px; font-weight: 600; font-size: .88rem; color: var(--ar-blue-d); }
@media (max-width: 860px) { .ar-about { grid-template-columns: 1fr; } .ar-about__media { max-width: 420px; margin: 0 auto 1rem; } }

/* =====================================================================
   TESTIMONIOS / VIDEOS
   ===================================================================== */
.ar-videos { background: linear-gradient(160deg, var(--ar-navy) 0%, #07235e 60%, var(--ar-blue-d) 100%); color: #fff; position: relative; overflow: hidden; }
.ar-videos::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 183, 3, .22), transparent); }
.ar-videos .ar-eyebrow { background: rgba(255, 255, 255, .12); color: var(--ar-acc); }
.ar-videos .ar-title { color: #fff; }
.ar-videos .ar-title em { color: var(--ar-acc); }
.ar-videos .ar-lead { color: rgba(255, 255, 255, .78); }
.ar-vstage { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1.2rem; position: relative; }
.ar-vfeat { position: relative; border-radius: 26px; overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; box-shadow: var(--ar-shadow-lg); border: 0; padding: 0; display: block; width: 100%; color: #fff; text-align: left; }
.ar-vfeat img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease, opacity .3s; opacity: .9; }
.ar-vfeat:hover img { transform: scale(1.04); opacity: 1; }
.ar-vfeat__over { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4, 20, 51, .9) 0%, rgba(4, 20, 51, .1) 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(1rem, 3vw, 1.8rem); }
.ar-vfeat__over h3 { font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 800; margin: .4rem 0 0; color: #fff; line-height: 1.2; max-width: 90%; }
.ar-vfeat__tag { align-self: flex-start; background: var(--ar-hot); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: .3rem .7rem; border-radius: 99px; }
.ar-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(64px, 9vw, 92px); height: clamp(64px, 9vw, 92px); border-radius: 50%; background: var(--ar-acc); color: var(--ar-navy); display: flex; align-items: center; justify-content: center; font-size: clamp(1.4rem, 3vw, 2rem); padding-left: 5px; box-shadow: 0 0 0 0 rgba(255, 183, 3, .6); animation: ar-pulse2 2.2s infinite; transition: transform .25s ease; }
.ar-vfeat:hover .ar-play { transform: translate(-50%, -50%) scale(1.1); }
@keyframes ar-pulse2 { 70% { box-shadow: 0 0 0 26px rgba(255, 183, 3, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 183, 3, 0); } }
.ar-vlist { display: flex; flex-direction: column; gap: .7rem; max-height: 100%; overflow-y: auto; padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; }
.ar-vitem { display: flex; gap: .8rem; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; padding: .55rem; color: #fff; text-align: left; cursor: pointer; transition: all .2s ease; width: 100%; }
.ar-vitem:hover, .ar-vitem.on { background: rgba(255, 255, 255, .16); border-color: var(--ar-acc); transform: translateX(3px); }
.ar-vitem__th { position: relative; flex: 0 0 112px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #000; }
.ar-vitem__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-vitem__th i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(4, 20, 51, .35); font-size: .95rem; }
.ar-vitem__t { font-size: .88rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ar-vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; margin-top: 1.4rem; }
.ar-vcard { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; overflow: hidden; cursor: pointer; padding: 0; text-align: left; color: #fff; transition: all .25s ease; }
.ar-vcard:hover { transform: translateY(-5px); border-color: var(--ar-acc); }
.ar-vcard__th { position: relative; aspect-ratio: 16 / 9; background: #000; }
.ar-vcard__th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ar-vcard__th i { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ar-acc); color: var(--ar-navy); display: flex; align-items: center; justify-content: center; padding-left: 3px; }
.ar-vcard__t { padding: .8rem .9rem 1rem; font-weight: 600; font-size: .9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ar-videos__more { text-align: center; margin-top: 1.8rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.ar-vload { text-align: center; padding: 3rem 0; color: rgba(255, 255, 255, .8); grid-column: 1 / -1; }
.ar-vload .sp { width: 40px; height: 40px; border: 4px solid rgba(255, 255, 255, .25); border-top-color: var(--ar-acc); border-radius: 50%; margin: 0 auto 1rem; animation: ar-spin 1s linear infinite; }
@keyframes ar-spin { to { transform: rotate(360deg); } }
@media (max-width: 991px) {
  .ar-vstage { grid-template-columns: 1fr; }
  .ar-vlist { flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: 0 0 .5rem; scroll-snap-type: x mandatory; }
  .ar-vitem { flex: 0 0 min(78%, 300px); scroll-snap-align: start; }
}
.ar-vmodal { position: fixed; inset: 0; z-index: 2100; background: rgba(2, 8, 22, .92); display: none; align-items: center; justify-content: center; padding: 14px; }
.ar-vmodal.open { display: flex; animation: ar-fade .25s ease; }
.ar-vmodal__box { position: relative; width: min(100%, 1040px); aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; box-shadow: var(--ar-shadow-lg); }
.ar-vmodal__box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ar-vmodal__x { position: absolute; top: 14px; right: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--ar-navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* =====================================================================
   FAQ (reestilo de las clases existentes)
   ===================================================================== */
.faq-section { background: var(--ar-bg) !important; padding-top: clamp(56px, 8vw, 100px) !important; padding-bottom: clamp(56px, 8vw, 100px) !important; }
.faq-section h2 { font-weight: 800; color: var(--ar-navy); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.faq-item { background: #fff; border: 1px solid var(--ar-line); border-radius: 16px; margin-bottom: 1rem; overflow: hidden; box-shadow: none; transition: box-shadow .25s ease, border-color .25s ease; }
.faq-item:hover { box-shadow: var(--ar-shadow); border-color: rgba(0, 71, 196, .3); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.3rem; cursor: pointer; background: #fff; }
.faq-question h5 { font-size: 1rem; font-weight: 700; color: var(--ar-navy); }
.faq-question .text-primary { color: var(--ar-blue) !important; }
.faq-question .toggle-icon { color: var(--ar-blue); transition: transform .3s ease; flex: none; }
.faq-question:not(.collapsed) .toggle-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 1.4rem 1.3rem 1.4rem; color: var(--ar-mut); line-height: 1.7; }
.faq-answer ul { padding-left: 1.2rem; margin-bottom: 0; }

/* =====================================================================
   CONTACTO (reestilo)
   ===================================================================== */
.contact-detail { background: #fff; border: 1px solid var(--ar-line); border-radius: 28px !important; box-shadow: var(--ar-shadow); padding: clamp(18px, 4vw, 48px) !important; }
.contact-detail .bg-light.rounded { background: var(--ar-bg) !important; border: 1px solid var(--ar-line); border-radius: 18px !important; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.contact-detail .bg-light.rounded:hover { transform: translateY(-4px); box-shadow: var(--ar-shadow); }
.contact-detail .btn-square.bg-secondary { background: linear-gradient(135deg, var(--ar-blue), var(--ar-blue-l)) !important; color: #fff; box-shadow: 0 8px 18px rgba(0, 71, 196, .3); }
.contact-detail .text-primary { color: var(--ar-blue) !important; }
.contact-detail h4 { font-size: 1.05rem; font-weight: 800; }
.contact-detail a.h5 { color: var(--ar-navy); font-size: .98rem; word-break: break-word; text-decoration: none; }
.contact-detail a.h5:hover { color: var(--ar-blue); }
.contact-map { padding: 0 !important; }
#map { border-radius: 20px !important; box-shadow: var(--ar-shadow) !important; }
@media (max-width: 575px) { #map { height: 320px !important; } }

/* =====================================================================
   FOOTER (reestilo de las clases existentes)
   ===================================================================== */
.footer.bg-dark { background: linear-gradient(180deg, var(--ar-navy), #020b1f) !important; position: relative; }
.footer.bg-dark::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--ar-hot), var(--ar-acc), var(--ar-blue-l)); }
.footer .text-secondary { color: var(--ar-acc) !important; }
.footer h1 { font-size: 1.6rem; letter-spacing: -.02em; }
.footer .btn-light.btn-square { background: rgba(255, 255, 255, .1); border: 0; transition: all .25s ease; }
.footer .btn-light.btn-square i { color: #fff !important; }
.footer .btn-light.btn-square:hover { background: var(--ar-acc); transform: translateY(-3px); }
.footer .btn-light.btn-square:hover i { color: var(--ar-navy) !important; }
.footer a.text-white, .footer a.text-light { text-decoration: none; opacity: .88; transition: all .2s ease; }
.footer a.text-white:hover, .footer a.text-light:hover { opacity: 1; color: var(--ar-acc) !important; padding-left: 4px; }
.footer .border-primary { border-color: rgba(255, 255, 255, .12) !important; }

/* =====================================================================
   BOTONES FLOTANTES
   ===================================================================== */
.whatsapp-float { background: var(--ar-wa) !important; box-shadow: 0 10px 26px rgba(37, 211, 102, .45) !important; z-index: 1020 !important; animation: ar-wa 2.6s infinite; }
@keyframes ar-wa { 0%, 70%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); } 85% { box-shadow: 0 10px 26px rgba(37, 211, 102, .45), 0 0 0 16px rgba(37, 211, 102, 0); } }

/* ---- Seguridad de layout en móvil: los hijos de grid/flex pueden encogerse ---- */
.ar-hero__grid > *, .ar-slider, .ar-promo, .ar-promos__box, .ar-about > *, .ar-vstage > *, .ar-stats__grid > * { min-width: 0; }
body.ar-home { overflow-x: clip; }
