/* Verkom — página temporal "Compuestos de caucho a pedido".
   Medidas tomadas de la propuesta (diseño a 1440px de ancho). */

:root {
  --dark: #17181c;
  --dark-2: #1f2024;
  --dark-line: #2c2d31;
  --orange: #e8620b;
  --orange-hover: #cf5508;
  --cream: #f3f2ee;
  --white: #ffffff;
  --ink: #17181c;
  --text: #45464b;
  --muted: #6b6c70;
  --line: #e2e1dc;
  --on-dark: #c9cacd;
  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px;
  --gutter: 24px;
  --radius: 6px;
  --nav-h: 92px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.confirmar { white-space: nowrap; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 26px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--sm { height: 41px; padding: 0 20px; font-size: 14px; }
.btn--primary { background: var(--orange); color: #fff; }
.btn--primary:hover { background: var(--orange-hover); }
.btn--ghost { background: transparent; color: #fff; border-color: #55565b; }
.btn--ghost:hover { border-color: #fff; }

/* Navegación */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav__logo img { height: 54px; width: auto; }
.nav__links { display: flex; gap: 28px; }
.nav__links a,
.nav__mobile a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
}
.nav__links a:hover { color: var(--orange); }
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.nav__mobile {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px var(--gutter) 24px;
  background: var(--dark);
  border-top: 1px solid var(--dark-line);
}
.nav__mobile[hidden] { display: none; }

/* Hero */
.hero {
  background: var(--dark);
  color: var(--on-dark);
  padding: 74px 0 89px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 343px;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.985;
  letter-spacing: -0.015em;
  color: #fff;
}
.hero .eyebrow { margin-bottom: 18px; }
.hero__lead {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--on-dark);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: 3px;
}
.stat { padding: 30px 26px 30px; min-height: 183px; }
.stat + .stat { border-left: 1px solid var(--dark-line); }
.stat strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.05;
  color: var(--orange);
}
.stat + .stat strong { font-size: 22px; line-height: 1.12; margin-top: 6px; }
.stat span { display: block; max-width: 120px; font-size: 12px; line-height: 1.4; color: var(--on-dark); }

/* Secciones */
.section { padding: 104px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--orange { background: var(--orange); padding: 80px 0; }
#planta { padding-top: 96px; }
#contacto { padding: 100px 0 96px; }
.section + .section { border-top: 1px solid var(--line); }
.section--orange,
.section--orange + .section { border-top: 0; }
.section__lead { max-width: 720px; margin-top: 14px; font-size: 17px; color: var(--text); }

/* La empresa */
.split {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
}
.split h2 { max-width: 360px; }
.prose p { font-size: 16px; line-height: 1.78; color: var(--text); }
.prose p + p { margin-top: 18px; }
.prose__strong { font-weight: 600; color: var(--ink) !important; }

.plant-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  margin: 117px 0 26px;
}
.plant-head h3 {
  line-height: 1.15;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.01em;
}
.plant-head p { font-size: 15px; color: var(--muted); text-align: right; }

.plant-gallery {
  display: grid;
  grid-template-columns: minmax(0, 927fr) minmax(0, 300fr);
  grid-template-rows: 1fr 1fr;
  gap: 13px;
  height: 520px;
}
.plant-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}
.plant-gallery__main { grid-row: 1 / span 2; }

.pallets { margin: 40px 0 0; }
.pallets__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.pallets__grid img {
  width: 100%;
  aspect-ratio: 613 / 439;
  object-fit: cover;
  border-radius: var(--radius);
}
.pallets figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Proceso */
.steps {
  list-style: none;
  margin: 45px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}
.steps li { border-top: 2px solid var(--orange); padding-top: 18px; }
.steps__num {
  display: block;
  margin-bottom: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
}
.steps h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}
.steps p { font-size: 15px; line-height: 1.65; color: var(--text); }

/* Planta de mezclado */
.capacity {
  display: grid;
  grid-template-columns: 499px minmax(0, 1fr);
  gap: 49px;
  align-items: stretch;
}
.capacity__card {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--radius);
  padding: 40px;
}
.capacity__card h3 {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.12;
  color: #fff;
}
.capacity__card > p:not(.eyebrow) { font-size: 16.5px; line-height: 1.65; }
.capacity__card ul { margin: 18px 0 0; padding: 0 0 0 18px; }
.capacity__card li { font-size: 15px; line-height: 1.6; color: #fff; }
.capacity__card li + li { margin-top: 9px; }
.capacity__card li::marker { color: #fff; }

.capacity__props h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.capacity__lead { margin: 14px 0 28px; font-size: 15.5px; line-height: 1.65; color: var(--text); }
.props {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}
.prop {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 20px;
}
.prop h4 { margin-bottom: 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.prop p { font-size: 14px; line-height: 1.55; color: var(--text); }

/* Industrias */
.section--orange h2 { color: var(--ink); }
.industries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.industry {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 24px 24px 22px;
  min-height: 161px;
}
.industry h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: #fff;
}
.industry p { font-size: 14px; line-height: 1.6; color: var(--on-dark); }

/* Contacto */
.contact {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact__info h2 { margin-bottom: 18px; }
.contact__info p:not(.eyebrow) { font-size: 16px; line-height: 1.55; color: var(--text); }
.contact__info .contact__lead { margin-bottom: 26px; line-height: 1.65; }
.contact__info p:not(.eyebrow) + p { margin-top: 10px; }
.contact__info strong { color: var(--ink); font-weight: 700; }
.contact__info a { color: var(--orange); text-underline-offset: 2px; }
.contact__info a.plain { color: inherit; text-decoration: none; }
.contact__info a.plain:hover { color: var(--orange); }

.form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 32px 30px;
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field span { font-size: 14px; font-weight: 500; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 43px;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcec9;
  border-radius: 3px;
}
.field textarea { height: 92px; padding: 10px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: -1px;
  border-color: var(--orange);
}
.form__submit { height: 50px; margin-top: 16px; padding: 0 28px; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__status { margin-top: 12px; font-size: 14px; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #1c7c3c; }
.form__status.is-error { color: #b3261e; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--dark); color: var(--on-dark); }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
}
.footer img { height: 45px; width: auto; }
.footer p { font-size: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  .split, .contact { grid-template-columns: 1fr 1.6fr; gap: 64px; }
  .capacity { grid-template-columns: 1fr 1.3fr; gap: 32px; }
  .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 72px; }
  .nav__logo img { height: 44px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding: 56px 0 72px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__stats { max-width: 420px; }
  .hero h1 { font-size: 44px; }
  .split, .contact, .capacity { grid-template-columns: 1fr; gap: 32px; }
  .plant-gallery { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .plant-gallery__main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .plant-gallery img:not(.plant-gallery__main) { aspect-ratio: 6 / 5; }
  .footer__inner { flex-direction: column; justify-content: center; text-align: center; padding: 32px 0; gap: 12px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 72px 0; }
  .section--orange { padding: 64px 0; }
  #planta, #contacto { padding: 72px 0; }
  .hero h1 { font-size: 36px; }
  .hero__lead { font-size: 16.5px; }
  .hero__actions { margin-top: 32px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .stat { min-height: 0; padding: 22px 18px; }
  h2 { font-size: 30px; }
  .plant-head { flex-direction: column; margin-top: 56px; gap: 6px; }
  .plant-head p { text-align: left; }
  .pallets__grid, .props, .industries, .steps { grid-template-columns: 1fr; }
  .capacity__card { padding: 28px 24px; }
  .capacity__props h3 { font-size: 26px; }
  .form { padding: 24px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
}
