@font-face {
    font-family: 'AMXBold';
    src: url('fonts/free-fa-solid-900.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'AMXRegular';
    src: url('fonts/AMX-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.texto2 {
    margin-bottom: 20px;
    text-align: justify;
    font-size: 14px;
    line-height: 1.5;
    color: #5a5a5a;
    font-family: 'AMXRegular', sans-serif;
}
.texto1{
    text-align: center;
    margin: 20px 0 10px;
    font-family: 'AMXRegular', sans-serif;
}
.titulo-principal h2 {
    font-size: 1.4rem;
    font-weight: 300;
    color: #555;
}
.titulo-principal h2 .resaltado {
    color: #e30613;
    font-weight: bold;
    text-transform: uppercase;
}
.vertical-list h2 {
    font-size: 2.3rem;
    font-weight: normal;
    color: #666;
    text-align: center;
    margin: 15px 0 20px;
    line-height: 1.4;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}
header {
  background-color: #E52A1B;
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hamburger-menu {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.hamburger-menu svg { width: 26px; height: 29px; }
.logo-img {
  width: auto;
  height: 42px;
  margin-left: -5px;
  margin-top: -3px;
  object-fit: contain;
}
.mi-claro-btn {
  background-color: #E52A1B;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.mi-claro-btn svg { margin-right: 0.5rem; }
h1 {
    color: #85b8f1d7;
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
    font-weight: normal;
}
.line-with-arrow {
    position: relative;
    height: 2px;
    background-color: #6161612c;
    margin: 10px 0 20px;
    width: 100%;
}
.line-with-arrow::after {
    display: none;
}
.texto_gris2 {
    padding: 0 15px;
}
.dropdown {
  width: 100%;
  margin: 20px auto;
  position: relative;
}
.dropdown-toggle {
  width: 100%;
  padding: 10px 15px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: 'AMXRegular', sans-serif;
  position: relative;
  transition: border-color 0.2s ease, box-shadow 0.15s ease;
  user-select: none;
}
.dropdown-toggle::after {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-left: 8px;
  background: url("../icon/dropdown.png") no-repeat center;
  background-size: contain;
  transition: transform 0.25s ease;
  border: none !important; 
}
.dropdown.open .dropdown-toggle::after {
  transform: rotate(180deg);
}
.dropdown-menu {
  display: none;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: absolute;
  z-index: 50;
  margin-top: 5px;
  left: 0;
  overflow: hidden;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0;
  font-family: 'AMXRegular', sans-serif;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
}
.dropdown-item:hover {
  background-color: #f5f5f5;
}
.dropdown-icon {
  width: 28px;
  height: 28px;
  margin-right: 10px;
}

:root{
  --icon-size: 50px;
  --icon-half: calc(var(--icon-size) / 2);
}
*, *::before, *::after { box-sizing: border-box; }

.steps-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 900px;
  margin: 30px auto 40px auto;
  position: relative;
  padding: 0 var(--icon-half);
}
.steps-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #ddd;
  transform: translateY(-50%);
  z-index: 0;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
}
.step img {
  width: var(--icon-size);
  height: var(--icon-size);
  display: block;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  object-fit: contain;
  background: white;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.step p {
  font-size: 13px;
  font-weight: 500;
  color: #666;
  margin: 8px 0 0 0;
}
.step.active::before,
.step.completed::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #2ca9e1;
  transform: translateY(-50%);
  z-index: 1;
}
.step.active p {
  color: #2ca9e1;
  font-weight: 600;
}
@media (max-width: 700px) {
  :root { --icon-size: 44px; --icon-half: calc(var(--icon-size) / 2); }
  .steps-bar { margin: 18px auto 26px auto; }
  .step p { font-size: 12px; }
}
@media (max-width: 420px) {
  :root { --icon-size: 36px; --icon-half: calc(var(--icon-size) / 2); }
  .steps-bar { margin: 14px auto 20px auto; padding-left: var(--icon-half); padding-right: var(--icon-half); }
  .step p { font-size: 11px; }
}

.vertical-list {
    display: none;
    max-width: 400px;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'AMXRegular', sans-serif;
}
.vertical-list.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.service-option {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'AMXRegular', sans-serif;
}
.service-option:hover {
    background-color: #f0f0f0;
}
.service-option .radio {
    width: 30px;
    height: 30px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-option .radio::after {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
.service-option.selected .radio {
    border-color: #e61919;
}
.service-option.selected .radio::after {
    background-color: #e61919;
}
.service-option img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

/* Botones */
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 83px;
    font-family: 'AMXRegular', sans-serif;
}
.red-button, .gris-button {
    width: 100%;
    max-width: 400px;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    margin: 9px 0;
}
.red-button {
    background-color: #e61919;
    color: white;
}
.red-button:hover {
    background-color: #c41717;
}
.gris-button {
    background-color: #3d3d3d;
    color: white;
}

/* Input */
.cell-number-input {
    display: none;
    max-width: 400px;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: 'AMXRegular', sans-serif;
}
.cell-number-input.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
.cell-number-input label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.cell-number-input input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 20px;
}

footer {
    background-color: #333333;
    color: white;
    padding: 2rem 0;
    margin-top: 3cm;
    font-family: 'AMXRegular', sans-serif;
}
.footer-section {
    border-bottom: 1.5px solid #4a4a4a;
    margin-bottom: 2rem;
}
.footer-section h3 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin: 0;
}
.footer-section h3::after {
    content: '\25BC';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}
.footer-section.active h3::after {
    transform: rotate(180deg);
}
.footer-section ul {
    list-style-type: none;
    padding: 0;
    display: none;
}
.footer-section.active ul {
    display: block;
}
.footer-section li {
    padding: 0.5rem 0;
}
.footer-section a {
    color: white;
    text-decoration: none;
}
.social-icons {
    display: flex;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1rem;
}
.social-icons a {
    color: white;
    font-size: 1.5rem;
}
.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}
.footer-bottom a {
    color: #999;
    text-decoration: none;
}
.footer-bottom a:hover {
    text-decoration: underline;
}

.error-message {
    color: #e61919;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
#loading-gif {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}


.loader-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.loader-text {
  font-size: 20px;
  font-weight: 900;
  color: #111;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.loader-logo {
  width: 100px;
  height: auto;
}

.loader-ellipsis {
  width: 80px;
  height: auto;
}
.dropdown-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}