/* ==========================================================================
   TEMA: Modern Broker
   Arquivo: themes/site_theme_modern.css
   Tokens: --st-* injetados pelo ThemeResolver via theme_css_tag
   Classes: pub-modern-*
   ========================================================================== */

/* ==========================================================================
   1. TIPOGRAFIA E BASE
   ========================================================================== */

.theme-modern {
  font-family: var(--st-font-body);
  color: var(--st-text);
  background: var(--st-surface);
}

.theme-modern h1,
.theme-modern h2,
.theme-modern h3 {
  font-family: var(--st-font-heading);
}

.theme-modern a {
  color: var(--st-primary);
}

.theme-modern a:hover {
  color: var(--st-secondary);
}

/* ==========================================================================
   2. CONTAINER
   ========================================================================== */

.pub-modern-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   3. HEADER
   ========================================================================== */

.pub-modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.pub-modern-header.is-scrolled {
  background: color-mix(in srgb, var(--st-surface) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--st-border);
  box-shadow: 0 6px 24px rgba(8, 29, 22, 0.06);
}

.pub-modern-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 1rem 1.5rem;
}

.pub-modern-header__brand {
  display: inline-flex;
  gap: 0.625rem;
  align-items: center;
  text-decoration: none;
}

.pub-modern-header__brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--st-primary);
  color: #fff;
  flex-shrink: 0;
}

.pub-modern-header__logo {
  height: 40px;
  width: auto;
}

.pub-modern-header__brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  font-family: var(--st-font-heading);
  color: var(--st-text);
}

/* Sobre o hero (antes do scroll): textos claros — só quando há hero escuro atrás */
body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__brand-name,
body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__nav a {
  color: #fff;
}
body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__hamburger span {
  background: #fff;
}

.pub-modern-header__nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.pub-modern-header__nav a {
  text-decoration: none;
  color: var(--st-text);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.pub-modern-header__nav a:hover {
  color: var(--st-primary);
}

body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.pub-modern-header__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* CTA pill "Fale com um corretor" — escuro nos dois estados */
.pub-modern-header__wa-btn {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--st-text);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

/* O texto do CTA precisa vencer a regra global `.theme-modern a { color: var(--st-primary) }`,
   que é mais específica que a classe sozinha. Sem isto, o texto herda --st-primary e
   fica escuro sobre o fundo escuro do botão (contraste baixo) quando o header rola. */
.theme-modern .pub-modern-header__wa-btn {
  color: #fff;
}

.pub-modern-header__wa-btn:hover {
  background: var(--st-primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(8, 29, 22, 0.18);
}

body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__wa-btn {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

body:has(.pub-modern-hero) .pub-modern-header:not(.is-scrolled) .pub-modern-header__wa-btn:hover {
  background: #fff;
  color: var(--st-text);
}

.pub-modern-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0.5rem;
}

.pub-modern-header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--st-text);
}

/* Mobile nav drawer */
.pub-modern-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--st-surface);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.3s;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.5rem;
}

.pub-modern-nav-drawer.is-open {
  transform: translateX(0);
}

.pub-modern-nav-drawer__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.pub-modern-nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.pub-modern-nav-drawer__links a {
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--st-text);
}

.pub-modern-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 199;
  display: none;
}

.pub-modern-nav-overlay.is-open {
  display: block;
}

/* ==========================================================================
   4. HERO
   ========================================================================== */

.pub-modern-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--st-text);
  padding: 7rem 0 3.5rem;
}

.pub-modern-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.pub-modern-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(8, 29, 22, 0.82) 0%, rgba(8, 29, 22, 0.45) 45%, rgba(8, 29, 22, 0.15) 100%),
    linear-gradient(to top, rgba(8, 29, 22, 0.55) 0%, rgba(8, 29, 22, 0) 55%);
  z-index: 1;
}

.pub-modern-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.pub-modern-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.25rem;
}

.pub-modern-hero__eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--st-secondary);
  border-radius: 2px;
}

.pub-modern-hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 1rem;
  font-family: var(--st-font-heading);
}

.pub-modern-hero__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  line-height: 1.55;
  margin-bottom: 2.5rem;
}

/* ---- Cartão de busca flutuante ---- */
.pub-modern-hero__search {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: 0 30px 60px -20px rgba(8, 29, 22, 0.45);
  max-width: 960px;
}

