:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --slate-950: #090d16;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --green-700: #15803d;
  --green-100: #dcfce7;
  --blue-700: #1d4ed8;
  --blue-100: #dbeafe;
  --red-700: #b91c1c;
  --red-100: #fee2e2;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 34px -10px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 24px 54px -14px rgba(2, 6, 23, 0.4);
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--slate-900);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  letter-spacing: -0.025em;
  margin: 0;
}

img {
  max-width: 100%;
}

.container {
  width: min(1220px, 100% - 32px);
  margin: 0 auto;
}

.hidden {
  display: none !important;
}

.amber-text {
  color: var(--amber-400);
}

/* Barra superior */
.utility-bar {
  background: var(--slate-950);
  color: #94a3b8;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.utility-left span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.utility-right {
  white-space: nowrap;
  color: #cbd5e1;
  font-weight: 500;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.24);
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.brand-text small {
  font-size: 11px;
  color: var(--slate-500);
  font-weight: 600;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  text-decoration: none;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--slate-900);
}

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

.currency-switch {
  display: inline-flex;
  background: var(--surface-muted);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  padding: 2px;
}

.curr-btn {
  border: none;
  background: transparent;
  padding: 5px 9px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
}

.curr-btn.active {
  background: var(--surface);
  color: var(--slate-900);
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--slate-200);
  background: var(--surface);
  color: var(--slate-900);
  cursor: pointer;
}

.mobile-drawer {
  background: var(--surface);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.mobile-drawer-inner {
  padding: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  text-decoration: none;
  color: var(--slate-800);
  font-weight: 600;
  font-size: 15px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--surface-muted);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  transition: all 0.16s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 13px;
  font-size: 13px;
}

.btn-lg {
  padding: 12px 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn-amber {
  background: var(--amber-500);
  color: var(--slate-950);
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

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

.btn-dark {
  background: var(--slate-900);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--slate-800);
}

.btn-hero-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.btn-hero-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline {
  background: var(--surface);
  border-color: var(--slate-300);
  color: var(--slate-800);
}

.btn-outline:hover {
  border-color: var(--slate-900);
  background: var(--surface-muted);
}

.btn-ghost {
  background: transparent;
  color: var(--slate-600);
}

.btn-ghost:hover {
  background: var(--surface-muted);
}

.counter-pill {
  background: var(--amber-500);
  color: var(--slate-950);
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.link-btn {
  background: none;
  border: none;
  color: var(--amber-600);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

.link-btn-amber {
  background: none;
  border: none;
  color: var(--amber-600);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
}

/* Hero atmosférico */
.hero-section {
  position: relative;
  overflow: hidden;
  background: var(--slate-950);
  color: #ffffff;
  padding: 48px 0 42px;
  border-bottom: 3px solid var(--amber-500);
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 13, 22, 0.96) 0%, rgba(15, 23, 42, 0.88) 54%, rgba(15, 23, 42, 0.72) 100%),
    url('/images/excavator-cat.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--amber-400);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--amber-400);
}

.hero-copy h1 {
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1.1;
  margin-bottom: 14px;
  font-weight: 700;
}

.hero-subtitle {
  color: #cbd5e1;
  font-size: 15.5px;
  max-width: 58ch;
  margin: 0 0 24px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.hero-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-stat {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.trust-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-stat strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.trust-stat span {
  font-size: 12px;
  color: #94a3b8;
}

/* Panel derecho de disponibilidad en Hero */
.hero-panel {
  min-width: 0;
}

.fleet-card {
  background: var(--surface);
  color: var(--slate-900);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.fleet-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.fleet-kicker {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber-600);
}

.fleet-card-head h3 {
  font-size: 16px;
}

.live-tag {
  background: var(--green-100);
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.fleet-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fleet-row {
  width: 100%;
  border: 1px solid var(--slate-200);
  background: var(--bg);
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.fleet-row:hover {
  border-color: var(--amber-500);
  background: var(--amber-50);
}

.fleet-row img {
  width: 52px;
  height: 40px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}

.fleet-row-info {
  min-width: 0;
  flex: 1;
}

.fleet-row-info strong {
  display: block;
  font-size: 13px;
  color: var(--slate-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fleet-row-info span {
  display: block;
  font-size: 11.5px;
  color: var(--slate-500);
}

.fleet-arrow {
  color: var(--slate-400);
  font-weight: 700;
}

.fleet-card-foot {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--slate-600);
}

/* Barra de búsqueda */
.search-panel {
  margin-top: 28px;
  background: var(--surface);
  color: var(--slate-900);
  border-radius: var(--radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  box-shadow: var(--shadow-lg);
}

.search-field {
  min-width: 0;
}

.search-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.search-field input,
.search-field select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  padding: 0 11px;
  font-family: inherit;
  font-size: 14px;
  color: var(--slate-900);
  background: #ffffff;
}

.search-submit .btn {
  height: 42px;
  padding: 0 22px;
}

/* Banda de marcas */
.brands-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--slate-200);
  padding: 16px 0;
}

.brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brands-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-500);
}

.brands-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.brands-logos span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}

/* Secciones */
.section {
  padding: 60px 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-dark {
  background: var(--slate-900);
  color: #ffffff;
}

.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-600);
  margin-bottom: 6px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-header-row h2,
.section-header-center h2 {
  font-size: clamp(23px, 2.6vw, 31px);
}

.section-sub {
  margin: 4px 0 0;
  color: var(--slate-600);
  font-size: 14px;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-header-center p {
  color: var(--slate-600);
  margin: 8px 0 0;
}

.results-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}

/* Pills */
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  border: 1px solid var(--slate-300);
  background: var(--surface);
  color: var(--slate-700);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pill:hover {
  border-color: var(--slate-900);
}

.pill.active {
  background: var(--slate-900);
  color: #ffffff;
  border-color: var(--slate-900);
}

/* Grid de catálogo */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.eq-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

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

.eq-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--slate-200);
  overflow: hidden;
}

