/* ═══════════════════════════════════════════════
   FURSIFEX — Estructuras de Acero
   Prefijo: eas-
   ═══════════════════════════════════════════════ */

/* ══════════════ HERO ══════════════ */
.eas-hero {
  position: relative;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: var(--fx-hh);
}
.eas-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,42,.92) 45%, rgba(13,27,42,.65) 100%);
}
.eas-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 740px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.eas-hero__title {
  font-family: var(--fx-font-h);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--fx-white);
  line-height: 1.08;
  margin-bottom: 22px;
}
.eas-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}
.eas-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════ INTRO ══════════════ */
.eas-intro {
  padding: 80px 0;
  background: var(--fx-white);
}
.eas-intro__text-wrap {
  max-width: 820px;
  margin: 0 auto 52px;
  text-align: center;
}
.eas-intro__text-wrap p {
  font-size: 1rem;
  color: var(--fx-text-muted);
  line-height: 1.8;
}
.eas-intro__text-wrap strong { color: var(--fx-principal); font-weight: 600; }

.eas-intro__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.eas-intro__img {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.eas-intro__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.eas-intro__img:hover img { transform: scale(1.04); }

/* ══════════════ SECCIONES PRODUCTO ══════════════ */
.eas-prod {
  padding: 88px 0;
}
.eas-prod--light { background: var(--fx-off-white); }
.eas-prod--dark  { background: var(--fx-navy); }

.eas-prod__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.eas-prod__layout--reverse {
  direction: rtl;
}
.eas-prod__layout--reverse > * { direction: ltr; }

/* Texto */
.eas-prod--light .eas-prod__text p {
  font-size: 0.94rem;
  color: var(--fx-text-muted);
  line-height: 1.75;
  margin-bottom: 14px;
}
.eas-prod--dark .eas-prod__text p {
  font-size: 0.94rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: 14px;
}
.eas-prod--light .eas-prod__text strong { color: var(--fx-principal); font-weight: 600; }
.eas-prod--dark  .eas-prod__text strong { color: var(--fx-principal-light); font-weight: 600; }

/* Ventajas */
.eas-prod__ventajas {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(61,155,232,.07);
  border-left: 3px solid var(--fx-principal);
  border-radius: 0 6px 6px 0;
}
.eas-prod__ventajas--dark {
  background: rgba(61,155,232,.1);
}
.eas-prod__vtj-title {
  font-family: var(--fx-font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fx-principal);
  margin-bottom: 14px;
}
.eas-prod__vtj-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  list-style: none;
}
.eas-prod--light .eas-prod__vtj-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: var(--fx-text);
}
.eas-prod--dark .eas-prod__vtj-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,.72);
}
.eas-prod__vtj-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fx-principal);
}

/* Galería de 3 imágenes */
.eas-prod__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.eas-prod__gallery-item {
  border-radius: 8px;
  overflow: hidden;
}
.eas-prod__gallery-item:first-child {
  grid-column: 1 / -1;
}
.eas-prod__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.eas-prod__gallery-item:first-child img { aspect-ratio: 16/7; }
.eas-prod__gallery-item:not(:first-child) img { aspect-ratio: 4/3; }
.eas-prod__gallery-item:hover img { transform: scale(1.05); }

/* ══════════════ TUBERÍAS — sub-secciones LSAW/SSAW ══════════════ */
.eas-tub__tipo {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--fx-border);
}
.eas-tub__tipo:last-of-type {
  border-bottom: none;
  margin-bottom: 18px;
}
.eas-tub__tipo-title {
  font-family: var(--fx-font-h);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fx-navy);
  margin-bottom: 8px;
}

/* Tags de normas */
.eas-cat__tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eas-cat__tag {
  font-family: var(--fx-font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(61,155,232,.1);
  color: var(--fx-principal);
  border: 1px solid rgba(61,155,232,.25);
}

/* ══════════════ CTA ══════════════ */
.eas-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 88px 0;
}
.eas-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,42,.88);
}
.eas-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.eas-cta__title {
  font-family: var(--fx-font-h);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--fx-white);
  margin-bottom: 10px;
}
.eas-cta__sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,.7);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
  .eas-prod__layout,
  .eas-prod__layout--reverse { grid-template-columns: 1fr; direction: ltr; }
  .eas-intro__text-wrap { text-align: left; }
  .eas-cta__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 640px) {
  .eas-hero { min-height: 70vh; }
  .eas-intro, .eas-prod, .eas-cta { padding: 60px 0; }
  .eas-hero__actions { flex-direction: column; align-items: flex-start; }
  .eas-intro__images { grid-template-columns: 1fr; }
  .eas-prod__vtj-list { grid-template-columns: 1fr; }
  .eas-prod__gallery { grid-template-columns: 1fr; }
  .eas-prod__gallery-item:first-child { grid-column: auto; }
}


/* ══════════════ OPTION 1 OVERRIDES FOR SEO/ALT IMAGES ══════════════ */
.eas-hero {
  overflow: hidden !important;
}
.eas-hero__bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}
.eas-hero__overlay {
  z-index: 2 !important;
}
.eas-hero__inner {
  position: relative !important;
  z-index: 3 !important;
}

.eas-cta {
  overflow: hidden !important;
}
.eas-cta__bg-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}
.eas-cta__overlay {
  z-index: 2 !important;
}
.eas-cta__inner {
  position: relative !important;
  z-index: 3 !important;
}


/* ==========================================================================
   ESTÁNDAR DE DISEÑO MÓVIL (GUÍA DE ESTILO - EDITOR IA v2.2)
   ========================================================================== */
@media (max-width: 768px) {
  /* Altura del banner superior al 60% del viewport mínimo con safety padding */
  .eas-hero {
    min-height: 60vh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-top: calc(var(--fx-hh) + 20px) !important;
    padding-bottom: 48px !important; /* Estricto: previene que el botón toque el borde inferior */
  }
  .eas-hero__inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important; /* Reset padding-bottom to prevent extra tall banner */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
  /* Tamaño de texto estandarizado para títulos de banner */
  .eas-hero__title {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    text-align: left !important;
  }
  .eas-hero__sub {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  /* Espaciado uniforme y reducido entre el banner y el siguiente bloque de texto */
  .eas-intro {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
}
