/* ===================================================
   Gestoría MAHA DC – Estilo inspirado en mahadatacenter.com
   =================================================== */

:root {
  --maha-dark:       #0a1628;
  --maha-navy:       #0d2147;
  --maha-blue:       #1565c0;
  --maha-blue-light: #1e88e5;
  --maha-accent:     #00c853;
  --maha-accent-hover:#00e676;
  --maha-bg:         #f0f4f8;
  --maha-card:       #ffffff;
  --maha-text:       #212529;
  --maha-muted:      #6c757d;
  --maha-border:     #dee2e6;
  --maha-radius:     12px;
  --maha-shadow:     0 4px 24px rgba(10,22,40,.08);
  --maha-shadow-hover:0 8px 32px rgba(10,22,40,.14);
}

/* ---------- base ---------- */
html, body { height: 100%; margin: 0; padding: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', 'Roboto', sans-serif;
  background: var(--maha-bg);
  color: var(--maha-text);
}

/* ---------- navbar (estilo multastacografo.com) ---------- */
.mt-navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 14px 20px 0;
}
.mt-navbar {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0;
  height: 100px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 0 auto;
}
.mt-navbar-logo a {
  display: inline-block;
  line-height: 0;
}
.mt-navbar-logo img {
  height: 75px;
  width: auto;
}
.mt-navbar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mt-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1a1a2e;
  font-size: .88rem;
  font-weight: 400;
  transition: color .2s;
}
.mt-contact-link:hover {
  color: var(--maha-blue);
}
.mt-contact-link i {
  color: var(--maha-blue);
  font-size: .9rem;
}
@media (max-width: 767.98px) {
  .mt-navbar-fixed { padding: 10px 12px 0; }
  .mt-navbar { padding: 10px 16px; border-radius: 12px; }
  .mt-navbar-logo img { height: 32px; }
  .mt-navbar-contact { gap: 16px; }
  .mt-contact-link { font-size: .88rem; }
  .mt-contact-link i { font-size: .9rem; }
}

/* ---------- hero header ---------- */
.maha-hero {
  background: linear-gradient(135deg, var(--maha-dark) 0%, var(--maha-navy) 100%);
  color: #fff;
  padding: 3rem 1rem 2.5rem;
  padding-top: 150px; /* compensar navbar fixed */
  text-align: center;
  position: relative;
  overflow: hidden;
}
.maha-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 60px;
  background: var(--maha-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.maha-hero h1 { font-weight: 800; font-size: 2rem; margin-bottom: .5rem; }
.maha-hero .lead { opacity: .85; font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ---------- step indicator ---------- */
.maha-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  padding: 0 2rem;
  margin: -1.5rem auto 2rem;
  position: relative;
  z-index: 2;
  max-width: 1050px;
  counter-reset: step;
}
.maha-step {
  flex: 0 0 75px;
  width: 75px;
  text-align: center;
  position: relative;
}
.maha-step .step-circle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--maha-border);
  color: var(--maha-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  border: 3px solid #fff;
  box-shadow: var(--maha-shadow);
  transition: background .3s, color .3s, box-shadow .3s;
  position: relative;
  z-index: 2;
}
.maha-step.active .step-circle {
  background: var(--maha-blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(var(--maha-blue-rgb, 13,110,253), .18), var(--maha-shadow);
}
.maha-step.done .step-circle {
  background: var(--maha-accent);
  color: #fff;
}
.maha-step .step-label {
  display: block;
  font-size: .72rem;
  color: var(--maha-muted);
  margin-top: .3rem;
  font-weight: 500;
  line-height: 1.2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  padding: 0 4px;
}
.maha-step.active .step-label { color: var(--maha-blue); font-weight: 700; }
.maha-step.done .step-label   { color: var(--maha-text); }

/* connector line */
.maha-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(50% + 24px);
  width: calc(100% - 48px);
  height: 3px;
  background: var(--maha-border);
  z-index: 1;
  border-radius: 2px;
}
.maha-step.done:not(:last-child)::after {
  background: var(--maha-accent);
}

/* ---------- service cards ---------- */
.service-card {
  background: var(--maha-card);
  border-radius: var(--maha-radius);
  border: 1px solid var(--maha-border);
  box-shadow: var(--maha-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--maha-shadow-hover);
}
.service-card .card-body { padding: 1.5rem; }
.service-card .card-title { font-weight: 700; font-size: 1.1rem; color: var(--maha-navy); }
.service-card .card-text { color: var(--maha-muted); font-size: .9rem; }
.service-card .price-tag { font-size: 1.5rem; font-weight: 800; color: var(--maha-blue); }
.service-card .price-label { font-size: .75rem; color: var(--maha-muted); text-transform: uppercase; letter-spacing: .04em; }
.service-card .card-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--maha-blue), var(--maha-blue-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  margin-bottom: 1rem;
}
.selected {
  border: 2px solid var(--maha-blue) !important;
  background-color: rgba(21,101,192,.04);
}

