/* ===========================================
   TMEX - Landing Tramites Notariales (page ID 1361)
   CSS de pagina. Acompana a landing.css.
   =========================================== */

.tmex-tramites {
  --tn-ink: #0A111A;
  --tn-navy: #071c2d;
  --tn-navy-2: #102d43;
  --tn-line: #D9EAF2;
  --tmex-font-title: 'Montserrat', Arial, sans-serif;
  --tmex-font-body: 'Montserrat', Arial, sans-serif;
}

.tmex-landing.tmex-tramites,
.tmex-landing.tmex-tramites :where(p, li, a, span, button, figcaption, strong, div) {
  font-family: var(--tmex-font-body) !important;
  letter-spacing: 0;
}

.tmex-landing.tmex-tramites :where(h1, h2, h3, h4, h5, h6, .tl-label, .tl-btn, .tn-breadcrumb, .tl-faq__q) {
  font-family: var(--tmex-font-title) !important;
}

.tmex-landing.tmex-tramites :where(p, li) {
  font-weight: 400;
  line-height: 1.55;
}

.tmex-landing.tmex-tramites :where(.tn-service-card p, .tn-process p, .tn-case-list span, .tl-testimonial__quote, .tn-hero__note) {
  line-height: 1.5;
}

.tmex-tramites .tn-hero {
  background: linear-gradient(180deg, #F6FBFE 0%, #FFFFFF 100%);
  padding: 88px 0 72px;
  overflow: hidden;
}

.tmex-tramites .tn-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
  gap: 56px;
  align-items: center;
}

.tmex-tramites .tn-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--tmex-muted);
  font-size: 14px;
}

.tmex-tramites .tn-breadcrumb a {
  color: var(--tmex-muted);
}

.tmex-tramites .tn-breadcrumb a:hover {
  color: var(--tmex-primary);
}

.tmex-tramites .tn-hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.tmex-tramites .tn-hero p {
  max-width: 650px;
  color: #465464;
  font-size: 19px;
}

.tmex-tramites .tn-hero__checks {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 26px 0 0;
}

.tmex-tramites .tn-hero__checks li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
  color: #25313d;
  font-size: 16px;
}

.tmex-tramites .tn-hero__checks span {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tmex-primary);
  color: #fff;
  font-weight: 800;
  line-height: 1;
}

.tmex-tramites .tn-hero__note {
  max-width: 560px;
  margin-top: 18px;
  color: #667085;
  font-size: 14.5px;
}

.tmex-tramites .tn-hero__figure {
  position: relative;
  margin: 0;
}

.tmex-tramites .tn-hero__figure img {
  width: 100%;
  min-height: 560px;
  max-height: 680px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(217, 234, 242, .9);
  box-shadow: 0 24px 60px rgba(7, 28, 45, .16);
}

.tmex-tramites.tmex-consulados .tn-hero {
  padding: 78px 0 68px;
}

.tmex-tramites.tmex-consulados .tn-hero__grid {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 72px;
}

.tmex-tramites.tmex-consulados .tn-hero h1 {
  max-width: 560px;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: .98;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.tmex-tramites.tmex-consulados .tn-hero .tn-hero__lead {
  max-width: 560px;
  color: #2d3d4e;
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 0;
}

.tmex-tramites.tmex-consulados .tn-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.tmex-tramites.tmex-consulados .tn-hero__checks li {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(0, 175, 233, .2);
  border-radius: 999px;
  background: #fff;
  color: #263746;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(7, 28, 45, .04);
}

.tmex-tramites.tmex-consulados .tn-hero__checks span {
  width: 20px;
  height: 20px;
}

.tmex-tramites.tmex-consulados .tn-hero__note {
  max-width: 500px;
  margin-top: 14px;
  font-size: 13.5px;
}

.tmex-tramites.tmex-consulados .tn-hero__figure img {
  min-height: 600px;
  max-height: 700px;
}

.tmex-tramites.tmex-notariales .tn-hero {
  padding: 78px 0 68px;
}

.tmex-tramites.tmex-notariales .tn-hero__grid {
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 72px;
}

.tmex-tramites.tmex-notariales .tn-hero h1 {
  max-width: 560px;
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: .98;
  margin-bottom: 22px;
  letter-spacing: 0;
}

.tmex-tramites.tmex-notariales .tn-hero .tn-hero__lead {
  max-width: 560px;
  color: #2d3d4e;
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 0;
}

.tmex-tramites.tmex-notariales .tn-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.tmex-tramites.tmex-notariales .tn-hero__checks li {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 9px 13px;
  border: 1px solid rgba(0, 175, 233, .2);
  border-radius: 999px;
  background: #fff;
  color: #263746;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(7, 28, 45, .04);
}

.tmex-tramites.tmex-notariales .tn-hero__checks span {
  width: 20px;
  height: 20px;
}

.tmex-tramites.tmex-notariales .tn-hero__note {
  max-width: 500px;
  margin-top: 14px;
  font-size: 13.5px;
}

.tmex-tramites.tmex-notariales .tn-hero__figure img {
  min-height: 600px;
  max-height: 700px;
}

.tmex-tramites .tn-hero__figure figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(217, 234, 242, .92);
  box-shadow: 0 14px 34px rgba(7, 28, 45, .14);
}

