/*
 * adteco-components.css  — v1.0.0
 * Estilos de los componentes visuales de las páginas comerciales de Adteco.
 * Cargado por bridge-child/functions.php en todas las páginas.
 *
 * Secciones:
 *   0. Variables de diseño (Design tokens)
 *   1. Reset / base scoped
 *   2. Contenedor universal
 *   3. Barra de marca (top bar)
 *   4. Hero — sección principal
 *   5. Barra de características (5 ítems)
 *   6. Sección "Ideal para" (fondo oscuro)
 *   7. Sección "Marcas que ofrecemos"
 *   8. Sección "¿Por qué rentar con Adteco?"
 *   9. Sección formulario de cotización (variante clara y oscura)
 *  10. Componentes de formulario
 *  11. Utilitarios
 *  12. Responsive — Tablet (≤ 1024 px)
 *  13. Responsive — Mobile (≤ 768 px)
 *  14. Responsive — Mobile XS (≤ 480 px)
 */

/* ════════════════════════════════════════════════════════
   0. VARIABLES DE DISEÑO
   ════════════════════════════════════════════════════════ */
:root {
  --adt-red:          #CC0000;
  --adt-red-dark:     #A80000;
  --adt-dark:         #1C2338;
  --adt-charcoal:     #2D3A4E;
  --adt-gray:         #55606D;
  --adt-gray-light:   #9BA3AF;
  --adt-bg:           #F7F8FA;
  --adt-border:       #E2E6EB;
  --adt-white:        #FFFFFF;
  --adt-wa:           #25D366;
  --adt-wa-dark:      #1DA851;
  --adt-radius:       8px;
  --adt-radius-lg:    16px;
  --adt-shadow:       0 2px 16px rgba(0, 0, 0, 0.07);
  --adt-shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.13);
  --adt-max-w:        1200px;
  --adt-transition:   all 0.25s ease;
  --adt-font:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ════════════════════════════════════════════════════════
   1. RESET / BASE (scope: .adteco-page)
   ════════════════════════════════════════════════════════ */
.adteco-page *,
.adteco-page *::before,
.adteco-page *::after {
  box-sizing: border-box;
}

.adteco-page {
  font-family: var(--adt-font);
  color: var(--adt-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.adteco-page section {
  display: block;
}

.adteco-page h1,
.adteco-page h2,
.adteco-page h3,
.adteco-page h4,
.adteco-page h5,
.adteco-page p {
  margin: 0;
}

.adteco-page a {
  text-decoration: none;
}

.adteco-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ════════════════════════════════════════════════════════
   2. CONTENEDOR UNIVERSAL
   ════════════════════════════════════════════════════════ */
.adteco-container {
  width: 100%;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ════════════════════════════════════════════════════════
   3. BARRA DE MARCA (TOP BAR)
   ════════════════════════════════════════════════════════ */
.adteco-topbar {
  background: var(--adt-white);
  border-bottom: 1px solid var(--adt-border);
  padding-block: 14px;
}

.adteco-topbar__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Logo */
.adteco-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  flex-shrink: 0;
}

.adteco-logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--adt-red);
  border-radius: 4px;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  font-family: var(--adt-font);
  line-height: 1;
  letter-spacing: -0.02em;
  user-select: none;
}

.adteco-logo__text {
  color: var(--adt-dark);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.adteco-topbar__divider {
  width: 1px;
  height: 32px;
  background: var(--adt-red);
  flex-shrink: 0;
}

.adteco-topbar__tagline {
  color: var(--adt-gray);
  font-size: 13px;
  line-height: 1.45;
}

/* ════════════════════════════════════════════════════════
   4. HERO — SECCIÓN PRINCIPAL
   ════════════════════════════════════════════════════════ */
.adteco-hero {
  position: relative;
  background: var(--adt-white);
  padding: 64px 32px 72px;
  overflow: hidden;
}

/* Triángulo decorativo rojo — esquina superior derecha */
.adteco-hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 140px 140px 0;
  border-color: transparent var(--adt-red) transparent transparent;
  opacity: 0.9;
  pointer-events: none;
}

/* Triángulo interior blanco para crear el efecto de esquina */
.adteco-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 100px 100px 0;
  border-color: transparent var(--adt-white) transparent transparent;
  pointer-events: none;
  z-index: 1;
}

.adteco-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Contenido textual */
.adteco-hero__content {
  max-width: 520px;
}

.adteco-hero__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  color: var(--adt-dark);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.adteco-hero__title em {
  font-style: normal;
  color: var(--adt-red);
}

.adteco-hero__description {
  font-size: 16px;
  color: var(--adt-gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}

/* ── Botón WhatsApp ── */
.adteco-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid var(--adt-wa);
  border-radius: 10px;
  color: var(--adt-dark);
  font-family: var(--adt-font);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: var(--adt-transition);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.adteco-btn-wa:hover,
.adteco-btn-wa:focus-visible {
  background: var(--adt-wa);
  color: var(--adt-white);
  border-color: var(--adt-wa);
  text-decoration: none;
  outline: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

.adteco-btn-wa__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: var(--adt-wa);
  transition: var(--adt-transition);
}

.adteco-btn-wa:hover .adteco-btn-wa__icon,
.adteco-btn-wa:focus-visible .adteco-btn-wa__icon {
  fill: var(--adt-white);
}

/* Imagen del hero */
.adteco-hero__image {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.adteco-hero__image img {
  width: 100%;
  max-width: 540px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--adt-radius);
  display: block;
}

/* Placeholder visual cuando aún no hay imagen real */
.adteco-img-placeholder {
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #e8ecf1 0%, #d2d9e3 100%);
  border-radius: var(--adt-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--adt-gray-light);
  font-size: 13px;
  text-align: center;
  padding: 24px;
  border: 2px dashed var(--adt-border);
}

.adteco-img-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.4;
}

