@font-face {
  font-family: "Times New Roman Canva";
  src: url("../fonts/TimesNewRoman-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Times New Roman Canva";
  src: url("../fonts/TimesNewRoman-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html.extensiones-nic,
html.extensiones-nic body,
html.extensiones-nic section#main-body {
  background: #fff !important;
}

html.extensiones-nic section#main-body > .container,
html.extensiones-nic section#main-body .row,
html.extensiones-nic section#main-body .col-12 {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.ex-page {
  --ex-blue: #2f6fe4;
  --ex-ink: #1d2b4a;
  --ex-orange: #ff7a00;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2rem) clamp(3rem, 6vw, 4.5rem);
  color: var(--ex-ink);
  font-family: "Montserrat", "TT Hoves", Arial, sans-serif;
}

.ex-head {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  container-type: inline-size;
}

.ex-title {
  margin: 0 0 0.7rem;
  font-family: "Times New Roman Canva", "Times New Roman", Times, serif;
  font-weight: 400;
  font-size: clamp(2.95rem, 5.2vw, 4rem);
  line-height: 1.1;
  color: var(--ex-blue);
}

.ex-lead {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(0.72rem, 2.15cqi, 1.35rem);
  line-height: 1.45;
  white-space: nowrap;
  color: #3d4d6b;
}

.ex-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: start;
}

.ex-card {
  position: relative;
  margin-top: 2.6rem;
  padding: 3.45rem 0.85rem 1.15rem;
  border-radius: 1.15rem;
  text-align: center;
}

.ex-card--gray { background: #f4f5f7; }
.ex-card--lilac { background: #f4eef8; }

.ex-icon {
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.ex-icon img {
  display: block;
  width: 68%;
  height: 68%;
  object-fit: contain;
  object-position: center;
}

.ex-icon--tienda { background: #f97316; }
.ex-icon--pin { background: #22a06b; }
.ex-icon--estrella { background: #ffd700; }
.ex-icon--persona { background: #2878d0; }
.ex-icon--edificio { background: #172554; }

.ex-card__name {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
}

.ex-card__desc,
.ex-card__note {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #000;
}

.ex-card__note {
  min-height: 3.4rem;
}

.ex-card__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.ex-btn {
  border: 0;
  border-radius: 999px;
  background: var(--ex-orange);
  color: #fff;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.48rem 0.85rem;
  cursor: pointer;
}

.ex-btn[aria-expanded="true"] {
  filter: brightness(0.92);
}

.ex-panel {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #000;
}

.ex-card.is-open {
  box-shadow: 0 0 0 2px var(--ex-orange);
}

.ex-panel[data-ex-panel="req"] {
  display: none !important;
}

.ex-detail {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 1.35rem;
  background: #f4f5f7;
  border: 1px solid rgba(28, 33, 67, 0.08);
}

.ex-detail[hidden] {
  display: none !important;
}

.ex-detail__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(28, 33, 67, 0.1);
}

.ex-detail__kind {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ex-orange);
}

.ex-detail__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
  color: #16325c;
  text-transform: uppercase;
}

.ex-detail__close {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  background: #fff;
  color: #16325c;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.ex-detail__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  align-items: start;
}

.ex-detail .ex-req {
  margin: 0;
  padding: 0.9rem 0.85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid rgba(28, 33, 67, 0.08);
}

.ex-req__tld {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #16325c;
}

.ex-req__label {
  display: inline-flex;
  margin: 0.35rem 0 0.55rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 122, 0, 0.12);
  color: #16325c;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.ex-detail .ex-req ul {
  list-style: none !important;
  margin: 0 0 0.7rem;
  padding: 0;
  counter-reset: ex-req;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ex-detail .ex-req li {
  counter-increment: ex-req;
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: start;
  margin: 0;
  padding: 0.5rem 0.55rem;
  border-radius: 0.7rem;
  background: #fff;
  border: 1px solid rgba(28, 33, 67, 0.08);
  list-style: none !important;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #000;
  text-align: left;
}

.ex-detail .ex-req li::before {
  content: counter(ex-req);
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--ex-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35rem;
  text-align: center;
}

.ex-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 1.1rem 3.75rem;
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.ex-cta__title {
  margin: 0 0 0.15rem;
  font-family: "Times New Roman Canva", "Times New Roman", Times, serif;
  font-size: clamp(1.75rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: #16325c;
}

.ex-cta__sub {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  color: #16325c;
}

.ex-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 3.35rem;
  padding: 0 0 0 1.35rem;
  border: 2px solid #1a5fd4;
  border-radius: 999px;
  overflow: hidden;
  background: #1a5fd4;
  box-sizing: border-box;
}

.ex-search input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.ex-search input::placeholder {
  color: rgba(255, 255, 255, 0.92);
}

.ex-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.7rem;
  width: 3.7rem;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #1a5fd4;
  cursor: pointer;
  box-shadow: none;
}

.ex-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .ex-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .ex-grid { grid-template-columns: 1fr; }
  .ex-cta { grid-template-columns: 1fr; }
  .ex-detail__body { grid-template-columns: 1fr; }
}
