/* Cotizador alquiler de maquinaria — CESCAC */
.cotizador-wrap {
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 1.25rem;
  border-radius: 14px;
  border: 1px solid var(--border, #e5e7eb);
  background: var(--card-bg, #fff);
}
[data-theme="dark"] .cotizador-wrap {
  --border: #334155;
  --card-bg: #1e293b;
}
.cotizador-wrap h2 {
  margin-top: 0;
}
.cot-lead {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  color: var(--text-muted, #64748b);
}
.cot-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-end;
}
.cot-controls label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.cot-controls select {
  min-width: 200px;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border, #cbd5e1);
  font-size: 1rem;
}
.cot-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.cot-equipos-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) {
  .cot-equipos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cot-eq-card {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  background: var(--subtle, #f8fafc);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.cot-eq-fig {
  margin: 0 0 0.25rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
  align-self: stretch;
}
.cot-eq-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
[data-theme="dark"] .cot-eq-card {
  background: #0f172a;
}
.cot-eq-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  cursor: pointer;
  font-weight: 700;
}
.cot-eq-head input {
  width: 1.1rem;
  height: 1.1rem;
}
.cot-eq-title {
  flex: 1;
  min-width: 140px;
}
.cot-eq-precio {
  color: #047857;
  font-weight: 800;
  white-space: nowrap;
}
[data-theme="dark"] .cot-eq-precio {
  color: #34d399;
}
.cot-eq-desc {
  margin: 0.5rem 0 0 1.85rem;
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
}
.cot-eq-op {
  margin: 0.35rem 0 0 1.85rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #b45309;
}
[data-theme="dark"] .cot-eq-op {
  color: #fbbf24;
}
.cot-eq-qty {
  margin: 0.65rem 0 0 1.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cot-qty-input {
  width: 4.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  border: 1px solid var(--border, #cbd5e1);
}
.cot-total-box {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  margin-bottom: 1rem;
}
[data-theme="dark"] .cot-total-box {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
  border-color: #34d399;
}
.cot-total-box strong {
  font-size: 1.35rem;
  color: #065f46;
}
[data-theme="dark"] .cot-total-box strong {
  color: #a7f3d0;
}
.cot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.cot-legal {
  font-size: 0.82rem;
  color: var(--text-muted, #64748b);
  margin-top: 1rem;
  line-height: 1.45;
}
.persuade-strip {
  background: linear-gradient(120deg, #0f766e 0%, #047857 45%, #0d9488 100%);
  color: #fff;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  margin: 1rem auto 1.5rem;
  max-width: 920px;
  box-shadow: 0 8px 24px rgba(6, 95, 70, 0.25);
}
.persuade-strip p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
}
.persuade-strip strong {
  font-weight: 800;
}
.info-dual {
  display: grid;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto 1.5rem;
}
@media (min-width: 720px) {
  .info-dual {
    grid-template-columns: 1fr 1fr;
  }
}
.info-box {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.info-box--op {
  border-color: #fdba74;
  background: #fff7ed;
}
.info-box--logistica {
  border-color: #93c5fd;
  background: #eff6ff;
}
[data-theme="dark"] .info-box--op {
  background: #422006;
  border-color: #ea580c;
}
[data-theme="dark"] .info-box--logistica {
  background: #172554;
  border-color: #3b82f6;
}
.equipo-directivo {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  max-width: 640px;
}
.equipo-directivo li {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--subtle, #f8fafc);
  line-height: 1.5;
}
[data-theme="dark"] .equipo-directivo li {
  background: #0f172a;
  border-color: #334155;
}
.equipo-directivo .cargo {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f766e;
  margin-top: 0.2rem;
}
[data-theme="dark"] .equipo-directivo .cargo {
  color: #5eead4;
}
.equipo-directivo .rol-detalle {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted, #64748b);
  margin-top: 0.35rem;
  font-style: normal;
}
.tarifas-table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}
.tarifas-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.tarifas-table th,
.tarifas-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
.tarifas-table th {
  background: #f8fafc;
  font-weight: 700;
}
[data-theme="dark"] .tarifas-table th {
  background: #1e293b;
}
.tarifas-table .precio {
  font-weight: 800;
  color: #047857;
  white-space: nowrap;
}
.tarifas-th-img,
.tarifas-td-img {
  width: 4.5rem;
  text-align: center;
  vertical-align: middle;
}
.tarifas-td-img img {
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
[data-theme="dark"] .tarifas-td-img img {
  border-color: #334155;
}

/* Bloque IMPORTANTE (tarifario CEVACONSTRUC) */
.alquiler-importante {
  max-width: 920px;
  margin: 1.5rem auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #fecaca;
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.12);
}
.alquiler-importante__head {
  margin: 0;
  padding: 0.55rem 1rem;
  background: #b91c1c;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.alquiler-importante__body {
  margin: 0;
  padding: 1rem 1.15rem 1.1rem;
  background: #fffbeb;
  line-height: 1.55;
  font-size: 0.95rem;
}
[data-theme="dark"] .alquiler-importante {
  border-color: #7f1d1d;
}
[data-theme="dark"] .alquiler-importante__body {
  background: #1c1917;
  color: #e7e5e4;
}
.alquiler-importante__body ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* Galería video */
.alquiler-videos-intro {
  font-size: 0.95rem;
  color: var(--text-muted, #64748b);
  line-height: 1.5;
  max-width: 720px;
}
.alquiler-videos-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) {
  .alquiler-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.alquiler-video-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--subtle, #f8fafc);
}
[data-theme="dark"] .alquiler-video-card {
  background: #0f172a;
  border-color: #334155;
}
.alquiler-video-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #000;
  object-fit: cover;
}
.alquiler-video-card figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
.alquiler-media-path {
  font-size: 0.82rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px dashed #94a3b8;
  font-family: ui-monospace, monospace;
  word-break: break-all;
}
[data-theme="dark"] .alquiler-media-path {
  background: #1e293b;
  border-color: #475569;
}
[data-theme="dark"] .tarifas-table .precio {
  color: #34d399;
}