/* ════════════════════════════════════════════════════════
   5. BARRA DE CARACTERÍSTICAS (5 ÍTEMS)
   ════════════════════════════════════════════════════════ */
.adteco-features {
  background: var(--adt-white);
  border-top: 1px solid var(--adt-border);
  border-bottom: 1px solid var(--adt-border);
  padding: 44px 32px;
}

.adteco-features__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: var(--adt-max-w);
  margin-inline: auto;
}

.adteco-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid var(--adt-border);
  gap: 14px;
}

.adteco-feature-item:last-child {
  border-right: none;
}

.adteco-feature-item__icon {
  font-size: 30px;
  color: var(--adt-red);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}

.adteco-feature-item__icon i {
  font-size: 30px;
  color: var(--adt-red);
}

.adteco-feature-item__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--adt-dark);
  line-height: 1.45;
}

/* ════════════════════════════════════════════════════════
   6. SECCIÓN "IDEAL PARA" (fondo oscuro)
   ════════════════════════════════════════════════════════ */
.adteco-ideal {
  background: var(--adt-charcoal);
  overflow: hidden;
}

.adteco-ideal__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}

/* Mitad imagen */
.adteco-ideal__photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  background: var(--adt-dark);
}

.adteco-ideal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adteco-ideal__photo .adteco-img-placeholder {
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: unset;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #1a2335 0%, #2d3a4e 100%);
  color: rgba(255,255,255,0.3);
}

/* Overlay de play (solo pantallas) */
.adteco-ideal__play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.28);
  transition: background 0.3s ease;
  cursor: pointer;
}

.adteco-ideal__play-overlay:hover {
  background: rgba(0, 0, 0, 0.42);
}

.adteco-ideal__play-btn {
  width: 68px;
  height: 68px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.adteco-ideal__play-overlay:hover .adteco-ideal__play-btn {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

.adteco-ideal__play-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--adt-red);
  margin-left: 4px; /* centra visualmente el triángulo */
}

/* Mitad contenido */
.adteco-ideal__content {
  padding: 56px 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.adteco-ideal__title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: var(--adt-white);
  margin-bottom: 20px !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1;
}

.adteco-ideal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.adteco-ideal__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--adt-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}

.adteco-ideal__check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--adt-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adteco-ideal__check svg {
  width: 14px;
  height: 14px;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ════════════════════════════════════════════════════════
   7. SECCIÓN "MARCAS QUE OFRECEMOS"
   ════════════════════════════════════════════════════════ */
.adteco-brands {
  background: var(--adt-white);
  padding: 60px 32px;
  text-align: center;
}

.adteco-brands__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--adt-dark);
  margin-bottom: 36px;
}

.adteco-brands__row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: var(--adt-max-w);
  margin-inline: auto;
}

