/* Paluzo’s industrial presentation and catalog. */
:root {
  color-scheme: dark;
  --bg: #0a0a0b;
  --panel: #141416;
  --line: #2b2b2e;
  --text: #f8f8f7;
  --muted: #b9b9bf;
  --accent: #ed634f;
  --brand-red: #871a1c;
  --gutter: clamp(20px, 3.3vw, 62px);
}
@font-face {
  font-family: Outfit;
  src: url("assets/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--text); font: 16px/1.55 Outfit, Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
.arrow-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.14em; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.04; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4.7vw, 4.8rem); letter-spacing: -.05em; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; z-index: 50; inset: 10px auto auto 10px; width: auto; height: auto; clip-path: none; padding: 10px; background: #fff; color: #111; }
header {
  position: fixed;
  inset: 22px 0 auto;
  z-index: 20;
  width: min(760px, calc(100% - 36px));
  min-height: 62px;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 8px 9px 8px 18px;
  color: #141416;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 8px 35px #0002;
}
.logo { flex: 0 0 auto; padding-right: 17px; border-right: 1px solid #e3e3e3; }
.logo img { width: 119px; height: 38px; object-fit: contain; }
#navigation { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2vw, 25px); font-size: 14px; }
#navigation a:hover, #navigation .active { color: #a63024; }
.login, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  border-radius: 100px;
  padding: 12px 19px;
  color: #111;
  background: #fff;
  font-weight: 500;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.login { color: #fff; background: var(--brand-red); }
#navigation .login:hover { color: #fff; background: #0a0a0b; }
.primary:hover { color: #111; background: #ffc7bd; }
.contact .primary:hover, .contact .primary:focus-visible { color: #fff; background: var(--brand-red); }
#menu { display: none; border: 0; background: #fff; color: #111; font-size: 22px; }
.eyebrow, .hero-strip, .badge, .date {
  font: 500 11px/1.5 "IBM Plex Mono", Consolas, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; color: #e0e0e2; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.industrial-hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: end; overflow: hidden; }
.hero-background, .hero-contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-background { object-position: 61% 50%; }
.industrial-hero::before, .hero-contact::before, .category-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, #09090a 1%, #09090ae8 18%, #09090a29 74%), linear-gradient(90deg, #07070882, transparent 75%);
}
.hero-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 29%); align-items: end; gap: 35px; width: 100%; max-width: 1680px; margin-inline: auto; padding: 135px var(--gutter) 34px; }
.hero-copy h1 { max-width: 880px; margin-bottom: 24px; font-size: clamp(3.2rem, 5.7vw, 6.65rem); letter-spacing: -.061em; line-height: .98; text-wrap: balance; }
.hero-copy .primary { background: #0c0c0dc4; color: #fff; border: 1px solid #ffffff4d; }
.hero-copy .primary:hover { background: #fff; color: #111; }
.hero-contact { min-height: clamp(205px, 23vw, 315px); position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: end; border-radius: 10px; padding: 22px; border: 1px solid #ffffff25; }
.hero-contact > img { object-position: center 34%; }
.hero-contact::before { background: linear-gradient(0deg, #101011, #101011a8 35%, transparent 100%); }
.hero-contact h2 { max-width: 260px; font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 16px; }
.hero-contact .primary { padding: 10px 15px; font-size: 14px; }
.hero-strip { border-top: 1px solid #ffffff28; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 13px 22px; padding: 19px var(--gutter); color: #d1d1d4; }
.hero-strip { padding-right: max(var(--gutter), 155px); }
.hero-strip a:hover { color: #ffae9e; }
.section { max-width: 1600px; margin-inline: auto; padding: clamp(55px, 8vw, 118px) var(--gutter); }
.light-band {
  --text: #151517;
  --muted: #525259;
  --line: #dedee2;
  color: var(--text);
  background: #fff;
  color-scheme: light;
}
.light-band .eyebrow { color: var(--brand-red); }
.light-band .text-link { border-color: #929298; }
.light-band .text-link:hover { color: var(--brand-red); }
.story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px, 7vw, 120px); }
.story-image img { width: 100%; height: clamp(340px, 46vw, 610px); object-fit: cover; object-position: center 40%; border-radius: 10px; }
.story-copy p:not(.eyebrow), .contact p:not(.eyebrow) { color: var(--muted); max-width: 54ch; font-size: 17px; }
.text-link, .inline-wa, .seller-link { display: inline-block; color: var(--text); padding: 7px 0; border-bottom: 1px solid #ffffff63; }
.text-link:hover, .inline-wa:hover, .seller-link:hover { color: #ffae9e; }
.section-head { margin-bottom: 30px; }
.section-head h2 { max-width: 900px; margin-bottom: 0; }
.section-head p:not(.eyebrow) { margin: 17px 0 0; color: var(--muted); }
.section-head-split { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head-split .text-link { flex-shrink: 0; }
.category-section { padding-top: 45px; border-top: 1px solid var(--line); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.category-panel { position: relative; isolation: isolate; display: flex; align-items: end; min-height: clamp(235px, 30vw, 465px); padding: 18px; overflow: hidden; border-radius: 8px; background: var(--panel); }
.category-panel::before { background: linear-gradient(0deg, #080809ee, transparent 69%); }
.category-panel img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.category-panel:hover img, .car-image:hover img { transform: scale(1.045); }
.category-panel span { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 6px; font-size: clamp(1rem, 1.65vw, 1.55rem); }
.category-panel .arrow-icon { color: #ffc2b6; }
.featured-section { padding-top: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { overflow: hidden; position: relative; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); }
.car-image { display: block; overflow: hidden; aspect-ratio: 1.18; background: #222; }
.car-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.badge-stack { position: absolute; top: 12px; left: 12px; }
.badge { display: inline-block; padding: 6px 9px; background: #111e; border-radius: 4px; }
.badge:hover { background: #811f17; }
.card-body { padding: 18px; }
.card h2 { font-size: clamp(1.3rem, 2.2vw, 1.95rem); letter-spacing: -.035em; margin: 12px 0; }
.date, .address, .catalog-note, .filter-count, .filter-help, .specs { color: var(--muted); font-size: 13px; }
.price { margin: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: 14px; }
.price strong { color: var(--text); font-weight: 500; }
.card-wa { display: block; border-top: 1px solid var(--line); padding-top: 13px; color: #ffc2b6; }
.catalog-note { margin: 22px 0 0; }
.search { display: flex; gap: 5px; }
.search input { width: 100%; min-width: 0; border: 1px solid #45454a; border-radius: 6px; padding: 12px; color: #fff; background: #17171a; }
.search button { border: 0; border-radius: 6px; color: #111; background: #fff; padding: 0 16px; }
.buying-section { border-top: 1px solid var(--line); }
.buying-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 5vw, 85px); align-items: center; }
.buying-layout > img { width: 100%; height: clamp(265px, 34vw, 480px); object-fit: cover; border-radius: 10px; }
.buying-steps details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.buying-steps summary { cursor: pointer; font-size: clamp(1.15rem, 2vw, 1.6rem); }
.buying-steps p { margin: 12px 0 0; color: var(--muted); }
.buying-steps .text-link { margin-top: 20px; }
.contact { position: relative; isolation: isolate; padding: clamp(55px, 10vw, 140px) var(--gutter); background: #111; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0b0b0cef, #0b0b0ca8), url("assets/machine-21.webp") center 39% / cover; }
.contact > h2, .contact-layout { max-width: 1450px; margin-inline: auto; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 25px; align-items: center; }
.contact-layout h3 { font-size: clamp(1.4rem, 2.7vw, 2.7rem); letter-spacing: -.03em; }
.contact-info { background: #151518e8; border: 1px solid #ffffff2d; border-radius: 9px; padding: 22px; line-height: 1.85; }
.contact-info a { color: #ffc2b6; }
.contact-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  padding-top: clamp(120px, 10vw, 175px);
}
.contact-page-copy h1 {
  font-size: clamp(2.9rem, 5.6vw, 5.8rem);
  letter-spacing: -.055em;
  margin-bottom: 20px;
}
.contact-page-copy > p:not(.eyebrow) {
  max-width: 43ch;
  color: var(--muted);
  font-size: 18px;
}
.contact-whatsapp { color: #fff; background: var(--brand-red); }
.contact-whatsapp:hover { color: #fff; background: #0a0a0b; }
.visit-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 23px 0;
  margin: 28px 0 0;
  border-block: 1px solid var(--line);
}
.visit-details dt { font-weight: 600; margin-bottom: 5px; }
.visit-details dd { margin: 0; color: var(--muted); }
.visit-details a { color: var(--brand-red); text-decoration: underline; text-underline-offset: 3px; }
.contact-page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.contact-outline { border: 1px solid #bdbdc4; }
.contact-outline:hover { color: #fff; background: var(--brand-red); border-color: var(--brand-red); }
.contact-facade { margin: 0; }
.contact-facade img { width: 100%; height: auto; border-radius: 10px; }
.page-title { padding: 145px var(--gutter) 42px; margin: 0; border-bottom: 1px solid var(--line); font-size: clamp(2.7rem, 6vw, 6rem); letter-spacing: -.055em; }
.catalog { padding-top: 44px; }
.catalog > h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin-bottom: 16px; }
.catalog-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.catalog-categories a { border: 1px solid #47474e; border-radius: 100px; padding: 8px 15px; }
.catalog-categories a:hover { border-color: #ed634f; }
.catalog-categories a[aria-current="true"] { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.search-summary { color: var(--muted); overflow-wrap: anywhere; }
.search-summary a { color: #ffc2b6; margin-left: 12px; }
.empty { grid-column: 1 / -1; padding: 40px var(--gutter); border: 1px solid var(--line); }
.empty h2 { font-size: 30px; }
.breadcrumb { max-width: 1600px; margin: auto; padding: 123px var(--gutter) 23px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: #ffc2b6; }
.detail { display: grid; grid-template-columns: 1.65fr 1fr; gap: 18px; max-width: 1600px; margin: auto; padding: 0 var(--gutter); }
.detail-main, .seller { background: var(--panel); padding: clamp(17px, 2.7vw, 38px); border: 1px solid var(--line); border-radius: 9px; }
.detail-main h1 { font-size: clamp(2rem, 4.6vw, 4.5rem); letter-spacing: -.05em; margin: 25px 0 15px; }
.detail-main h2, .seller h2 { font-size: clamp(1.4rem, 2.7vw, 2.1rem); }
.detail-main section { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 25px; }
.detail-main section p, .seller p:not(.eyebrow) { color: var(--muted); }
.seller { align-self: start; }
.seller h2:not(:first-of-type) { margin: 28px 0 12px; }
.machine-photo { width: 100%; background: #0a0a0b; padding: 0 0 10px; border: 0; border-radius: 6px; overflow: hidden; }
.machine-photo img { width: 100%; height: clamp(250px, 50vw, 560px); object-fit: contain; margin-bottom: 10px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
.actions button { border: 1px solid #45454a; padding: 8px 12px; background: #222225; border-radius: 20px; }
.specs { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps article { border-radius: 8px; background: var(--panel); border: 1px solid var(--line); padding: 24px; }
.steps article span { color: #ffc2b6; }
.steps h3 { font-size: 26px; margin: 13px 0; }
.steps p { color: var(--muted); margin: 0; }
.center { margin-top: 25px; }
footer { padding: 58px var(--gutter) 35px; border-top: 1px solid var(--line); }
.footer-grid { max-width: 1450px; margin: auto; display: grid; grid-template-columns: 1.2fr .8fr 1fr 1fr; gap: 25px; color: var(--muted); font-size: 14px; }
.footer-grid h3 { color: var(--text); font-size: 16px; }
.footer-grid a { display: block; padding: 3px 0; }
.footer-grid a:hover, .copyright a:hover { color: #ffc2b6; }
.footer-logo { width: 145px; height: auto; margin-bottom: 12px; filter: brightness(2.15); }
.copyright { max-width: 1450px; margin: 25px auto 0; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.floating-wa {
  position: fixed;
  right: 16px;
  bottom: 32px;
  z-index: 15;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 2px 22px #0004;
}
.floating-wa img { filter: invert(1); }
dialog { width: min(720px, calc(100% - 26px)); max-height: 92dvh; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 18px; }
dialog::backdrop { background: #000c; }
dialog .close { display: block; margin-left: auto; background: transparent; border: 0; font-size: 28px; }
#gallery-image { width: 100%; max-height: 58dvh; object-fit: contain; }
#photo-title { margin: 13px 0; }
@media (max-width: 850px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head-split { align-items: start; flex-direction: column; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: clamp(2.9rem, 7vw, 4.5rem); }
  .catalog .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  header { inset: 12px 0 auto; min-height: 54px; padding: 7px 12px; }
  .logo { border: 0; }
  .logo img { width: 105px; height: 36px; }
  #menu { display: block; padding: 2px 8px; }
  #navigation { display: none; }
  #navigation.open { display: flex; position: absolute; inset: calc(100% + 6px) 0 auto; flex-direction: column; align-items: stretch; padding: 18px; background: #fff; border-radius: 10px; }
  .industrial-hero { min-height: 100svh; }
  .hero-background { height: 72%; object-position: 62% 40%; mask-image: linear-gradient(#000 60%, transparent 100%); }
  .industrial-hero::before { background: linear-gradient(0deg, #0a0a0b 6%, #0a0a0bdd 34%, #0a0a0b2b 85%); }
  .hero-stage { grid-template-columns: 1fr; gap: 22px; padding-top: clamp(170px, 36vh, 280px); padding-bottom: 20px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 10vw, 4rem); text-wrap: initial; }
  .hero-contact { min-height: 155px; padding: 15px; }
  .hero-contact h2 { margin-bottom: 11px; }
  .hero-strip { padding-block: 15px; padding-right: 75px; font-size: 9px; gap: 9px 12px; }
  .story, .buying-layout, .contact-layout, .detail, .catalog, .steps { grid-template-columns: 1fr; }
  .contact-page-layout { grid-template-columns: 1fr; padding-top: 105px; }
  .visit-details { grid-template-columns: 1fr; }
  .story-image img { height: clamp(270px, 86vw, 430px); }
  .grid, .catalog .grid { grid-template-columns: 1fr; }
  .category-panel { min-height: 220px; padding: 13px; }
  .page-title { padding-top: 108px; }
  .breadcrumb { padding-top: 98px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
