.millas-guide-main,
.millas-guide-preview {
  color: #17385f;
  font-family: var(--ra-body-font, "Manrope", sans-serif);
}

.millas-guide-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.millas-guide-preview,
.millas-guide-content {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  background: #f7f9fc;
}

.millas-guide-hero {
  padding: clamp(3.4rem, 7vw, 6.2rem) 0;
  background: radial-gradient(circle at 15% 0%, rgba(176, 24, 56, .12), transparent 32rem), #fff;
}

.millas-guide-hero h1,
.millas-guide-preview h2 {
  margin: .35rem 0 1rem;
  color: #b01838;
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.millas-guide-hero p:last-child,
.millas-guide-intro {
  max-width: 760px;
  margin: 0 0 2rem;
  color: #5c6d81;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.millas-guide-kicker {
  margin: 0;
  color: #b01838;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.millas-guide-directory {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(2.8rem, 5vw, 4.5rem);
  background: #fff;
}

.millas-guide-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -1.4rem;
}

.millas-guide-category-card {
  position: relative;
  display: flex;
  min-height: 220px;
  padding: 1.35rem;
  flex-direction: column;
  border: 1px solid #dbe3ed;
  border-top: 4px solid #b01838;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 34px rgba(23, 56, 95, .1);
  color: #17385f;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.millas-guide-category-card:hover {
  border-color: rgba(176, 24, 56, .45);
  box-shadow: 0 20px 42px rgba(23, 56, 95, .14);
  transform: translateY(-4px);
}

.millas-guide-category-card:focus-visible {
  outline: 3px solid #b01838;
  outline-offset: 4px;
}

.millas-guide-category-card__icon,
.millas-guide-group__icon {
  display: inline-grid;
  width: 3rem;
  height: 3rem;
  flex: 0 0 3rem;
  place-items: center;
  border-radius: .8rem;
  background: rgba(176, 24, 56, .09);
  color: #b01838;
  font-size: 1.45rem;
}

.millas-guide-category-card__copy {
  display: grid;
  gap: .55rem;
  margin-top: 1.1rem;
}

.millas-guide-category-card__copy strong {
  font-size: 1.2rem;
  font-weight: 800;
}

.millas-guide-category-card__copy small {
  color: #5c6d81;
  font-size: .9rem;
  line-height: 1.5;
}

.millas-guide-category-card__count {
  margin-top: auto;
  padding-top: 1rem;
  color: #b01838;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.millas-guide-groups {
  display: grid;
  gap: clamp(3.6rem, 7vw, 6rem);
}

.millas-guide-group {
  scroll-margin-top: 8rem;
}

.millas-guide-group__head {
  display: flex;
  max-width: 800px;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.millas-guide-group__head h2 {
  margin: .2rem 0 .35rem;
  color: #17385f;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.millas-guide-group__head p:last-child {
  margin: 0;
  color: #5c6d81;
  line-height: 1.6;
}

.millas-guide-article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.millas-guide-article-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-columns: 148px minmax(0, 1fr);
  border: 1px solid #dbe3ed;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 56, 95, .07);
}

.millas-guide-article-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: #edf2f7;
}

.millas-guide-article-card__media img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.millas-guide-article-card__media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 10%, rgba(176, 24, 56, .16), transparent 65%),
    #edf2f7;
  color: #b01838;
  font-size: 2.8rem;
}

.millas-guide-article-card__body {
  display: flex;
  min-width: 0;
  padding: 1.25rem;
  flex-direction: column;
}

.millas-guide-article-card__category {
  margin: 0 0 .55rem;
  color: #b01838;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.millas-guide-article-card h3 {
  margin: 0;
  color: #17385f;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
}

.millas-guide-article-card h3 a {
  color: inherit;
  text-decoration: none;
}

.millas-guide-article-card h3 a:hover,
.millas-guide-article-card h3 a:focus-visible {
  color: #b01838;
  text-decoration: underline;
  text-underline-offset: .18em;
}

.millas-guide-article-card__body > p:not(.millas-guide-article-card__category) {
  margin: .75rem 0 1rem;
  color: #5c6d81;
  font-size: .88rem;
  line-height: 1.55;
}

.millas-guide-article-card__link {
  display: inline-flex;
  gap: .5rem;
  margin-top: auto;
  align-items: center;
  color: #b01838;
  font-size: .86rem;
  font-weight: 800;
  text-decoration: none;
}

