/* === Reset básico === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #000;
}

a {
  color: #8b1c2b;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Header === */
.top-header {
  background-color: #8b1c2b;
  padding: 16px 20px;
  color: #fff;
  border-bottom: 3px solid #7c1b2b;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.logo {
  height: 60px;
}

@media screen and (min-width: 768px) {
  .header-container {
    justify-content: flex-start;
  }
}

/* === Breadcrumb === */
.breadcrumb {
  font-size: 14px;
  padding: 16px 20px;
  background-color: #f8f8f8;
}

.breadcrumb a {
  color: #8b1c2b;
}

/* === Main container === */
.container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
}

/* === Título principal === */
h1 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #111;
}

/* === Pasos === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.step {
  text-align: center;
  background-color: white;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  color: #8b1c2b;
  font-weight: 500;
  border: 2px solid #8b1c2b;
  transition: all 0.2s ease;
}

.step.active {
  background-color: #8b1c2b;
  color: white;
  font-weight: 600;
  border: 2px solid #8b1c2b;
}

/* === Formulario === */
.form-section {
  background: #fafafa;
  padding: 20px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 20px;
}

.form-section h2 {
  color: #8b1c2b;
  margin-bottom: 12px;
  font-size: 20px;
}

.form-section p {
  font-size: 15px;
  margin-bottom: 20px;
}

.form-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-section input {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
}

.form-section button {
  background-color: #8b1c2b;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.form-section button:hover {
  background-color: #7c1b2b;
}

/* === Info final === */
.info-box {
  background-color: #f1f1f1;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 50px;
  text-align: center;
}

.info-box h2 {
  font-size: 20px;
  color: #8b1c2b;
  margin-bottom: 12px;
}

.info-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* === Quiénes somos === */
.quienes-somos {
  margin-top: 60px;
  padding: 30px 20px;
  border-top: 1px solid #eee;
}

.quienes-somos h2 {
  font-size: 20px;
  color: #8b1c2b;
  margin-bottom: 12px;
}

.quienes-somos p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

/* === Ventajas === */
.ventajas-servicio {
  margin-top: 50px;
}

.ventajas-servicio h2 {
  font-size: 20px;
  color: #8b1c2b;
  margin-bottom: 10px;
}

.ventajas-servicio ul {
  list-style: none;
  padding-left: 0;
}

.ventajas-servicio li {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
}

/* === Preguntas frecuentes === */
.faq-box {
  margin-top: 60px;
}

.faq-box h2 {
  font-size: 20px;
  color: #8b1c2b;
  margin-bottom: 16px;
}

.faq-box details {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: #fdfdfd;
}

.faq-box summary {
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  color: #333;
}

.faq-box p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

/* === Footer === */
.footer {
  margin-top: 120px;
  padding: 20px;
  font-size: 13px;
  color: #555;
  text-align: center;
  background-color: #f7f7f7;
  border-top: 1px solid #ddd;
}

.footer a {
  color: #8b1c2b;
}

/* === Responsive === */
@media screen and (max-width: 1024px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* === Formulario: DATOS.HTML === */
.formulario {
  background-color: #fafafa;
  padding: 30px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 30px;
}

.formulario legend {
  font-size: 18px;
  font-weight: bold;
  color: #8b1c2b;
  margin-bottom: 16px;
  border-left: 4px solid #8b1c2b;
  padding-left: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-group {
  flex: 1;
  min-width: 220px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input[readonly] {
  background-color: #f1f1f1;
  color: #666;
  cursor: not-allowed;
}

.terminos a {
  color: #8b1c2b;
}

.formulario button[type="submit"] {
  margin-top: 20px;
  background-color: #8b1c2b;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.formulario button:hover {
  background-color: #7c1b2b;
}

/* === Paso completado === */
.step.completado {
  background-color: #16A34A;
  color: white;
  border: 2px solid #16A34A;
  font-weight: bold;
}

/* === Página de Gracias === */
.encabezado-gracias {
  background-color: #8b1c2b;
  padding: 20px;
  border-bottom: 3px solid #7c1b2b;
}

.logo-gracias {
  height: 60px;
  max-width: 100%;
}

.breadcrumb-gracias a {
  color: #8b1c2b;
}

.paso {
  color: #8b1c2b;
  border: 2px solid #8b1c2b;
}

.paso.activo {
  background-color: #8b1c2b;
  color: white;
}

.paso.completado {
  background-color: #16A34A;
  color: white;
  border-color: #16A34A;
}

.icono-check {
  font-size: 60px;
  color: #8b1c2b;
}

/* === Estilos para el selector de Entidad Federativa === */
.form-section select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bbb;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 16px;
  background-color: #fff;
  appearance: none; /* quita flecha nativa */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;

  /* espacio a la derecha para la flecha */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%238b1c2b' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.form-section select:focus {
  border-color: #8b1c2b;
  outline: none;
  box-shadow: 0 0 4px rgba(157, 34, 53, 0.4);
}



/* === Casilla de términos === */
.terminos {
  display: flex;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #111;
}

.terminos input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  accent-color: #8B1A1A; /* nuestro rojo */
  cursor: pointer;
}

.terminos label {
  font-size: 14px;
  cursor: pointer;
}

.terminos a {
  color: #8B1A1A; /* mismo rojo de la web */
  font-weight: 600;
  text-decoration: none;
}

.terminos a:hover {
  text-decoration: underline;
}