.pub-modern-hero__tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--st-surface-alt);
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.pub-modern-hero__tab {
  border: none;
  background: transparent;
  color: var(--st-text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pub-modern-hero__tab.is-active {
  background: var(--st-text);
  color: #fff;
}

.pub-modern-hero__fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 0.8fr;
  gap: 0.75rem;
}

.pub-modern-hero__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.pub-modern-hero__field-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--st-text-muted);
}

.pub-modern-hero__control {
  width: 100%;
  height: 46px;
  padding: 0 0.875rem;
  border: 1px solid var(--st-border);
  border-radius: 12px;
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pub-modern-hero__control:focus {
  border-color: var(--st-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--st-primary) 18%, transparent);
}

.pub-modern-hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  margin-top: 1rem;
}

.pub-modern-hero__range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.pub-modern-hero__range-value {
  font-weight: 700;
  color: var(--st-primary);
  font-size: 0.9375rem;
}

.pub-modern-hero__range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: var(--st-surface-alt);
  outline: none;
}

.pub-modern-hero__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--st-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(8, 29, 22, 0.25);
  cursor: pointer;
}

.pub-modern-hero__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--st-primary);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(8, 29, 22, 0.25);
  cursor: pointer;
}

.pub-modern-hero__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--st-secondary);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 0 1.75rem;
  height: 56px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
  white-space: nowrap;
}

.pub-modern-hero__search-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

/* ==========================================================================
   5. SEÇÕES
   ========================================================================== */

.pub-modern-section {
  padding: 6rem 0;
}

.pub-modern-section--alt {
  background: var(--st-surface-alt);
}

.pub-modern-section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pub-modern-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-primary);
  margin-bottom: 0.875rem;
}

.pub-modern-section__eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--st-secondary);
  border-radius: 2px;
}

.pub-modern-section__title {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-family: var(--st-font-heading);
  color: var(--st-text);
  max-width: 20ch;
}

.pub-modern-section__subtitle {
  color: var(--st-text-muted);
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  max-width: 52ch;
}

.pub-modern-section__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid var(--st-border);
  border-radius: 999px;
  background: var(--st-surface);
  color: var(--st-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pub-modern-section__link:hover {
  background: var(--st-text);
  border-color: var(--st-text);
  color: #fff;
}

/* ==========================================================================
   6. GRID E CARDS
   ========================================================================== */

.pub-modern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pub-modern-card {
  position: relative;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(8, 29, 22, 0.04);
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.pub-modern-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 48px -24px rgba(8, 29, 22, 0.35);
}

.pub-modern-card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.pub-modern-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.pub-modern-card:hover .pub-modern-card__thumb img {
  transform: scale(1.06);
}

.pub-modern-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-surface-alt);
  color: var(--st-text-muted);
}

.pub-modern-card__badges {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.pub-modern-card__badge {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.pub-modern-card__badge--sale {
  background: var(--st-primary);
  color: #fff;
}

.pub-modern-card__badge--rent {
  background: var(--st-secondary);
  color: #fff;
}

.pub-modern-card__badge--new {
  background: rgba(255, 255, 255, 0.92);
  color: var(--st-text);
}

.pub-modern-card__fav {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--st-text);
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.pub-modern-card__fav:hover {
  background: #fff;
  color: var(--st-secondary);
  transform: scale(1.08);
}

.pub-modern-card__body {
  padding: 1.25rem 1.375rem 1.5rem;
}

.pub-modern-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  font-family: var(--st-font-heading);
  letter-spacing: -0.01em;
  color: var(--st-text);
  margin-bottom: 0.375rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pub-modern-card__location {
  display: flex;
  gap: 0.3rem;
  align-items: center;
  color: var(--st-text-muted);
  font-size: 0.8125rem;
  margin-bottom: 0.875rem;
}

.pub-modern-card__price {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--st-primary);
  margin-bottom: 1rem;
  font-family: var(--st-font-heading);
  letter-spacing: -0.01em;
}

.pub-modern-card__price-period {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--st-text-muted);
}

.pub-modern-card__meta {
  display: flex;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--st-border);
}

.pub-modern-card__meta-item {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--st-text-muted);
}

.pub-modern-card__meta-item svg {
  color: var(--st-primary);
}

.pub-modern-card__meta-item strong {
  color: var(--st-text);
  font-weight: 600;
}