.eq-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eq-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.code-tag {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  padding: 3px 8px;
  border-radius: 6px;
}

.status-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.status-green {
  background: var(--green-100);
  color: var(--green-700);
}

.status-blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.status-amber {
  background: var(--amber-100);
  color: #92400e;
}

.status-red {
  background: var(--red-100);
  color: var(--red-700);
}

.eq-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.eq-location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-500);
  font-weight: 600;
  margin-bottom: 6px;
}

.verified-badge {
  color: var(--green-700);
  font-weight: 700;
  white-space: nowrap;
}

.eq-title {
  font-size: 16.5px;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--slate-900);
}

.spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.spec-chip {
  font-size: 11px;
  font-weight: 600;
  background: var(--surface-muted);
  color: var(--slate-700);
  padding: 3px 8px;
  border-radius: 6px;
}

.eq-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--slate-200);
}

.eq-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 8px;
}

.eq-price-row .price-main {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.eq-price-row small {
  font-size: 12px;
  color: var(--slate-500);
}

.discount-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-600);
  background: var(--amber-50);
  border: 1px solid #fde68a;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
}

.eq-actions {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 8px;
}

/* Banner Pedido a Medida */
.custom-cta-banner {
  margin-top: 34px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-left: 5px solid var(--amber-500);
  box-shadow: var(--shadow-md);
}

.banner-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-400);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.custom-cta-banner h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.custom-cta-banner p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  max-width: 65ch;
}

/* Pilares B2B */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--amber-100);
  color: var(--amber-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.pillar-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.pillar-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--slate-600);
}

/* Pasos */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--slate-900);
  color: var(--amber-400);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 17.5px;
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 14px;
}

/* Sección Publicar Dueño + Mini calculadora */
.owner-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 32px;
  align-items: start;
}

.owner-copy {
  min-width: 0;
}

.owner-copy h2 {
  font-size: clamp(24px, 2.8vw, 33px);
  margin-bottom: 12px;
}

.owner-copy > p {
  color: #cbd5e1;
  margin: 0 0 20px;
}

.owner-calc-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.owner-calc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-400);
}

.owner-calc-head small {
  color: #94a3b8;
  font-weight: 500;
}

.owner-calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.owner-calc-inputs label {
  display: block;
  font-size: 11px;
  color: #cbd5e1;
  margin-bottom: 4px;
}

.owner-calc-inputs input {
  width: 100%;
  height: 38px;
  border-radius: 7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  padding: 0 10px;
  font-size: 14px;
}

.owner-calc-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.owner-calc-result strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  color: var(--amber-400);
  font-variant-numeric: tabular-nums;
}

.owner-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.owner-benefits li {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--amber-500);
  padding: 11px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 13.5px;
  color: #e2e8f0;
}

.owner-form-card {
  background: var(--surface);
  color: var(--slate-900);
  border-radius: var(--radius);
  padding: 24px;
  min-width: 0;
}

.owner-form-card h3 {
  font-size: 20px;
  margin-bottom: 4px;
}

.form-hint {
  font-size: 13px;
  color: var(--slate-600);
  margin: 0 0 18px;
}

/* FAQ */
.faq-container {
  max-width: 820px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 11px;
  padding: 16px 18px;
}

.faq-item summary {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--amber-600);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--slate-600);
}

/* Simulador dentro del Panel Broker */
.sim-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.preset-btn {
  border: 1px solid var(--slate-300);
  background: var(--surface);
  padding: 6px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.preset-btn.active {
  background: var(--amber-50);
  border-color: var(--amber-500);
  color: #92400e;
}

.sim-card-dark {
  background: var(--slate-900);
  color: #ffffff;
  border-radius: var(--radius);
  padding: 20px;
}

.sim-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #cbd5e1;
}

