/* ================================================================
   TECHNOREST V56 — ANCHO ADAPTABLE A LA PANTALLA
   Hoja independiente sobre V55: sin cambiar contenidos, fichas o JS.
   Grandes pantallas: fotos, tarjetas y secciones a todo el ancho.
   Tablet/movil: mantiene columnas fluidas y espacios de respiracion.
   ================================================================ */
body.technorest-fullwidth {
  --page-gutter: clamp(18px, 2.25vw, 70px);
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}
body.technorest-fullwidth main,
body.technorest-fullwidth footer,
body.technorest-fullwidth .site-header {
  width: 100%;
  min-width: 0;
  max-width: none;
}

/* Unificar las zonas de contenido; no fijarlas a 1180/1200/1320px. */
body.technorest-fullwidth .wrap {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: var(--page-gutter) !important;
}
body.technorest-fullwidth .site-header .header-inner,
body.technorest-fullwidth .header-inner {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: var(--page-gutter) !important;
}

/* Portada: parrillas, beneficios, proceso, valores y pie. */
body.technorest-fullwidth .v-showcase,
body.technorest-fullwidth .v-journey,
body.technorest-fullwidth .v-sector-upgrade {
  width: 100%;
  max-width: none;
  padding-inline: var(--page-gutter) !important;
}
body.technorest-fullwidth .v-showcase-grid,
body.technorest-fullwidth .v-showcase-footer,
body.technorest-fullwidth .v-journey-head,
body.technorest-fullwidth .v-journey-track,
body.technorest-fullwidth .v-journey-bottom,
body.technorest-fullwidth .v-sector-feature-grid {
  width: 100%;
  max-width: none !important;
  margin-left: 0;
  margin-right: 0;
}
body.technorest-fullwidth .v-showcase-grid,
body.technorest-fullwidth .v-sector-feature-grid,
body.technorest-fullwidth .v-journey-track,
body.technorest-fullwidth .v-benefits,
body.technorest-fullwidth .v-process,
body.technorest-fullwidth .v-sector-grid {
  min-width: 0;
}
body.technorest-fullwidth .v-showcard,
body.technorest-fullwidth .v-sector-feature,
body.technorest-fullwidth .fp-space-card,
body.technorest-fullwidth .am29-card {
  min-width: 0;
}

/* Páginas interiores (barcos, prisiones, militar, termosellados,
   grandes suministros y proyectos). La cabecera conserva su foto. */
body.technorest-fullwidth .fp-section,
body.technorest-fullwidth .fp-intro,
body.technorest-fullwidth .fp-values,
body.technorest-fullwidth .fp-related,
body.technorest-fullwidth .fp-faq,
body.technorest-fullwidth .dc-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
}
body.technorest-fullwidth .fp-space-grid,
body.technorest-fullwidth .fp-related-grid {
  width: 100%;
  max-width: none !important;
  min-width: 0;
  margin-inline: 0 !important;
  gap: clamp(14px, 1.35vw, 28px);
}
body.technorest-fullwidth .fp-hero,
body.technorest-fullwidth .fp-page .unified-cover {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-left: clamp(24px, 5vw, 110px);
  padding-right: clamp(24px, 5vw, 110px);
  background-size: cover;
}
body.technorest-fullwidth .fp-space-photo {
  height: clamp(150px, 9.6vw, 225px);
}
body.technorest-fullwidth .fp-space-photo img,
body.technorest-fullwidth .fp-related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fabricación a medida: todas las aplicaciones aprovechan el ancho. */
body.technorest-fullwidth .am29-applications,
body.technorest-fullwidth .am-intro,
body.technorest-fullwidth .am-cards,
body.technorest-fullwidth .am-steps,
body.technorest-fullwidth .am-sectors,
body.technorest-fullwidth .am-closing {
  box-sizing: border-box;
  width: 100%;
  max-width: none !important;
  padding-left: var(--page-gutter) !important;
  padding-right: var(--page-gutter) !important;
}
body.technorest-fullwidth .am29-grid,
body.technorest-fullwidth .am-card-grid,
body.technorest-fullwidth .am-sector-grid,
body.technorest-fullwidth .am-step-grid {
  max-width: none !important;
  width: 100%;
  min-width: 0;
  margin-inline: 0 !important;
}