.adteco-brand-item {
  flex: 1;
  min-width: 160px;
  padding: 16px 32px;
  border-right: 1px solid var(--adt-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.adteco-brand-item:last-child {
  border-right: none;
}

.adteco-brand-item__name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.adteco-brand-item:hover .adteco-brand-item__name {
  opacity: 0.75;
}

/* Colores de marca */
.adteco-brand--viewsonic  .adteco-brand-item__name { color: #004B87; }
.adteco-brand--benq       .adteco-brand-item__name { color: #4D2F8E; }
.adteco-brand--clevertouch .adteco-brand-item__name { color: #004B87; }
.adteco-brand--orbys      .adteco-brand-item__name { color: #1C2338; }

.adteco-brand-item__name sup {
  font-size: 0.55em;
  vertical-align: super;
}

/* ════════════════════════════════════════════════════════
   8. SECCIÓN "¿POR QUÉ RENTAR CON ADTECO?"
   ════════════════════════════════════════════════════════ */
.adteco-why {
  background: var(--adt-bg);
  padding: 72px 32px;
}

.adteco-why__title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--adt-dark);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.adteco-why__title em {
  font-style: normal;
  color: var(--adt-red);
}

.adteco-why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--adt-max-w);
  margin-inline: auto;
}

/* Tarjeta de beneficio */
.adteco-why-card {
  background: var(--adt-white);
  border-radius: var(--adt-radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--adt-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--adt-border);
}

.adteco-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--adt-shadow-hover);
  border-color: transparent;
}

.adteco-why-card__icon {
  font-size: 36px;
  color: var(--adt-red);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}

.adteco-why-card__icon i {
  font-size: 36px;
  color: var(--adt-red);
}

.adteco-why-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--adt-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.adteco-why-card__text {
  font-size: 13px;
  color: var(--adt-gray);
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════
   9. SECCIÓN FORMULARIO DE COTIZACIÓN
   ════════════════════════════════════════════════════════ */

/* ── Variante clara (Pantallas Interactivas) ── */
.adteco-cta-form {
  background: var(--adt-white);
  padding: 72px 32px;
}

.adteco-cta-form__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
  max-width: var(--adt-max-w);
  margin-inline: auto;
}

.adteco-cta-form__left {}

.adteco-cta-form__title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  color: var(--adt-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.adteco-cta-form__title em {
  font-style: normal;
  color: var(--adt-red);
  display: block;
}

.adteco-cta-form__divider {
  width: 48px;
  height: 4px;
  background: var(--adt-red);
  border-radius: 2px;
  margin-top: 14px;
  margin-bottom: 20px;
}

.adteco-cta-form__description {
  font-size: 15px;
  color: var(--adt-gray);
  line-height: 1.72;
}

/* ── Variante oscura (Portátiles / Impresoras) ── */
.adteco-cta-form--dark {
  background: var(--adt-bg);
  padding: 0;
  overflow: hidden;
}

.adteco-cta-form--dark .adteco-cta-form__inner {
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  align-items: stretch;
}

.adteco-cta-form--dark .adteco-cta-form__left {
  background: var(--adt-red);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Círculo decorativo en fondo rojo */
.adteco-cta-form--dark .adteco-cta-form__left::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.adteco-cta-form--dark .adteco-cta-form__left::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 160px;
  height: 160px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.adteco-cta-form--dark .adteco-cta-form__title {
  color: var(--adt-white);
}

.adteco-cta-form--dark .adteco-cta-form__title em {
  color: var(--adt-white);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.adteco-cta-form--dark .adteco-cta-form__divider {
  background: rgba(255, 255, 255, 0.5);
}

.adteco-cta-form--dark .adteco-cta-form__description {
  color: rgba(255, 255, 255, 0.85);
}

.adteco-cta-form--dark .adteco-cta-form__right {
  background: var(--adt-white);
  padding: 56px 56px 56px 48px;
}

/* ════════════════════════════════════════════════════════
   10. COMPONENTES DE FORMULARIO
   ════════════════════════════════════════════════════════ */
.adteco-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adteco-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Campo individual */
.adteco-form__field {
  position: relative;
  display: flex;
  align-items: center;
}

.adteco-field-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--adt-gray-light);
  font-size: 15px;
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.adteco-form__input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  border: 1.5px solid var(--adt-border);
  border-radius: var(--adt-radius);
  font-family: var(--adt-font);
  font-size: 14px;
  color: var(--adt-dark);
  background: var(--adt-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.adteco-form__input::placeholder {
  color: var(--adt-gray-light);
}

.adteco-form__input:focus {
  border-color: var(--adt-red);
  background: var(--adt-white);
  box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.09);
}

.adteco-form__input.is-error {
  border-color: var(--adt-red);
  background: #fff5f5;
}

/* Botón Enviar solicitud */
.adteco-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 32px;
  background: var(--adt-red);
  color: var(--adt-white);
  border: none;
  border-radius: var(--adt-radius);
  font-family: var(--adt-font);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--adt-transition);
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.adteco-btn-submit:hover,
.adteco-btn-submit:focus-visible {
  background: var(--adt-red-dark);
  box-shadow: 0 6px 20px rgba(204, 0, 0, 0.35);
  outline: none;
}

.adteco-btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.adteco-btn-submit__icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

/* Mensajes de respuesta */
.adteco-form__response {
  display: none;
  padding: 14px 18px;
  border-radius: var(--adt-radius);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.adteco-form__response.is-visible {
  display: block;
}

.adteco-form__response--success {
  background: #EDF7ED;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.adteco-form__response--error {
  background: #FEF0F0;
  color: #C62828;
  border: 1px solid #FFCDD2;
}

/* ════════════════════════════════════════════════════════
   11. UTILITARIOS
   ════════════════════════════════════════════════════════ */

/* Accesibilidad: ocultar visualmente pero mantener para lectores de pantalla */
.adteco-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/*
 * Eliminar padding-top del Bridge cuando no hay barra de título de página.
 * WordPress agrega "-php" al final del nombre del template en las clases del body.
 * Clase generada por WP: page-template-{nombre-de-archivo-sin-extensión}-php
 */
.page-template-template-pantallas-interactivas-php .full_width_inner,
.page-template-template-alquiler-portatiles-php .full_width_inner,
.page-template-template-alquiler-impresoras-php .full_width_inner {
  padding-top: 0 !important;
}

/* ════════════════════════════════════════════════════════
   12. RESPONSIVE — TABLET (≤ 1024 px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  .adteco-hero__inner {
    gap: 40px;
  }

  .adteco-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* El 4.º y 5.º item en la segunda fila no llevan border-right en la última posición */
  .adteco-features__grid .adteco-feature-item:nth-child(3) {
    border-right: none;
  }
  .adteco-features__grid .adteco-feature-item:nth-child(4),
  .adteco-features__grid .adteco-feature-item:nth-child(5) {
    border-top: 1px solid var(--adt-border);
  }
  .adteco-features__grid .adteco-feature-item:nth-child(6) {
    border-right: none;
  }

  .adteco-ideal__content {
    padding: 40px 36px;
  }

  .adteco-why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adteco-cta-form__inner {
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
  }

  .adteco-cta-form--dark .adteco-cta-form__left {
    padding: 48px 36px;
  }

  .adteco-cta-form--dark .adteco-cta-form__right {
    padding: 48px 40px;
  }
}

/* ════════════════════════════════════════════════════════
   13. RESPONSIVE — MOBILE (≤ 768 px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  .adteco-hero {
    padding: 48px 20px 56px;
  }

  .adteco-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Imagen arriba, texto abajo en mobile */
  .adteco-hero__image {
    order: -1;
    justify-content: center;
  }

  .adteco-hero__content {
    max-width: 100%;
  }

  .adteco-hero__description {
    max-width: 100%;
  }

  /* Features: 2 columnas en mobile */
  .adteco-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adteco-features__grid .adteco-feature-item {
    border-right: none;
    border-bottom: 1px solid var(--adt-border);
  }

  .adteco-features__grid .adteco-feature-item:nth-child(odd) {
    border-right: 1px solid var(--adt-border);
  }

  .adteco-features__grid .adteco-feature-item:nth-child(3),
  .adteco-features__grid .adteco-feature-item:nth-child(4) {
    border-top: none;
  }

  .adteco-features__grid .adteco-feature-item:last-child,
  .adteco-features__grid .adteco-feature-item:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
  }

  /* Ideal para: stack vertical */
  .adteco-ideal__inner {
    grid-template-columns: 1fr;
  }

  .adteco-ideal__photo {
    min-height: 260px;
  }

  .adteco-ideal__content {
    padding: 40px 24px;
  }

  /* Brands: stack vertical */
  .adteco-brands__row {
    flex-direction: column;
    gap: 0;
  }

  .adteco-brand-item {
    border-right: none;
    border-bottom: 1px solid var(--adt-border);
    min-width: auto;
    width: 100%;
    padding: 16px;
  }

  .adteco-brand-item:last-child {
    border-bottom: none;
  }

  /* Why: 1 columna en mobile */
  .adteco-why__grid {
    grid-template-columns: 1fr;
  }

  /* Form dark: stack vertical */
  .adteco-cta-form--dark .adteco-cta-form__inner {
    grid-template-columns: 1fr;
  }

  .adteco-cta-form--dark .adteco-cta-form__left {
    padding: 40px 24px;
  }

  .adteco-cta-form--dark .adteco-cta-form__right {
    padding: 40px 24px;
  }

  /* Form light */
  .adteco-cta-form {
    padding: 48px 20px;
  }

  .adteco-cta-form__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Form grid: 1 columna en mobile */
  .adteco-form__grid {
    grid-template-columns: 1fr;
  }

  /* TopBar */
  .adteco-topbar__tagline {
    display: none;
  }

  .adteco-topbar__divider {
    display: none;
  }
}

