/* Páginas legales y home enriquecida */
.legal-page {
  max-width: 720px;
  padding: 2.5rem 0 6rem;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.legal-page h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 2rem;
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
}

.legal-page p,
.legal-page li {
  color: #525252;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.legal-page ul,
.legal-page ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.legal-page li + li {
  margin-top: 0.35rem;
}

.legal-page a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.legal-nav a {
  color: #737373;
  font-size: 0.8125rem;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a.is-active {
  color: #171717;
}

.legal-contact-box {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
}

.legal-contact-box p {
  margin: 0;
}

.legal-contact-box p + p {
  margin-top: 0.35rem;
}

/* Banner cookies */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  pointer-events: auto;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem;
}

.cookie-banner__text {
  flex: 1 1 280px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #525252;
}

.cookie-banner__text a {
  color: var(--brand);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-btn {
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.cookie-btn--primary {
  background: #171717;
  color: #fff;
}

.cookie-btn--primary:hover {
  background: #262626;
}

.cookie-btn--secondary {
  background: #f5f5f5;
  color: #171717;
}

.cookie-btn--secondary:hover {
  background: #e5e5e5;
}

.cookie-btn--ghost {
  background: transparent;
  color: #525252;
  border: 1px solid #d4d4d4;
}

.cookie-btn--ghost:hover {
  border-color: #a3a3a3;
}

/* Home */
.home-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .home-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-stat {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.home-stat__value {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--brand);
}

.home-stat__label {
  font-size: 0.8125rem;
  color: #737373;
  margin-top: 0.25rem;
}

.home-listings {
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%);
  border: 1px solid var(--brand-muted);
  border-radius: 1.5rem;
  padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
  .home-listings {
    padding: 2.5rem 2rem;
  }
}

.home-listings__head {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .home-listings__head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.home-listings__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-dark);
}

.home-listings__title {
  margin-top: 0.35rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  color: #171717;
}

.home-listings__sub {
  margin-top: 0.5rem;
  max-width: 36rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #525252;
}

.home-listings__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.home-listings__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.home-listings__btn--primary {
  background: var(--brand);
  color: #fff;
}

.home-listings__btn--primary:hover {
  background: var(--brand-dark);
}

.home-listings__btn--ghost {
  border: 1px solid #d4d4d4;
  color: #171717;
  background: #fff;
}

.home-listings__btn--ghost:hover {
  border-color: #171717;
}

.home-listings__chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  margin-bottom: 1.5rem;
  scrollbar-width: thin;
}

.home-listings__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #404040;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.home-listings__chip:hover,
.home-listings__chip.is-active {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand-darker);
}

.home-listings__chip-count {
  display: inline-flex;
  min-width: 1.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(62, 163, 93, 0.12);
  padding: 0.125rem 0.375rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-dark);
}

.home-listings__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.25rem;
}

@media (min-width: 640px) {
  .home-listings__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .home-listings__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.home-listings__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #737373;
  padding: 2rem 0;
}

.home-listings__footer {
  margin-top: 1.75rem;
  text-align: center;
}

.home-listings__link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--brand-dark);
  text-decoration: none;
}

.home-listings__link:hover {
  color: var(--brand);
  text-decoration: underline;
}

.home-city-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.home-city-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-city-card:hover img {
  transform: scale(1.05);
}

.home-city-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
}

.home-city-card__name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
}

.home-city-card__count {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8125rem;
}

