/* PLÁSTICOS DE PUEBLA — V4 AZUL PETRÓLEO. Cambia los colores aquí. */
:root {
  --graphite:#102830;
  --dark:#073746;
  --orange:#F36B21;
  --warm:#F1F6F7;
  --text:#122A32;
  --muted:#586D75;
  --line:#DDE7E9;
  --white:#fff;
  --max:1260px
}

* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}
body {
  margin:0;
  color:var(--text);
  background:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:18px;
  line-height:1.55
}
button,input,select,textarea {
  font:inherit
}
a {
  color:inherit;
  text-decoration:none
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #f6a26c;
  outline-offset:3px
}
.container {
  width:min(var(--max),calc(100% - 64px));
  margin:auto
}
.skip {
  position:absolute;
  top:-100px;
  left:10px;
  background:#fff;
  color:#000;
  padding:10px;
  z-index:999
}
.skip:focus {
  top:10px
}
.official-strip {
  background:var(--orange);
  color:white;
  font-size:13px;
  display:flex;
  gap:9px;
  align-items:center;
  justify-content:center;
  min-height:33px;
  padding:5px 12px;
  text-align:center
}
.official-strip a {
  text-decoration:underline;
  margin-left:12px
}
.official-dot {
  font-size:11px
}
.site-header {
  background:#fff;
  position:sticky;
  top:0;
  z-index:60;
  border-bottom:1px solid #eee
}
.nav-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:83px
}
.brand img {
  width:205px;
  height:auto;
  display:block
}
.main-nav {
  display:flex;
  align-items:center;
  gap:23px
}
.main-nav a {
  font-size:14px;
  font-weight:700
}
.main-nav a:hover {
  color:var(--orange)
}
.btn {
  border:0;
  border-radius:9px;
  padding:15px 21px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:15px;
  font-weight:800;
  line-height:1.25;
  cursor:pointer;
  transition:transform .15s,filter .15s
}
.btn:hover {
  transform:translateY(-2px);
  filter:brightness(1.06)
}
.btn-primary {
  color:#fff;
  background:var(--orange)
}
.btn-ghost {
  color:#fff;
  background:#ffffff15;
  border:1px solid #ffffff75
}
.menu-button {
  display:none
}
.hero {
  position:relative;
  background:var(--dark);
  color:#fff;
  overflow:hidden
}
.hero-slides {
  position:relative;
  height:min(740px,calc(100svh - 135px));
  min-height:630px
}
.hero-slide {
  position:absolute;
  inset:0;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .7s ease,visibility .7s
}
.hero-slide.active {
  opacity:1;
  visibility:visible;
  pointer-events:auto
}
.hero-photo {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center
}
.hero-shade {
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#073746fc 0%,#073746f3 31%,#073746b7 48%,#07374615 76%)
}
.hero-inner {
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  align-items:center
}
.hero-copy {
  max-width:640px;
  padding:42px 0 80px
}
.eyebrow {
  letter-spacing:.17em;
  font-weight:900;
  font-size:16px;
  margin:0 0 18px;
  color:#FFB17A
}
.eyebrow.orange {
  color:var(--orange)
}
.hero h1,.hero h2 {
  font-size:clamp(44px,5vw,76px);
  line-height:1.045;
  letter-spacing:-.045em;
  margin:0 0 24px;
  max-width:720px;
  font-weight:900
}
.hero em,.custom-section em {
  color:#FF934E;
  font-style:normal
}
.hero-copy>p:not(.eyebrow) {
  font-size:clamp(18px,1.5vw,21px);
  line-height:1.6;
  max-width:560px;
  color:#E1E8EB
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:30px
}
.slider-controls {
  position:absolute;
  bottom:19px;
  left:50%;
  transform:translateX(-50%);
  z-index:3;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px
}
.slide-progress {
  font-size:19px;
  font-weight:800;
  white-space:nowrap
}
.slide-divider {
  opacity:.5
}
.slide-dots {
  display:flex;
  gap:10px;
  align-items:center
}
.slide-dots button {
  height:9px;
  width:24px;
  background:#ffffff65;
  border:0;
  border-radius:10px;
  cursor:pointer
}
.slide-dots button.active {
  background:var(--orange);
  width:43px
}
.slide-arrows {
  display:flex;
  gap:7px
}
.slide-arrows button {
  width:40px;
  height:40px;
  border-radius:8px;
  border:1px solid #ffffff70;
  background:#ffffff17;
  color:#fff;
  cursor:pointer;
  font-size:19px
}
.trustbar {
  background:var(--warm)
}
.trust-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr)
}
.trust-grid span {
  font-size:14px;
  padding:22px 15px;
  text-align:center;
  border-right:1px solid #d8dad8
}
.trust-grid span:last-child {
  border:0
}
.section {
  padding:94px 0
}
.section h2 {
  font-size:clamp(34px,3.55vw,55px);
  line-height:1.13;
  letter-spacing:-.035em;
  margin:0 0 24px
}
.section h2 span {
  color:var(--orange)
}
.section-head {
  display:flex;
  justify-content:space-between;
  gap:38px;
  align-items:end;
  margin-bottom:32px
}
.section-head>*:first-child {
  flex:1.3
}
.section-head>p {
  flex:.75;
  max-width:360px;
  color:var(--muted)
}
.solution-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:13px
}
.solution-grid a {
  display:flex;
  flex-direction:column;
  gap:18px;
  min-height:245px;
  padding:25px;
  background:var(--warm);
  border-radius:13px;
  border:1px solid #e7e2d9;
  transition:transform .2s
}
.solution-grid a:hover {
  transform:translateY(-4px)
}
.solution-grid strong {
  font-size:23px;
  line-height:1.2
}
.solution-grid span {
  font-size:16px;
  color:var(--muted);
  flex:1
}
.solution-grid b {
  font-size:14px;
  color:var(--orange)
}
.products-section {
  background:#F5F9FA
}
.product-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px
}
.product-card {
  border:1px solid #e3e5e3;
  background:white;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 7px 28px #172a3008
}
.product-card img {
  width:100%;
  height:220px;
  object-fit:cover;
  display:block
}
.product-card>div {
  padding:23px
}
.category {
  color:var(--orange);
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em
}
.product-card h3 {
  font-size:24px;
  line-height:1.18;
  letter-spacing:-.025em;
  margin:12px 0
}
.product-card p {
  font-size:16px;
  color:var(--muted);
  margin:0 0 22px
}
.product-card a {
  color:var(--orange);
  font-weight:900;
  font-size:15px
}
.custom-section {
  background:var(--dark);
  color:white
}
.custom-grid {
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:65px;
  align-items:center
}
.custom-grid>div>p:not(.eyebrow) {
  color:#D8E0E3
}
.custom-grid img {
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:20px
}
.custom-grid ul {
  padding-left:22px;
  line-height:1.95;
  margin-bottom:30px
}
.small-note {
  font-size:14px!important;
  color:#839096!important
}
.custom-section .small-note {
  color:#bac4c7!important
}
.why {
  background:white
}
.why-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px
}
.why-grid>div {
  border-top:3px solid var(--orange);
  padding-top:20px
}
.why-grid strong {
  font-size:22px;
  color:var(--orange)
}
.why-grid h3 {
  font-size:25px;
  line-height:1.2
}
.why-grid p {
  color:var(--muted)
}
.quote {
  background:#F1F6F7
}
.quote-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:85px
}
.quote-grid>div>p {
  color:var(--muted)
}
.quote-form {
  background:#fff;
  padding:32px;
  border-radius:17px;
  display:grid;
  gap:10px;
  box-shadow:0 10px 38px #29333b0c
}
.quote-form label {
  font-size:14px;
  font-weight:800
}
.quote-form input,.quote-form select,.quote-form textarea {
  width:100%;
  padding:13px 15px;
  border:1px solid #ccd2d2;
  border-radius:8px;
  background:#fff;
  color:var(--text);
  margin-bottom:8px;
  font-size:16px
}
.quote-form button {
  justify-self:start
}
.form-result {
  font-size:14px;
  color:var(--muted);
  margin:0
}
.official-section {
  background:white
}
.official-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:65px;
  align-items:center
}
.official-section p {
  color:var(--muted)
}
.official-panel {
  background:#F1F6F7;
  border:1px solid #E1E4E2;
  border-left:5px solid var(--orange);
  padding:27px;
  border-radius:12px
}
.official-panel strong {
  font-size:26px
}
.official-panel p {
  font-size:15px;
  margin:12px 0
}
footer {
  background:#052833;
  color:white;
  padding:50px 0 16px
}
footer a {
  color:#ffaa7f;
  text-decoration:underline
}
.footer-row {
  display:flex;
  justify-content:space-between;
  gap:45px
}
.footer-row>div:first-child {
  max-width:420px
}
.footer-row img {
  width:215px;
  height:auto
}
.footer-row p {
  font-size:15px;
  color:#c5d0d3
}
.footbottom {
  border-top:1px solid #45535a;
  margin-top:30px;
  padding-top:15px;
  color:#c1c7ca;
  font-size:13px
}
.float-actions {
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:90
}
.float-trigger {
  background:var(--orange);
  color:white;
  border:0;
  border-radius:40px;
  padding:14px 20px;
  font-weight:800;
  box-shadow:0 9px 25px #0002;
  cursor:pointer
}
.notice-panel {
  position:absolute;
  bottom:63px;
  right:0;
  width:min(355px,calc(100vw - 30px));
  background:white;
  color:var(--text);
  border:1px solid #ddd;
  box-shadow:0 18px 60px #0003;
  border-radius:14px;
  padding:25px;
  font-size:15px
}
.notice-panel[hidden] {
  display:none
}
.notice-panel strong {
  font-size:21px
}
.notice-panel p {
  color:#5e676b
}
.notice-panel .btn {
  display:flex;
  margin:12px 0
}
.notice-close {
  position:absolute;
  right:13px;
  top:10px;
  background:none;
  border:0;
  font-size:27px;
  cursor:pointer
}
.notice-link {
  text-decoration:underline;
  color:var(--orange);
  font-weight:800
}