.pub-modern-card__link-cover {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ==========================================================================
   7. ABOUT BROKER
   ========================================================================== */

/* Banda de diferenciais ("Por que ...") sobre fundo verde suave */
.pub-modern-features {
  position: relative;
  background: color-mix(in srgb, var(--st-primary) 14%, var(--st-surface));
  padding: 6rem 0;
  overflow: hidden;
}

.pub-modern-features__head {
  margin-bottom: 3rem;
  max-width: 40ch;
}

.pub-modern-features__head .pub-modern-section__title {
  max-width: 24ch;
}

.pub-modern-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pub-modern-feature-card {
  background: var(--st-surface);
  border: 1px solid color-mix(in srgb, var(--st-primary) 12%, var(--st-border));
  border-radius: 20px;
  padding: 2rem 1.75rem;
  transition: transform 0.25s, box-shadow 0.25s;
}

.pub-modern-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(8, 29, 22, 0.4);
}

.pub-modern-feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--st-primary);
  color: #fff;
  margin-bottom: 1.5rem;
}

.pub-modern-feature-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  font-family: var(--st-font-heading);
  letter-spacing: -0.01em;
  color: var(--st-text);
  margin-bottom: 0.625rem;
}

.pub-modern-feature-card__text {
  color: var(--st-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* CTA de avaliação (cartão verde escuro acima do rodapé) */
.pub-modern-cta {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 0;
}

.pub-modern-cta__card {
  position: relative;
  overflow: hidden;
  background: var(--st-primary);
  border-radius: 28px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.pub-modern-cta__card::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--st-secondary) 35%, transparent);
  filter: blur(20px);
  opacity: 0.5;
  pointer-events: none;
}

.pub-modern-cta__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.pub-modern-cta__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  font-family: var(--st-font-heading);
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 0.875rem;
}

.pub-modern-cta__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 44ch;
}

.pub-modern-cta__form {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pub-modern-cta__input {
  flex: 1 1 160px;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9375rem;
  outline: none;
}

.pub-modern-cta__input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.pub-modern-cta__input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.18);
}

.pub-modern-cta__btn {
  flex: 0 0 auto;
  height: 52px;
  padding: 0 1.5rem;
  border: none;
  border-radius: 14px;
  background: var(--st-secondary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s;
}

.pub-modern-cta__btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.pub-modern-cta__error {
  display: none;
  flex-basis: 100%;
  color: #fff;
  font-size: 0.8125rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
}

.pub-modern-cta__error.is-visible {
  display: block;
}

/* ==========================================================================
   8. TESTIMONIALS
   ========================================================================== */

.pub-modern-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pub-modern-testi-card {
  background: var(--st-surface);
  border-radius: var(--st-card-radius);
  border: 1px solid var(--st-border);
  padding: 1.5rem;
}

.pub-modern-testi-stars {
  color: var(--st-secondary);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.pub-modern-testi-text {
  color: var(--st-text);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.pub-modern-testi-author {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pub-modern-testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--st-primary-light);
  color: var(--st-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  overflow: hidden;
  flex-shrink: 0;
}

.pub-modern-testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pub-modern-testi-name {
  font-weight: 600;
  color: var(--st-text);
}

.pub-modern-testi-date {
  font-size: 0.75rem;
  color: var(--st-text-muted);
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

.pub-modern-footer {
  background: var(--st-text);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 1.75rem;
  margin-top: 5rem;
}

.pub-modern-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.pub-modern-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.pub-modern-footer__brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--st-secondary);
  color: #fff;
  flex-shrink: 0;
}

.pub-modern-footer__brand-name {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  font-family: var(--st-font-heading);
}

.pub-modern-footer__heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.55);
}

.pub-modern-footer__text {
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.6;
}

.pub-modern-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pub-modern-footer__contact a,
.pub-modern-footer__contact span {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.45;
  transition: color 0.2s;
}

.pub-modern-footer__contact a:hover {
  color: #fff;
}

.pub-modern-footer__contact svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--st-secondary);
}

.pub-modern-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pub-modern-footer__links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.pub-modern-footer__links a:hover {
  color: white;
}

.pub-modern-footer__bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pub-modern-footer__copyright {
  font-size: 0.8125rem;
  opacity: 0.6;
}

