/* ============================================================
   Empresa (/empresa/) — estética nueva de la web (09/2026).
   La cabecera y el sello siguen el patrón de Soporte (soporte.css).
   Los titulares al estilo de la plantilla (data-titulares="plantilla")
   viven en traulux.css.
   ============================================================ */

.em { --em-borde: rgba(255, 255, 255, 0.1); --em-panel: rgba(255, 255, 255, 0.025); }
.em section { position: relative; }
.em .marker { font-size: 0.8rem; margin-bottom: 14px; }
.em .display em { font-style: normal; color: var(--teal-bright); }
.em p { color: var(--text-dim); }
.em strong { color: var(--text); font-weight: 700; }
.em svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.em-flecha { display: inline-block; margin-left: 8px; transition: transform 0.2s ease; }
.em a:hover .em-flecha { transform: translateX(3px); }
.em .btn { font-size: 0.92rem; font-weight: 800; padding: 14px 24px; }
.em-btn-borde { border-color: var(--teal); }
.em-btn-borde:hover { background: rgba(0, 168, 148, 0.1); }
.em-texto p { font-size: 1rem; line-height: 1.7; margin-bottom: 16px; max-width: 60ch; }

/* ---------- 1 · Héroe ---------- */
.em-heroe {
  min-height: min(720px, calc(100svh - var(--banner-h) - 40px));
  display: flex; align-items: center; overflow: hidden;
  padding: 150px 0 110px; border-bottom: 1px solid var(--em-borde);
}
.em-heroe-foto {
  position: absolute; top: 0; right: 0; bottom: 0; width: 66%; height: 100%; object-fit: cover; object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%);
}
.em-heroe::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(transparent, rgba(16, 18, 17, 0.8));
}
.em-heroe-in { position: relative; z-index: 1; width: 100%; }
.em-heroe h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); max-width: 11ch; line-height: 0.98; }
.em-heroe .lead { margin: 24px 0 34px; max-width: 40ch; font-size: 1.12rem; color: rgba(244, 246, 245, 0.82); }
.em-botones { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 2 · ¿Quiénes somos? ---------- */
.em-quienes { padding: 88px 0 72px; border-bottom: 1px solid var(--em-borde); }
.em-quienes-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.em-cita { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; max-width: 18ch; }
.em-pilares { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.em-pilares li {
  display: grid; gap: 6px; align-content: start; padding: 22px 22px 20px;
  border: 1px solid var(--em-borde); border-radius: 14px; background: var(--em-panel);
}
.em-pilar-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(47, 214, 188, 0.4); color: var(--teal-bright); margin-bottom: 8px; }
.em-pilar-ico svg { width: 20px; height: 20px; }
.em-pilares b { font-size: 1.7rem; font-weight: 800; line-height: 1; color: var(--teal-bright); letter-spacing: -0.02em; }
.em-pilares span { font-size: 0.86rem; line-height: 1.5; color: var(--text-dim); }

/* ---------- 3 · La X de Traulux ---------- */
.em-x { padding: 88px 0; border-bottom: 1px solid var(--em-borde); background: radial-gradient(ellipse at 75% 50%, rgba(0, 168, 148, 0.12), transparent 60%); }
.em-x-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 72px; align-items: center; }
.em-x h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 20px; }
/* la X del logo en el centro y los cuatro ejes en las puntas de sus brazos */
.em-x-figura { position: relative; width: min(100%, 460px); aspect-ratio: 1 / 0.86; margin: 0 auto; }
.em-x-img {
  position: absolute; left: 50%; top: 50%; width: 46%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 40px rgba(47, 214, 188, 0.35));
}
.em-eje {
  position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 99px;
  border: 1px solid var(--em-borde); background: rgba(18, 21, 20, 0.92); font-weight: 800; font-size: 0.98rem; color: var(--text);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.8);
}
.em-eje svg { width: 20px; height: 20px; color: var(--teal-bright); }
.em-eje-ai { left: 0; top: 4%; }
.em-eje-ad { right: 0; top: 4%; }
.em-eje-bi { left: 0; bottom: 4%; }
.em-eje-bd { right: 0; bottom: 4%; }
.em-eje-marca { border-color: var(--teal-bright); color: var(--teal-bright); box-shadow: 0 0 26px -8px rgba(47, 214, 188, 0.7); }

