/* ==========================================================================
   MaquinAgro Usados — design system
   Paleta: #124654 (verde azulado) · #00a08f (turquesa) · #dbc251 (dorado)
           #f8b251 (naranja) · #e88e8f (coral) · neutros
   Stack: HTML5 + CSS + vanilla JS, sin dependencias externas
   ========================================================================== */

:root {
  --navy: #124654;
  --navy-dark: #0d343e;
  --navy-light: #1c5a6d;
  --teal: #00a08f;
  --teal-dark: #007d70;
  --gold: #dbc251;
  --gold-dark: #c2a83a;
  --gold-light: #f6f0da;
  --orange: #f8b251;
  --orange-dark: #d98a24;
  --coral: #e88e8f;
  --coral-dark: #b2494b;

  --ink: #232323;
  --muted: #5f6b76;
  --faint: #8a94a0;
  --line: #e2e5e9;
  --bg: #f4f5f7;
  --surface: #ffffff;

  --radius: 4px;
  --shadow: 0 1px 3px rgba(0, 20, 45, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 20, 45, 0.14);
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-dark); text-decoration: underline; }

h1, h2, h3, h4, h5 { font-weight: 700; color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(26px, 4vw, 36px); }
h2 { font-size: clamp(21px, 3vw, 28px); }
h3 { font-size: 19px; }
h4 { font-size: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--gold); color: #111; padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: #cfd8e6; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .topbar-item { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; fill: var(--gold); }