.home-step-num {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: #171717;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.home-faq details {
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.home-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq details p {
  margin-top: 0.75rem;
  color: #525252;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.home-testimonial {
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
}

.home-cta-banner {
  background: linear-gradient(135deg, #171717 0%, #404040 100%);
  border-radius: 1.5rem;
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .home-cta-banner {
    padding: 4rem 3rem;
  }
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #fafafa 0%, #f3f4f6 100%);
  border-top: 1px solid #e5e7eb;
  color: #374151;
}

.site-footer__top {
  padding: 3rem 0 2rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem 2rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 3rem;
  }
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.site-footer__logo:hover {
  color: var(--brand);
}

.site-footer__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(62, 163, 93, 0.25);
}

.site-footer__tagline {
  margin-top: 1rem;
  max-width: 22rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: #6b7280;
}

.site-footer__email {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
}

.site-footer__email:hover {
  text-decoration: underline;
}

.site-footer__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
  margin-bottom: 1rem;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__links li + li {
  margin-top: 0.625rem;
}

.site-footer__links a {
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: none;
  transition: color 0.15s;
}

.site-footer__links a:hover {
  color: #111827;
}

.site-footer__middle {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
  padding: 1.25rem 0;
}

.site-footer__middle-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__middle-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__contact-card {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #6b7280;
}

.site-footer__contact-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.site-footer__contact-name {
  font-weight: 600;
  color: #374151;
}

.site-footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-footer__trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.75rem;
  font-weight: 500;
  color: #4b5563;
}

.site-footer__bottom {
  padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
}

.site-footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #9ca3af;
}

@media (min-width: 640px) {
  .site-footer__bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__bottom-links a {
  color: #6b7280;
  text-decoration: none;
}

.site-footer__bottom-links a:hover {
  color: #111827;
  text-decoration: underline;
}

@media (max-width: 639px) {
  .site-footer__top {
    padding-top: 2.5rem;
  }

  .site-footer__col {
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
  }

  .site-footer__brand {
    padding-bottom: 0.25rem;
  }
}

/* —— About page —— */
.about-page {
  padding-bottom: 4rem;
}

.about-hero {
  background: linear-gradient(135deg, #111827 0%, #374151 55%, #1f2937 100%);
  color: #fff;
  padding: 3rem 0 4rem;
}

.about-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.about-hero__eyebrow,
.about-section__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.about-section__eyebrow {
  color: var(--brand);
}

.about-hero__title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.about-hero__lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.15s, background 0.15s;
}

.about-btn--primary {
  background: #fff;
  color: #111827;
}

.about-btn--primary:hover {
  filter: brightness(0.95);
}

.about-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.about-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.about-hero__media {
  position: relative;
}

.about-hero__img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.about-hero__badge {
  position: absolute;
  bottom: -1rem;
  left: -0.5rem;
  background: #fff;
  color: #111827;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

@media (min-width: 640px) {
  .about-hero__badge {
    bottom: 1.5rem;
    left: -1.5rem;
  }
}

.about-hero__badge-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.about-hero__badge-label {
  font-size: 0.8125rem;
  color: #6b7280;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
    margin-top: -2.5rem;
  }
}

.about-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.about-stat__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
}

.about-stat__label {
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #6b7280;
}

.about-section {
  padding: 4rem 0 2rem;
}

.about-section__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .about-section__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.about-section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.25;
  color: #111827;
}

.about-section__text {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
}

.about-values {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-values {
    grid-template-columns: 1fr 1fr;
  }
}

.about-value {
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #f0f0f0;
  background: #fafafa;
}

.about-value__icon {
  color: var(--brand);
  font-size: 1.125rem;
}

.about-value h3 {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.about-value p {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
}

.about-band {
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 3rem 0;
}

.about-band__inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-band__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.about-band__copy h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

.about-steps {
  margin-top: 1.25rem;
  padding-left: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
}

.about-steps li + li {
  margin-top: 0.75rem;
}

.about-band__img {
  width: 100%;
  border-radius: 1rem;
}

.about-contact {
  padding: 3rem 0 1rem;
}

.about-contact__card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #111827, #374151);
  color: #fff;
}

@media (min-width: 640px) {
  .about-contact__card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem;
  }
}

.about-contact__card .about-section__eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.about-contact__card .about-section__title {
  color: #fff;
}

.about-contact__card .about-section__text {
  color: rgba(255, 255, 255, 0.8);
}

.about-link {
  color: #fda4af;
  text-decoration: underline;
}

.about-contact__card .about-btn--primary {
  flex-shrink: 0;
}
