/* Home nuevo de Office Class ([oce_home_nuevo], office-class-extras). Propuesta B "Contraste", 2026-11-17.
   Todo va con prefijo .ohm y !important donde el CSS global del sitio (officeclass.css, kit de Elementor) pisa estilos. */
.ohm{--rojo:#e60918;--rojo-osc:#b8000f;--negro:#1d1c1c;--niebla:#f3f2f1;--linea:#e2dfdd;--tenue:#6b6664;--gris:#857f7c;
  font-family:'Poppins','Segoe UI',system-ui,sans-serif!important;color:var(--negro)!important;background:#fff;overflow-x:hidden;font-size:16px;line-height:1.6}
.ohm *{box-sizing:border-box!important}
.ohm h1,.ohm h2,.ohm h3,.ohm h4,.ohm p{font-family:'Poppins','Segoe UI',system-ui,sans-serif!important;margin:0!important;padding:0!important;color:inherit!important;text-transform:none!important}
.ohm img{max-width:100%;border:0!important;box-shadow:none}
.ohm a{text-decoration:none!important}
.ohm :focus-visible{outline:2px solid var(--rojo)!important;outline-offset:3px!important}
.ohm .ohm-cont{max-width:1240px;margin:0 auto;padding:0 32px;width:100%}
.ohm .ohm-sec{padding:120px 0}
.ohm .ohm-mono{font-family:'JetBrains Mono',ui-monospace,Consolas,monospace!important;font-size:12px!important;letter-spacing:.08em}
.ohm .ohm-l{font-weight:300!important}
.ohm .ohm-b{font-weight:600!important}
.ohm .ohm-rojo{color:var(--rojo)!important}
.ohm .ohm-centro{display:flex;justify-content:center;padding-top:56px}
.ohm .ohm-dos{gap:12px;flex-wrap:wrap;padding-top:0}

/* Botones (el sitio fuerza button/[type=submit] con !important) */
.ohm .ohm-btn,.ohm .ohm-btn-osc,.ohm .ohm-btn-claro{display:inline-flex!important;align-items:center;gap:10px;min-height:50px;padding:0 28px!important;border-radius:999px!important;font-weight:500!important;font-size:15px!important;line-height:1.2!important;transition:background .2s,color .2s,border-color .2s;white-space:nowrap;width:auto!important}
.ohm .ohm-btn{background:var(--rojo)!important;color:#fff!important;border:0!important}
.ohm .ohm-btn:hover{background:var(--rojo-osc)!important;color:#fff!important}
.ohm .ohm-btn-osc{background:transparent!important;color:var(--negro)!important;border:1px solid var(--negro)!important}
.ohm .ohm-btn-osc:hover{background:var(--negro)!important;color:#fff!important}
.ohm .ohm-btn-claro{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.5)!important}
.ohm .ohm-btn-claro:hover{background:#fff!important;color:var(--negro)!important}

/* Hero con pase de fotos Ken Burns */
.ohm .ohm-hero{position:relative;min-height:720px;display:flex;align-items:center;overflow:hidden;background:var(--negro);color:#fff}
.ohm .ohm-kb{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover;opacity:0;animation:ohmkb 30s linear infinite;will-change:opacity,transform}
@keyframes ohmkb{0%{opacity:0;transform:scale(1)}5%{opacity:1}20%{opacity:1}25%{opacity:0;transform:scale(1.12)}100%{opacity:0;transform:scale(1.12)}}
.ohm .ohm-kb1{animation-delay:-1.5s;transform-origin:30% 40%}
.ohm .ohm-kb2{animation-delay:4.5s;transform-origin:70% 50%}
.ohm .ohm-kb3{animation-delay:10.5s;transform-origin:50% 30%}
.ohm .ohm-kb4{animation-delay:16.5s;transform-origin:20% 60%}
.ohm .ohm-kb5{animation-delay:22.5s;transform-origin:80% 40%}
.ohm .ohm-hero-velo{position:absolute;inset:0;background:rgba(18,17,17,.5)}
.ohm .ohm-hero-tx{position:relative;padding-top:96px;padding-bottom:96px;display:flex;flex-direction:column;gap:36px}
.ohm .ohm-hero h1{font-size:64px!important;line-height:1.08!important;font-weight:300!important;letter-spacing:-.03em;color:#fff!important;max-width:860px}
.ohm .ohm-hero h1 strong{font-weight:600!important;color:#fff!important}
@media (prefers-reduced-motion:reduce){.ohm .ohm-kb{animation:none}.ohm .ohm-kb1{opacity:1}}

/* Categorías */
.ohm .ohm-cats-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px;align-items:start}
.ohm .ohm-cats-lista{border-bottom:1px solid var(--linea)}
.ohm .ohm-cat{border-top:1px solid var(--linea)}
.ohm .ohm-fila{display:flex!important;gap:20px;align-items:baseline;width:100%!important;text-align:left!important;background:none!important;border:0!important;border-radius:0!important;padding:22px 0!important;margin:0!important;font:inherit!important;color:inherit!important;cursor:pointer;white-space:normal!important;box-shadow:none!important}
.ohm .ohm-num{color:var(--gris);transition:color .35s}
.ohm .ohm-ft{font-size:30px!important;line-height:1.15!important;font-weight:500!important;letter-spacing:-.02em;color:var(--gris)!important;transition:color .35s}
.ohm .ohm-fila:hover .ohm-ft{color:var(--negro)!important}
.ohm .ohm-cat.is-on .ohm-num{color:var(--rojo)}
.ohm .ohm-cat.is-on .ohm-ft{color:var(--negro)!important}
.ohm .ohm-abre{display:grid;grid-template-rows:0fr;transition:grid-template-rows .55s cubic-bezier(.4,0,.2,1)}
.ohm .ohm-cat.is-on .ohm-abre{grid-template-rows:1fr}
.ohm .ohm-abre-in{overflow:hidden;min-height:0}
.ohm .ohm-abre-tx{display:flex;flex-direction:column;gap:14px;padding:0 0 26px 40px;opacity:0;transform:translateY(-12px);transition:opacity .45s ease,transform .55s cubic-bezier(.4,0,.2,1)}
.ohm .ohm-cat.is-on .ohm-abre-tx{opacity:1;transform:none}
.ohm .ohm-abre-tx p{font-size:15px!important;line-height:1.65!important;color:var(--tenue)!important;max-width:420px}
.ohm .ohm-vermas{display:inline-flex;align-items:center;gap:8px;color:var(--rojo)!important;font-weight:500;font-size:14px;align-self:flex-start}
.ohm .ohm-vermas:hover{color:var(--rojo-osc)!important}
.ohm .ohm-cat-foto{display:block;position:relative;aspect-ratio:4/3.4;border-radius:22px;overflow:hidden;background:var(--niebla)}
.ohm .ohm-cat-foto img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity .8s ease,transform 1.4s cubic-bezier(.2,.7,.2,1)}
.ohm .ohm-cat-foto img.is-on{opacity:1;transform:scale(1)}
.ohm .ohm-cat-n{position:absolute;left:20px;bottom:20px;background:#fff;color:var(--negro);padding:8px 12px;border-radius:999px}

/* bratti */
.ohm .ohm-bratti{position:relative;min-height:640px;display:flex;align-items:center;overflow:hidden;background:var(--negro)}
.ohm .ohm-bratti-fondo{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none;object-fit:cover}
.ohm .ohm-bratti-cont{position:relative;display:flex;justify-content:flex-end;padding-top:80px;padding-bottom:80px}
.ohm .ohm-bratti-caja{max-width:520px;display:flex;flex-direction:column;gap:32px;padding:52px 52px 48px;background:rgba(255,255,255,.84);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:22px;box-shadow:0 24px 60px rgba(20,19,19,.18),0 2px 8px rgba(20,19,19,.06)}
.ohm .ohm-bratti-caja h2{font-size:38px!important;line-height:1.18!important;letter-spacing:-.02em;color:var(--negro)!important}
.ohm .ohm-bratti-caja h2 span{display:block}
.ohm .ohm-bratti-logo{align-self:flex-start;display:block}
.ohm .ohm-bratti-logo img{height:40px;width:auto;display:block}

/* CTA */
.ohm .ohm-cta .ohm-cont{display:flex;flex-direction:column;align-items:center;gap:36px;text-align:center}
.ohm .ohm-cta h2{font-size:48px!important;line-height:1.14!important;letter-spacing:-.025em;max-width:900px}
.ohm .ohm-cta h2 span{display:block}

/* Asesoría */
.ohm .ohm-ases-caja{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--niebla);border-radius:24px;overflow:hidden}
.ohm .ohm-ases-tx{display:flex;flex-direction:column;justify-content:center;gap:32px;padding:72px 64px}
.ohm .ohm-ases-tx h2{font-size:38px!important;line-height:1.2!important;font-weight:500!important;letter-spacing:-.02em;max-width:520px}
.ohm .ohm-ases-tx .ohm-btn-osc{align-self:flex-start}
.ohm .ohm-ases-caja>img{width:100%!important;height:100%!important;min-height:440px;object-fit:cover;display:block}

/* Beneficios: carrusel de 3 */
.ohm .ohm-bens-cab{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;margin-bottom:64px}
.ohm .ohm-bens-cab h2{font-size:38px!important;line-height:1.2!important;font-weight:500!important;letter-spacing:-.02em;max-width:860px}
.ohm .ohm-bens-cab p{font-size:16px!important;line-height:1.65!important;color:var(--tenue)!important;max-width:640px}
.ohm .ohm-bens-marco{padding:0 32px}
.ohm .ohm-bens-vista{overflow:hidden;touch-action:pan-y}
.ohm .ohm-bens-track{display:flex;gap:24px;transition:transform .7s cubic-bezier(.4,0,.2,1)}
.ohm .ohm-ben{flex:0 0 calc((100% - 48px) / 3);min-height:300px;background:var(--niebla);border-radius:22px;padding:40px;display:flex;flex-direction:column;gap:16px}
.ohm .ohm-ben-top{display:flex;justify-content:space-between;align-items:center;color:var(--negro)}
.ohm .ohm-ben-top .ohm-mono{color:var(--tenue)}
.ohm .ohm-ico{width:72px;height:72px;display:block}
.ohm .ohm-ben-t{margin-top:auto!important;font-size:26px!important;font-weight:500!important;letter-spacing:-.01em;line-height:1.25!important}
.ohm .ohm-ben p{font-size:15px!important;line-height:1.65!important;color:var(--tenue)!important}
.ohm .ohm-bens-ctl{display:flex;align-items:center;gap:28px;padding-top:36px}
.ohm .ohm-barra{flex-grow:1;height:2px;background:var(--linea);border-radius:2px;overflow:hidden}
.ohm .ohm-barra-in{height:100%;width:50%;background:var(--negro);transition:transform .7s cubic-bezier(.4,0,.2,1)}
.ohm .ohm-cuenta{color:var(--tenue);min-width:72px;text-align:right}
.ohm .ohm-flecha{width:64px!important;height:64px!important;flex:0 0 64px;border-radius:50%!important;border:0!important;padding:0!important;background:var(--rojo)!important;color:#fff!important;display:flex!important;align-items:center;justify-content:center;cursor:pointer;transition:background .2s,transform .2s,opacity .2s;box-shadow:0 10px 24px rgba(230,9,24,.28)!important}
.ohm .ohm-flecha:hover{background:var(--rojo-osc)!important;transform:scale(1.06)}
.ohm .ohm-flecha:disabled{opacity:.3;cursor:default;box-shadow:none!important;transform:none}

/* Clientes: marquee */
.ohm .ohm-clientes{padding:0 0 120px}
.ohm .ohm-clientes h2{font-size:36px!important;line-height:1.2!important;letter-spacing:-.02em;text-align:center}
.ohm .ohm-marq{overflow:hidden;margin:44px 0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 14%,#000 86%,transparent 100%)}
.ohm .ohm-marq-track{display:flex;width:max-content;animation:ohmmarq 45s linear infinite}
.ohm .ohm-marq:hover .ohm-marq-track{animation-play-state:paused}
@keyframes ohmmarq{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.ohm .ohm-logo{flex:0 0 auto;width:220px;height:96px;display:flex;align-items:center;justify-content:center;padding:0 36px}
.ohm .ohm-logo img{max-height:48px;max-width:100%;width:auto;height:auto;object-fit:contain;filter:grayscale(1);opacity:.7;transition:filter .3s,opacity .3s}
.ohm .ohm-logo:hover img{filter:none;opacity:1}
@media (prefers-reduced-motion:reduce){.ohm .ohm-marq-track{animation:none}}

/* Cifras */
.ohm .ohm-stats{background:var(--negro);color:#fff;padding:112px 0}
.ohm .ohm-stats .ohm-cont{display:flex;flex-direction:column;gap:64px}
.ohm .ohm-stats h2{font-size:40px!important;line-height:1.22!important;letter-spacing:-.02em;color:#fff!important}
.ohm .ohm-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ohm .ohm-stats-grid>div{display:flex;flex-direction:column;gap:16px}
.ohm .ohm-stats-grid>div:first-child{padding-right:48px;border-right:1px solid rgba(255,255,255,.18)}
.ohm .ohm-stats-grid>div:last-child{padding-left:48px}
.ohm .ohm-stats h3{font-size:128px!important;line-height:.95!important;font-weight:300!important;letter-spacing:-.05em;color:#fff!important}
.ohm .ohm-stats p{font-size:16px!important;line-height:1.6!important;color:#b5afac!important;max-width:380px}
.ohm .ohm-stats .ohm-btn-claro{align-self:flex-start}

/* Cotiza (CF7 5027) */
.ohm .ohm-cotiza-grid{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:72px;align-items:center}
.ohm .ohm-cotiza-grid>img{width:100%!important;height:auto!important;display:block}
.ohm .ohm-form h2{font-size:44px!important;line-height:1.1!important;letter-spacing:-.025em;margin-bottom:28px!important}
.ohm .ohm-form p{margin:0!important}
.ohm .ohm-form br{display:none}
.ohm .ohm-form .even-columns{display:grid!important;grid-auto-flow:column!important;grid-auto-columns:minmax(0,1fr)!important;grid-template-columns:none!important;gap:18px;margin:0 0 18px!important;max-width:none!important}
.ohm .ohm-form .col{margin:0!important;padding:0!important;border:0!important;text-align:left!important}
.ohm .ohm-form .wpcf7-form-control-wrap{display:block}
.ohm .ohm-form input[type=text],.ohm .ohm-form input[type=email],.ohm .ohm-form input[type=tel],.ohm .ohm-form select,.ohm .ohm-form textarea{width:100%!important;font:inherit!important;font-size:15px!important;color:var(--negro)!important;background:var(--niebla)!important;border:1px solid transparent!important;border-radius:10px!important;padding:14px 16px!important;outline:none;margin:0!important;box-shadow:none!important;height:auto}
.ohm .ohm-form textarea{min-height:130px;max-height:220px;resize:vertical}
.ohm .ohm-form input:focus,.ohm .ohm-form select:focus,.ohm .ohm-form textarea:focus{border-color:var(--negro)!important;background:#fff!important}
.ohm .ohm-form input::placeholder,.ohm .ohm-form textarea::placeholder{color:var(--tenue)}
.ohm .ohm-form input[type=submit]{width:100%!important;min-height:54px;border-radius:999px!important;background:var(--negro)!important;color:#fff!important;font:inherit!important;font-size:15px!important;font-weight:500!important;border:0!important;cursor:pointer;margin-top:4px!important}
.ohm .ohm-form input[type=submit]:hover{background:#000!important}
.ohm .ohm-form .wpcf7-spinner{position:absolute}
.ohm .ohm-form .wpcf7-not-valid-tip{font-size:12px;color:var(--rojo);margin-top:4px}
.ohm .ohm-form .wpcf7-response-output{margin:16px 0 0!important;border-radius:10px;font-size:14px}

/* Tableta */
@media (max-width:1024px){
  .ohm .ohm-sec{padding:96px 0}
  .ohm .ohm-hero h1{font-size:52px!important}
  .ohm .ohm-cats-grid{gap:48px}
  .ohm .ohm-ben{flex-basis:calc((100% - 24px) / 2)}
  .ohm .ohm-stats h3{font-size:96px!important}
  .ohm .ohm-cotiza-grid{gap:48px}
}

/* Celular */
@media (max-width:767px){
  .ohm .ohm-cont{padding:0 20px}
  .ohm .ohm-sec{padding:72px 0}
  .ohm .ohm-centro{padding-top:36px}
  .ohm .ohm-btn,.ohm .ohm-btn-osc,.ohm .ohm-btn-claro{white-space:normal;text-align:center;justify-content:center}
  .ohm .ohm-hero{min-height:560px}
  .ohm .ohm-hero-tx{padding-top:72px;padding-bottom:72px;gap:28px}
  .ohm .ohm-hero h1{font-size:36px!important;line-height:1.1!important}
  .ohm .ohm-cats-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .ohm .ohm-cat-foto{order:-1;aspect-ratio:4/3;border-radius:18px}
  .ohm .ohm-ft{font-size:22px!important}
  .ohm .ohm-fila{padding:18px 0!important;gap:14px}
  .ohm .ohm-abre-tx{padding:0 0 20px 34px}
  .ohm .ohm-bratti{min-height:0}
  .ohm .ohm-bratti-cont{padding-top:180px;padding-bottom:28px;justify-content:center}
  .ohm .ohm-bratti-caja{padding:30px 26px;gap:22px;max-width:none}
  .ohm .ohm-bratti-caja h2{font-size:26px!important}
  .ohm .ohm-cta h2{font-size:30px!important}
  .ohm .ohm-ases-caja{grid-template-columns:minmax(0,1fr);border-radius:20px}
  .ohm .ohm-ases-tx{padding:40px 26px;gap:24px}
  .ohm .ohm-ases-tx h2{font-size:26px!important}
  .ohm .ohm-ases-caja>img{min-height:0;aspect-ratio:3/2;height:auto!important}
  .ohm .ohm-bens-cab{margin-bottom:36px}
  .ohm .ohm-bens-cab h2{font-size:26px!important}
  .ohm .ohm-bens-cab p{font-size:14px!important}
  .ohm .ohm-bens-marco{padding:0 20px}
  .ohm .ohm-bens-track{gap:14px}
  .ohm .ohm-ben{flex-basis:86%;min-height:260px;padding:30px;border-radius:18px}
  .ohm .ohm-ico{width:64px;height:64px}
  .ohm .ohm-ben-t{font-size:22px!important}
  .ohm .ohm-bens-ctl{gap:14px;padding-top:24px}
  .ohm .ohm-cuenta{min-width:0}
  .ohm .ohm-flecha{width:52px!important;height:52px!important;flex-basis:52px}
  .ohm .ohm-clientes{padding-bottom:72px}
  .ohm .ohm-clientes h2{font-size:26px!important}
  .ohm .ohm-marq{margin:28px 0;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 10%,#000 90%,transparent 100%)}
  .ohm .ohm-logo{width:150px;height:72px;padding:0 20px}
  .ohm .ohm-logo img{max-height:36px}
  .ohm .ohm-dos{flex-direction:column;align-items:stretch}
  .ohm .ohm-stats{padding:72px 0}
  .ohm .ohm-stats .ohm-cont{gap:36px}
  .ohm .ohm-stats h2{font-size:26px!important}
  .ohm .ohm-stats-grid{grid-template-columns:minmax(0,1fr);gap:28px}
  .ohm .ohm-stats-grid>div:first-child{padding:0 0 28px;border-right:0;border-bottom:1px solid rgba(255,255,255,.18)}
  .ohm .ohm-stats-grid>div:last-child{padding:0}
  .ohm .ohm-stats h3{font-size:72px!important}
  .ohm .ohm-stats p{font-size:15px!important}
  .ohm .ohm-cotiza-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .ohm .ohm-form h2{font-size:32px!important;margin-bottom:20px!important}
  .ohm .ohm-form .even-columns{grid-auto-flow:row!important;grid-template-columns:minmax(0,1fr)!important;gap:12px;margin-bottom:12px!important}
  .ohm .ohm-form input[type=text],.ohm .ohm-form input[type=email],.ohm .ohm-form input[type=tel],.ohm .ohm-form select,.ohm .ohm-form textarea{font-size:16px!important}
}
