/* =========================================================
   Leitzalar · Transporte & Logística — Design system
   ========================================================= */

:root {
  /* Brand */
  --green-100: #E6F5EA;
  --green-300: #7FD495;
  --green-500: #2FA84B;
  --green-600: #23913E;
  --green-700: #146A2A;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Neutrals */
  --ink-900: #14181A;
  --ink-700: #383F3B;
  --ink-500: #5B6158;
  --ink-300: #8B9188;
  --ink-150: #E4E7E1;
  --ink-100: #EEF1EB;
  --bg: #FFFFFF;
  --bg-alt: #F5F7F2;
  --dark: #10160F;
  --dark-panel: #1A2318;
  --dark-line: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "SFMono-Regular", monospace;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(20, 24, 26, 0.06);
  --shadow-md: 0 16px 40px rgba(20, 24, 26, 0.12);
  --shadow-cta: 0 14px 30px rgba(35, 145, 62, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-900);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(56px, 9vw, 108px) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
  color: #F2F5EF;
}

.section-head {
  max-width: 640px;
  margin: 0 0 clamp(32px, 5vw, 52px);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 14px;
}

.section-dark .eyebrow {
  color: var(--green-300);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--ink-900);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #FFFFFF;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  line-height: 1.25;
}

p {
  margin: 0 0 16px;
  color: var(--ink-700);
}

.section-dark p {
  color: rgba(242, 245, 239, 0.78);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-700);
}

.section-dark .lede {
  color: rgba(242, 245, 239, 0.82);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 15px 28px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #ffffff;
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(35, 145, 62, 0.36);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(20, 24, 26, 0.05);
  color: var(--ink-900);
}

.btn-ghost:hover {
  background: rgba(20, 24, 26, 0.09);
}

.section-dark .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section-dark .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.32);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green-600);
  text-decoration: none;
  font-size: 0.95rem;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-150);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--green-600);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-900);
  text-decoration: none;
  flex-shrink: 0;
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.icon-btn.whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: var(--whatsapp-dark);
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--ink-100);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--ink-150);
  padding: 18px 0 22px;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  color: var(--ink-900);
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--ink-150);
}

.mobile-menu .btn {
  margin-top: 16px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.03;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
}

.hero-bullets svg {
  width: 17px;
  height: 17px;
  color: var(--green-600);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(16, 22, 15, 0.82);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-media-badge strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-300);
}

/* ---------- Stat band ---------- */

.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink-150);
  border-bottom: 1px solid var(--ink-150);
  margin-top: clamp(44px, 7vw, 76px);
}

.stat-item {
  padding: 26px 18px;
  text-align: center;
  border-left: 1px solid var(--ink-150);
}

.stat-item:first-child {
  border-left: none;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--green-600);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-500);
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg);
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-md);
  padding: 28px;
}

.section-alt .card {
  background: #fff;
}

.service-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card .card-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.badge.badge-soon {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink-700);
}

/* ---------- Selector inteligente ---------- */

.selector-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.selector-form {
  background: var(--dark-panel);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(242, 245, 239, 0.85);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--dark-line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 0.96rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--green-500);
  outline-offset: 1px;
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 6px 0 22px;
}

.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(242, 245, 239, 0.9);
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--green-500);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.result-card {
  position: sticky;
  top: 96px;
  background: #fff;
  color: var(--ink-900);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-md);
}

.result-card .eyebrow {
  color: var(--green-600);
}

.result-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.result-units {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-bottom: 14px;
  display: block;
}

.result-summary {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip-row span {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}

.result-actions {
  display: grid;
  gap: 10px;
}

/* ---------- Flota ---------- */

.grid-5 {
  grid-template-columns: repeat(3, 1fr);
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.vehicle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.vehicle-card-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, var(--ink-900), var(--dark-panel));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vehicle-card-media svg {
  width: 56%;
  height: 56%;
  color: var(--green-300);
}

.vehicle-card-units {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 5px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.vehicle-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vehicle-card-body p {
  font-size: 0.92rem;
  flex: 1;
}

.vehicle-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vehicle-card-specs span {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 5px 10px;
  border-radius: 8px;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--ink-300);
  margin-top: 18px;
}

/* ---------- Sectores ---------- */

.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.sector-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
}

.sector-item svg {
  width: 20px;
  height: 20px;
  color: var(--green-600);
  flex-shrink: 0;
}

.sector-grid.small {
  grid-template-columns: repeat(3, 1fr);
}

.sector-grid.small .sector-item {
  font-size: 0.88rem;
  padding: 14px 16px;
}

