.discover-page,
.province-page {
  background: #f8fafc;
  color: #0f172a;
}

.province-page {
  margin-top: -3.5rem;
}

@media (max-width: 640px) {
  body > a[href^="https://wa.me/"] {
    display: none !important;
  }
}

.discover-container,
.province-container {
  width: min(80rem, calc(100% - 2rem));
  margin-inline: auto;
}

.discover-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(191, 219, 254, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, #0f245c 0%, #173b85 48%, #1d4ed8 100%);
  color: #fff;
  padding: 4rem 1rem 3.25rem;
  text-align: center;
}

.province-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #06163f 0%, #0d2f78 48%, #1f63e8 100%);
  background-position: center;
  background-size: cover;
  color: #fff;
  padding: 10.4rem 1rem 3.4rem;
}

.province-hero-has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 63, 0.78) 0%, rgba(6, 22, 63, 0.58) 48%, rgba(29, 78, 216, 0.34) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.12) 0%, rgba(2, 6, 23, 0.34) 100%);
}

.province-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.province-hero-grid-no-media {
  max-width: 52rem;
}

.province-back {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-underline-offset: 0.22rem;
  transition: color 160ms ease;
}

.province-back:hover {
  color: #fff;
  text-decoration: underline;
}

.discover-label,
.discover-section-label,
.province-kicker,
.province-section-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.discover-label,
.province-kicker {
  color: rgba(219, 234, 254, 0.95);
}

.discover-section-label,
.province-section-label {
  color: #1d4ed8;
}

.discover-title {
  margin: 0.55rem auto 0;
  max-width: 50rem;
  color: #fff;
  font-size: clamp(2.25rem, 8vw, 3.65rem);
  font-weight: 950;
  line-height: 1.05;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.16);
}

.province-title {
  margin-top: 0.65rem;
  color: #fff;
  font-size: clamp(2.35rem, 9vw, 4.4rem);
  font-weight: 950;
  line-height: 1;
}

.discover-subtitle {
  max-width: 44rem;
  margin: 0.85rem auto 0;
  color: rgba(219, 234, 254, 0.96);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.province-subtitle {
  margin-top: 0.85rem;
  max-width: 44rem;
  color: rgba(219, 234, 254, 0.96);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
}

.province-hero-image,
.province-image-placeholder {
  width: 100%;
  min-height: 16rem;
  max-height: 27rem;
  border: 1px solid rgba(219, 234, 254, 0.28);
  border-radius: 1.25rem;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.28);
}

.province-hero-image {
  display: block;
  object-fit: cover;
}

.province-hero-media-card {
  border: 1px solid rgba(219, 234, 254, 0.38);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.14);
  padding: 1rem;
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(8px);
}

.province-hero-media-card strong,
.province-hero-media-card span {
  display: block;
}

.province-hero-media-card strong {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1.1;
}

.province-hero-media-card span {
  margin-top: 0.35rem;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.45;
}

.province-image-placeholder {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.province-breadcrumb {
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
}

.province-breadcrumb-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0.85rem 0;
  color: oklch(0.554 0.046 257.417);
  font-size: 0.88rem;
  font-weight: 750;
}

.province-breadcrumb a:hover {
  color: #1d4ed8;
}

.discover-section,
.province-section {
  padding: 3rem 0;
}

.province-section-alt {
  background: #fff;
}

.discover-section-title,
.province-section-title {
  margin-top: 0.45rem;
  color: #020617;
  font-size: clamp(1.75rem, 6vw, 2.65rem);
  font-weight: 950;
  line-height: 1.08;
}

.discover-section-title {
  font-size: clamp(1.75rem, 6vw, 2.6rem);
}

.province-copy {
  margin-top: 1rem;
  max-width: 52rem;
  color: #475569;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.8;
}

.discover-grid,
.province-fact-grid,
.province-card-grid,
.province-gallery-grid,
.province-tip-grid,
.province-faq-list,
.province-article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.35rem;
}

.discover-grid {
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  margin-top: 1.5rem;
}

.discover-card {
  height: 100%;
}

.province-card-grid-single {
  justify-items: center;
}

.province-card-grid-single .province-card {
  width: min(100%, 28rem);
}

.province-fact,
.province-card,
.province-tip,
.province-faq,
.province-article {
  border: 1px solid #e5eaf2;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1.1rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.045);
}

.province-fact dt {
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.province-fact dd {
  margin-top: 0.35rem;
  color: #020617;
  font-size: 1.15rem;
  font-weight: 950;
}

.discover-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe6f5;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.discover-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #1d4ed8 100%);
}

.discover-card-image-wrap {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 52%, #fef2f2 100%);
  overflow: hidden;
}

.discover-card-no-image .discover-card-image-wrap {
  aspect-ratio: 16 / 7;
  min-height: 8.75rem;
}

.discover-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discover-card-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.discover-card-body {
  display: flex;
  min-height: 13rem;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem;
}

.discover-card-title {
  color: #020617;
  font-size: 1.38rem;
  font-weight: 850;
  line-height: 1.2;
}