.pub-modern-footer__powered {
  font-size: 0.75rem;
  opacity: 0.5;
}

.pub-modern-footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pub-modern-footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.2s;
}

.pub-modern-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* ==========================================================================
   10. LISTING
   ========================================================================== */

.pub-modern-listing {
  display: flex;
  gap: 0;
  min-height: 60vh;
}

.pub-modern-listing__sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--st-surface-alt);
  border-right: 1px solid var(--st-border);
  padding: 1.5rem;
  position: sticky;
  top: 80px;
  align-self: flex-start;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.pub-modern-listing__main {
  flex: 1;
  padding: 1.5rem;
  min-width: 0;
}

.pub-modern-listing__toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.pub-modern-listing__count {
  color: var(--st-text-muted);
  font-size: 0.875rem;
}

.pub-modern-listing__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pub-modern-select {
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.875rem;
}

.pub-modern-btn--filter-mobile {
  display: none;
}

/* ==========================================================================
   11. FILTROS
   ========================================================================== */

.pub-modern-filters__title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--st-text);
}

.pub-modern-filters__section {
  margin-bottom: 1.5rem;
}

.pub-modern-filters__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--st-text);
}

.pub-modern-filters__input {
  width: 100%;
  padding: 0.625rem;
  border-radius: 8px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.875rem;
}

.pub-modern-filters__select {
  width: 100%;
  padding: 0.625rem;
  border-radius: 8px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.875rem;
}

.pub-modern-filters__check-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.pub-modern-filters__pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pub-modern-filters__pill {
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--st-border);
  background: transparent;
  cursor: pointer;
  font-size: 0.8125rem;
  transition: all 0.2s;
}

.pub-modern-filters__pill.active {
  background: var(--st-primary);
  color: white;
  border-color: var(--st-primary);
}

.pub-modern-filters__clear {
  display: block;
  text-align: center;
  color: var(--st-secondary);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  margin-top: 0.5rem;
}

.pub-modern-filters__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* ==========================================================================
   12. DETAIL PAGE
   ========================================================================== */

/* O header do tema modern é fixo e transparente (sobrepõe o herói nas demais
   páginas). Na página de detalhe o primeiro elemento é o breadcrumb, então
   precisa de um respiro no topo para não ficar sob o menu. */
.theme-modern .pub-breadcrumb {
  padding-top: 5.5rem;
}

.pub-modern-detail {
  max-width: 1200px;
  margin: 5rem auto 0;
  padding: 2rem 1.5rem;
}

.pub-modern-detail__gallery {
  position: relative;
  margin-bottom: 2rem;
}

.pub-modern-gallery__main {
  border-radius: var(--st-card-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
}

.pub-modern-gallery__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  cursor: zoom-in;
}

.pub-modern-gallery__photo.is-active {
  display: block;
}

.pub-modern-gallery__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--st-surface-alt);
  color: var(--st-text-muted);
  position: absolute;
  inset: 0;
}

.pub-modern-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
}

.pub-modern-gallery__thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.pub-modern-gallery__thumb.is-active {
  border-color: var(--st-primary);
}

.pub-modern-gallery__more {
  width: 80px;
  height: 60px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  flex-shrink: 0;
}

.pub-modern-gallery__counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.pub-modern-gallery__prev,
.pub-modern-gallery__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.pub-modern-gallery__prev {
  left: 0.75rem;
}

.pub-modern-gallery__next {
  right: 0.75rem;
}

.pub-modern-detail__body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: flex-start;
}

.pub-modern-detail__header {
  margin-bottom: 1.5rem;
}

.pub-modern-detail__badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pub-modern-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pub-modern-badge--sale {
  background: var(--st-primary);
  color: white;
}

.pub-modern-badge--rent {
  background: var(--st-secondary);
  color: white;
}

.pub-modern-detail__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--st-text);
  font-family: var(--st-font-heading);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.pub-modern-detail__location {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  color: var(--st-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.pub-modern-detail__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--st-primary);
  font-family: var(--st-font-heading);
}

.pub-modern-detail__price-period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--st-text-muted);
}

.pub-modern-detail__features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--st-border);
  border-bottom: 1px solid var(--st-border);
  margin: 1.5rem 0;
}

.pub-modern-feature {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: var(--st-text);
}

.pub-modern-detail__description h2,
.pub-modern-detail__amenities h2,
.pub-modern-detail__map h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--st-font-heading);
  color: var(--st-text);
}