.discount-tag {
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.sim-kpi-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sim-kpi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.sim-kpi span {
  font-size: 13px;
  color: #cbd5e1;
}

.sim-kpi strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.highlight-kpi {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
}

.highlight-kpi strong {
  color: var(--amber-400);
  font-size: 20px;
}

.highlight-kpi small {
  display: block;
  font-size: 11px;
  color: #fde68a;
}

.total-kpi {
  background: rgba(255, 255, 255, 0.1);
}

/* Formularios */
.form-group {
  margin-bottom: 13px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 8px;
  padding: 9px 11px;
  font-family: inherit;
  font-size: 14px;
  color: var(--slate-900);
  background: #ffffff;
}

.form-group input[type="range"] {
  width: 100%;
  accent-color: var(--amber-500);
  margin-top: 8px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-end;
  padding-bottom: 8px;
}

.checkbox-label {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0 !important;
}

.feedback-box {
  margin-top: 14px;
  background: var(--green-100);
  color: var(--green-700);
  border: 1px solid #86efac;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: var(--slate-950);
  color: #94a3b8;
  padding: 40px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-note {
  max-width: 50ch;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  gap: 38px;
  flex-wrap: wrap;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-links span,
.footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer-links a:hover,
.footer-link-btn:hover {
  color: var(--amber-400);
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #94a3b8;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* Modales */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.72);
  backdrop-filter: blur(4px);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.modal-card {
  width: min(640px, 100%);
  max-height: 92vh;
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.modal-lg {
  width: min(760px, 100%);
}

.modal-xl {
  width: min(1040px, 100%);
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--slate-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.modal-header-dark {
  background: var(--slate-900);
  color: #ffffff;
  border-bottom-color: var(--slate-800);
}

.icon-close {
  border: none;
  background: var(--surface-muted);
  color: var(--slate-800);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.light-close {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}

.quote-eq-banner {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface-muted);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.quote-eq-banner img {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.live-estimate-box {
  background: var(--amber-50);
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 12px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.live-estimate-box span {
  display: block;
  font-weight: 700;
  font-size: 13px;
}

.live-estimate-box small {
  color: var(--slate-600);
  font-size: 12px;
}

.live-estimate-box strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Panel éxito WhatsApp */
.success-panel {
  text-align: center;
  padding: 8px 0;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 26px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.whatsapp-pre {
  text-align: left;
  background: var(--slate-900);
  color: #e2e8f0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 13px;
  white-space: pre-wrap;
  margin: 14px 0 18px;
  overflow-x: auto;
}

.success-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* Panel Broker */
.broker-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.broker-kpi-card {
  background: var(--surface-muted);
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 12px 14px;
}

.broker-kpi-card small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-500);
  text-transform: uppercase;
}

.broker-kpi-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.broker-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 16px;
  overflow-x: auto;
}

.broker-tab {
  border: none;
  background: none;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.broker-tab.active {
  color: var(--slate-900);
  border-bottom-color: var(--amber-500);
}

.deal-card {
  border: 1px solid var(--slate-200);
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 12px;
  background: #ffffff;
}

.deal-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.deal-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: var(--surface-muted);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 12px;
  margin-bottom: 12px;
}

.deal-meta-grid strong {
  display: block;
  font-size: 13px;
}

.deal-controls {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr 1.1fr auto auto;
  gap: 8px;
  align-items: end;
}

.deal-controls label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--slate-600);
  margin-bottom: 3px;
}

.deal-controls input,
.deal-controls select {
  width: 100%;
  height: 36px;
  border: 1px solid var(--slate-300);
  border-radius: 6px;
  padding: 0 8px;
  font-size: 13px;
}

.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 120;
  background: var(--slate-900);
  color: #ffffff;
  border-left: 4px solid var(--amber-500);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  max-width: calc(100vw - 40px);
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-grid,
  .sim-wrapper,
  .owner-grid {
    grid-template-columns: 1fr;
  }

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

  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-grow,
  .search-submit {
    grid-column: span 2;
  }

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

  .deal-controls {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100%, 100% - 28px);
  }

  .utility-right {
    display: none;
  }

  .hide-mobile {
    display: none !important;
  }

  .brand-text strong {
    font-size: 16.5px;
  }

  .hero-section {
    padding: 32px 0 30px;
  }

  .hero-trust-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-cta-row .btn {
    flex: 1;
    min-width: 140px;
    padding: 11px 14px;
    font-size: 14px;
  }

  .catalog-grid,
  .pillars-grid,
  .steps-grid,
  .broker-kpis,
  .deal-meta-grid,
  .form-row-2,
  .form-row-3,
  .owner-calc-inputs {
    grid-template-columns: 1fr;
  }

  .search-panel {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .search-grow,
  .search-submit {
    grid-column: span 1;
  }

  .custom-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .live-estimate-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .section {
    padding: 44px 0;
  }
}

@media (max-width: 400px) {
  .header-inner {
    gap: 8px;
  }

  .brand-text small {
    font-size: 10px;
  }

  .curr-btn {
    padding: 5px 7px;
    font-size: 11.5px;
  }

  #openCustomQuoteBtn {
    padding: 7px 10px;
    font-size: 12.5px;
  }

  .eq-actions .btn {
    padding: 8px 8px;
    font-size: 12.5px;
  }
}