/* ---------- 4 · Vídeo ---------- */
.em-video { padding: 88px 0; border-bottom: 1px solid var(--em-borde); }
.em-cab-centro { text-align: center; margin-bottom: 30px; }
.em-cab-centro .marker { justify-content: center; }
.em-cab-centro h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.em-reproductor {
  max-width: 960px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--em-borde); background: #000; box-shadow: 0 30px 80px -30px rgba(0, 168, 148, 0.45);
}
.em-reproductor button { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: #000; }
.em-reproductor img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity 0.3s ease, transform 0.6s ease; }
.em-reproductor button:hover img { opacity: 1; transform: scale(1.02); }
.em-reproductor iframe { display: block; width: 100%; height: 100%; border: 0; }
.em-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 86px; height: 86px; border-radius: 50%; background: var(--teal-bright); color: #0c0e0d;
  box-shadow: 0 0 0 10px rgba(47, 214, 188, 0.2), 0 0 50px rgba(47, 214, 188, 0.55); transition: transform 0.25s ease;
}
.em-reproductor button:hover .em-play { transform: translate(-50%, -50%) scale(1.07); }
.em-play svg { width: 36px; height: 36px; fill: currentColor; stroke: none; margin-left: 4px; }

/* ---------- 5 · Preguntas frecuentes ---------- */
.em-faqs { padding: 88px 0; border-bottom: 1px solid var(--em-borde); }
.em-faqs-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 40px 72px; align-items: start; }
.em-faqs header { position: sticky; top: calc(var(--banner-h) + 140px); }
.em-faqs h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 14px; }
.em-faqs header p { font-size: 0.95rem; }
.em-faqs header a { color: var(--teal-bright); font-weight: 700; }
.em-faqs-lista { display: grid; gap: 10px; }
.em-faqs details { border: 1px solid var(--em-borde); border-radius: 12px; background: var(--em-panel); transition: border-color 0.2s ease; }
.em-faqs details[open] { border-color: rgba(47, 214, 188, 0.4); background: rgba(0, 168, 148, 0.05); }
.em-faqs summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--text);
}
.em-faqs summary::-webkit-details-marker { display: none; }
.em-faqs summary::after { content: '+'; flex-shrink: 0; color: var(--teal-bright); font-size: 1.3rem; font-weight: 700; line-height: 1; }
.em-faqs details[open] summary::after { content: '–'; }
.em-faqs details p { padding: 0 22px 20px; font-size: 0.95rem; line-height: 1.7; max-width: 70ch; }

/* ---------- 6 · Cierre ---------- */
.em-cierre { padding: 72px 0 96px; }
.em-cierre-caja {
  position: relative; overflow: hidden; display: flex; align-items: center; min-height: 260px; padding: 40px 48px;
  border: 1px solid rgba(47, 214, 188, 0.35); border-radius: 18px; background: #0f1312;
}
.em-cierre-caja > img {
  position: absolute; top: 0; right: 0; width: 65%; height: 100%; object-fit: cover; opacity: 0.75;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%); mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.em-cierre-caja > div { position: relative; display: grid; gap: 22px; justify-items: start; }
.em-cierre h2 { font-size: clamp(2rem, 3.4vw, 3rem); }

@media (max-width: 1100px) { .em-pilares { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .em-quienes-in, .em-x-in, .em-faqs-in { grid-template-columns: minmax(0, 1fr); }
  .em-faqs header { position: static; }
  .em-heroe-foto { width: 100%; opacity: 0.45; -webkit-mask-image: none; mask-image: none; }
  .em-cierre-caja { padding: 32px 26px; }
}
@media (max-width: 520px) { .em-pilares { grid-template-columns: minmax(0, 1fr); } }