.pub-modern-detail__description p {
  color: var(--st-text);
  line-height: 1.7;
}

.pub-modern-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pub-modern-chip {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--st-surface-alt);
  border: 1px solid var(--st-border);
  font-size: 0.8125rem;
  color: var(--st-text);
}

.pub-modern-detail__amenities,
.pub-modern-detail__map,
.pub-modern-detail__description {
  margin-bottom: 2rem;
}

/* ==========================================================================
   13. CONTACT SIDEBAR
   ========================================================================== */

.pub-modern-contact-sidebar {
  background: var(--st-surface);
  border-radius: var(--st-card-radius);
  border: var(--st-card-border);
  box-shadow: var(--st-card-shadow);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.pub-modern-contact-sidebar__broker {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pub-modern-contact-sidebar__photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.75rem;
  display: block;
}

.pub-modern-contact-sidebar__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--st-primary-light);
  color: var(--st-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
}

.pub-modern-contact-sidebar__name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--st-text);
  margin-bottom: 0.25rem;
}

.pub-modern-contact-sidebar__creci {
  font-size: 0.8125rem;
  color: var(--st-text-muted);
}

.pub-modern-contact-sidebar__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  color: var(--st-text-muted);
  font-size: 0.8125rem;
}

.pub-modern-contact-sidebar__divider::before,
.pub-modern-contact-sidebar__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--st-border);
}

.pub-modern-contact-form .pub-modern-form-group {
  margin-bottom: 0.75rem;
}

.pub-modern-input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.875rem;
}

.pub-modern-textarea {
  resize: vertical;
  min-height: 80px;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--st-border);
  background: var(--st-surface);
  color: var(--st-text);
  font-size: 0.875rem;
}

/* ==========================================================================
   14. BOTÕES
   ========================================================================== */

.pub-modern-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9375rem;
}

.pub-modern-btn--primary {
  background: var(--st-primary);
  color: white;
}

.pub-modern-btn--primary:hover {
  background: var(--st-primary-dark);
  color: white;
}

.pub-modern-btn--outline {
  background: transparent;
  color: var(--st-primary);
  border: 2px solid var(--st-primary);
}

.pub-modern-btn--outline:hover {
  background: var(--st-primary);
  color: white;
}

.pub-modern-btn--whatsapp {
  background: #25D366;
  color: white;
}

.pub-modern-btn--whatsapp:hover {
  color: white;
  opacity: 0.9;
}

.pub-modern-btn--call {
  background: var(--st-surface-alt);
  color: var(--st-text);
}

.pub-modern-btn--full {
  width: 100%;
  justify-content: center;
}

/* ==========================================================================
   15. EMPTY STATE E PAGINAÇÃO
   ========================================================================== */

.pub-modern-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--st-text-muted);
}

.pub-modern-empty p {
  margin-bottom: 1.5rem;
}

.pub-modern-pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   16. DETAIL MOBILE CTA
   ========================================================================== */

.pub-modern-detail__mobile-cta {
  display: none;
}

/* ==========================================================================
   17. MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .pub-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-modern-detail__body {
    grid-template-columns: 1fr;
  }

  .pub-modern-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-modern-testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-modern-about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pub-modern-header__nav {
    display: none;
  }

  .pub-modern-header__hamburger {
    display: flex;
  }

  .pub-modern-grid {
    grid-template-columns: 1fr;
  }

  .pub-modern-hero__title {
    font-size: 2rem;
  }

  .pub-modern-listing__sidebar {
    display: none;
  }

  .pub-modern-listing__sidebar.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow-y: auto;
    max-height: 100vh;
    top: 0;
  }

  .pub-modern-btn--filter-mobile {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.625rem 1rem;
    background: var(--st-primary);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
  }

  .pub-modern-detail {
    margin-top: 4rem;
  }

  .pub-modern-detail__mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--st-surface);
    padding: 1rem;
    gap: 0.75rem;
    border-top: 1px solid var(--st-border);
    z-index: 100;
  }

  .pub-modern-detail__mobile-cta .pub-modern-btn {
    flex: 1;
    justify-content: center;
  }

  .pub-modern-detail__content {
    padding-bottom: 5rem;
  }

  .pub-modern-detail__sidebar {
    display: none;
  }

  .pub-modern-footer__grid {
    grid-template-columns: 1fr;
  }

  .pub-modern-testi-grid {
    grid-template-columns: 1fr;
  }

  .pub-modern-section {
    padding: 3rem 0;
  }

  .pub-modern-section__title {
    font-size: 1.5rem;
  }
}

/* Footer utility classes */
.pub-modern-footer__text--spaced { margin-top: var(--space-sm, 0.75rem); }
.pub-modern-footer__wa-link { color: rgba(255,255,255,0.8); text-decoration: none; }
.pub-modern-footer__wa-link:hover { color: white; }
.pub-modern-btn--sm { font-size: 0.875rem; padding: 0.5rem 1rem; }

