/* ═══════════════════════════════════════════════════════════
   CALESAN — CONTACTO CSS
   <link rel="stylesheet" href="/css/calesan.contacto.css">
═══════════════════════════════════════════════════════════ */

/* ── LAYOUT ── */
.contact-page { padding: 56px 0 80px; }
.contact-main-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }

/* ── INFO COLUMNS ── */
.info-section { margin-bottom: 32px; }
.info-section-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text3); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.info-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── CONTACT CARDS ── */
.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-lg);
  margin-bottom: 10px; box-shadow: var(--shadow-sm);
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.contact-card:hover { border-color: var(--border2); box-shadow: var(--shadow); transform: translateY(-1px); }
.cc-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc-icon.red   { background: var(--red-light); color: var(--red); }
.cc-icon.green { background: var(--green-l);   color: var(--green); }
.cc-icon.blue  { background: var(--steel-l);   color: var(--steel); }
.cc-icon.gold  { background: #FDF6E3;          color: var(--gold); }
.cc-icon svg   { width: 20px; height: 20px; }
.cc-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text3); margin-bottom: 2px; }
.cc-value { font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cc-sub   { font-size: 12px; color: var(--text3); margin-top: 2px; }

/* ── HORARIOS ── */
.horarios-grid { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.horario-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; border-bottom: 1px solid var(--border);
}
.horario-row:last-child { border-bottom: none; }
.horario-dia    { font-size: 14px; font-weight: 600; color: var(--text2); }
.horario-tiempo { font-size: 14px; font-weight: 700; color: var(--text); }
.horario-hoy    { background: var(--red-light); }
.horario-hoy .horario-dia    { color: var(--red); }
.horario-hoy .horario-tiempo { color: var(--red); }
.horario-badge {
  background: var(--red); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 10px; margin-left: 8px;
}

/* ── MAPA ── */
.map-placeholder {
  background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-lg);
  height: 280px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; position: relative; overflow: hidden;
}
.map-grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px; opacity: 0.6;
}
.map-pin {
  width: 48px; height: 48px;
  background: var(--red); border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.map-pin svg { transform: rotate(45deg); width: 22px; height: 22px; color: #fff; }
.map-label {
  font-size: 13px; font-weight: 700; color: var(--text);
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r);
  padding: 8px 14px; box-shadow: var(--shadow-sm); text-align: center; position: relative; z-index: 1;
}
.map-open-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--steel); color: #fff;
  font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: var(--r); border: none; cursor: pointer;
  transition: background var(--ease); position: relative; z-index: 1; font-family: var(--f-body);
}
.map-open-btn:hover { background: #255280; }
.map-open-btn svg { width: 15px; height: 15px; }

/* ── CÓMO LLEGAR ── */
.como-llegar { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; margin-top: 16px; }
.cl-title { font-size: 13px; font-weight: 700; color: var(--text2); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cl-title svg { width: 15px; height: 15px; color: var(--text3); }
.cl-options { display: flex; flex-direction: column; gap: 10px; }
.cl-opt { display: flex; align-items: flex-start; gap: 10px; }
.cl-opt-icon {
  width: 28px; height: 28px; border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.cl-opt-icon.metro { background: var(--steel-l); color: var(--steel); }
.cl-opt-icon.bus   { background: #FFF3E0; color: #E65100; }
.cl-opt-icon.car   { background: var(--bg3); color: var(--text3); }
.cl-opt-icon svg   { width: 14px; height: 14px; }
.cl-opt-text { font-size: 13px; color: var(--text2); line-height: 1.5; }
.cl-opt-text strong { color: var(--text); font-weight: 600; }

/* ── FORM CARD ── */
.form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow); }
.form-header { margin-bottom: 28px; }
.form-title-display { font-family: var(--f-display); font-size: 26px; font-weight: 800; color: var(--text); letter-spacing: -0.01em; margin-bottom: 6px; }
.form-sub-text { font-size: 14px; color: var(--text3); line-height: 1.5; }
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff; font-family: var(--f-body); font-weight: 700; font-size: 15px;
  padding: 14px 24px; border-radius: var(--r); border: none; cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease); margin-top: 4px;
}
.btn-submit:hover { background: var(--red-h); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,40,26,0.25); }
.btn-submit svg { width: 18px; height: 18px; }

/* ── RUT INFO ── */
.rut-info { background: var(--bg3); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 20px; }
.rut-title { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text3); margin-bottom: 8px; }
.rut-row { display: flex; gap: 8px; flex-wrap: wrap; }
.rut-tag { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); padding: 6px 12px; font-size: 13px; color: var(--text2); font-weight: 500; }

/* ── FAQ RÁPIDO ── */
.quick-faq { margin-top: 32px; }
.qfaq-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.qfaq-item { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 8px; }
.qfaq-q {
  width: 100%; background: none; border: none; padding: 14px 18px; text-align: left; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--text);
  transition: color var(--ease);
}
.qfaq-q:hover { color: var(--red); }
.qfaq-icon {
  width: 20px; height: 20px; border: 1.5px solid var(--border2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--text3); transition: transform var(--ease), background var(--ease);
}
.qfaq-icon svg { width: 9px; height: 9px; }
.qfaq-item.open .qfaq-icon { transform: rotate(45deg); background: var(--red); border-color: var(--red); color: #fff; }
.qfaq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.qfaq-item.open .qfaq-a { max-height: 120px; }
.qfaq-a-inner { padding: 0 18px 14px; font-size: 14px; color: var(--text2); line-height: 1.65; border-top: 1px solid var(--border); padding-top: 12px; }

/* ── FORM SUCCESS ── */
.form-success { display: none; text-align: center; padding: 40px 20px; }
.success-icon {
  width: 64px; height: 64px; background: var(--green-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: var(--green);
}
.success-icon svg { width: 32px; height: 32px; }
.success-title { font-family: var(--f-display); font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.success-desc  { font-size: 15px; color: var(--text2); line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .contact-main-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 768px) { .contact-page { padding: 32px 0 64px; } }
