/**
 * ACG Capital — Equipment Financing Page Styles
 * Scoped under .acg-financing-wrapper to prevent collisions with drsindustrialtheme global CSS.
 *
 * Removed global rules: * { box-sizing }, body { }, a { }, header, nav, footer, topbar.
 * :root variables moved to .acg-financing-wrapper scope.
 *
 * @package drsindustrial
 */

/* =====================================================
   SCOPE VARIABLES (no sobrescribe las del tema global)
   ===================================================== */
.acg-financing-wrapper {
  --acg-c1:        #002768;
  --acg-c1-dark:   #001A4A;
  --acg-c1-deeper: #000E2A;
  --acg-c1-tint:   #EBF0FA;
  --acg-c2:        #ff6900;
  --acg-c2-dark:   #C03008;
  --acg-c2-mid:    #E03A08;
  --acg-c2-light:  #FF7040;
  --acg-c2-line:   #FFDDD0;
  --acg-white:     #FFFFFF;

  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  box-sizing: border-box;
}

/* Scope box-sizing only inside the wrapper */
.acg-financing-wrapper *,
.acg-financing-wrapper *::before,
.acg-financing-wrapper *::after {
  box-sizing: inherit;
}

/* Reset margin/padding only for acg elements (not global) */
.acg-financing-wrapper a {
  text-decoration: none;
  color: inherit;
}

/* =====================================================
   HERO — dark navy
   ===================================================== */
.acg-financing-wrapper .hero {
  background: var(--acg-c1);
  padding: 80px 24px 60px;
  color: #fff;
}
.acg-financing-wrapper .hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.acg-financing-wrapper .hero-badge {
  display: inline-block;
  background: rgba(252, 70, 10, 0.2);
  color: var(--acg-c2);
  border: 1px solid rgba(255, 112, 64, 0.35);
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.acg-financing-wrapper .hero h1 {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 750px;
}
.acg-financing-wrapper .hero h1 span {
  color: var(--acg-c2);
}
.acg-financing-wrapper .hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.acg-financing-wrapper .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.acg-financing-wrapper .btn-primary {
  background: var(--acg-c2);
  color: var(--acg-white);
  padding: 15px 32px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s;
  display: inline-block;
}
.acg-financing-wrapper .btn-primary:hover {
  background: var(--acg-c2-dark);
  color: var(--acg-white);
}
.acg-financing-wrapper .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 13px 30px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}
.acg-financing-wrapper .btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.acg-financing-wrapper .hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
}
.acg-financing-wrapper .hero-stat {
  flex: 1;
  min-width: 150px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.acg-financing-wrapper .hero-stat:first-child {
  padding-left: 0;
  text-align: left;
}
.acg-financing-wrapper .hero-stat:last-child {
  border-right: none;
}
.acg-financing-wrapper .hero-stat-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--acg-c2);
  display: block;
}
.acg-financing-wrapper .hero-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
}

/* =====================================================
   FEATURES — white
   ===================================================== */
.acg-financing-wrapper .features {
  background: #fff;
  padding: 56px 24px;
  border-bottom: 1px solid #eee;
}
.acg-financing-wrapper .features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.acg-financing-wrapper .features h2 {
  text-align: center;
  font-size: 27px;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
}
.acg-financing-wrapper .features-sub {
  text-align: center;
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  max-width: 660px;
  margin: 0 auto 34px;
}
.acg-financing-wrapper .features-sub a {
  color: var(--acg-c1);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.acg-financing-wrapper .features-sub a:hover {
  color: var(--acg-c2);
}
.acg-financing-wrapper .features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.acg-financing-wrapper .feat-card {
  background: #f8f9fc;
  border-radius: 8px;
  padding: 26px;
  border-left: 4px solid var(--acg-c1);
}
.acg-financing-wrapper .feat-icon {
  font-size: 26px;
  margin-bottom: 10px;
}
.acg-financing-wrapper .feat-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}
.acg-financing-wrapper .feat-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
}

/* =====================================================
   CALCULATOR — navy tint
   ===================================================== */