/* Contacto: formulario y datos distribuidos sin caja estrecha central. */
body.technorest-fullwidth .contact-layout { 
  width: 100%;
  max-width: none !important;
  min-width: 0;
  gap: clamp(24px, 4vw, 88px);
}
body.technorest-fullwidth .contact-layout > * { min-width: 0; }

/* Fichas de producto: 22 paginas que antes paraban a 1180px. */
body.technorest-fullwidth .main,
body.technorest-fullwidth .hero > .wrap,
body.technorest-fullwidth .product-intro,
body.technorest-fullwidth .tn-models {
  max-width: none !important;
}
body.technorest-fullwidth .tn-models .tn-cards,
body.technorest-fullwidth .tn-heading {
  width: 100% !important;
  max-width: none !important;
}
body.technorest-fullwidth .lead-grid,
body.technorest-fullwidth .four-grid,
body.technorest-fullwidth .detail,
body.technorest-fullwidth .panels {
  min-width: 0;
}
body.technorest-fullwidth .lead-grid > *,
body.technorest-fullwidth .four-grid > *,
body.technorest-fullwidth .detail > * { min-width: 0; }
body.technorest-fullwidth .four-visual img { max-width: 100%; }
body.technorest-fullwidth .compare,
body.technorest-fullwidth .featuretable { max-width: 100%; }

/* Ajustes para pantallas grandes sin volver a hacer las fotos muy altas. */
@media (min-width: 1800px) {
  body.technorest-fullwidth .fp-space-copy { padding: clamp(19px,1.3vw,26px); }
  body.technorest-fullwidth .fp-space-copy h3 { font-size: clamp(19px,1.2vw,25px); }
  body.technorest-fullwidth .fp-space-copy p { font-size: clamp(13px,.85vw,17px); }
  body.technorest-fullwidth .am29-grid { gap: clamp(16px,1.35vw,30px); }
}
@media (max-width: 1200px) {
  body.technorest-fullwidth { --page-gutter: clamp(18px,2.5vw,32px); }
  body.technorest-fullwidth .fp-space-photo { height: clamp(150px,14vw,190px); }
}
@media (max-width: 900px) {
  body.technorest-fullwidth .fp-space-grid,
  body.technorest-fullwidth .fp-related-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  body.technorest-fullwidth .fp-intro,
  body.technorest-fullwidth .contact-layout,
  body.technorest-fullwidth .lead-grid,
  body.technorest-fullwidth .four-grid { grid-template-columns: 1fr; }
  body.technorest-fullwidth .fp-space-photo { height: clamp(160px,25vw,225px); }
}
@media (max-width: 620px) {
  body.technorest-fullwidth { --page-gutter: 17px; }
  body.technorest-fullwidth .fp-space-grid,
  body.technorest-fullwidth .fp-related-grid,
  body.technorest-fullwidth .v-showcase-grid,
  body.technorest-fullwidth .v-sector-feature-grid,
  body.technorest-fullwidth .am29-grid,
  body.technorest-fullwidth .lead-grid,
  body.technorest-fullwidth .four-grid,
  body.technorest-fullwidth .panels { grid-template-columns: 1fr; }
  body.technorest-fullwidth .fp-space-photo { height: clamp(165px,48vw,240px); }
  body.technorest-fullwidth .fp-hero,
  body.technorest-fullwidth .fp-page .unified-cover { padding-left: 21px; padding-right: 21px; }
  body.technorest-fullwidth .form-row { grid-template-columns: 1fr; }
}
