/* =============================================
   Portal público - Trámites Tributarios
   ============================================= */
html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background: linear-gradient(135deg, #0f3d2e 0%, #16734f 50%, #22a06b 100%);
  background-attachment: fixed;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0 80px;
}

/* ---------- Encabezado ---------- */
.brand {
  padding: 10px 0;
}

.brand-logo {
  height: 90px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.brand-subtitle {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

.portal-intro {
  max-width: 640px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Cards ---------- */
.portal-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 34px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portal-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #ffffff;
  margin-bottom: 22px;
}

.card-ica .card-icon {
  background: linear-gradient(135deg, #16734f, #22a06b);
  box-shadow: 0 8px 18px rgba(22, 115, 79, 0.4);
}

.card-predial .card-icon {
  background: linear-gradient(135deg, #b8860b, #e6b800);
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.4);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

/* ---------- Botones ---------- */
.portal-btn {
  margin-top: 22px;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  border: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.portal-btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-ica {
  background: linear-gradient(135deg, #16734f, #22a06b);
  box-shadow: 0 6px 14px rgba(22, 115, 79, 0.4);
}

.btn-ica:hover {
  background: linear-gradient(135deg, #115c40, #1c8a5b);
  box-shadow: 0 10px 20px rgba(22, 115, 79, 0.5);
  color: #ffffff;
}

.btn-predial {
  background: linear-gradient(135deg, #b8860b, #e6b800);
  box-shadow: 0 6px 14px rgba(184, 134, 11, 0.4);
}

.btn-predial:hover {
  background: linear-gradient(135deg, #9c740a, #cfa600);
  box-shadow: 0 10px 20px rgba(184, 134, 11, 0.5);
  color: #ffffff;
}

/* ---------- Modal ---------- */
.modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b8860b, #e6b800);
  color: #ffffff;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 50px;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.85);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  margin-left: 16px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 576px) {
  .brand-title {
    font-size: 1.6rem;
  }

  .portal-card {
    padding: 30px 22px;
  }
}