/* ════════════════════════════════════════════════════════
   14. RESPONSIVE — MOBILE XS (≤ 480 px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .adteco-hero::after,
  .adteco-hero::before {
    display: none; /* Ocultar triángulos decorativos en pantallas muy pequeñas */
  }

  .adteco-btn-wa {
    width: 100%;
    justify-content: center;
  }

  .adteco-features {
    padding: 32px 16px;
  }

  /* 1 feature por fila en XS */
  .adteco-features__grid {
    grid-template-columns: 1fr;
  }

  .adteco-features__grid .adteco-feature-item {
    border-right: none;
    border-bottom: 1px solid var(--adt-border);
    flex-direction: row;
    text-align: left;
    padding: 14px 16px;
  }

  .adteco-features__grid .adteco-feature-item:last-child {
    border-bottom: none;
  }

  .adteco-features__grid .adteco-feature-item:nth-child(odd) {
    border-right: none;
  }

  .adteco-ideal__content {
    padding: 32px 20px;
  }

  .adteco-ideal__title {
    font-size: 26px;
  }

  .adteco-why__title {
    font-size: 22px;
  }

  .adteco-cta-form__title {
    font-size: 26px;
  }

  .adteco-container {
    padding-inline: 20px;
  }
}

/* ════════════════════════════════════════════════════════
   15. INTEGRACIÓN CON BRIDGE — SUPRIMIR HEADER EN PÁGINAS ADTECO
   ════════════════════════════════════════════════════════
   Bridge genera el header dentro de header.page_header.
   En estas páginas comerciales lo ocultamos y mostramos solo
   el adteco-topbar definido directamente en cada plantilla.
   ════════════════════════════════════════════════════════ */

/* Ocultar el header de Bridge (navegación del sitio) */
.page-template-template-pantallas-interactivas-php header.page_header,
.page-template-template-alquiler-portatiles-php     header.page_header,
.page-template-template-alquiler-impresoras-php     header.page_header {
  display: none !important;
}

/* Eliminar el margen superior que Bridge calcula para compensar el header sticky */
.page-template-template-pantallas-interactivas-php .content,
.page-template-template-alquiler-portatiles-php     .content,
.page-template-template-alquiler-impresoras-php     .content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ocultar la barra de título de Bridge (title.php / .title_holder) */
.page-template-template-pantallas-interactivas-php .title_holder,
.page-template-template-alquiler-portatiles-php     .title_holder,
.page-template-template-alquiler-impresoras-php     .title_holder {
  display: none !important;
}

