/* ============================================================
   TRÁMITES MX PASA · pages.css — estilos de páginas internas
   ============================================================ */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  padding: 4rem 0 5rem;
}
@media (min-width: 1024px) { .page-hero { padding: 5rem 0 6.5rem; } }

.page-hero-blob {
  position: absolute;
  width: 28rem; height: 28rem;
  top: -8rem; right: -6rem;
  border-radius: 50%;
  background: rgba(155,196,171,.1);
  filter: blur(70px);
  pointer-events: none;
}
.page-hero-inner { position: relative; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--sage-300);
  margin-bottom: 2rem;
}
.breadcrumb a { color: var(--sage-300); transition: color .2s; }
.breadcrumb a:hover { color: var(--cream-50); }
.breadcrumb span:last-child { color: rgba(250,247,240,.6); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--cream-50);
  margin-top: 1.25rem;
  max-width: 40rem;
}
.page-hero-desc {
  font-size: clamp(.9rem, 1.3vw, 1.0625rem);
  line-height: 1.75;
  color: rgba(250,247,240,.78);
  max-width: 38rem;
  margin-top: 1.25rem;
}

/* ---- SERVICES DETAIL ---- */
.services-detail {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-detail-item {
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(15,37,67,.1);
  scroll-margin-top: 6rem;
}
.service-detail-item:first-child { border-top: none; padding-top: 0; }
@media (min-width: 1024px) { .service-detail-item { grid-template-columns: 4fr 8fr; gap: 4rem; } }

.service-detail-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(86,136,106,.25);
  line-height: 1;
}
.service-detail-item h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 500;
  color: var(--navy-900);
  line-height: 1.15;
  margin-top: 1rem;
}
.service-detail-tag {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sage-600);
  margin-top: 1rem;
}
.service-detail-right > p { font-size: .9375rem; line-height: 1.8; color: rgba(15,37,67,.82); }

.service-bullets {
  display: grid;
  gap: .65rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .service-bullets { grid-template-columns: 1fr 1fr; } }
.service-bullets li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--cream-100);
  border: 1.5px solid rgba(15,37,67,.06);
  border-radius: .75rem;
  padding: .9rem 1.1rem;
  font-size: .8375rem;
  color: var(--navy-800);
  line-height: 1.5;
}
.service-bullets li::before {
  content: '';
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--sage-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: .1rem;
}

.service-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* ---- CTA BANNER ---- */
.section-alt { background: var(--cream-100); }
.cta-banner {
  background: var(--navy-950);
  color: var(--cream-50);
  border-radius: 1.5rem;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .cta-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 3rem; }
  .cta-banner .btn { flex-shrink: 0; }
}

/* ---- CONTACT PAGE ---- */
.contact-page-grid {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}
@media (min-width: 1024px) { .contact-page-grid { grid-template-columns: 5fr 7fr; gap: 4rem; } }
.contact-page-aside { display: flex; flex-direction: column; gap: 2.5rem; }
.contact-aside-block h2 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy-900); margin-bottom: .75rem; }
.contact-aside-block p,
.contact-aside-block address { font-size: .875rem; line-height: 1.75; color: rgba(15,37,67,.82); }
.contact-aside-block ul { display: flex; flex-direction: column; gap: .35rem; font-size: .875rem; }
.contact-aside-block ul li { display: flex; gap: .5rem; }
.contact-aside-block ul li span { color: rgba(39,66,99,.65); }
.contact-aside-block ul a { color: var(--navy-900); transition: color .2s; }
.contact-aside-block ul a:hover { color: var(--sage-600); }
.contact-aside-block .contact-page-form-wrap { background: var(--cream-100); border: 1.5px solid rgba(15,37,67,.06); border-radius: 1.5rem; padding: 2rem 2.5rem; }

.disclaimer-box {
  background: var(--sage-50);
  border: 1.5px solid var(--sage-200);
  border-radius: .875rem;
  padding: 1.1rem 1.25rem;
  font-size: .8rem;
  color: rgba(54,88,68,.9);
  line-height: 1.65;
}
.disclaimer-box strong { color: var(--sage-700); }

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 48rem; margin-inline: auto; }
.legal-updated {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--sage-600);
  margin-bottom: 2.5rem;
  display: block;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy-900);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}
.legal-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy-900);
  margin-top: 1.75rem;
  margin-bottom: .5rem;
}
.legal-content p { font-size: .9375rem; line-height: 1.8; color: rgba(31,53,83,.9); margin-bottom: 1rem; }
.legal-content ul { margin-bottom: 1rem; }
.legal-content ul li {
  font-size: .9375rem;
  line-height: 1.7;
  color: rgba(31,53,83,.9);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: .4rem;
}
.legal-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .75rem;
  width: .5rem; height: 1px;
  background: var(--sage-500);
}
.legal-content a { color: var(--sage-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--sage-700); }
.legal-content strong { color: var(--navy-900); font-weight: 600; }