@media(max-width:1050px) {
  .main-nav {
  gap:12px
}
.main-nav a {
  font-size:12px
}
.nav-cta {
  font-size:12px;
  padding:12px
}
.hero h1,.hero h2 {
  font-size:clamp(43px,6vw,66px)
}
.solution-grid {
  grid-template-columns:repeat(2,1fr)
}
.product-grid {
  grid-template-columns:repeat(2,1fr)
}

}

@media(max-width:760px) {
  .container {
  width:min(100% - 32px,var(--max))
}
.strip-extra {
  display:none
}
.official-strip {
  font-size:11px;
  flex-wrap:wrap
}
.nav-row {
  min-height:72px;
  flex-wrap:wrap
}
.brand img {
  width:160px
}
.menu-button {
  display:block;
  margin-left:auto;
  border:1px solid #cbd0d0;
  border-radius:8px;
  background:#fff;
  padding:7px 12px;
  font-weight:700
}
.nav-cta {
  display:none
}
.main-nav {
  display:none;
  order:3;
  flex-basis:100%;
  flex-direction:column;
  align-items:stretch;
  gap:0;
  padding:8px 0 15px
}
.main-nav.open {
  display:flex
}
.main-nav a {
  padding:10px 0;
  font-size:15px;
  border-top:1px solid #eee
}
.hero-slides {
  min-height:640px;
  height:calc(100svh - 105px);
  max-height:780px
}
.hero-photo {
  object-position:64% center
}
.hero-shade {
  background:linear-gradient(90deg,#073746e8,#0737469b 75%),linear-gradient(0deg,#073746d9,transparent 45%)
}
.hero-inner {
  align-items:center
}
.hero-copy {
  padding-bottom:55px
}
.hero h1,.hero h2 {
  font-size:clamp(40px,9vw,56px)
}
.hero-copy>p:not(.eyebrow) {
  font-size:16px
}
.hero-actions .btn {
  font-size:13px;
  padding:12px 14px
}
.slider-controls {
  bottom:14px
}
.slide-progress {
  font-size:13px
}
.slide-dots {
  gap:5px
}
.slide-dots button {
  width:12px;
  height:7px
}
.slide-dots button.active {
  width:22px
}
.slide-arrows button {
  width:30px;
  height:30px;
  font-size:16px
}
.trust-grid {
  grid-template-columns:repeat(2,1fr)
}
.trust-grid span {
  font-size:12px;
  padding:13px
}
.section {
  padding:61px 0
}
.section-head {
  display:block
}
.section-head>p {
  max-width:none
}
.section h2 {
  font-size:clamp(32px,8vw,44px)
}
.solution-grid,.product-grid,.why-grid,.quote-grid,.official-grid,.custom-grid {
  grid-template-columns:1fr
}
.solution-grid a {
  min-height:200px
}
.product-card img {
  height:230px
}
.custom-grid {
  gap:30px
}
.custom-grid img {
  aspect-ratio:1.5/1
}
.quote-grid {
  gap:20px
}
.quote-form {
  padding:22px
}
.footer-row {
  display:block
}
.float-actions {
  right:12px;
  bottom:12px
}
.float-trigger {
  font-size:13px;
  padding:12px
}
.notice-panel {
  bottom:55px
}

}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}
*,*::before,*::after {
  transition:none!important;
  animation:none!important
}

}