/* Ajustar el wrapper de Bridge para que no agregue espacio extra */
.page-template-template-pantallas-interactivas-php .wrapper_inner,
.page-template-template-alquiler-portatiles-php     .wrapper_inner,
.page-template-template-alquiler-impresoras-php     .wrapper_inner {
  padding-top: 0 !important;
}

/* ════════════════════════════════════════════════════════
   16. OVERRIDES DE BRIDGE — ESTILOS GLOBALES DEL TEMA PADRE
   ════════════════════════════════════════════════════════
   Bridge / Qode aplica text-transform, letter-spacing y colores
   con alta especificidad en h1-h5 y en párrafos. Estas reglas
   los neutralizan exclusivamente dentro del scope .adteco-page.
   ════════════════════════════════════════════════════════ */

/* 1. Suprimir text-transform uppercase y letter-spacing de Bridge en headings */
.adteco-page h1,
.adteco-page h2,
.adteco-page h3,
.adteco-page h4,
.adteco-page h5 {
  text-transform: none !important;
  letter-spacing: -0.02em;
}

/* 2. Neutralizar color de texto global de Bridge en párrafos y spans */
.adteco-page p,
.adteco-page span {
  color: inherit;
}

/* 3. Forzar colores en elementos que Bridge sobreescribe con su color de acento */
.adteco-hero__description,
.adteco-topbar__tagline,
.adteco-why-card__text          { color: var(--adt-gray) !important; }

.adteco-feature-item__label,
.adteco-features__grid .adteco-feature-item span,
.adteco-features__grid span     { color: var(--adt-dark) !important; }

.adteco-cta-form__description   { color: var(--adt-gray) !important; }

/* En variante oscura del formulario los textos deben ser blancos */
.adteco-cta-form--dark .adteco-cta-form__title       { color: var(--adt-white) !important; }
.adteco-cta-form--dark .adteco-cta-form__description { color: rgba(255,255,255,0.85) !important; }

/* 4. Ajustar letter-spacing específico por componente */
.adteco-hero__title,
.adteco-ideal__title    { letter-spacing: -0.025em; }

.adteco-brands__title,
.adteco-why__title,
.adteco-cta-form__title { letter-spacing: -0.02em; }

/* ════════════════════════════════════════════════════════
   17. HERO — VARIANTE IMAGEN DE FONDO (--fullbg)
   ════════════════════════════════════════════════════════
   La imagen ocupa todo el ancho y alto del hero.
   El texto flota sobre la izquierda con un overlay degradado.
   ════════════════════════════════════════════════════════ */

.adteco-hero--fullbg {
  padding: 0;
  min-height: 520px;
  max-height: 650px;
  display: flex;
  align-items: stretch;
}

/* Suprimir triángulos decorativos — chocan con la imagen de fondo */
.adteco-hero--fullbg::before,
.adteco-hero--fullbg::after {
  display: none;
}

/* Imagen de fondo: cubre todo el hero */
.adteco-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.adteco-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  border-radius: 0;
  max-width: none;
}

/* Overlay: degradado de blanco sólido a transparente de izquierda a derecha */
.adteco-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1.00)  0%,
    rgba(255, 255, 255, 0.95) 30%,
    rgba(255, 255, 255, 0.70) 55%,
    rgba(255, 255, 255, 0.00) 85%
  );
}

/* Contenedor del texto: posicionado sobre el overlay */
.adteco-hero--fullbg .adteco-hero__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  padding: 80px 32px;
  position: relative;
  z-index: 2;
  grid-template-columns: unset;
}

/* Contenido de texto: ocupa ~la mitad izquierda */
.adteco-hero--fullbg .adteco-hero__content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .adteco-hero--fullbg {
    min-height: 480px;
  }
  .adteco-hero--fullbg .adteco-hero__inner {
    padding: 64px 32px;
  }
  .adteco-hero__overlay {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,1.00)  0%,
      rgba(255,255,255,0.95) 40%,
      rgba(255,255,255,0.60) 65%,
      rgba(255,255,255,0.00) 90%
    );
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  .adteco-hero--fullbg {
    min-height: 400px;
  }
  .adteco-hero--fullbg .adteco-hero__inner {
    padding: 48px 20px;
    align-items: flex-start;
  }
  .adteco-hero--fullbg .adteco-hero__content {
    max-width: 100%;
  }
  .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.97)  0%,
      rgba(255,255,255,0.90) 50%,
      rgba(255,255,255,0.60) 75%,
      rgba(255,255,255,0.00) 100%
    );
  }
}

/* ════════════════════════════════════════════════════════
   18. HERO FULLBG — SIN RECORTE (override de sección 17)
   ════════════════════════════════════════════════════════
   CSS Grid apila imagen + overlay + texto en la misma celda.
   La imagen muestra su ratio natural completo sin object-fit cover.
   ════════════════════════════════════════════════════════ */

/* Hero: modo grid en lugar de flex, sin límites de altura */
.adteco-hero--fullbg {
  display: grid;
  min-height: unset;
  max-height: unset;
}

/* Imagen: ocupa celda 1/1, define altura por ratio natural */
.adteco-hero__bg {
  grid-area: 1 / 1;
  position: static;
  inset: unset;
  overflow: visible;
  z-index: 0;
}

