/* ============================================================
   ESTSA.com.ar — capa de modernización
   Reemplaza los elementos Flash (.swf) por HTML/CSS y agrega
   una red de seguridad responsive, sin tocar el resto del
   maquetado original basado en tablas.
   ============================================================ */

:root {
  --estsa-navy: #23324a;
  --estsa-maroon: #7a1f24;
  --estsa-gold: #e0a83c;
}

.estsa-page-wrap {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.estsa-banner {
  position: relative;
  width: 100%;
  height: 128px;
  overflow: hidden;
  line-height: 0;
}
.estsa-banner__strip,
.estsa-banner__art {
  display: block;
  width: 100%;
}
.estsa-banner__strip { height: 29px; }
.estsa-banner__art { height: 99px; }
/* Dominio en la franja navy superior */
.estsa-banner__domain {
  position: absolute;
  left: 14px;
  top: 0;
  height: 29px;
  display: flex;
  align-items: center;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 12px;
  line-height: normal;
  letter-spacing: .05em;
  color: #ffffff;
  opacity: .95;
}

/* Texto animado: reconstruye el mensaje real que mostraba el Flash
   original ("Excelencia profesional a su servicio"), extraído del
   propio archivo .swf, junto con el título del estudio. */
.estsa-banner__text {
  position: absolute;
  left: 24px;
  top: 29px;
  height: 99px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  line-height: normal;
  opacity: 0;
  animation: estsaTaglineIn .9s ease .3s both;
}
.estsa-banner__title {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: .01em;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.estsa-banner__subtitle {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
}
.estsa-banner__subtitle strong {
  font-weight: normal;
  color: #ffcc00;
}
@keyframes estsaTaglineIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .estsa-banner__text { animation: none; opacity: 1; }
}
/* sutil barrido de brillo sobre el banner, a modo de guiño a la
   animación que tenía el Flash original */
.estsa-banner__shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 42%, rgba(255, 255, 255, .30) 50%, transparent 58%);
  background-size: 250% 100%;
  background-position: 150% 0;
  animation: estsaShine 7s ease-in-out infinite;
}
@keyframes estsaShine {
  0%   { background-position: 150% 0; }
  55%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .estsa-banner__shine { animation: none; }
}

.estsa-vmenu {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  overflow: hidden;
}
.estsa-vmenu a {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: #eee;
  color: var(--estsa-navy);
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  transition: background .15s ease;
  line-height: 1.15;
}
.estsa-vmenu a:last-child { border-bottom: none; }
.estsa-vmenu a:hover { background: #e0e0e0; }
.estsa-vmenu a.active {
  background: var(--estsa-navy);
  color: #fff;
  font-weight: bold;
}

.estsa-promo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 184px;
  height: 117px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--estsa-maroon), var(--estsa-navy));
  color: #fff;
  text-decoration: none;
}
.estsa-promo__eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--estsa-gold);
}
.estsa-promo__title {
  font-size: 13px;
  font-weight: bold;
  line-height: 1.25;
}
.estsa-promo__cta {
  font-size: 11px;
  margin-top: auto;
  text-decoration: underline;
}