/* ===== V4: Ajustes de marca, jerarquía visual y conversión ===== */
.site-header {border-bottom:1px solid #dbe8ea; box-shadow:0 3px 20px #0737460c}
.official-strip {background:#073746; color:#fff; border-bottom:2px solid #F36B21}
.official-strip a {color:#ffbb8b}
.hero {background:#073746}
.hero-shade {background:linear-gradient(90deg,#073746 0%,#073746f7 26%,#073746cc 44%,#07374640 68%,#07374610 100%)}
.hero h1,.hero h2 {font-size:clamp(50px,5.8vw,91px);line-height:1.045;letter-spacing:-.055em}
.hero-copy {max-width:760px}
.hero-copy>p:not(.eyebrow) {font-size:clamp(19px,1.6vw,23px);max-width:610px}
.btn-primary {box-shadow:0 8px 22px #f36b212e}
.btn-primary:hover {background:#d8540e}
.trustbar {background:#ebf3f5;border-bottom:1px solid #d8e5e9}
.solution-grid a {background:#edf5f7;border:1px solid #d9e8eb}
.solution-grid a:hover {border-color:#F36B21;box-shadow:0 16px 38px #07374612}
.product-card {border-color:#dae6e9;box-shadow:0 12px 42px #07374610}
.product-card img {height:255px}
.custom-section {background:linear-gradient(125deg,#073746,#102830)}
.quote {background:#eaf2f4}
.official-panel {background:#edf5f7;border-color:#d9e6e9;border-left-color:#F36B21}
footer {background:#052833}
.float-trigger {background:#F36B21}
@media(max-width:1050px){.hero h1,.hero h2{font-size:clamp(45px,6.8vw,74px)}}
@media(max-width:700px){.hero-shade{background:linear-gradient(90deg,#073746f5,#073746c9 65%),linear-gradient(0deg,#073746dc,transparent 45%)}.hero h1,.hero h2{font-size:clamp(40px,9vw,57px)}.hero-copy>p:not(.eyebrow){font-size:17px}.product-card img{height:215px}}

/* Privacidad y consentimiento: V4 */
.privacy-consent{display:flex;align-items:flex-start;gap:.6rem;font-size:.93rem;line-height:1.5;cursor:pointer;margin:12px 0;color:#193a45}.privacy-consent input{width:19px;height:19px;flex:0 0 auto;margin-top:.2rem;accent-color:#F36B21}.privacy-consent a,.footbottom a{color:#F36B21;text-decoration:underline;text-underline-offset:3px}.privacy-consent a:hover,.footbottom a:hover{text-decoration-thickness:2px}

/* V4.1 — WhatsApp oficial / privacidad / formulario demostrativo */
.privacy-consent{display:flex;align-items:flex-start;gap:.65rem;margin:13px 0;font-size:.91rem;line-height:1.5;color:#263a42;cursor:pointer}.privacy-consent input{width:18px;height:18px;margin-top:.25rem;flex-shrink:0;accent-color:#F36B21}.privacy-consent a,.footbottom a{color:#F36B21;text-decoration:underline;text-underline-offset:3px}.hp-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.wa-float{position:fixed;right:22px;bottom:91px;z-index:92}.wa-trigger{display:flex;align-items:center;gap:9px;background:#178A54;color:white;border:0;border-radius:50px;padding:13px 18px;box-shadow:0 8px 27px #0004;font-weight:800;font-size:14px;cursor:pointer}.wa-trigger:hover{background:#117345}.wa-trigger:focus-visible,.wa-close:focus-visible{outline:3px solid #F36B21;outline-offset:4px}.wa-panel{position:absolute;bottom:61px;right:0;width:min(355px,calc(100vw - 28px));padding:24px;background:#fff;color:#172e38;border-radius:15px;box-shadow:0 12px 45px #0003;border:1px solid #d9e1e4;font-size:15px}.wa-panel[hidden],.wa-link[hidden]{display:none}.wa-panel strong{font-size:20px}.wa-panel p{line-height:1.55;color:#52616a}.wa-close{position:absolute;right:10px;top:7px;background:none;border:0;font-size:27px;cursor:pointer}.wa-link{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:white;background:#178A54;font-weight:800;text-align:center}.wa-secondary{display:inline-block;margin-top:13px;color:#bf4e0b;font-weight:700}.wa-unconfigured{background:#fff4e9;border-left:3px solid #F36B21;padding:10px 12px}@media(max-width:700px){.wa-float{right:12px;bottom:77px}.wa-trigger{padding:12px 13px}.wa-trigger span{font-size:13px}}


/* ============================================================================
   V4.6 · IDENTIDAD CORPORATIVA EN EL ENCABEZADO
   ----------------------------------------------------------------------------
   PARA CAMBIAR EL TAMAÑO DEL LOGOTIPO:
   - Escritorio: editar --logo-header-ancho-escritorio
   - Tableta: editar --logo-header-ancho-tableta
   - Móvil: editar --logo-header-ancho-movil
   El logotipo SVG es vectorial: no pierde definición al ampliar.
   NO modificar ni estirar su relación de aspecto.
   ============================================================================ */
:root {
  --logo-header-ancho-escritorio: 292px;
  --logo-header-ancho-tableta: 244px;
  --logo-header-ancho-movil: 198px;
}
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #d8e4e7;
  box-shadow: 0 7px 24px rgba(7,55,70,.085);
}
.nav-row {
  min-height: 110px;
  gap: clamp(12px,1.7vw,22px);
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 6px 0;
  min-width: 0;
}
.brand img {
  width: var(--logo-header-ancho-escritorio);
  max-width: none;
  height: auto;
  display: block;
}
.main-nav { gap: clamp(10px,1.4vw,22px); }
.main-nav a { font-size: 13px; white-space: nowrap; }
.nav-cta { flex-shrink: 0; white-space: nowrap; padding: 13px 16px; }
/* Se libera espacio del menú antes de que pueda aplastar el logotipo. */
@media (max-width: 1190px) and (min-width: 761px) {
  .brand img { width: var(--logo-header-ancho-tableta); }
  .nav-row { min-height: 96px; flex-wrap: wrap; gap: 10px 16px; padding-top: 6px; padding-bottom: 6px; }
  .main-nav { order: 3; width: 100%; justify-content: center; gap: clamp(12px,2.5vw,26px); padding: 0 0 6px; }
  .nav-cta { margin-left: auto; }
}
@media (max-width: 760px) {
  .nav-row { min-height: 85px; gap: 12px; flex-wrap: wrap; }
  .brand img { width: min(var(--logo-header-ancho-movil), 56vw); }
  .menu-button { margin-left: auto; }
  .main-nav { order: 3; width: 100%; flex-basis: 100%; }
}
@media (max-width: 360px) {
  .brand img { width: 170px; }
}


/* ============================================================================
   V4.7 | HEADER COMPACTO, UNA SOLA FILA Y LOGO CON MAYOR CONTRASTE
   ----------------------------------------------------------------------------
   MANTENIMIENTO (VS CODE)
   1) Cambia los 3 tamaños en las variables siguientes.
   2) A partir de 1180px, el menú se muestra en una sola fila.
   3) A 1180px o menos, aparece un botón Menú; nunca se rompe en dos filas.
   4) El SVG puede escalarse, pero un trazado automático no siempre reproduce
      la calidad de un diseño vectorial reconstruido manualmente.
   ============================================================================ */
:root {
  --logo-header-ancho-escritorio: 254px;
  --logo-header-ancho-tableta: 220px;
  --logo-header-ancho-movil: 178px;
}
.nav-row {
  min-height: 91px;
  flex-wrap: nowrap;
  gap: clamp(9px, 1vw, 16px);
}
.brand { padding: 3px 0; }
.brand img {
  width: var(--logo-header-ancho-escritorio);
  /* Mejora óptica moderada, sin alterar la proporción del diseño. */
  filter: contrast(1.22) drop-shadow(0 0 .22px rgba(4,31,40,.6));
}
.main-nav {
  flex-wrap: nowrap;
  gap: clamp(9px, 1vw, 17px);
}
.main-nav a { white-space: nowrap; font-size: 16.5px; }
.nav-cta { padding: 12px 13px; font-size: 13px; white-space: nowrap; }
@media (min-width: 1181px) {
  .menu-button { display: none; }
  .main-nav { display: flex; }
}
@media (max-width: 1180px) {
  .nav-row { min-height: 78px; flex-wrap: wrap; gap: 0 12px; }
  .brand img { width: var(--logo-header-ancho-tableta); }
  .menu-button {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: auto; border: 1px solid #cbd0d0;
    border-radius: 8px; background: #fff; padding: 9px 12px;
    font-weight: 700; color: #102830; cursor: pointer;
  }
  .main-nav {
    display: none; order: 3; flex-basis: 100%; width: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 7px 0 14px; background: #fff;
  }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 14px; padding: 11px 7px; border-top: 1px solid #e6edef; }
  .nav-cta { display: none; }
}
@media (max-width: 760px) {
  .nav-row { min-height: 73px; gap: 0 10px; }
  .brand img { width: min(var(--logo-header-ancho-movil), 53vw); }
  .menu-button { margin-left: auto; }
}
@media (max-width: 360px) {
  .brand img { width: min(166px, 50vw); }
}