.adteco-hero__bg img {
  width: 100%;
  height: auto;          /* ratio natural — sin recorte */
  object-fit: unset;
  object-position: unset;
  display: block;
  border-radius: 0;
  max-width: none;
}

/* Overlay: comparte celda 1/1, se estira para cubrir toda la imagen */
.adteco-hero__overlay {
  grid-area: 1 / 1;
  position: static;
  inset: unset;
  z-index: 1;
  align-self: stretch;
}

/* Texto: comparte celda 1/1, centrado verticalmente */
.adteco-hero--fullbg .adteco-hero__inner {
  grid-area: 1 / 1;
  position: static;
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(100%, var(--adt-max-w));
  padding: 60px 32px;
  z-index: 2;
  max-width: unset;
  margin-inline: unset;
  grid-template-columns: unset;
}

/* Mobile: overlay hacia abajo, texto en la parte superior */
@media (max-width: 768px) {
  .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.97)  0%,
      rgba(255,255,255,0.90) 55%,
      rgba(255,255,255,0.55) 78%,
      rgba(255,255,255,0.00) 100%
    );
  }
  .adteco-hero--fullbg .adteco-hero__inner {
    padding: 36px 20px;
    align-items: flex-start;
  }
  .adteco-hero--fullbg .adteco-hero__content {
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════════════════
   19. REVERTIR — Restaura comportamiento de sección 17
   ════════════════════════════════════════════════════════ */

.adteco-hero--fullbg {
  display: flex;
  align-items: stretch;
  min-height: 520px;
  max-height: 650px;
}

.adteco-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.adteco-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  display: block;
  border-radius: 0;
  max-width: none;
}

.adteco-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.adteco-hero--fullbg .adteco-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-self: unset;
  width: 100%;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  padding: 60px 32px;
  grid-template-columns: unset;
}

/* ════════════════════════════════════════════════════════
   20. IDEAL PARA — VARIANTE IMAGEN DE FONDO (--fullbg)
   ════════════════════════════════════════════════════════
   La imagen ocupa todo el ancho de la sección.
   Overlay oscuro de izquierda (transparente) a derecha (sólido).
   El texto queda posicionado a la derecha sobre el overlay.
   ════════════════════════════════════════════════════════ */

.adteco-ideal--fullbg {
  position: relative;
  overflow: hidden;
  min-height: 440px;
}

/* Imagen de fondo: cubre toda la sección */
.adteco-ideal__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.adteco-ideal__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  display: block;
}

/* Overlay: izquierda visible → derecha oscura para el texto */
.adteco-ideal--fullbg .adteco-ideal__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(28, 35, 56, 0.10)  0%,
    rgba(28, 35, 56, 0.50) 42%,
    rgba(28, 35, 56, 0.88) 65%,
    rgba(28, 35, 56, 0.97) 100%
  );
}

/* Inner: flex con el texto empujado a la derecha */
.adteco-ideal--fullbg .adteco-ideal__inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 440px;
  max-width: var(--adt-max-w);
  margin-inline: auto;
  padding: 56px 32px;
  grid-template-columns: unset;
}

/* Contenido: ocupa la mitad derecha */
.adteco-ideal--fullbg .adteco-ideal__content {
  max-width: 480px;
  padding: 0;
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .adteco-ideal--fullbg .adteco-ideal__overlay {
    background: linear-gradient(
      90deg,
      rgba(28,35,56,0.20)  0%,
      rgba(28,35,56,0.60) 40%,
      rgba(28,35,56,0.92) 65%,
      rgba(28,35,56,0.97) 100%
    );
  }
  .adteco-ideal--fullbg .adteco-ideal__content {
    max-width: 420px;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  .adteco-ideal--fullbg .adteco-ideal__inner {
    justify-content: flex-start;
    padding: 40px 24px;
  }
  .adteco-ideal--fullbg .adteco-ideal__overlay {
    background: rgba(28, 35, 56, 0.80);
  }
  .adteco-ideal--fullbg .adteco-ideal__content {
    max-width: 100%;
  }
}

/* ════════════════════════════════════════════════════════
   21. LOGO IMAGEN EN TOPBAR
   ════════════════════════════════════════════════════════ */

.adteco-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.adteco-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .adteco-logo-img {
    height: 36px;
  }
}

/* ════════════════════════════════════════════════════════
   22. LOGOS DE MARCA EN IMAGEN
   ════════════════════════════════════════════════════════ */

.adteco-brand-item__logo {
  width: 150px;
  height: 44px;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.adteco-brand-item:hover .adteco-brand-item__logo {
  opacity: 1;
}

/* ════════════════════════════════════════════════════════
   23. IMÁGENES MOBILE — AJUSTE DE ENCUADRE (≤ 768 px)
   ════════════════════════════════════════════════════════
   Las imágenes mobile son 1080×1920 (retrato 9:16).
   object-position: top center muestra la zona principal
   (pantalla/presentador) y no el degradado inferior.
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Hero mobile: encuadre desde arriba para mostrar la pantalla */
  .adteco-hero__bg img {
    object-position: top center;
  }

  /* Overlay hero mobile: degradado de abajo hacia arriba
     (la imagen ya tiene el fade blanco en la zona inferior) */
  .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.00)  0%,
      rgba(255,255,255,0.75) 60%,
      rgba(255,255,255,0.97) 80%,
      rgba(255,255,255,1.00) 100%
    );
  }

  /* Texto hero mobile: posicionado en la zona blanca inferior */
  .adteco-hero--fullbg .adteco-hero__inner {
    align-items: flex-end;
    padding: 0 20px 48px;
    min-height: 480px;
  }

  /* Ideal para mobile: encuadre desde arriba para el presentador */
  .adteco-ideal__bg img {
    object-position: top center;
  }
}

