/* ===== Ocampo Gómez · Hero (portada) =====
   Scope: contenedor del hero #0f7ed74. Desactivar: quitar este archivo o la clase body.og-anim. */
body.og-anim .elementor-element-0f7ed74 { position: relative; overflow: hidden; }

/* 1. Zoom lento tipo "Ken Burns" sobre el carrusel de fondo */
body.og-anim .elementor-element-0f7ed74 .elementor-background-slideshow__slide__image {
  animation: ogKen 20s ease-in-out infinite alternate;
  transform-origin: 50% 65%;
}
@keyframes ogKen { from { transform: scale(1); } to { transform: scale(1.09); } }

/* 2. Capa de contraste: viñeta + degradado arriba (menú) y abajo (transición a la sección blanca) */
body.og-anim .elementor-element-0f7ed74::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 45% at 50% 60%, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 100%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 62%, rgba(0,0,0,.70) 100%);
}
body.og-anim .elementor-element-0f7ed74 > .elementor-element-e7c696e { position: relative; z-index: 2; background: none; }

/* 3. Tipografía: "Somos" como antetítulo con líneas rojas, palabra rotativa con sombra suave */
body.og-anim .elementor-element-aa1d639 .elementor-heading-title {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 15px !important; /* Elementor fija el tamaño inline por breakpoint */
  font-weight: 500; letter-spacing: .42em; text-transform: uppercase; padding-left: .42em;
  text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
body.og-anim .elementor-element-aa1d639 .elementor-heading-title::before,
body.og-anim .elementor-element-aa1d639 .elementor-heading-title::after {
  content: ""; width: 42px; height: 1px; background: #E3202B;
}
body.og-anim .elementor-element-0f7ed74 .jet-animated-text__animated-text {
  text-shadow: 0 6px 40px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.45);
  font-weight: 300; letter-spacing: -.01em;
}

/* 4. Bloque nuevo: subtítulo + botones (insertado por og-hero.js, ES/EN según <html lang>) */
.og-hero-cta { margin-top: 26px; text-align: center; color: #fff; opacity: 0; transform: translateY(14px);
  animation: ogHeroIn .9s cubic-bezier(.22,1,.36,1) .5s forwards; }