.tmex-tramites .tn-hero__figure strong {
  color: var(--tn-ink);
  font-family: var(--tmex-font-title);
  font-size: 17px;
}

.tmex-tramites .tn-hero__figure span {
  color: var(--tmex-muted);
  font-size: 14.5px;
}

.tmex-tramites .tn-trustbar {
  background: #fff;
  border-top: 1px solid var(--tn-line);
  border-bottom: 1px solid var(--tn-line);
  padding: 24px 0;
}

.tmex-tramites .tn-trustbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tmex-tramites .tn-trustbar__grid div {
  padding: 0 18px;
  border-left: 1px solid var(--tn-line);
}

.tmex-tramites .tn-trustbar__grid div:first-child {
  border-left: 0;
}

.tmex-tramites .tn-trustbar strong {
  display: block;
  color: var(--tn-ink);
  font-family: var(--tmex-font-title);
  font-size: 24px;
  line-height: 1.15;
}

.tmex-tramites .tn-trustbar span {
  display: block;
  color: var(--tmex-muted);
  font-size: 14px;
  margin-top: 4px;
}

.tmex-tramites .tn-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.tmex-tramites .tn-service-card {
  min-height: 250px;
}

.tmex-tramites .tn-service-card h3 {
  line-height: 1.25;
}

.tmex-tramites .tn-service-card p {
  font-size: 16px;
}

.tmex-tramites .tn-authorized {
  background: linear-gradient(135deg, var(--tn-navy) 0%, var(--tn-navy-2) 100%);
}

.tmex-tramites .tn-authorized__grid {
  display: grid;
  grid-template-columns: minmax(0, .96fr) minmax(340px, 1.04fr);
  gap: 46px;
  align-items: center;
}

.tmex-tramites .tn-authorized__panel {
  display: grid;
  gap: 14px;
}

.tmex-tramites .tn-authorized__panel div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(217, 234, 242, .18);
}

.tmex-tramites .tn-authorized__panel strong {
  color: #fff;
  font-family: var(--tmex-font-title);
}

.tmex-tramites .tn-authorized__panel span {
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.tmex-tramites .tn-split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
}

.tmex-tramites .tn-case-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tmex-tramites .tn-case-list div {
  padding: 24px;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 41, 51, .05);
}

.tmex-tramites .tn-case-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--tn-ink);
  font-family: var(--tmex-font-title);
  font-size: 17px;
}

.tmex-tramites .tn-case-list span {
  color: var(--tmex-muted);
  line-height: 1.65;
}

.tmex-tramites .tn-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tmex-tramites .tn-process article {
  position: relative;
  min-height: 270px;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--tn-line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(31, 41, 51, .06);
}

.tmex-tramites .tn-process article::before {
  content: "";
  position: absolute;
  top: 44px;
  right: -22px;
  width: 24px;
  height: 2px;
  background: var(--tmex-primary);
}

.tmex-tramites .tn-process article:last-child::before {
  display: none;
}

.tmex-tramites .tn-process span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 38px;
  margin-bottom: 24px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--tmex-primary);
  color: #fff;
  font-family: var(--tmex-font-title);
  font-weight: 800;
}

.tmex-tramites .tn-process h3 {
  min-height: 60px;
  line-height: 1.25;
}

.tmex-tramites .tn-process p {
  color: var(--tmex-muted);
  font-size: 16px;
}

.tmex-tramites .tn-final-cta {
  padding: 84px 0 92px;
  background: #071c2d;
  color: #fff;
}

.tmex-tramites .tn-final-cta__box {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(217, 234, 242, .2);
}

.tmex-tramites .tn-final-cta h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
}

.tmex-tramites .tn-final-cta p {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, .86);
}

.tmex-tramites .se-faq-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 175, 233, .07), transparent 24%),
    radial-gradient(circle at 92% 82%, rgba(0, 175, 233, .06), transparent 24%),
    #fff;
}

.tmex-tramites .se-faq-section .tl-section-header {
  margin-bottom: 42px;
}