/* BenQ: reducir ligeramente por su mayor peso visual */
.adteco-brand--benq .adteco-brand-item__logo {
  height: 32px;
  width: 120px;
}

/* Botón WhatsApp en hero: tamaño fijo, no se estira en flex */
.adteco-hero--fullbg .adteco-hero__content .adteco-btn-wa {
  width: fit-content;
  align-self: flex-start;
}

/* ════════════════════════════════════════════════════════
   24. IDEAL PARA MOBILE — TEXTO EN ZONA OSCURA INFERIOR
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Sección más alta para mostrar el degradado oscuro inferior */
  .adteco-ideal--fullbg {
    min-height: 520px;
  }

  /* Texto empujado a la parte inferior (sobre el degradado oscuro) */
  .adteco-ideal--fullbg .adteco-ideal__inner {
    justify-content: flex-start;
    align-items: flex-end;
    min-height: 520px;
    padding: 0 24px 40px;
  }

  /* Overlay: transparente arriba, oscuro abajo — acompaña el fade de la imagen */
  .adteco-ideal--fullbg .adteco-ideal__overlay {
    background: linear-gradient(
      180deg,
      rgba(28, 35, 56, 0.00)  0%,
      rgba(28, 35, 56, 0.30) 45%,
      rgba(28, 35, 56, 0.80) 68%,
      rgba(28, 35, 56, 0.95) 100%
    );
  }

  /* Sin margin-bottom en el título en mobile */
  .adteco-ideal--fullbg .adteco-ideal__title {
    margin-bottom: 0 !important;
  }

  /* Lista sin espacio adicional arriba */
  .adteco-ideal--fullbg .adteco-ideal__list {
    gap: 12px;
  }
}

/* ════════════════════════════════════════════════════════
   25. HERO MOBILE — USAR ESPACIO BLANCO INFERIOR DE LA IMAGEN
   ════════════════════════════════════════════════════════
   La imagen mobile (1080×1920) tiene contenido en la mitad
   superior y espacio blanco en la inferior.
   aspect-ratio: 9/16 muestra la imagen completa para aprovechar
   ese espacio blanco como zona natural del texto.
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Hero: alto proporcional a la imagen (9:16) */
  .adteco-hero--fullbg {
    aspect-ratio: 1080 / 1920;
    min-height: unset;
    max-height: unset;
  }

  /* Imagen sin recorte en mobile — se ve completa */
  .adteco-hero__bg img {
    object-fit: cover;
    object-position: top center;
  }

  /* Overlay mínimo — la imagen ya tiene el fade blanco */
  .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.00)  0%,
      rgba(255,255,255,0.00) 48%,
      rgba(255,255,255,0.85) 70%,
      rgba(255,255,255,1.00) 85%
    );
  }

  /* Texto en la zona blanca inferior */
  .adteco-hero--fullbg .adteco-hero__inner {
    align-items: flex-end;
    padding: 0 24px 48px;
    min-height: unset;
  }

  /* Título y descripción en oscuro (fondo blanco) */
  .adteco-hero--fullbg .adteco-hero__title,
  .adteco-hero--fullbg .adteco-hero__description {
    color: var(--adt-dark);
  }
}

/* ════════════════════════════════════════════════════════
   26. HERO MOBILE — ANCLAR TEXTO AL FONDO
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Inner anclado al fondo del hero con position absolute */
  .adteco-hero--fullbg .adteco-hero__inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: unset;
    padding: 0 24px 48px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

/* ════════════════════════════════════════════════════════
   27. HERO MOBILE — CORRECCIÓN VIEWPORTS INTERMEDIOS
   ════════════════════════════════════════════════════════
   aspect-ratio en viewports anchos (ej. 745px) genera un hero
   de >1200px de alto — el texto desaparece bajo el fold.
   max-height: 85vh lo contiene dentro del viewport siempre.
   Para viewports >480px se usa la imagen horizontal de desktop.
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .adteco-hero--fullbg {
    aspect-ratio: unset;
    min-height: 460px;
    max-height: 85vh;
  }

  .adteco-hero__bg img {
    object-fit: cover;
    object-position: top center;
  }
}

/* Solo en móvil pequeño (≤ 480px) activar aspect-ratio para aprovechar
   todo el espacio de la imagen portrait */
@media (max-width: 480px) {
  .adteco-hero--fullbg {
    aspect-ratio: 1080 / 1920;
    min-height: unset;
    max-height: 92vh;
  }
}