.discover-card-copy {
  margin-top: 0.65rem;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.discover-button {
  display: inline-flex;
  min-height: 2.75rem;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  border-radius: 0.85rem;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 42%, #1d4ed8 100%);
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 24px rgba(29, 78, 216, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.discover-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(29, 78, 216, 0.25);
}

.discover-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #fff;
  padding: 2rem;
  color: #64748b;
  font-size: 0.95rem;
  font-weight: 750;
  text-align: center;
}

.discover-coming-soon {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  border: 1px solid #dbe6f5;
  border-radius: 1.15rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #eff6ff 100%);
  padding: 1.25rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.discover-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #1d4ed8 100%);
}

.discover-coming-soon-label {
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.discover-coming-soon-title {
  margin-top: 0.35rem;
  color: #020617;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 950;
  line-height: 1.12;
}

.discover-coming-soon-copy,
.discover-coming-soon-note {
  max-width: 48rem;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.6;
}

.discover-coming-soon-copy {
  margin-top: 0.45rem;
}

.discover-coming-soon-note {
  margin-top: 0.35rem;
  color: #64748b;
}

.province-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  min-height: 100%;
  flex-direction: column;
}

.municipality-intro {
  margin-top: 0.65rem;
  max-width: 48rem;
  color: #475569;
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.65;
}

.municipality-panel {
  position: relative;
  overflow: hidden;
  margin-top: 1.2rem;
  border: 1px solid #dbe6f5;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: 1rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
}

.municipality-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #dc2626 0%, #1d4ed8 100%);
}

.municipality-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.municipality-item {
  display: grid;
  min-height: 2.8rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #e5eaf2;
  border-radius: 0.8rem;
  background: #fff;
  padding: 0.55rem 0.7rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
}

.municipality-item-link {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.municipality-item-link:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.1);
  transform: translateY(-1px);
}

.municipality-index {
  display: inline-grid;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
}

.municipality-name {
  min-width: 0;
}

.municipality-arrow {
  color: #1d4ed8;
  font-size: 1rem;
  font-weight: 950;
}

.municipality-note {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.5;
}

.province-card-no-image {
  padding: 1.1rem;
}

.province-card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #e2e8f0;
}

.province-card-body {
  padding: 1rem;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.province-card-no-image .province-card-body {
  padding: 0;
}

.province-card-title,
.province-tip-title,
.province-faq-question,
.province-article-title {
  color: #020617;
  font-size: 1.12rem;
  font-weight: 950;
  line-height: 1.2;
}

.province-card-copy,
.province-tip-copy,
.province-faq-answer,
.province-article-copy {
  margin-top: 0.45rem;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.6;
}

.province-gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.9rem;
  object-fit: cover;
  background: #e2e8f0;
}

.province-gallery-caption {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
}

.province-article-link,
.province-card-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: #1d4ed8;
  font-size: 0.9rem;
  font-weight: 900;
}

.province-card-link {
  margin-top: auto;
  padding-top: 0.85rem;
}

.province-article-link:hover,
.province-card-link:hover {
  color: #0f245c;
  text-decoration: underline;
}

.province-article-source {
  display: inline-flex;
  margin-bottom: 0.7rem;
  border-radius: 999px;
  background: #eff6ff;
  padding: 0.28rem 0.6rem;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.province-travel-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid #bfdbfe;
  border-radius: 1.15rem;
  background:
    linear-gradient(135deg, #eff6ff 0%, #ffffff 54%, #fef2f2 100%);
  padding: 1.2rem;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.province-travel-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #dc2626 0%, #1d4ed8 100%);
}

.province-travel-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-items: center;
}

.province-travel-cta-label {
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.province-travel-cta-title {
  margin-top: 0.25rem;
  color: #020617;
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 950;
  line-height: 1.1;
}

.province-travel-cta-copy {
  margin-top: 0.45rem;
  max-width: 42rem;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.55;
}

.province-travel-cta-link {
  display: inline-flex;
  min-height: 2.85rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, #dc2626 0%, #ef4444 42%, #1d4ed8 100%);
  color: #fff;
  padding: 0.75rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 14px 28px rgba(29, 78, 216, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.province-travel-cta-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.24);
}

@media (hover: hover) and (pointer: fine) {
  .discover-card:hover {
    transform: translateY(-4px);
    border-color: #c5d8f1;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
  }
}

@media (min-width: 768px) {
  .province-page {
    margin-top: -5rem;
  }

  .province-hero {
    padding: 12rem 1rem 4.4rem;
  }

  .province-hero-grid:not(.province-hero-grid-no-media) {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
  }

  .discover-section,
  .province-section {
    padding: 4rem 0;
  }

  .province-fact-grid,
  .province-card-grid,
  .province-tip-grid,
  .province-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discover-grid {
    gap: 1.5rem;
  }

  .province-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .municipality-panel {
    padding: 1.1rem;
  }

  .municipality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .province-card-grid-single {
    max-width: 28rem;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
  }

  .province-travel-cta {
    padding: 1.35rem 1.5rem;
  }

  .province-travel-cta-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 1024px) {
  .province-card-grid,
  .province-tip-grid,
  .province-article-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .province-card-grid-balanced-four {
    max-width: 56rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-inline: auto;
  }

  .province-card-grid-single {
    max-width: 28rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .province-fact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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