.acg-financing-wrapper .calculator {
  background: var(--acg-c1-tint);
  padding: 70px 24px;
}
.acg-financing-wrapper .calc-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.acg-financing-wrapper .section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--acg-c1-dark);
  margin-bottom: 10px;
}
.acg-financing-wrapper .section-title {
  font-size: 34px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.acg-financing-wrapper .section-sub {
  font-size: 17px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 640px;
}
.acg-financing-wrapper .calc-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}
.acg-financing-wrapper .calc-card-header {
  background: var(--acg-c1);
  color: #fff;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.acg-financing-wrapper .calc-card-header h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.acg-financing-wrapper .calc-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.acg-financing-wrapper .calc-input-wrap label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.acg-financing-wrapper .calc-cost-input {
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  width: 140px;
  text-align: center;
}
.acg-financing-wrapper .calc-cost-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.25);
}
.acg-financing-wrapper .calc-slider-row {
  padding: 10px 28px 14px;
  border-bottom: 1px solid #d8e4f5;
}
.acg-financing-wrapper .calc-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #888;
}
.acg-financing-wrapper .calc-slider {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 44px;
  background: transparent;
  outline: none;
  cursor: pointer;
  margin: 0;
}
.acg-financing-wrapper .calc-slider::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--acg-c1) 0%, var(--acg-c1) var(--fill, 0%), #d8e4f5 var(--fill, 0%), #d8e4f5 100%);
}
.acg-financing-wrapper .calc-slider::-moz-range-track {
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--acg-c1) 0%, var(--acg-c1) var(--fill, 0%), #d8e4f5 var(--fill, 0%), #d8e4f5 100%);
}
.acg-financing-wrapper .calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--acg-c2);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  margin-top: -9px;
}
.acg-financing-wrapper .calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--acg-c2);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
  cursor: pointer;
}
.acg-financing-wrapper .calc-slider:focus-visible {
  outline: 2px solid var(--acg-c1);
  outline-offset: 2px;
  border-radius: 3px;
}
.acg-financing-wrapper .calc-error {
  color: #c0392b;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 28px;
  display: none;
}
.acg-financing-wrapper .calc-table {
  width: 100%;
  border-collapse: collapse;
}
.acg-financing-wrapper .calc-table thead {
  background: var(--acg-c1-tint);
}
.acg-financing-wrapper .calc-table th {
  padding: 14px 28px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--acg-c1-dark);
  text-align: left;
}
.acg-financing-wrapper .calc-table th:last-child {
  text-align: right;
}
.acg-financing-wrapper .calc-table td {
  padding: 16px 28px;
  border-bottom: 1px solid #d8e4f5;
  font-size: 16px;
  color: #444;
}
.acg-financing-wrapper .calc-table td:last-child {
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  color: var(--acg-c1-dark);
}
.acg-financing-wrapper .calc-table tr:last-child td {
  border-bottom: none;
}
.acg-financing-wrapper .calc-table tr:hover {
  background: #f0f5fd;
}
.acg-financing-wrapper .calc-footer {
  padding: 16px 28px;
  background: #f0f5fd;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #d8e4f5;
}

/* =====================================================
   BENEFITS — white
   ===================================================== */
.acg-financing-wrapper .benefits {
  background: #fff;
  padding: 70px 24px;
}
.acg-financing-wrapper .benefits-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.acg-financing-wrapper .benefits-header {
  text-align: center;
  margin-bottom: 48px;
}
.acg-financing-wrapper .benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.acg-financing-wrapper .benefit-card {
  background: #f8f9fc;
  border-radius: 10px;
  padding: 30px;
  border-left: 4px solid var(--acg-c1);
  transition: transform .2s, box-shadow .2s;
}
.acg-financing-wrapper .benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}
.acg-financing-wrapper .benefit-icon {
  font-size: 32px;
  margin-bottom: 14px;
}
.acg-financing-wrapper .benefit-title {
  font-size: 17px;
  font-weight: 700;
  color: #222;
  margin-bottom: 8px;
}
.acg-financing-wrapper .benefit-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* =====================================================
   APPLY SECTION — orange-red
   ===================================================== */