/* ════════════════════════════════════════════════════════
   28. HERO MOBILE/TABLET — ZONA BLANCA GARANTIZADA PARA TEXTO
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  .adteco-hero--fullbg {
    min-height: 560px;
    max-height: 88vh;
    aspect-ratio: unset;
  }

  /* Overlay: blanco sólido desde el 48% hacia abajo
     garantiza fondo limpio para el texto sin importar
     qué parte de la imagen quede visible */
  .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.00)  0%,
      rgba(255,255,255,0.00) 38%,
      rgba(255,255,255,0.80) 48%,
      rgba(255,255,255,1.00) 58%
    );
  }

  /* Texto en la zona blanca inferior */
  .adteco-hero--fullbg .adteco-hero__inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 24px 36px;
  }
}

@media (max-width: 480px) {
  .adteco-hero--fullbg {
    min-height: 520px;
    max-height: 90vh;
  }
}

/* ════════════════════════════════════════════════════════
   29. CONSOLIDACIÓN MOBILE — UN SOLO BREAKPOINT 768px
   ════════════════════════════════════════════════════════
   Elimina sub-breakpoints de 480px. Todo desde 768px.
   ════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Hero: altura fija controlada, sin aspect-ratio */
  .adteco-hero--fullbg {
    aspect-ratio: unset !important;
    min-height: 560px;
    max-height: 88vh;
  }

  /* Imagen: encuadre desde arriba */
  .adteco-hero__bg img {
    object-fit: cover;
    object-position: top center;
  }

  /* Overlay: blanco sólido en zona inferior para el texto */
  .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.00)  0%,
      rgba(255,255,255,0.00) 38%,
      rgba(255,255,255,0.85) 50%,
      rgba(255,255,255,1.00) 60%
    );
  }

  /* Texto anclado al fondo en zona blanca */
  .adteco-hero--fullbg .adteco-hero__inner {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin-inline: unset;
    padding: 0 24px 36px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .adteco-hero--fullbg .adteco-hero__content {
    max-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════
   30. HERO MOBILE — IMAGEN COMPLETA, TEXTO ARRIBA (3 páginas)
   ══════════════════════════════════════════════════════
   CSS Grid para las 3 páginas: imagen portrait en su
   altura natural completa, texto anclado arriba,
   recorte de 80px del tope (ajustar en px).
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  .adteco-hero--fullbg {
    display: grid !important;
    min-height: unset !important;
    max-height: unset !important;
    aspect-ratio: unset !important;
  }

  .adteco-hero__bg picture {
    display: block;
    line-height: 0;
    width: 100%;
  }

  .adteco-hero__bg {
    grid-area: 1 / 1;
    position: static !important;
    inset: unset !important;
    overflow: hidden;
    z-index: 0;
  }

  /* Imagen: ancho completo, alto natural + recorte del tope */
  .adteco-hero__bg img {
    width: 100% !important;
    height: auto !important;
    object-fit: unset !important;
    object-position: unset !important;
    display: block;
    margin-top: -80px !important; /* recorte del tope — ajustar en px */
  }

  .adteco-hero__overlay {
    grid-area: 1 / 1;
    position: static !important;
    inset: unset !important;
    align-self: stretch;
    justify-self: stretch;
    z-index: 1;
  }

  .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,1.00)  0%,
      rgba(255,255,255,0.95) 22%,
      rgba(255,255,255,0.55) 42%,
      rgba(255,255,255,0.00) 60%
    ) !important;
  }

  /* Texto: comparte celda, anclado arriba */
  .adteco-hero--fullbg .adteco-hero__inner {
    grid-area: 1 / 1;
    position: static !important;
    top: unset !important;
    bottom: unset !important;
    left: unset !important;
    right: unset !important;
    align-self: start;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: flex-start;
    width: 100% !important;
    max-width: unset !important;
    margin-inline: unset !important;
    padding: 32px 24px 0 !important;
    z-index: 2;
  }

  .adteco-hero--fullbg .adteco-hero__content {
    max-width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════════
   31. HERO MOBILE — RECORTE ESPECÍFICO POR PÁGINA
   ══════════════════════════════════════════════════════
   Cada imagen mobile tiene el contenido principal en
   distinta posición vertical. Se ajusta por separado.
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Impresoras: la impresora está en la mitad inferior —
     mayor recorte para subirla al área visible */
  .adteco-page--impresoras .adteco-hero__bg img {
    margin-top: -300px !important;
  }
}

/* ══════════════════════════════════════════════════════
   32. PANTALLAS INTERACTIVAS MOBILE — TEXTO ABAJO
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Texto anclado en la parte inferior de la imagen */
  .adteco-page--pantallas .adteco-hero--fullbg .adteco-hero__inner {
    align-self: end !important;
    padding: 0 24px 40px !important;
  }

  /* Overlay: transparente arriba, blanco sólido abajo (zona del texto) */
  .adteco-page--pantallas .adteco-hero--fullbg .adteco-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.00)  0%,
      rgba(255,255,255,0.00) 42%,
      rgba(255,255,255,0.85) 55%,
      rgba(255,255,255,1.00) 65%
    ) !important;
  }
}

/* ══════════════════════════════════════════════════════
   33. AJUSTE MARGIN-TOP IMAGEN HERO MOBILE POR PÁGINA
   ══════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* Pantallas: sin recorte del tope */
  .adteco-page--pantallas .adteco-hero__bg img {
    margin-top: 0 !important;
  }

  /* Impresoras: mismo recorte que portátiles (-80px) */
  .adteco-page--impresoras .adteco-hero__bg img {
    margin-top: -80px !important;
  }
}