.tmex-tramites .se-faq-section .tl-faq {
  display: grid;
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.tmex-tramites .se-faq-section .tl-faq__item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #d9eaf2 !important;
  border-radius: 16px;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(31, 41, 51, .05);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.tmex-tramites .se-faq-section .tl-faq__item:hover {
  border-color: rgba(0, 175, 233, .38);
  box-shadow: 0 14px 32px rgba(31, 41, 51, .08);
}

.tmex-tramites .se-faq-section .tl-faq__item.active {
  border-color: rgba(0, 175, 233, .48);
  box-shadow: 0 16px 36px rgba(31, 41, 51, .08);
}

.tmex-tramites .se-faq-section .tl-faq__q {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--tmex-dark) !important;
  font-family: var(--tmex-font-title);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  text-align: left;
}

.tmex-tramites .se-faq-section .tl-faq__q:hover {
  border: 0 !important;
  background: var(--tmex-bg-soft) !important;
  box-shadow: none !important;
}

.tmex-tramites .se-faq-section .tl-faq__q:focus-visible {
  outline: 3px solid rgba(0, 175, 233, .22);
  outline-offset: -3px;
}

.tmex-tramites .se-faq-section .se-faq__icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid rgba(0, 175, 233, .25);
  border-radius: 50%;
  background: var(--tmex-bg-soft);
  color: var(--tmex-primary);
  font-family: var(--tmex-font-title);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.tmex-tramites .se-faq-section .tl-faq__item.active .se-faq__icon {
  transform: rotate(45deg);
  background: var(--tmex-primary);
  color: #fff;
}

.tmex-tramites .se-faq-section .tl-faq__a {
  background: #fff;
}

.tmex-tramites .se-faq-section .tl-faq__a-inner {
  margin: 0 24px;
  padding: 20px 0 24px;
  border-top: 1px solid #edf3f6;
  color: var(--tmex-muted);
  font-family: var(--tmex-font-body);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .tmex-tramites .tn-hero__grid,
  .tmex-tramites .tn-authorized__grid,
  .tmex-tramites .tn-split {
    grid-template-columns: 1fr;
  }

  .tmex-tramites .tn-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmex-tramites .tn-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tmex-tramites .tn-process article::before {
    display: none;
  }

  .tmex-tramites .tn-hero__figure img {
    min-height: 460px;
  }
}

@media (max-width: 767px) {
  .tmex-tramites .tn-hero {
    padding: 56px 0 48px;
  }

  .tmex-tramites .tn-hero__grid {
    gap: 34px;
  }

  .tmex-tramites .tn-hero__figure img {
    min-height: 390px;
  }

  .tmex-tramites .tn-hero__figure figcaption {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .tmex-tramites .tn-trustbar__grid,
  .tmex-tramites .tn-services,
  .tmex-tramites .tn-case-list,
  .tmex-tramites .tn-process {
    grid-template-columns: 1fr;
  }

  .tmex-tramites .tn-trustbar__grid div {
    border-left: 0;
    border-top: 1px solid var(--tn-line);
    padding: 18px 0 0;
  }

  .tmex-tramites .tn-trustbar__grid div:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .tmex-tramites .tn-authorized__panel div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .tmex-tramites .tn-process h3 {
    min-height: 0;
  }

  .tmex-tramites .tn-final-cta__box {
    padding: 34px 22px;
  }

  .tmex-tramites .se-faq-section .tl-section-header {
    margin-bottom: 34px;
  }

  .tmex-tramites .se-faq-section .tl-faq {
    gap: 14px;
  }

  .tmex-tramites .se-faq-section .tl-faq__q {
    min-height: 68px;
    gap: 16px;
    padding: 18px;
    font-size: 16px;
  }

  .tmex-tramites .se-faq-section .se-faq__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    font-size: 20px;
  }

  .tmex-tramites .se-faq-section .tl-faq__a-inner {
    margin: 0 18px;
    padding: 18px 0 20px;
    font-size: 15px;
  }
}

/* FAQ force layer: Elementor/Astra can print button styles after page CSS. */
body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item {
  background-color: #fff !important;
}

body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item > button.tl-faq__q,
body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item.active > button.tl-faq__q,
body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item > button.tl-faq__q:focus,
body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item > button.tl-faq__q:hover {
  background: transparent !important;
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--tmex-dark) !important;
  box-shadow: none !important;
}

body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item > button.tl-faq__q .se-faq__icon {
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  place-items: center !important;
  border: 1px solid rgba(0, 175, 233, .25) !important;
  border-radius: 50% !important;
  background: var(--tmex-bg-soft) !important;
  background-color: var(--tmex-bg-soft) !important;
  color: var(--tmex-primary) !important;
}

body .tmex-landing.tmex-tramites section.se-faq-section .tl-faq .tl-faq__item.active > button.tl-faq__q .se-faq__icon {
  transform: rotate(45deg) !important;
  background: var(--tmex-primary) !important;
  background-color: var(--tmex-primary) !important;
  color: #fff !important;
}