.millas-guide-article-card__link:hover,
.millas-guide-article-card__link:focus-visible {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.millas-guide-group__empty {
  margin: 0;
  padding: 1.4rem;
  border: 1px dashed #cbd6e2;
  border-radius: .9rem;
  background: #fff;
  color: #5c6d81;
}

.millas-guide-featured-image {
  margin: 0 0 1.4rem;
  overflow: hidden;
  border-radius: 1rem;
  background: #edf2f7;
  box-shadow: 0 14px 34px rgba(23, 56, 95, .08);
}

.millas-guide-featured-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.millas-guide-accordion {
  display: grid;
  gap: .85rem;
}

.millas-guide-item {
  overflow: hidden;
  border: 1px solid #dbe3ed;
  border-left: 4px solid #b01838;
  border-radius: .9rem;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 56, 95, .07);
}

.millas-guide-item summary {
  position: relative;
  padding: 1.25rem 3.5rem 1.25rem 1.3rem;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 750;
}

.millas-guide-item summary::-webkit-details-marker { display: none; }
.millas-guide-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  color: #b01838;
  font-size: 1.65rem;
  transform: translateY(-50%);
}
.millas-guide-item[open] summary::after { content: "−"; }
.millas-guide-item summary:focus-visible { outline: 3px solid #b01838; outline-offset: -3px; }

.millas-guide-answer {
  padding: 0 1.3rem 1.25rem;
  color: #4f6175;
  line-height: 1.7;
}
.millas-guide-answer p { margin: .4rem 0 0; }
.millas-guide-answer ul {
  display: grid;
  gap: .5rem;
  margin: .9rem 0 .4rem;
  padding-left: 1.4rem;
}
.millas-guide-answer li::marker { color: #b01838; }
.millas-guide-answer strong { color: #17385f; font-weight: 800; }
.millas-guide-answer em { font-style: italic; }

.millas-guide-answer-actions {
  display: flex;
  gap: .7rem;
  margin-top: 1.15rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.millas-guide-permalink,
.millas-guide-back {
  display: inline-flex;
  gap: .4rem;
  align-items: center;
  color: #b01838;
  font-weight: 750;
  text-decoration: none;
}
.millas-guide-back { margin-top: 1rem; }
.millas-guide-answer-actions .millas-guide-permalink {
  min-height: 44px;
  margin-top: 0;
  padding: .68rem .9rem;
  justify-content: space-between;
  border: 1px solid rgba(176, 24, 56, .28);
  border-radius: .75rem;
  background: rgba(176, 24, 56, .045);
  line-height: 1.35;
}
.millas-guide-permalink--related {
  flex: 1 1 360px;
}
.millas-guide-permalink--contact {
  flex: 0 0 auto;
  border-color: #b01838 !important;
  background: #b01838 !important;
  color: #ffffff !important;
}
.millas-guide-permalink--contact:hover,
.millas-guide-permalink--contact:focus-visible {
  background: #92132e !important;
  text-decoration: none;
}
.millas-guide-permalink:hover,
.millas-guide-back:hover { text-decoration: underline; text-underline-offset: .2em; }

.millas-guide-article {
  padding: clamp(3.2rem, 7vw, 6rem) 0;
  background: radial-gradient(circle at 15% 0%, rgba(176, 24, 56, .1), transparent 34rem), #fff;
}
.millas-guide-article__shell { max-width: 860px; }
.millas-guide-article h1 {
  max-width: 24ch;
  margin: .55rem 0 clamp(1.6rem, 4vw, 2.6rem);
  color: #17385f;
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.millas-guide-answer--article {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid #dbe3ed;
  border-left: 4px solid #b01838;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 56, 95, .08);
  color: #334960;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  line-height: 1.8;
}
.millas-guide-answer--article p { margin: 0 0 1rem; }
.millas-guide-answer--article p:last-child { margin-bottom: 0; }
.millas-guide-breadcrumb {
  display: flex;
  gap: .55rem;
  margin-bottom: 2rem;
  align-items: center;
  color: #66778a;
  font-size: .9rem;
}
.millas-guide-breadcrumb a { color: inherit; text-decoration: none; }
.millas-guide-breadcrumb a:hover { color: #b01838; text-decoration: underline; }

/* Footer completo para las páginas de Guía, que no cargan home-artistic.css. */
body.millas-guide-page .site-footer {
  padding: clamp(2.5rem, 5vw, 3.5rem) 1rem 1.5rem;
  border-top: 4px solid #b01838;
  background: #263f53 !important;
  color: #ffffff !important;
  font-family: var(--ra-body-font, "Manrope", sans-serif);
}

body.millas-guide-page .site-footer__inner {
  width: min(1040px, 100%);
  margin: 0 auto;
}

body.millas-guide-page .site-footer__logo-frame--client {
  width: 104px;
  height: 104px;
  min-width: 104px;
  max-width: 104px;
  margin-bottom: 1rem;
  border-radius: 24px;
}

body.millas-guide-page .site-footer__logo--client {
  border-radius: 24px;
}

body.millas-guide-page .site-footer__title {
  margin: 0 0 .85rem;
  color: #ffffff;
  font-family: var(--ra-body-font, "Manrope", sans-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
}

body.millas-guide-page .site-footer__meta {
  margin: .28rem 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: .96rem;
  line-height: 1.5;
}

body.millas-guide-page .site-footer__meta a {
  color: inherit !important;
  text-decoration: none;
}

body.millas-guide-page .site-footer__meta a:hover,
body.millas-guide-page .site-footer__meta a:focus-visible {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: .2em;
}

body.millas-guide-page .site-footer__social {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
}

body.millas-guide-page .site-footer__icon {
  display: inline-grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #ffffff !important;
  font-size: 1rem;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

body.millas-guide-page .site-footer__icon:hover,
body.millas-guide-page .site-footer__icon:focus-visible {
  border-color: #b01838;
  background: #b01838;
  transform: translateY(-2px);
}

body.millas-guide-page .site-footer__legal {
  width: min(720px, 100%);
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .72);
  font-size: .82rem;
  line-height: 1.55;
}

body.millas-guide-page .site-footer__legal p {
  margin: .18rem 0 0;
}

body.millas-guide-page .site-footer__legal a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
}

body.millas-guide-page .site-footer__legal a:hover,
body.millas-guide-page .site-footer__legal a:focus-visible {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.millas-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.millas-guide-button {
  display: inline-flex;
  min-height: 48px;
  padding: .8rem 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid #b01838;
  border-radius: 999px;
  color: #b01838;
  font-weight: 750;
  text-decoration: none;
}
.millas-guide-button--primary { background: #b01838; color: #fff; }
.millas-guide-button:hover { box-shadow: 0 8px 20px rgba(176, 24, 56, .18); transform: translateY(-1px); }

.millas-guide-cta {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  align-items: center;
  justify-content: space-between;
  border-radius: 1.2rem;
  background: #17385f;
  color: #fff;
}
.millas-guide-cta h2 { margin: .35rem 0; font-size: clamp(1.45rem, 3vw, 2rem); }
.millas-guide-cta p:not(.millas-guide-kicker) { margin: 0; color: #dce6f1; }
.millas-guide-cta .millas-guide-actions { margin-top: 0; flex: 0 0 auto; }
.millas-guide-cta .millas-guide-button:not(.millas-guide-button--primary) { border-color: #fff; color: #fff; }

.millas-guide-empty { padding: 3rem 1.5rem; border-radius: 1rem; background: #fff; text-align: center; }
.millas-guide-empty i { color: #b01838; font-size: 2.4rem; }
.millas-guide-empty h2 { margin: .8rem 0 .4rem; }
.millas-guide-empty p { margin: 0; color: #5c6d81; }

@media (max-width: 720px) {
  .millas-guide-category-grid { grid-template-columns: 1fr; margin-top: -1rem; }
  .millas-guide-category-card { min-height: 0; }
  .millas-guide-article-grid { grid-template-columns: 1fr; }
  .millas-guide-article-card { grid-template-columns: 96px minmax(0, 1fr); }
  .millas-guide-article-card__media img { min-height: 100%; }
  .millas-guide-article-card__media--placeholder { font-size: 2rem; }
  .millas-guide-group__head { gap: .8rem; }
  .millas-guide-group__icon { width: 2.65rem; height: 2.65rem; flex-basis: 2.65rem; }
  .millas-guide-cta { align-items: flex-start; flex-direction: column; }
  .millas-guide-cta .millas-guide-actions { width: 100%; }
  .millas-guide-button { width: 100%; }
  .millas-guide-answer-actions { flex-direction: column; }
  .millas-guide-permalink--related,
  .millas-guide-permalink--contact { flex: 1 1 auto; width: 100%; }
  body.millas-guide-page .site-footer { padding-top: 2.25rem; }
  body.millas-guide-page .site-footer__logo-frame--client {
    width: 92px;
    height: 92px;
    min-width: 92px;
    max-width: 92px;
  }
  body.millas-guide-page .site-footer__legal { padding-bottom: 4.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .millas-guide-button,
  .millas-guide-category-card { transition: none; }
}