/* ==========================================================================
   18. RESPONSIVO — COMPONENTES VILAMAR
   ========================================================================== */

@media (max-width: 1024px) {
  .pub-modern-features__grid {
    grid-template-columns: 1fr;
  }

  .pub-modern-cta__card {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.5rem;
  }

  .pub-modern-hero__fields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pub-modern-hero {
    min-height: 0;
    padding: 6rem 0 2.5rem;
  }

  .pub-modern-hero__search {
    padding: 1.125rem;
    border-radius: 20px;
  }

  .pub-modern-hero__fields {
    grid-template-columns: 1fr;
  }

  .pub-modern-hero__bottom {
    grid-template-columns: 1fr;
  }

  .pub-modern-hero__search-btn {
    width: 100%;
    justify-content: center;
  }

  .pub-modern-footer {
    margin-top: 3rem;
  }

  .pub-modern-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .pub-modern-cta {
    padding: 3rem 1.25rem 0;
  }

  .pub-modern-cta__card {
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }

  .pub-modern-features {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   19. DETAIL PAGE — LAYOUT ATUAL (_show_content)
   A view de detalhe foi reescrita com main/sidebar, specs, features-grid e
   CTA mobile próprios; as regras da seção 12 cobrem só o layout antigo.
   ========================================================================== */

.pub-modern-detail {
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 2.5rem;
  align-items: start;
}

.pub-modern-detail__main {
  min-width: 0;
}

.pub-modern-detail__address {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--st-text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.pub-modern-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pub-modern-detail__price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: var(--st-text-muted);
}

.pub-modern-detail__price-m2 {
  font-size: 0.875rem;
  color: var(--st-text-muted);
}

.pub-modern-detail__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--st-border);
  border-bottom: 1px solid var(--st-border);
  margin: 1.5rem 0;
}

.pub-modern-detail__spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
}

.pub-modern-detail__spec-icon {
  color: var(--st-primary);
  display: flex;
  justify-content: center;
}

.pub-modern-detail__spec-value {
  font-family: var(--st-font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--st-text);
  line-height: 1;
}

.pub-modern-detail__spec-label {
  font-size: 0.75rem;
  color: var(--st-text-muted);
}

.pub-modern-detail__section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--st-font-heading);
  color: var(--st-text);
}

.pub-modern-ai-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--st-surface-alt);
  border: 1px solid var(--st-border);
  color: var(--st-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.pub-modern-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1rem;
}

.pub-modern-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--st-text);
  padding: 0.25rem 0;
}

.pub-modern-feature-item__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--st-surface-alt);
  border: 1px solid var(--st-border);
  color: var(--st-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  flex-shrink: 0;
}

.pub-modern-map-placeholder {
  height: 260px;
  border-radius: var(--st-card-radius);
  background: var(--st-surface-alt);
  border: 1px solid var(--st-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--st-text-muted);
  font-size: 0.875rem;
  overflow: hidden;
}

.pub-modern-btn--phone {
  background: var(--st-surface-alt);
  color: var(--st-text);
}

/* CTA fixo — só aparece no mobile */
.pub-modern-mobile-cta {
  display: none;
}

@media (max-width: 1024px) {
  .pub-modern-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pub-modern-detail {
    margin-top: 0;
    padding-bottom: 6rem;
  }

  .pub-modern-detail__specs {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-modern-features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pub-modern-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--st-surface);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    border-top: 1px solid var(--st-border);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    z-index: 100;
  }

  .pub-modern-mobile-cta__btn {
    flex: 1;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 520px) {
  .pub-modern-footer__grid {
    grid-template-columns: 1fr;
  }
}