/* ---------- Urgente band ---------- */

.urgent-band {
  background: linear-gradient(135deg, #0F1710, #17251A 60%, #123B21);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.urgent-band h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.urgent-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-info {
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3vw, 36px);
}

.contact-info h3 {
  color: #fff;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 28px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-list .ci-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list .ci-icon svg {
  width: 18px;
  height: 18px;
  color: var(--green-300);
}

.contact-list a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.contact-list span.ci-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.contact-form {
  background: #fff;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
}

.contact-form .field label {
  color: var(--ink-700);
}

.contact-form .field input,
.contact-form .field select,
.contact-form .field textarea {
  background: var(--bg-alt);
  border: 1px solid var(--ink-150);
  color: var(--ink-900);
}

.contact-form .field input::placeholder,
.contact-form .field textarea::placeholder {
  color: var(--ink-300);
}

.vehicle-tag {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.vehicle-tag.active {
  display: flex;
}

.vehicle-tag button {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--green-700);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
}

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin: 18px 0;
}

.consent-row input {
  margin-top: 3px;
  accent-color: var(--green-600);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-300);
  margin-top: 12px;
}

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--green-100);
  color: var(--green-700);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: rgba(242, 245, 239, 0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--dark-line);
}

.footer-brand img {
  height: 34px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(242, 245, 239, 0.6);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(242, 245, 239, 0.68);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--green-300);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 0.82rem;
  color: rgba(242, 245, 239, 0.5);
}

/* ---------- Floating WhatsApp ---------- */

.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.float-whatsapp svg {
  width: 28px;
  height: 28px;
}

/* ---------- Vehicle detail page ---------- */

.vehicle-hero {
  padding: clamp(40px, 7vw, 72px) 0 0;
}

.vehicle-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.vehicle-hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink-900), var(--dark-panel));
  display: flex;
  align-items: center;
  justify-content: center;
}

.vehicle-hero-visual svg {
  width: 62%;
  height: 62%;
  color: var(--green-300);
}

.crumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 18px;
}

.crumb a {
  color: var(--ink-500);
  text-decoration: none;
  font-weight: 600;
}

.crumb a:hover {
  color: var(--green-600);
}

.spec-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 40px);
}

.spec-card h3 {
  margin-bottom: 18px;
}

.floorplan {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px dashed var(--ink-150);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.floorplan-box {
  position: relative;
  width: 78%;
  height: 60%;
  border: 2px solid var(--green-600);
  border-radius: 6px;
  background: rgba(47, 168, 75, 0.06);
}

.measure {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-500);
  background: var(--bg-alt);
  padding: 2px 6px;
}

.measure-length {
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
}

.measure-width {
  top: 50%;
  right: -14px;
  transform: translateY(-50%) rotate(90deg);
}

.measure-height {
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr {
  border-bottom: 1px solid var(--ink-150);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 4px;
  font-size: 0.92rem;
}

.spec-table th {
  color: var(--ink-500);
  font-weight: 600;
  width: 52%;
}

.spec-table td {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cta-band {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) 0;
}

.cta-band h2 {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cta-band-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.related-grid {
  grid-template-columns: repeat(4, 1fr);
}

.related-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--ink-150);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink-900);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.related-card:hover {
  border-color: var(--green-500);
  transform: translateY(-2px);
}

.related-card svg {
  width: 34px;
  height: 34px;
  color: var(--green-600);
  margin: 0 auto 10px;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1080px) {
  .hero-grid,
  .selector-grid,
  .contact-grid,
  .vehicle-hero-grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    position: static;
  }

  .grid-3,
  .grid-5,
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .urgent-band {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav,
  .header-actions .btn,
  .icon-btn.mail {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(3) {
    border-left: none;
  }

  .stat-item:nth-child(1),
  .stat-item:nth-child(3) {
    border-left: none;
  }

  .stat-item:nth-child(2n) {
    border-left: 1px solid var(--ink-150);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }

  .form-row,
  .form-row.cols-2 {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-5,
  .related-grid,
  .sector-grid,
  .sector-grid.small {
    grid-template-columns: 1fr 1fr;
  }

  .spec-section {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn,
  .cta-band-actions .btn {
    width: 100%;
  }

  .urgent-actions .btn {
    width: 100%;
  }

  .float-whatsapp {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 460px) {
  .grid-3,
  .grid-5,
  .related-grid,
  .sector-grid,
  .sector-grid.small {
    grid-template-columns: 1fr;
  }
}