/* ---------- Header ---------- */
.header { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 900; box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.logo:hover { text-decoration: none; color: #fff; }
.logo-img { height: 44px; width: auto; display: block; }
@media (max-width: 600px) { .logo-img { height: 36px; } }
.logo-text { line-height: 1.05; }
.logo-text strong { display: block; font-size: 19px; font-weight: 800; letter-spacing: 0.2px; }
.logo-text span { display: block; font-size: 10.5px; letter-spacing: 2.6px; color: var(--gold); text-transform: uppercase; font-weight: 600; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  color: #dfe6f0; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: var(--radius);
}
.nav a:hover { color: #fff; text-decoration: none; background: rgba(255,255,255,0.08); }
.nav a.active { color: #fff; background: var(--gold); color: #1c1c1c; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; color: #8fa1b5; font-size: 13px; font-weight: 700; white-space: nowrap; }
.lang-switch a { color: #c6d1e0; padding: 2px 7px; border-radius: 3px; }
.lang-switch a.active { background: var(--gold); color: #1c1c1c; }
.lang-switch a:hover { color: #fff; text-decoration: none; }
.header-phone { color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.header-phone svg { width: 15px; height: 15px; fill: var(--gold); vertical-align: -2px; }

.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 700; cursor: pointer; text-align: center; line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; }
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--gold); color: #1c1c1c; }
.btn-gold:hover { background: var(--gold-dark); color: #111; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef2f8; color: var(--navy); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(115deg, var(--navy-dark) 0%, var(--navy) 55%, #155568 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,160,143,0.28) 0%, rgba(0,160,143,0) 62%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 56px 0 60px; position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 42px); margin-bottom: 14px; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p.lead { color: #d6e0ee; font-size: 17px; max-width: 560px; margin-bottom: 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; color: #c8d3e2; font-size: 14px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 17px; height: 17px; fill: var(--gold); }
.hero-img { border-radius: 8px; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: auto; border-radius: 8px; display: block; }

.hero-search { display: flex; gap: 8px; margin-bottom: 20px; max-width: 540px; }
.hero-search input {
  flex: 1; padding: 13px 15px; border: 0; border-radius: var(--radius); font-size: 15px; color: var(--ink);
}
.hero-search .btn { border-radius: 0 var(--radius) var(--radius) 0; }

/* ---------- Sections ---------- */
.section { padding: 46px 0; }
.section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 26px; max-width: 820px; }
.section-head h2 { margin-bottom: 8px; }
.section-head p { color: var(--muted); }
.section-head .kicker { color: var(--gold-dark); text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; margin-bottom: 6px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); padding: 16px 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--faint); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs .current { color: var(--ink); font-weight: 600; }

/* ---------- Page header band ---------- */
.page-band { background: var(--navy); color: #fff; padding: 34px 0; }
.page-band h1 { color: #fff; margin-bottom: 6px; }
.page-band p { color: #c9d5e4; max-width: 760px; }
.page-band .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.page-band .band-meta { font-size: 14px; color: var(--gold); font-weight: 700; }

/* ---------- Cards / product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.featured-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .featured-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; color: var(--ink);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); text-decoration: none; color: var(--ink); }
.card-media { position: relative; aspect-ratio: 4/3; background: #eef1f4; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .no-photo { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 14px; }
.card-badge { position: absolute; top: 10px; left: 10px; background: var(--orange); color: #1c1c1c; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.4px; }
.card-badge.reserved { background: var(--coral); color: #451a1b; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card-title { font-weight: 700; font-size: 16px; color: var(--navy); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card-title:hover { color: var(--navy-light); }
.card-price { font-weight: 800; font-size: 18px; color: var(--navy); }
.card-price .on-request { color: var(--muted); font-size: 14px; font-weight: 700; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.card-meta .tag { background: #eef1f4; color: #46525e; font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.card-loc { font-size: 12.5px; color: var(--muted); margin-top: auto; display: flex; gap: 5px; align-items: center; }
.card-loc svg { width: 13px; height: 13px; fill: var(--faint); }
.card-link { margin-top: 4px; }

/* ---------- Catálogo layout ---------- */
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 26px; align-items: start; padding-bottom: 50px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 80px; }
.filters h3 { font-size: 16px; margin-bottom: 4px; }
.filters .filter-hint { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.filter-group { margin-bottom: 14px; }
.filter-group label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.filter-group select, .filter-group input {
  width: 100%; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; background: #fff; color: var(--ink);
}
.filter-group input:focus, .filter-group select:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.filter-row { display: flex; gap: 6px; }
.filter-row input { width: 50%; }
.filter-actions { display: grid; gap: 8px; margin-top: 4px; }
.filters .search-box { margin-bottom: 14px; }

.catalog-main { min-width: 0; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.catalog-count { font-size: 14px; color: var(--muted); }
.catalog-count strong { color: var(--ink); }
.sort-label { font-size: 13px; color: var(--muted); margin-right: 6px; }
.catalog-sort { display: inline-flex; align-items: center; }
.catalog-sort select { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: 14px; }

.empty-state { text-align: center; padding: 70px 20px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state svg { width: 48px; height: 48px; fill: var(--faint); margin-bottom: 12px; }
.empty-state p { color: var(--muted); }

/* ---------- SEO FAQ (details/summary) ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 10px; }
.faq-item summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--navy); list-style: none; display: block; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; color: var(--teal); font-weight: 800; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 18px 16px; color: var(--muted); font-size: 14.5px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 12px; scrollbar-width: thin; scrollbar-color: #c8cfd6 transparent;
}
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: transparent; }
.carousel-track::-webkit-scrollbar-thumb { background: #c8cfd6; border-radius: 4px; }
.carousel-track .card { flex: 0 0 calc((100% - 60px) / 4); scroll-snap-align: start; min-width: 0; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.carousel-btn:hover { background: var(--navy); color: #fff; }
.carousel-btn svg { width: 20px; height: 20px; fill: currentColor; }
.carousel-prev { left: -18px; }
.carousel-next { right: -18px; }
.carousel-prev svg { transform: rotate(180deg); }
@media (max-width: 900px) {
  .carousel-track .card { flex-basis: calc((100% - 40px) / 2); }
  .carousel-prev { left: -6px; }
  .carousel-next { right: -6px; }
}
@media (max-width: 600px) {
  .carousel-track .card { flex-basis: 84%; }
  .carousel-prev { left: 2px; }
  .carousel-next { right: 2px; }
}

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination .page {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: #fff; border-radius: var(--radius); font-size: 14px; font-weight: 600; color: var(--ink);
}
.pagination .page:hover { border-color: var(--navy); text-decoration: none; }
.pagination .page.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .page.disabled { opacity: 0.45; pointer-events: none; }

/* ---------- Category chips ---------- */
.cat-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.cat-chip { background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 20px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cat-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-chip span { color: var(--muted); font-weight: 400; }
.cat-chip.active span { color: #c6d2e2; }

/* ---------- Product detail ---------- */
.product-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 30px; padding-bottom: 50px; align-items: start; }
.product-media { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-media .main-image { aspect-ratio: 4/3; background: #fff; }
.product-media .main-image img { width: 100%; height: 100%; object-fit: contain; }
.product-media .no-photo { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; color: var(--faint); flex-direction: column; gap: 8px; }
.product-media .no-photo svg { width: 52px; height: 52px; fill: var(--faint); }

.product-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 80px; }
.product-panel h1 { font-size: clamp(21px, 3vw, 27px); margin-bottom: 6px; }
.product-ref { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.product-price { font-size: 27px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.product-price .on-request { font-size: 18px; color: var(--muted); }
.product-currency-note { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.product-facts { list-style: none; border-top: 1px solid var(--line); margin: 14px 0; }
.product-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.product-facts .k { color: var(--muted); }
.product-facts .v { font-weight: 600; text-align: right; }
.product-cta { display: grid; gap: 10px; margin: 16px 0; }
.product-contact-links { display: flex; gap: 10px; flex-wrap: wrap; }

.specs-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 24px; }
.specs-block h2 { font-size: 20px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--teal); }
.specs-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs-table td { padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs-table tr:nth-child(even) td { background: #f8f9fb; }
.specs-table .spec-k { color: var(--muted); width: 42%; font-weight: 600; }
.specs-table .spec-v { font-weight: 500; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.form-card h2 { font-size: 20px; margin-bottom: 6px; }
.form-card .form-intro { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.form-field label .req { color: var(--coral-dark); }
.form-field input, .form-field textarea, .form-field select {
  padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px;
  font-family: inherit; background: #fff; color: var(--ink);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--teal); outline-offset: -1px; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--coral); }
.form-error { color: var(--coral-dark); font-size: 13px; display: none; }
.form-field.has-error .form-error { display: block; }
.phone-field { display: flex; gap: 8px; }
.phone-field select { flex: 0 0 auto; width: auto; max-width: 165px; }
.phone-field input { flex: 1 1 auto; min-width: 0; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.form-consent input { margin-top: 3px; width: 16px; height: 16px; }
.form-note { font-size: 13px; color: var(--muted); }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; margin-top: 14px; display: none; }
.form-status.info { background: var(--gold-light); color: #5f5210; display: block; }
.form-status.error { background: #fbe9ea; color: #a0393c; display: block; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Product picker (searchable combobox) ---------- */
.pp-field { position: relative; }
.pp-wrap { position: relative; }
.pp-search { width: 100%; }
.pp-suggest {
  position: absolute; z-index: 60; top: calc(100% + 4px); left: 0; right: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  max-height: 260px; overflow-y: auto; box-shadow: 0 12px 28px rgba(0,0,0,.14);
}
.pp-suggest .pp-item {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 12px; font-size: 14px; cursor: pointer; border-bottom: 1px solid #eef1f4;
}
.pp-suggest .pp-item:last-child { border-bottom: 0; }
.pp-suggest .pp-item:hover, .pp-suggest .pp-item.is-active { background: #eef5f8; }
.pp-suggest .pp-item .pp-name { color: var(--ink); }
.pp-suggest .pp-item .pp-id { color: var(--muted); font-size: 12px; white-space: nowrap; }
.pp-suggest .pp-empty { padding: 10px 12px; font-size: 13.5px; color: var(--muted); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1000;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.back-to-top svg { transform: rotate(-90deg); }
.back-to-top:hover { background: var(--teal-dark); }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 30px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.contact-card .icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: var(--radius); background: var(--navy); display: flex; align-items: center; justify-content: center; }
.contact-card .icon svg { width: 22px; height: 22px; fill: var(--gold); }
.contact-card h3 { font-size: 15px; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--ink); }
.contact-card a:hover { color: var(--navy); }

/* ---------- Feature / value blocks ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feature .icon svg { width: 26px; height: 26px; fill: var(--navy); }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step-num { font-size: 34px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(115deg, var(--gold) 0%, var(--orange) 100%); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 20px; flex-wrap: wrap; }
.cta-band h2 { color: #1c1c1c; margin-bottom: 4px; }
.cta-band p { color: #3d3d3d; font-size: 15.5px; }
.cta-band .btn { background: var(--navy); color: #fff; }
.cta-band .btn:hover { background: var(--navy-dark); color: #fff; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { list-style: none; }
.accordion li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.accordion button {
  width: 100%; text-align: left; background: none; border: 0; padding: 16px 18px; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.accordion button svg { width: 18px; height: 18px; fill: var(--teal); flex: 0 0 18px; transition: transform 0.15s ease; }
.accordion li.open button svg { transform: rotate(45deg); }
.accordion .answer { padding: 0 18px 16px; font-size: 14.5px; color: var(--muted); display: none; }
.accordion li.open .answer { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-dark); color: #c6d1e0; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 30px; padding: 40px 20px 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer p, .footer li { font-size: 14px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 7px; }
.footer a { color: #c6d1e0; }
.footer a:hover { color: var(--gold); }
.footer .logo-text strong { color: #fff; }
.footer-contact li { display: flex; gap: 8px; margin-bottom: 8px; }
.footer-contact svg { width: 15px; height: 15px; fill: var(--gold); flex: 0 0 15px; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: #9fb0c2; }

/* ---------- Legal / prose ---------- */
.prose { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.prose h2 { font-size: 20px; margin: 22px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-bottom: 12px; color: #3c3c3c; font-size: 15px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose a { text-decoration: underline; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 90px 20px; }
.error-page .code { font-size: 90px; font-weight: 800; color: var(--navy); line-height: 1; }
.error-page .code span { color: var(--orange); }
.error-page h1 { margin: 6px 0 10px; }
.error-page p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }

.listing-loading { padding: 40px 0; color: var(--muted); font-size: 15px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 58px; }
  .nav-toggle { display: inline-flex; }
  .header-phone { display: none; }
  .nav {
    position: absolute; top: 58px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; padding: 10px 20px 16px;
    display: none; box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a.active { background: none; color: var(--gold); }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 0; }
  .hero-img { order: -1; max-width: 560px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .topbar-inner { justify-content: center; }
}