.og-hero-cta p { font-family: Raleway, sans-serif; font-weight: 300; font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55; max-width: 640px; margin: 0 auto 26px; color: rgba(255,255,255,.92); text-shadow: 0 2px 14px rgba(0,0,0,.7); }
.og-hero-cta .og-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.og-hero-cta a { font-family: Raleway, sans-serif; font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; padding: 15px 28px; border: 1px solid #E3202B; color: #fff; transition: background-color .35s, color .35s, border-color .35s, transform .35s; }
.og-hero-cta a.og-primary { background: #E3202B; }
.og-hero-cta a.og-primary:hover, .og-hero-cta a.og-primary:focus-visible { background: #b8141d; border-color: #b8141d; transform: translateY(-2px); }
.og-hero-cta a.og-ghost { background: rgba(0,0,0,.25); border-color: rgba(255,255,255,.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.og-hero-cta a.og-ghost:hover, .og-hero-cta a.og-ghost:focus-visible { background: #fff; color: #111; border-color: #fff; transform: translateY(-2px); }
@keyframes ogHeroIn { to { opacity: 1; transform: none; } }

/* 5. Indicador de scroll */
.og-scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  width: 24px; height: 38px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 14px; }
.og-scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 7px; margin-left: -1.5px;
  border-radius: 2px; background: #E3202B; animation: ogCue 1.8s cubic-bezier(.22,1,.36,1) infinite; }
@keyframes ogCue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 767px) {
  body.og-anim .elementor-element-aa1d639 .elementor-heading-title { font-size: 12px !important; gap: 12px; }
  body.og-anim .elementor-element-aa1d639 .elementor-heading-title::before,
  body.og-anim .elementor-element-aa1d639 .elementor-heading-title::after { width: 26px; }
  .og-hero-cta p { padding: 0 22px; }
  .og-hero-cta .og-btns { flex-direction: column; align-items: center; gap: 10px; }
  .og-hero-cta a { padding: 14px 20px; font-size: 12px; width: min(280px, 80vw); text-align: center; box-sizing: border-box; }
  .og-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.og-anim .elementor-element-0f7ed74 .elementor-background-slideshow__slide__image,
  .og-scroll-cue::after { animation: none; }
  .og-hero-cta { animation: none; opacity: 1; transform: none; }
}

/* 6. Encabezado duplicado en tablet/celular: la fila de escritorio (logo) no estaba oculta y se veía
      encima de la fila móvil (logo + menú hamburguesa). Breakpoint de tablet de Elementor = 1024px. */
@media (max-width: 1024px) {
  .elementor-14 .elementor-element-acc349c { display: none !important; } /* Elementor aplica display:flex con mayor especificidad */
}


/* ===== Contacto (#contacto, contenedor 2dc3c6c) ===== */
body.og-anim .elementor-element-97319a6 .elementor-heading-title { display: inline-flex; align-items: center; gap: 14px; letter-spacing: .32em; }
body.og-anim .elementor-element-97319a6 .elementor-heading-title::before { content: ""; width: 36px; height: 1px; background: #E3202B; }
/* Teléfono y correo como tarjetas con ícono */
body.og-anim .elementor-element-a5ab946, body.og-anim .elementor-element-98d9a3d {
  position: relative; padding: 22px 12px 18px 62px !important; background: #fff;
  border: 1px solid #ececec; border-left: 2px solid #E3202B; box-shadow: 0 8px 28px rgba(0,0,0,.06);
  transition: transform .45s cubic-bezier(.22,1,.36,1), box-shadow .45s;
}
body.og-anim .elementor-element-0714998 { gap: 18px !important; }
body.og-anim .elementor-element-a5ab946:hover, body.og-anim .elementor-element-98d9a3d:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.10); }
body.og-anim .elementor-element-a5ab946::before, body.og-anim .elementor-element-98d9a3d::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
  background: #E3202B center / 18px 18px no-repeat;
}
body.og-anim .elementor-element-a5ab946::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
body.og-anim .elementor-element-98d9a3d::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 6-10 7L2 6'/%3E%3C/svg%3E"); }
body.og-anim .elementor-element-462c1f0 .elementor-heading-title, body.og-anim .elementor-element-9f604a2 .elementor-heading-title {
  font-size: 12px !important; letter-spacing: .22em; text-transform: uppercase; color: #888 !important; }
body.og-anim .elementor-element-5c180fc, body.og-anim .elementor-element-e378ccc { font-size: 14px; white-space: nowrap; }
body.og-anim .elementor-element-5c180fc p, body.og-anim .elementor-element-e378ccc p { margin: 0; }
body.og-anim .elementor-element-5c180fc a, body.og-anim .elementor-element-e378ccc a { color: #111 !important; text-decoration: none; }
/* Logo: más contenido, menos protagonismo */
body.og-anim .elementor-element-fce4129 img { max-width: 230px !important; opacity: .95; }

/* Formulario como tarjeta */
body.og-anim .elementor-element-3d85ac5 { background: #fff !important; border-top: 3px solid #E3202B;
  box-shadow: 0 24px 60px rgba(0,0,0,.10); }
body.og-anim .elementor-element-ac4e9b8 .jet-form__label-text { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #777; }
body.og-anim .elementor-element-ac4e9b8 .jet-form__field:not(.hidden-field) {
  background: transparent !important; border: 0 !important; border-bottom: 1px solid #cfcfcf !important; border-radius: 0; padding: 10px 0; font-size: 16px;
  transition: border-color .3s; box-shadow: none; outline: none; }
body.og-anim .elementor-element-ac4e9b8 .jet-form__field:not(.hidden-field):focus { border-bottom-color: #E3202B !important; }
body.og-anim .elementor-element-ac4e9b8 .jet-form__submit {
  background: #E3202B !important; color: #fff !important; border: 1px solid #E3202B !important; border-radius: 0;
  padding: 15px 34px !important; font-size: 13px !important; letter-spacing: .2em; text-transform: uppercase;
  transition: background-color .3s, transform .3s; }
body.og-anim .elementor-element-ac4e9b8 .jet-form__submit:hover, body.og-anim .elementor-element-ac4e9b8 .jet-form__submit:focus-visible {
  background: #b8141d !important; border-color: #b8141d !important; transform: translateY(-2px); }

/* ===== Pie de página (plantilla _Footer, contenedor b3e6ffc) ===== */
body.og-anim .elementor-element-b3e6ffc { position: relative; padding: 26px 0 !important; background: #0b0b0b !important; }
body.og-anim .elementor-element-b3e6ffc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, rgba(227,32,43,0) 0%, #E3202B 50%, rgba(227,32,43,0) 100%); }
body.og-anim .elementor-element-b3e6ffc .elementor-heading-title { font-size: 13px !important; line-height: 1.5 !important; color: #9a9a9a !important; letter-spacing: .04em; }
body.og-anim .elementor-element-989465a .elementor-heading-title { color: #d9d9d9 !important; }

@media (max-width: 767px) {
  body.og-anim .elementor-element-a5ab946, body.og-anim .elementor-element-98d9a3d { width: 100% !important; }
  body.og-anim .elementor-element-b3e6ffc .elementor-heading-title { text-align: center !important; }
}

/* Evitar que el contenido de contacto se monte sobre el pie (alturas fijas heredadas) */
body.og-anim .elementor-element-2dc3c6c, body.og-anim .elementor-element-97f33bc, body.og-anim .elementor-element-b946b71 { height: auto !important; min-height: 0 !important; }
body.og-anim .elementor-element-fce4129 { margin-bottom: 30px !important; }
@media (max-width: 767px) {
  body.og-anim .elementor-element-a5ab946, body.og-anim .elementor-element-98d9a3d { text-align: left; }
  body.og-anim .elementor-element-a5ab946 *, body.og-anim .elementor-element-98d9a3d * { text-align: left !important; }
  body.og-anim .elementor-element-fce4129 { margin: 10px 0 48px !important; }
}

@media (max-width: 767px) {
  body.og-anim .elementor-element-b3e6ffc { padding: 26px 16px 84px !important; }
  body.og-anim .elementor-element-b3e6ffc .e-con { align-items: center !important; }
  body.og-anim .elementor-element-b3e6ffc .elementor-widget-heading, body.og-anim .elementor-element-b3e6ffc .elementor-heading-title { text-align: center !important; }
}