.acg-financing-wrapper .apply-section {
  background: var(--acg-c2);
  padding: 70px 24px;
}
.acg-financing-wrapper .apply-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.acg-financing-wrapper .apply-left h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.acg-financing-wrapper .apply-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 28px;
}
.acg-financing-wrapper .apply-checklist {
  list-style: none;
  margin-bottom: 32px;
  padding: 0;
}
.acg-financing-wrapper .apply-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.92);
}
.acg-financing-wrapper .apply-checklist li::before {
  content: '✓';
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  min-width: 20px;
}
.acg-financing-wrapper .apply-contact {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.acg-financing-wrapper .apply-contact strong {
  color: #fff;
}
.acg-financing-wrapper .apply-contact a {
  color: #FFD0B8;
  font-weight: 600;
}
.acg-financing-wrapper .form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

/* =====================================================
   EMBEDDED ACG QUOTE WIDGET — themed to match
   ===================================================== */
.acg-financing-wrapper .form-card .acgqw {
  max-width: none;
  border: 0;
  border-radius: 0;
  background: #fff;
  padding: 0 28px 28px;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
}
.acg-financing-wrapper .form-card .acgqw h3 {
  margin: 0 -28px 6px;
  padding: 20px 28px;
  background: var(--acg-c1);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
.acg-financing-wrapper .form-card .acgqw label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin: 14px 0 5px;
}
.acg-financing-wrapper .form-card .acgqw input,
.acg-financing-wrapper .form-card .acgqw select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  color: #222;
  background: #fff;
  transition: border-color .2s;
}
.acg-financing-wrapper .form-card .acgqw input:focus,
.acg-financing-wrapper .form-card .acgqw select:focus {
  outline: none;
  border-color: var(--acg-c1);
}
.acg-financing-wrapper .form-card .acgqw .acgqw-invalid {
  border-color: #C0392B;
  background: #fdf3f2;
}
.acg-financing-wrapper .form-card .acgqw-row {
  gap: 14px;
  flex-wrap: wrap;
}
.acg-financing-wrapper .form-card .acgqw-row > div {
  min-width: 140px;
}
.acg-financing-wrapper .form-card .acgqw label.acgqw-optin {
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin-top: 16px;
}
.acg-financing-wrapper .form-card .acgqw label.acgqw-optin input {
  width: auto;
  padding: 0;
  border: 0;
  margin-right: 8px;
}
.acg-financing-wrapper .form-card .acgqw-ts {
  margin: 16px 0 0;
}
.acg-financing-wrapper .form-card .acgqw button {
  margin-top: 18px;
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--acg-c1);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}
.acg-financing-wrapper .form-card .acgqw button:hover {
  background: var(--acg-c1-dark);
}
.acg-financing-wrapper .form-card .acgqw button:disabled {
  background: #8c9bb8;
  cursor: not-allowed;
}
.acg-financing-wrapper .form-card .acgqw-msg {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}
.acg-financing-wrapper .form-card .acgqw-msg.ok {
  color: var(--acg-c1);
}
.acg-financing-wrapper .form-card .acgqw-msg.err {
  color: #C0392B;
}
.acg-financing-wrapper .form-card .acgqw-done {
  padding: 36px 8px;
}
.acg-financing-wrapper .form-card .acgqw-done-title {
  color: var(--acg-c1);
  font-size: 22px;
}
.acg-financing-wrapper .form-card .acgqw-thanks {
  font-size: 15px;
  color: #444;
}

/* =====================================================
   RESPONSIVE — media queries
   ===================================================== */
@media (max-width: 900px) {
  .acg-financing-wrapper .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .acg-financing-wrapper .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .acg-financing-wrapper .apply-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .acg-financing-wrapper .hero h1 {
    font-size: 27px;
  }
  .acg-financing-wrapper .hero-stats {
    flex-direction: column;
    gap: 12px;
  }
  .acg-financing-wrapper .hero-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 0 12px 0;
    text-align: left;
  }
  .acg-financing-wrapper .hero-stat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 460px) {
  .acg-financing-wrapper .features-grid {
    grid-template-columns: 1fr;
  }
  .acg-financing-wrapper .hero-btns {
    flex-direction: column;
  }
  .acg-financing-wrapper .btn-primary,
  .acg-financing-wrapper .btn-outline {
    width: 100%;
    text-align: center;
  }
  .acg-financing-wrapper .section-title {
    font-size: 26px;
  }
  .acg-financing-wrapper .apply-left h2 {
    font-size: 26px;
  }
}