/* ---------- form styling ---------- */
.maha-form-card {
  background: var(--maha-card);
  border-radius: var(--maha-radius);
  box-shadow: var(--maha-shadow);
  padding: 2rem;
  border: 1px solid var(--maha-border);
}
.maha-form-card .form-label {
  font-weight: 600;
  font-size: .85rem;
  color: var(--maha-navy);
}
.maha-form-card .form-control {
  border-radius: 8px;
  border: 1px solid var(--maha-border);
  padding: .6rem .85rem;
  transition: border-color .2s, box-shadow .2s;
}
.maha-form-card .form-control:focus {
  border-color: var(--maha-blue);
  box-shadow: 0 0 0 .2rem rgba(21,101,192,.15);
}
.maha-form-card h2 {
  color: var(--maha-navy);
  font-weight: 700;
  font-size: 1.35rem;
}

/* radio cards */
.radio-card {
  border: 2px solid var(--maha-border);
  border-radius: var(--maha-radius);
  padding: 1.25rem;
  cursor: pointer;
  transition: all .25s;
  background: #fff;
  text-align: center;
}
.radio-card:hover { border-color: var(--maha-blue-light); background: rgba(21,101,192,.03); }
.radio-card.active { border-color: var(--maha-blue); background: rgba(21,101,192,.06); }
.radio-card i { font-size: 2rem; margin-bottom: .5rem; }
.radio-card .radio-label { font-weight: 700; font-size: 1rem; }

/* ---------- buttons ---------- */
.btn-maha {
  background: linear-gradient(135deg, var(--maha-blue), var(--maha-blue-light));
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: .6rem 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-maha:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(21,101,192,.35);
  color: #fff;
}
.btn-maha-outline {
  border: 2px solid var(--maha-blue);
  color: var(--maha-blue);
  background: transparent;
  font-weight: 600;
  border-radius: 8px;
  padding: .55rem 1.5rem;
  transition: all .2s;
}
.btn-maha-outline:hover {
  background: var(--maha-blue);
  color: #fff;
}
.btn-maha-accent {
  background: linear-gradient(135deg, var(--maha-accent), var(--maha-accent-hover));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: .65rem 2rem;
  font-size: 1rem;
  transition: transform .2s, box-shadow .2s;
}
.btn-maha-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,200,83,.4);
  color: #fff;
}

/* ---------- summary card ---------- */
.summary-card {
  background: var(--maha-card);
  border-radius: var(--maha-radius);
  box-shadow: var(--maha-shadow);
  border: 1px solid var(--maha-border);
  overflow: hidden;
}
.summary-card .summary-header {
  background: linear-gradient(135deg, var(--maha-dark), var(--maha-navy));
  color: #fff;
  padding: 1.25rem 1.5rem;
}
.summary-card .summary-header h2 { font-size: 1.2rem; margin: 0; font-weight: 700; }
.summary-card .summary-body { padding: 1.5rem; }
.summary-card .summary-row {
  display: flex;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid var(--maha-border);
  font-size: .92rem;
}
.summary-card .summary-row:last-child { border-bottom: none; }
.summary-card .summary-row .label { color: var(--maha-muted); font-weight: 500; }
.summary-card .summary-row .value { font-weight: 600; color: var(--maha-text); }
.summary-card .summary-section-title {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--maha-blue);
  padding: .85rem 0 .35rem;
  margin-top: .25rem;
  display: flex;
  align-items: center;
}
.summary-card .summary-total {
  background: rgba(21,101,192,.06);
  padding: 1rem 1.5rem;
}
.summary-card .summary-total .total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.summary-card .summary-total .subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .25rem 0;
  font-size: .92rem;
  color: var(--maha-muted);
}
.summary-card .summary-total .total-label { font-weight: 700; font-size: 1rem; }
.summary-card .summary-total .total-price { font-size: 1.5rem; font-weight: 800; color: var(--maha-blue); }
.summary-card .summary-total .tax-note { font-size: .8rem; color: #6c757d; text-align: right; margin-top: .25rem; }

/* ---------- result / confirmation ---------- */
.result-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}
.result-icon.success { background: rgba(0,200,83,.12); color: var(--maha-accent); }
.result-icon.error   { background: rgba(220,53,69,.12); color: #dc3545; }
.result-icon.info    { background: rgba(21,101,192,.12); color: var(--maha-blue); }

/* ---------- footer ---------- */
.maha-footer {
  background: var(--maha-dark);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: auto;
  font-size: .85rem;
}
.maha-footer a { color: rgba(255,255,255,.9); text-decoration: none; }
.maha-footer a:hover { color: #fff; text-decoration: underline; }
.maha-footer .footer-brand { font-weight: 700; color: #fff; font-size: 1rem; margin-bottom: .25rem; }

/* ---------- misc ---------- */
.text-maha { color: var(--maha-blue) !important; }
.bg-maha   { background: var(--maha-blue) !important; }

/* responsive tweaks */
@media (max-width: 768px) {
  .maha-hero { padding: 2rem 1rem 2rem; }
  .maha-hero h1 { font-size: 1.5rem; }
  .maha-steps { margin-top: -1rem; padding: 0 .25rem; }
  .maha-step { flex: 0 0 50px; width: 50px; }
  .maha-step .step-label { display: none; }  /* hide labels on mobile, circles are enough */
  .maha-step .step-circle { width: 34px; height: 34px; font-size: .82rem; border-width: 2px; }
  .maha-step:not(:last-child)::after { top: 15px; left: calc(50% + 20px); width: calc(100% - 40px); height: 2px; }
  .maha-form-card { padding: 1.25rem; }
}