/* ============================================================
   ASDI REFRESH — EXTENSIÓN (Gestión Inmobiliaria y Cobros)
   Componentes adicionales sobre la misma paleta / variables
   definidas en asdi-refresh.css (navy, lime, off-white...)
   ============================================================ */

/* --- Franja de confianza (trust strip) --------------------- */
.trust-strip {
  background: var(--off-white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 0;
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-right: 1px solid var(--gray-100);
}
.trust-item:last-child { border-right: none; }
.trust-item img { width: 34px; height: 34px; flex-shrink: 0; }
.trust-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.trust-item span { font-size: 12px; color: var(--gray-600); }

@media (max-width: 900px) {
  .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item { border-bottom: 1px solid var(--gray-100); }
}
@media (max-width: 520px) {
  .trust-strip .container { grid-template-columns: 1fr; }
  .trust-item { border-right: none; }
}

/* --- Barra de estadísticas grandes (stat pills) ------------ */
.hero-stat-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hero-stat-pill {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(185,196,30,.28);
  border-left: 3px solid var(--lime);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  min-width: 140px;
}
.hero-stat-pill strong {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--lime);
  line-height: 1;
}
.hero-stat-pill span {
  font-size: 11.5px;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* --- Grid de tarjetas genérico (feature-card) --------------- */
.feature-section { padding: 100px 0; background: var(--white); }
.feature-section.alt { background: var(--off-white); }

.feature-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-top: 3px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-card .fc-icon {
  width: 52px; height: 52px;
  background: var(--lime-soft, rgba(185,196,30,.14));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card .fc-icon img { width: 28px; height: 28px; }
.feature-card h3, .feature-card h4 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 10px;
}
.feature-card p { font-size: 14.5px; color: var(--gray-600); line-height: 1.7; }

@media (max-width: 900px) {
  .feature-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .feature-grid-3, .feature-grid-2 { grid-template-columns: 1fr; }
}

/* --- Lista de servicios con icono (service-list) ------------ */
.service-list-x { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.service-list-x li { display: flex; gap: 16px; align-items: flex-start; list-style: none; }
.sl-badge {
  width: 36px; height: 36px;
  background: var(--lime);
  color: var(--navy);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
}
.sl-text strong { display: block; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.sl-text span { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* --- Checklist con marca de verificación --------------------- */
.check-list-x { display: flex; flex-direction: column; gap: 14px; }
.check-list-x li { display: flex; gap: 12px; align-items: flex-start; list-style: none; font-size: 14.5px; color: var(--text-body); line-height: 1.65; }
.ck-x {
  width: 22px; height: 22px;
  background: rgba(185,196,30,.18);
  color: var(--lime-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
  flex-shrink: 0; margin-top: 2px;
}

/* --- Proceso numerado (timeline horizontal / grid) ----------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.process-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.process-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.process-num {
  width: 48px; height: 48px;
  margin: 0 auto 18px;
  background: var(--navy);
  color: var(--lime);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
}
.process-card h4 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.process-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }

@media (max-width: 900px) {
  .process-grid, .process-grid.cols-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .process-grid, .process-grid.cols-3 { grid-template-columns: 1fr; }
}

/* --- Cadena vertical con línea (para ciclos / etapas) -------- */
.stepline { display: flex; flex-direction: column; }
.stepline-item { display: flex; gap: 20px; position: relative; padding-bottom: 34px; }
.stepline-item:last-child { padding-bottom: 0; }
.stepline-marker { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.stepline-dot {
  width: 14px; height: 14px;
  background: var(--lime);
  border-radius: 50%;
  border: 3px solid var(--navy);
  flex-shrink: 0;
}
.stepline-line { width: 2px; flex: 1; background: var(--gray-100); margin-top: 4px; }
.stepline-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--lime-dark); margin-bottom: 4px; display: block;
}
.stepline-body h4 { font-family: var(--font-head); font-size: 17px; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; }
.stepline-body p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* --- Tabla comparativa --------------------------------------- */
.compare-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
table.compare-table { width: 100%; border-collapse: collapse; min-width: 620px; background: var(--white); }
table.compare-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  padding: 18px 22px;
  text-align: left;
}
table.compare-table thead th.hl { background: var(--lime-dark); color: var(--navy); }
table.compare-table tbody td {
  padding: 16px 22px;
  font-size: 14px;
  color: var(--text-body);
  border-bottom: 1px solid var(--gray-100);
}
table.compare-table tbody tr:last-child td { border-bottom: none; }
table.compare-table tbody td.hl { background: rgba(185,196,30,.08); font-weight: 600; }
.t-cross { color: #C0453A; font-weight: 800; margin-right: 6px; }
.t-check { color: var(--lime-dark); font-weight: 800; margin-right: 6px; }

/* --- Sección oscura "Por qué ASDI" ---------------------------- */
.why-section { padding: 100px 0; background: var(--navy); }
.why-section .section-title { color: var(--white); }
.why-section .section-header p { color: var(--gray-300); }
.why-section .section-eyebrow { color: var(--lime); }
.why-grid-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card-x {
  text-align: center;
  padding: 34px 22px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  transition: background var(--transition), transform var(--transition);
}
.why-card-x:hover { background: rgba(185,196,30,.08); transform: translateY(-4px); }
.why-card-x img { width: 40px; height: 40px; margin: 0 auto 16px; }
.why-card-x h4 { font-size: 15.5px; font-weight: 700; color: var(--white); margin-bottom: 8px; text-transform: uppercase; font-family: var(--font-head); letter-spacing: .3px; }
.why-card-x p { font-size: 13.5px; color: var(--gray-300); line-height: 1.65; }

@media (max-width: 900px) { .why-grid-x { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid-x { grid-template-columns: 1fr; } }

/* --- Divisiones (home) — tarjetas grandes sobre fondo navy ---- */
.divisions-section { padding: 100px 0; background: var(--navy); position: relative; }
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(185,196,30,.22);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.division-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.division-card:hover::before { transform: scaleX(1); }
.division-card:hover { transform: translateY(-6px); background: rgba(185,196,30,.07); border-color: var(--lime); }
.division-icon {
  width: 56px; height: 56px;
  background: var(--lime);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.division-icon img { width: 28px; height: 28px; }
.division-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--lime); margin-bottom: 10px; display: block;
}
.division-card h3 {
  font-family: var(--font-head);
  font-size: 25px; font-weight: 800; color: var(--white);
  text-transform: uppercase; margin-bottom: 12px;
}
.division-card p { font-size: 14.5px; color: var(--gray-300); line-height: 1.7; margin-bottom: 24px; }
.division-stats { display: flex; gap: 28px; margin-bottom: 26px; flex-wrap: wrap; }
.division-stats div { display: flex; flex-direction: column; }
.division-stats strong { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--lime); line-height: 1; }
.division-stats span { font-size: 11px; color: var(--gray-300); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
.division-card .btn-primary { font-size: 14px; padding: 12px 24px; }

@media (max-width: 820px) {
  .divisions-grid { grid-template-columns: 1fr; }
}

/* --- FAQ accordion --------------------------------------------- */
.faq-section { padding: 100px 0; background: var(--white); }
.faq-list-x { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-list-x details {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-list-x details[open] { border-color: var(--lime); }
.faq-list-x summary {
  font-weight: 700; font-size: 15px; color: var(--navy);
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 20px 24px;
}
.faq-list-x summary::-webkit-details-marker { display: none; }
.faq-list-x summary::after {
  content: "+"; font-size: 22px; color: var(--lime-dark); font-weight: 400; flex-shrink: 0;
}
.faq-list-x details[open] summary::after { content: "\2212"; }
.faq-list-x details p {
  padding: 0 24px 22px;
  font-size: 14.5px; color: var(--gray-600); line-height: 1.75;
}

/* --- Tarjetas de servicio (servicios.html) ----------------------- */
.service-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card-x {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex; flex-direction: column;
}
.service-card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card-x .sc-photo { height: 190px; overflow: hidden; }
.service-card-x .sc-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card-x:hover .sc-photo img { transform: scale(1.06); }
.service-card-x .sc-body {
  padding: 26px 28px 28px;
  display: flex; flex-direction: column; flex-grow: 1;
}
.service-card-x h3 {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 700; color: var(--navy);
  text-transform: uppercase; margin-bottom: 10px;
}
.service-card-x p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 18px; flex-grow: 1; }
.service-card-x .sc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.service-card-x .sc-tags span {
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: var(--off-white); color: var(--gray-600);
  padding: 4px 10px; border-radius: 999px;
}
.service-card-x .sc-link { font-size: 13.5px; font-weight: 700; color: var(--lime-dark); display: inline-flex; align-items: center; gap: 6px; }
.service-card-x .sc-link svg { width: 14px; height: 14px; transition: transform .2s; }
.service-card-x:hover .sc-link svg { transform: translateX(4px); }

@media (max-width: 980px) { .service-cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-cards-grid { grid-template-columns: 1fr; } }

/* --- Botón de descarga de catálogo (más vistoso) ----------------- */
.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  margin-bottom: 56px;
}
.catalog-cta-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-bottom: 4px;
}
.catalog-cta-text span { font-size: 13.5px; color: var(--gray-300); }
.catalog-cta .btn-primary { flex-shrink: 0; }

@media (max-width: 620px) {
  .catalog-cta { flex-direction: column; text-align: center; padding: 26px 24px; }
}

/* --- Captura de software (imagen con marco) ---------------------- */
.software-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.software-shot img { width: 100%; display: block; }

/* --- Layout contacto ---------------------------------------------- */
.contact-section { padding: 100px 0; background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: var(--white);
}
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-info-item:last-of-type { margin-bottom: 0; }
.ci-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(185,196,30,.15);
  border: 1px solid rgba(185,196,30,.3);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.ci-icon svg { width: 20px; height: 20px; color: var(--lime); }
.contact-info-item h4 { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .3px; }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--gray-300); line-height: 1.6; }
.contact-info-item a:hover { color: var(--lime); }
.contact-info-banner {
  margin-top: 30px;
  background: rgba(185,196,30,.1);
  border: 1px dashed rgba(185,196,30,.35);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.contact-info-banner strong { display: block; color: var(--lime); font-size: 14px; margin-bottom: 2px; }
.contact-info-banner span { font-size: 12.5px; color: var(--gray-300); }

/* --- Columna de contacto estilo claro (tarjetas individuales) ---- */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(185,196,30,.14);
  color: var(--lime-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.contact-info-header h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.contact-info-header h2 em { font-style: normal; color: var(--lime-dark); }
.contact-info-header p { color: var(--gray-600); font-size: 14.5px; line-height: 1.7; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(185,196,30,.4);
}
.contact-card-ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(185,196,30,.14);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.contact-card-ico svg { width: 20px; height: 20px; color: var(--lime-dark); }
.contact-card-body h4 {
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--navy);
  margin-bottom: 4px;
}
.contact-card-body p, .contact-card-body a {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.55;
}
.contact-card-body a { color: var(--lime-dark); font-weight: 600; text-decoration: none; }
.contact-card-body a:hover { text-decoration: underline; }

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-cta-text strong {
  display: block;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.contact-cta-text span { color: var(--gray-300); font-size: 13px; }
.contact-cta-arrow {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition);
}
.contact-cta-arrow svg { width: 18px; height: 18px; color: var(--navy); }
.contact-cta:hover .contact-cta-arrow { transform: translateX(3px); }


.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 {
  font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--navy);
  text-transform: uppercase; margin-bottom: 8px;
}
.contact-form-card > p { color: var(--gray-600); font-size: 14.5px; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--lime); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
.form-check input { width: auto; margin-top: 3px; }
.form-check label { font-size: 13px; color: var(--gray-600); font-weight: 400; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 14.5px;
  padding: 15px 32px; border-radius: var(--radius-sm);
  border: none; cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  width: 100%; justify-content: center;
}
.btn-submit:hover { background: var(--navy-mid); transform: translateY(-2px); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- Utilidades ------------------------------------------------------ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
