@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f4f6f2;
  --surface: #ffffff;
  --surface-2: #eef2eb;
  --text: #222222;
  --muted: #6f766b;
  --primary: rgb(67, 166, 42);
  --primary-strong: rgb(54, 138, 34);
  --success: rgb(67, 166, 42);
  --warning: rgb(183, 154, 99);
  --danger: #d14b4b;
  --border: #dbe2d5;
  --shadow: 0 14px 34px rgba(26, 43, 19, 0.08);
  --radius: 14px;
  --container: 1200px;
  --navy: #ffffff;
  --navy-2: #ffffff;
  --gold: rgb(183, 154, 99);
  --brown: rgb(122, 111, 90);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  padding-top: var(--header-offset, 86px);
}

body.home-page,
body.home-page > .site-header,
body.home-page > main,
body.home-page .hero-full {
  margin-top: 0;
  padding-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.grid {
  display: grid;
  gap: 1rem;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.76rem 1.15rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(67, 166, 42, 0.22);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18);
}

.btn-whatsapp:hover {
  background: #1fa957;
  transform: translateY(-2px);
}

.whatsapp-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex: 0 0 auto;
}

.btn-outline {
  border: 1px solid rgba(67, 166, 42, 0.28);
  background: #fff;
  color: var(--primary-strong);
}

.site-header .btn-outline {
  border: 1px solid rgba(67, 166, 42, 0.22);
  background: #fff;
  color: var(--primary-strong);
}

.site-header .btn-outline:hover {
  border-color: var(--gold);
  color: var(--text);
  transform: translateY(-2px);
}

.section {
  padding: 3.2rem 0;
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.7rem;
}

.section-subtitle {
  margin: 0 0 2rem;
  color: var(--muted);
}

.site-header {
  --header-bg: #ffffff;
  --header-height: 86px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(183, 154, 99, 0.16);
  box-shadow: 0 10px 28px rgba(26, 43, 19, 0.05);
  transition: box-shadow 0.25s ease, background-color 0.25s ease, backdrop-filter 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  --header-height: 72px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px rgba(26, 43, 19, 0.08);
}

.site-header.is-scrolled .logo-img {
  width: clamp(50px, 5vw, 66px);
}

.site-header.is-scrolled .header-note {
  opacity: 0.7;
  transform: translateY(-2px);
}

.header-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: var(--header-height);
  gap: 0.9rem;
  transition: min-height 0.25s ease;
}

.brand {
  color: var(--text);
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo-img {
  width: clamp(56px, 5.6vw, 72px);
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  margin-left: 0.65rem;
  line-height: 1.1;
}

.brand-name {
  font-size: clamp(0.92rem, 1.15vw, 1.06rem);
  font-weight: 700;
  color: var(--text);
}

.brand-creci {
  font-size: clamp(0.69rem, 0.86vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  opacity: 0.72;
  text-transform: uppercase;
}

.header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: 0.22rem;
}

.nav {
  display: flex;
  gap: 1.55rem;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.nav-link {
  font-weight: 600;
  color: var(--text);
  transition: color 0.2s ease;
  padding: 0.4rem 0;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-active {
  color: var(--gold);
}

.nav-link:focus-visible,
.header-phone:focus-visible,
.header-cta:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid rgba(67, 166, 42, 0.28);
  outline-offset: 3px;
}

.header-note {
  margin: 0;
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.header-phone:hover {
  transform: translateY(-2px);
  border-color: rgba(183, 154, 99, 0.26);
}

.header-phone-icon {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: 0 0 auto;
}

.header-cta {
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.2);
}

.header-cta:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.28);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(183, 154, 99, 0.22);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 0.58rem 0.65rem;
  width: 2.9rem;
  height: 2.9rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
  box-shadow: 0 8px 20px rgba(26, 43, 19, 0.06);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* ── Hero Home Page ──────────────────────────────── */
.home-page .site-header {
  background: var(--header-bg);
}


.home-page .brand,
.home-page .nav-link:not([aria-current="page"]):not(.is-active) {
  color: inherit;
}

.home-page .header-actions a.btn-outline {
  border-color: rgba(67, 166, 42, 0.22);
  color: var(--primary-strong);
  background: #fff;
}

.hero-full {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/background-image.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.02);
  transition: transform 6s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(5, 10, 30, 0.72) 0%,
    rgba(5, 15, 50, 0.52) 50%,
    rgba(5, 10, 30, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem 1rem;
  overflow: visible;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 0.6rem;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  opacity: 0.85;
  margin: 0 0 2rem;
}

/* ── Hero Search Bar ─────────────────────────────── */
.hero-search {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 22px;
  overflow: visible;
  max-width: 1040px;
  margin: 0 auto 1.1rem;
  box-shadow: 0 18px 60px rgba(8, 18, 42, 0.28);
}

.hero-filter-group {
  position: relative;
  flex: 0 0 170px;
  border-right: 1px solid rgba(148, 163, 184, 0.26);
  background: #fff;
}

.hero-filter-group-category {
  flex-basis: 188px;
}

.hero-filter-trigger {
  width: 100%;
  min-height: 54px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.2rem;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.hero-filter-icon {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
}

.hero-filter-icon svg,
.hero-filter-caret svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-filter-text {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #233149;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-filter-caret {
  width: 14px;
  height: 14px;
  color: #9aa8bb;
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.hero-filter-trigger[aria-expanded="true"] .hero-filter-caret {
  transform: rotate(180deg);
}

.hero-search-input {
  flex: 1;
  border: 0;
  padding: 0 1.25rem;
  min-height: 54px;
  font-size: 0.98rem;
  color: #1f2a3d;
  min-width: 0;
}

.hero-search-input::placeholder {
  color: #66758a;
}

.hero-search-input-wrap {
  position: relative;
  flex: 1.95;
  min-width: 0;
  display: flex;
  align-items: stretch;
  background: #fff;
}

.hero-search-input-wrap .hero-search-input {
  width: 100%;
  height: 100%;
}

.hero-search-suggestions {
  position: absolute;
  left: 0.65rem;
  right: 0;
  top: calc(100% + 0.55rem);
  background: #fff;
  border: 1px solid rgba(214, 224, 236, 0.92);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(16, 34, 70, 0.22);
  padding: 0.6rem;
  max-height: 430px;
  overflow-y: auto;
  z-index: 80;
}

.hero-search-suggestions::before {
  content: "Bairros Disponíveis";
  display: block;
  padding: 0.1rem 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #90a0b7;
}

.hero-search-suggestions[hidden] {
  display: none;
}

.hero-search-suggestion-item {
  width: 100%;
  border: 0;
  appearance: none;
  background: transparent;
  text-align: left;
  padding: 0.78rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
  cursor: pointer;
  color: var(--text);
  border-radius: 16px;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-search-suggestion-item:hover {
  background: #f5f8fd;
  transform: translateY(-2px);
}

.hero-search-suggestion-item::before {
  content: "";
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eef4fb;
  flex: 0 0 36px;
  margin-top: 0.05rem;
}

.hero-search-suggestion-main {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search-suggestion-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 72px;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  background: #e7f2ff;
  color: #2b74d8;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-search-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  flex: 0 0 186px;
  padding: 0 1.4rem;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.2s;
  white-space: nowrap;
  border-radius: 0 22px 22px 0;
}

.hero-search-btn:hover {
  background: var(--primary-strong);
}

.hero-filter-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 100%;
  background: #fff;
  border: 1px solid rgba(214, 224, 236, 0.92);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(16, 34, 70, 0.2);
  padding: 0.5rem;
  z-index: 85;
}

.hero-filter-dropdown-list {
  min-width: 200px;
}

.hero-filter-dropdown-panel {
  width: min(920px, calc(100vw - 3rem));
  min-width: min(920px, calc(100vw - 3rem));
  max-width: calc(100vw - 3rem);
  left: 50%;
  transform: translateX(-24%);
  padding: 1rem;
}

.hero-filter-option {
  width: 100%;
  border: 0;
  background: transparent;
  border-radius: 12px;
  padding: 0.82rem 0.95rem;
  text-align: left;
  font-size: 0.98rem;
  color: #2b374a;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.hero-filter-option:hover,
.hero-filter-option.is-selected {
  background: rgba(67, 166, 42, 0.08);
  color: var(--primary-strong);
}

.hero-filter-panel-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-panel-option {
  border: 0;
  background: transparent;
  border-radius: 18px;
  padding: 0.85rem 0.6rem;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  text-align: center;
  cursor: pointer;
  color: #283449;
  transition: background 0.18s ease, transform 0.18s ease;
}

.hero-panel-option:hover,
.hero-panel-option.is-selected {
  background: #f6f9ff;
  transform: translateY(-2px);
}

.hero-panel-option-icon {
  width: 52px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff4fa;
  color: #6b7a91;
}

.hero-panel-option-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hero-panel-option-text {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.tone-purple {
  background: rgba(183, 154, 99, 0.1);
  color: var(--brown);
}

.tone-blue {
  background: rgba(67, 166, 42, 0.1);
  color: var(--primary-strong);
}

.tone-green {
  background: #ecfbf1;
  color: #2bb95e;
}

.tone-teal {
  background: #ebfbfb;
  color: #18b6b0;
}

.tone-orange {
  background: #fff4e8;
  color: #ff7a1a;
}

.tone-slate {
  background: #eff4fa;
  color: #6f7f97;
}

/* ── Category Pills ──────────────────────────────── */
.hero-pills {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-pill {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 999px;
  padding: 0.38rem 1.1rem;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.18s;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1);
}

.hero-pill:hover,
.hero-pill.active {
  background: #fff;
  color: var(--primary-strong);
  border-color: #fff;
}

/* ── Section Header ──────────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-header h2 span {
  color: var(--primary-strong);
}

.section-link {
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}

.section-link:hover {
  color: var(--brown);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(26, 43, 19, 0.06);
}

.search-box {
  padding: 1rem;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.search-grid.full {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

label {
  font-size: 0.88rem;
  color: #4f5d72;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--text);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.properties-grid.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-pagination {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
}

.catalog-page-btn {
  min-width: 38px;
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.catalog-page-btn:hover {
  border-color: rgba(183, 154, 99, 0.45);
  color: var(--brown);
}

.catalog-page-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.catalog-page-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.property-card {
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
}

.property-card > a {
  display: block;
  height: 100%;
}

.property-card:hover {
  transform: translateY(-4px);
  border-color: rgba(183, 154, 99, 0.32);
  box-shadow: 0 18px 48px rgba(26, 43, 19, 0.12);
}

.property-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.property-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-media img {
  transform: scale(1.05);
}

.property-media-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
  pointer-events: none;
}

.property-price-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.btn-fav {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 32px;
  height: 32px;
  background: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  transition: 0.18s;
  z-index: 2;
  line-height: 1;
}

.btn-fav:hover,
.btn-fav.active {
  background: #ffe4e4;
  color: #e53;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.badge-venda {
  background: linear-gradient(135deg, rgb(212, 175, 55), rgb(184, 134, 11));
  color: #fff;
}

.badge-aluguel {
  background-color: rgb(22, 163, 74);
  color: #fff;
}

.badge-venda:hover {
  background: linear-gradient(135deg, rgb(194, 160, 48), rgb(166, 119, 9));
}

.badge-aluguel:hover {
  background: rgb(18, 140, 64);
}

.property-type {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
  margin: 0 0 0.22rem;
}

.property-content {
  padding: 0.95rem 1rem 1.05rem;
}

.property-title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
}

.property-price {
  display: none;
}

.property-location {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.95rem;
  margin: 0.38rem 0;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.35;
  color: #5f6670;
}

.property-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.property-meta-item svg {
  width: 16px;
  height: 16px;
  opacity: 0.8;
  flex: 0 0 auto;
}

.layout-sidebar {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 1.2rem;
}

.sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 43, 19, 0.06);
}

.filter-panel {
  display: grid;
  gap: 1rem;
}

.filter-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.32rem;
  border-radius: 14px;
  background: #f3f5f0;
}

.filter-type-tabs.compact {
  grid-template-columns: repeat(3, 1fr);
}

.filter-tab {
  border: 0;
  min-height: 40px;
  border-radius: 11px;
  background: transparent;
  color: var(--brown);
  font-weight: 700;
  cursor: pointer;
}

.filter-tab.is-active {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 4px 16px rgba(26, 43, 19, 0.08);
}

.filter-group {
  display: grid;
  gap: 0.55rem;
}

.filter-title {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.84rem;
  font-weight: 800;
  color: #425041;
}

.filter-title span {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.9em;
  opacity: 0.9;
}

.filter-panel input {
  background: #fff;
  border: 1px solid #d9e0d5;
  min-height: 44px;
  border-radius: 12px;
}

.filter-combobox-trigger,
.filter-panel input[data-open-categoria-modal],
.filter-panel input[data-open-cidade-modal] {
  cursor: pointer;
}

.filter-help-text {
  margin-top: -0.25rem;
  color: #738090;
  font-size: 0.82rem;
  line-height: 1.35;
}

.filter-combobox-trigger {
  width: 100%;
  background: #fff;
  border: 1px solid #d9e0d5;
  min-height: 44px;
  border-radius: 14px;
  color: #425041;
  text-align: left;
  padding: 0.7rem 0.95rem;
  font-size: 0.96rem;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-combobox-trigger::placeholder {
  color: #8a97a6;
  opacity: 1;
}

.filter-combobox-trigger:hover,
.filter-combobox-trigger:focus-visible {
  border-color: rgba(67, 166, 42, 0.34);
  box-shadow: 0 0 0 3px rgba(67, 166, 42, 0.08);
  outline: none;
}

.filter-modal-search-wrap {
  padding: 0.85rem 1.25rem 1rem;
}

.filter-modal-search {
  width: 100%;
  border: 1px solid #d9e0d5;
  border-radius: 12px;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  background: #fff;
  color: #324054;
}

.filter-modal-search:focus {
  outline: none;
  border-color: rgba(67, 166, 42, 0.34);
  box-shadow: 0 0 0 3px rgba(67, 166, 42, 0.08);
}

.filter-modal-head--stacked {
  align-items: flex-start;
}

.filter-modal-subtitle {
  margin: 0.24rem 0 0;
  color: #768395;
  font-size: 0.88rem;
  line-height: 1.35;
}

.filter-modal-grid--cities {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.filter-combobox-trigger[data-cidade-display] {
  letter-spacing: 0;
}

.filter-location-wrap {
  position: relative;
}

.filter-location-suggestions {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid rgba(183, 154, 99, 0.16);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(26, 43, 19, 0.14);
  padding: 0.45rem;
  max-height: 320px;
  overflow-y: auto;
  z-index: 40;
}

.filter-clear-btn {
  border: 1px solid rgba(209, 75, 75, 0.24);
  background: #fff;
  color: #b93f3f;
  border-radius: 12px;
  min-height: 44px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.filter-clear-btn:hover {
  background: rgba(209, 75, 75, 0.04);
  border-color: rgba(209, 75, 75, 0.35);
  transform: translateY(-2px);
}

.filter-location-suggestions[hidden] {
  display: none;
}

.filter-location-suggestion-item {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  text-align: left;
  padding: 0.62rem 0.7rem;
}

.filter-location-suggestion-item:hover {
  background: rgba(183, 154, 99, 0.1);
}

.filter-location-suggestion-main {
  flex: 1;
  min-width: 0;
  color: #2f3f55;
  font-weight: 600;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-location-suggestion-meta {
  flex: 0 0 auto;
  min-width: 32px;
  text-align: center;
  border-radius: 999px;
  padding: 0.14rem 0.45rem;
  background: #e8f2ff;
  color: #2a70d4;
  font-size: 0.72rem;
  font-weight: 700;
}

.filter-chip-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.5rem;
}

.filter-chip {
  border: 1px solid #c5ceda;
  background: #f7f8fb;
  min-height: 42px;
  border-radius: 12px;
  color: #627287;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.is-active {
  border-color: #2b66bf;
  background: #fff;
  color: #2b66bf;
}

.filter-range-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.filter-range-row span {
  color: #6a7a90;
  font-size: 0.9rem;
}

.filter-clear-btn {
  border: 1px dashed #ff7a7a;
  color: #ff3e3e;
  background: #fff4f4;
  min-height: 48px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.filter-clear-btn:hover {
  background: #ffeaea;
}

.filter-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.38);
  display: none;
  place-items: center;
  z-index: 9999;
  padding: 1rem;
}

.filter-modal-backdrop.is-open {
  display: grid;
}

.filter-modal {
  width: min(980px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d6deea;
  box-shadow: 0 22px 50px rgba(17, 24, 39, 0.25);
}

.filter-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #e5ebf3;
}

.filter-modal-head h3 {
  margin: 0;
  color: #2f3d50;
  font-size: 1.05rem;
}

.filter-modal-close {
  border: 0;
  background: transparent;
  color: #8593a8;
  font-size: 1.35rem;
  cursor: pointer;
  line-height: 1;
}

.filter-modal-grid {
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.filter-modal-option {
  position: relative;
  min-height: 84px;
  border: 2px solid #d9e1ee;
  border-radius: 12px;
  background: #fff;
  color: #4e5f76;
  display: grid;
  gap: 0.35rem;
  place-content: center;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
}

.filter-modal-option:hover {
  border-color: rgba(183, 154, 99, 0.32);
  background: rgba(183, 154, 99, 0.08);
}

.filter-modal-option.is-active {
  border-color: rgba(67, 166, 42, 0.36);
  background: rgba(67, 166, 42, 0.08);
  color: var(--primary-strong);
}

.filter-modal-option--city {
  min-height: 76px;
  justify-items: start;
  padding: 0.85rem 0.95rem;
  text-align: left;
}

.modal-option-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto;
  display: inline-flex;
}

.modal-option-icon svg {
  width: 100%;
  height: 100%;
}

.modal-option-label {
  line-height: 1.15;
}

.modal-option-meta {
  color: #708095;
  font-size: 0.78rem;
  font-weight: 600;
}

.modal-option-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
}

.filter-modal-option.is-active .modal-option-badge {
  display: inline-flex;
}

.modal-option-icon.tone-purple { color: #7b5bff; }
.modal-option-icon.tone-blue { color: #3d7df0; }
.modal-option-icon.tone-green { color: #29bf5f; }
.modal-option-icon.tone-teal { color: #14b8a6; }
.modal-option-icon.tone-orange { color: #f97316; }

.filter-modal-option.is-active .modal-option-icon,
.filter-modal-option.is-active .modal-option-icon.tone-purple,
.filter-modal-option.is-active .modal-option-icon.tone-blue,
.filter-modal-option.is-active .modal-option-icon.tone-green,
.filter-modal-option.is-active .modal-option-icon.tone-teal,
.filter-modal-option.is-active .modal-option-icon.tone-orange {
  color: var(--primary);
}

.filter-modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 1rem 1.25rem 1.15rem;
  border-top: 1px solid var(--border);
}

.filter-modal-btn {
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 0.65rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-modal-btn.secondary {
  border-color: rgba(67, 166, 42, 0.2);
  background: #fff;
  color: var(--primary-strong);
}

.filter-modal-btn.primary {
  background: var(--primary);
  color: #fff;
}

.filter-modal-btn.primary:hover {
  background: var(--primary-strong);
}

body.modal-open {
  overflow: hidden;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
}

.detail-top-area {
  background: transparent;
  padding: 1rem 0 1.1rem;
}

.detail-top-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.detail-media-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.detail-title-card {
  background: #fff;
  border: 1px solid #d7e0eb;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(20, 40, 80, 0.06);
  padding: 0.95rem 1.15rem;
  margin-bottom: 0.7rem;
}

.detail-title-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.detail-title-card h1 {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  line-height: 1.15;
}

.detail-title-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.28rem 0 0;
  color: #5d6e85;
  font-size: 1.02rem;
}

.detail-location-icon {
  width: 18px;
  height: 18px;
  color: #101a2d;
  display: inline-flex;
  flex: 0 0 auto;
}

.detail-location-icon svg {
  width: 100%;
  height: 100%;
}

.detail-title-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.detail-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #d2dbe8;
  background: #f8fafd;
  color: #4d6078;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  cursor: pointer;
}

.detail-action-btn svg {
  width: 18px;
  height: 18px;
}

.detail-action-btn:hover {
  border-color: #b9c7db;
  background: #fff;
  color: #2a5fb8;
}

.detail-action-btn.copied {
  border-color: #6bc28a;
  color: #1f9d63;
  background: #eefbf3;
}

.detail-gallery {
  border: 1px solid #d7e0eb;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 40, 80, 0.06);
}

.detail-right-col .search-box {
  border-radius: 14px;
  border: 1px solid #d7e0eb;
  box-shadow: 0 6px 20px rgba(20, 40, 80, 0.06);
  padding: 1.15rem;
}

.detail-right-col {
  display: flex;
}

.detail-right-col .contact-form-card {
  height: 100%;
}

.detail-right-col .contact-form-card .section-title {
  font-size: clamp(1.7rem, 2.2vw, 2.15rem);
  margin-bottom: 0.25rem;
}

.detail-right-col .contact-form-card p {
  font-size: 0.98rem;
}

.detail-right-col .contact-form-card .grid {
  gap: 0.85rem;
}

.detail-right-col .contact-form-card textarea {
  min-height: 124px;
}

.detail-right-col .contact-form-card.property-detail-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid #d9e1eb;
  box-shadow: 0 10px 26px rgba(16, 37, 66, 0.08);
  padding: 1.35rem 1.2rem 1.15rem;
  background: #fff;
}

.contact-fast-badge {
  position: absolute;
  top: -11px;
  right: 14px;
  background: linear-gradient(135deg, #25c983, #18b676);
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.7rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.detail-right-col .contact-form-card.property-detail-card .section-title {
  font-size: 2rem;
  margin: 0;
  color: #0f2743;
}

.contact-form-subtitle {
  margin: 0.28rem 0 0;
  color: #627188;
  font-size: 1.02rem;
}

.contact-form-divider {
  border: 0;
  border-top: 1px solid #dde4ee;
  margin: 1rem 0 0.95rem;
}

.property-contact-fields {
  display: grid;
  gap: 0.72rem;
}

.contact-input-wrap {
  position: relative;
}

.contact-input-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #8fa0b9;
  pointer-events: none;
}

.contact-input-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.property-contact-fields .contact-input-wrap input {
  min-height: 48px;
  border-radius: 10px;
  border-color: #d4dce7;
  background: #f7f9fc;
  padding-left: 2.7rem;
  color: #1e2f46;
}

.property-contact-fields .contact-input-wrap input::placeholder {
  color: #8a99af;
}

.property-contact-fields textarea {
  min-height: 122px;
  border-radius: 10px;
  border-color: #d4dce7;
  background: #f7f9fc;
  padding: 0.75rem 0.82rem;
  color: #1e2f46;
  resize: vertical;
}

.property-contact-submit {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}

.property-contact-submit:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

.property-contact-submit svg {
  width: 17px;
  height: 17px;
}

.detail-right-col .contact-form-card.property-detail-card .form-actions {
  margin-top: 0.95rem;
}

.detail-info-card {
  border-radius: 10px;
}

.detail-info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.detail-info-title {
  margin: 0;
  font-size: 2rem;
}

.detail-info-location {
  margin: 0.35rem 0 0.6rem;
  color: #5d6e85;
}

.detail-info-price {
  margin: 0.2rem 0 0.8rem;
  color: var(--primary-strong);
  font-size: 2rem;
  font-weight: 800;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border: 1px solid #e4ebf5;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.detail-meta-grid > div {
  padding: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  border-right: 1px solid #e4ebf5;
}

.detail-meta-grid > div:last-child {
  border-right: 0;
}

.detail-meta-icon {
  width: 26px;
  height: 26px;
  color: #2d67bf;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.detail-meta-icon svg {
  width: 100%;
  height: 100%;
}

.detail-meta-text {
  display: grid;
  gap: 0.08rem;
}

.detail-meta-grid strong {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--text);
}

.detail-meta-grid span {
  font-size: 0.88rem;
  color: var(--muted);
}

.detail-spec-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  color: var(--brown);
}

.detail-tags-sections {
  margin-top: 1.2rem;
  display: grid;
  gap: 1rem;
}

.detail-tags-block {
  border-top: 1px solid var(--border);
  padding-top: 0.8rem;
}

.detail-tags-block h4 {
  margin: 0 0 0.65rem;
  color: var(--brown);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
}

.detail-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(183, 154, 99, 0.22);
  color: var(--brown);
  background: rgba(183, 154, 99, 0.08);
  font-size: 0.92rem;
}

.detail-tag-check {
  color: var(--primary);
  font-weight: 700;
}

.detail-code-footer {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 500;
}

.detail-code-footer strong {
  color: var(--text);
  font-weight: 700;
}

.detail-similares {
  margin-top: 1.4rem;
}

.properties-grid-similares {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery {
  overflow: hidden;
}

.gallery-main {
  aspect-ratio: 16 / 9;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.64);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: 0.2s ease;
}

.gallery-nav svg {
  width: 18px;
  height: 18px;
}

.gallery-prev {
  left: 0.6rem;
}

.gallery-next {
  right: 0.6rem;
}

.gallery-nav:hover {
  background: rgba(15, 23, 42, 0.82);
}

.gallery-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: rgba(10, 15, 28, 0.72);
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  border-radius: 999px;
  padding: 0.3rem 0.62rem;
  z-index: 2;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  padding: 0.7rem;
  background: #fff;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.gallery-thumb {
  width: calc((100% - 1.5rem) / 4);
  min-width: calc((100% - 1.5rem) / 4);
  max-width: calc((100% - 1.5rem) / 4);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 8px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(183, 154, 99, 0.35);
  border-radius: 999px;
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.92);
  display: none;
  place-items: center;
  z-index: 200;
  padding: 1rem;
}

.gallery-lightbox.open {
  display: grid;
}

.gallery-lightbox img {
  width: min(1200px, 94vw);
  max-height: 86vh;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 18px;
  height: 18px;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gallery-lightbox-nav svg {
  width: 20px;
  height: 20px;
}

.gallery-lightbox-prev {
  left: 1.1rem;
}

.gallery-lightbox-next {
  right: 1.1rem;
}

.gallery-lightbox-counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.gallery-thumbs button {
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.gallery-thumbs button.active {
  border-color: var(--primary);
}

.page-hero {
  padding: 1.6rem 0 1rem;
}

.page-hero .container {
  background: linear-gradient(135deg, rgba(67, 166, 42, 0.06), rgba(183, 154, 99, 0.08));
  border: 1px solid rgba(183, 154, 99, 0.16);
  border-radius: 22px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 14px 34px rgba(26, 43, 19, 0.06);
}

.page-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
}

.section .container.contact-layout {
  display: flex !important;
  gap: 1rem;
  align-items: stretch;
  flex-wrap: nowrap;
}

.contact-col {
  flex: 1 1 0;
  min-width: 0;
}

.contact-col-info {
  display: flex;
  flex-direction: column;
}

.contact-col-form {
  display: flex;
}

.form-actions {
  margin-top: 0.8rem;
  display: flex;
  justify-content: flex-end;
}

.info-list {
  display: grid;
  gap: 0.55rem;
  color: #44556c;
}

.contact-quick {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.cta-strip {
  background: linear-gradient(130deg, rgb(67, 166, 42), rgb(122, 111, 90));
  color: #fff;
  border-radius: 18px;
  padding: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer {
  margin-top: 3rem;
  background: linear-gradient(135deg, #172017, #101510);
  color: rgba(255, 255, 255, 0.82);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  z-index: 120;
}

.whatsapp-float:hover {
  background: #1fa957;
  transform: translateY(-2px);
}

.whatsapp-float .whatsapp-icon {
  width: 28px;
  height: 28px;
}

.footer-seo {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 0;
  display: flex;
  flex-wrap: wrap;
}

.footer-seo a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
  padding: 0.15rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-seo a:first-child { padding-left: 0; }
.footer-seo a:last-child  { border-right: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links a:hover { color: var(--gold); }

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  flex-wrap: wrap;
  gap: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-nav-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav-row a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.footer-nav-row a:hover { color: var(--gold); }

.footer-social-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-social-row a {
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-row a:hover {
  color: var(--gold);
  border-color: rgba(183, 154, 99, 0.38);
}

.footer-social-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer-bottom {
  padding: 0.7rem 0 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Keep old classes as aliases for other pages */
.footer-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0;
}

.footer-title { margin: 0 0 0.6rem; color: #fff; }
.footer-muted { color: rgba(255, 255, 255, 0.68); }

.hidden {
  display: none !important;
}

.skeleton {
  border-radius: 10px;
  background: linear-gradient(90deg, #edf1f8 25%, #f5f7fb 50%, #edf1f8 75%);
  background-size: 200% 100%;
  animation: loading 1.2s infinite;
  min-height: 120px;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@media (max-width: 1200px) {
  .properties-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .search-grid,
  .search-grid.full {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .header-wrap {
    gap: 0.75rem;
  }

  .nav {
    gap: 1rem;
  }

  .header-phone {
    display: none;
  }

  .header-note {
    font-size: 0.72rem;
  }

  .properties-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .properties-grid.catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-search {
    flex-wrap: wrap;
    border-radius: 14px;
  }

  .hero-filter-group {
    flex: 0 0 50%;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .hero-search-input {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .hero-search-input-wrap {
    width: 100%;
  }

  .hero-search-suggestions {
    left: 0.7rem;
    right: 0.7rem;
  }

  .hero-search-btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    border-radius: 0 0 14px 14px;
    flex-basis: 100%;
  }

  .hero-filter-dropdown-panel {
    width: min(520px, calc(100vw - 2rem));
    min-width: min(520px, calc(100vw - 2rem));
    left: 0;
    transform: none;
  }

  .hero-filter-panel-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .header-center {
    align-items: flex-start;
  }

  .header-note {
    display: none;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-offset, 86px) + 0.6rem);
    right: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(183, 154, 99, 0.14);
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(26, 43, 19, 0.12);
    padding: 0.9rem 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .site-header .nav,
  .site-header .nav.open {
    background: rgba(255, 255, 255, 0.98);
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.7rem 0.4rem;
  }

  .site-header .nav-link {
    color: var(--text);
  }

  .site-header .nav-link:hover,
  .site-header .nav-link[aria-current="page"],
  .site-header .nav-link.is-active {
    color: var(--gold);
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-cta {
    min-width: 0;
    padding-inline: 0.9rem;
  }

  .header-cta span {
    white-space: nowrap;
  }

  .header-phone {
    display: none;
  }

  .logo-img {
    width: 58px;
  }

  .brand-text {
    margin-left: 0.5rem;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .brand-creci {
    font-size: 0.65rem;
  }

  .detail-layout,
  .detail-top-layout,
  .detail-media-layout,
  .layout-sidebar,
  .two-col,
  .footer-wrap {
    grid-template-columns: 1fr !important;
  }

  .section .container.contact-layout {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .contact-col-info {
    order: 1;
  }

  .contact-col-form {
    order: 2;
  }

  .detail-title-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .detail-title-actions {
    align-self: flex-end;
  }

  .detail-title-card h1,
  .detail-info-title {
    font-size: 1.55rem;
  }

  .detail-info-head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .detail-info-head .detail-title-actions {
    align-self: flex-end;
  }

  .detail-right-col .contact-form-card .section-title {
    font-size: 1.55rem;
  }

  .detail-meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-spec-grid,
  .properties-grid-similares {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.95rem;
  }

  .hero-search {
    flex-direction: column;
    border-radius: 14px;
  }

  .hero-filter-group {
    flex: 1 1 auto;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .hero-search-input,
  .hero-search-btn {
    width: 100%;
    min-height: 46px;
    justify-content: center;
  }

  .hero-search-input {
    text-align: left;
  }

  .hero-search-input-wrap {
    width: 100%;
  }

  .hero-search-suggestions {
    left: 0.7rem;
    right: 0.7rem;
    top: calc(100% + 0.4rem);
    max-height: 260px;
  }

  .hero-filter-dropdown,
  .hero-filter-dropdown-panel,
  .hero-filter-dropdown-list {
    min-width: 0;
    width: calc(100vw - 2rem);
    left: 0;
    transform: none;
  }

  .hero-filter-panel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-search-suggestion-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-search-suggestion-item::before {
    display: none;
  }

  .hero-search-suggestion-meta {
    min-width: 0;
  }

  .search-grid,
  .search-grid.full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }

  .filter-modal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .layout-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .properties-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .container {
    width: min(100% - 1rem, var(--container));
  }

  .search-grid,
  .search-grid.full,
  .properties-grid,
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .properties-grid.catalog-grid {
    grid-template-columns: 1fr;
  }

  .detail-top-area {
    padding-top: 0.75rem;
  }

  .detail-title-card {
    border-radius: 14px;
    padding: 0.85rem 0.95rem;
  }

  .detail-right-col .search-box {
    padding: 0.95rem;
  }

  .detail-meta-grid {
    grid-template-columns: 1fr;
  }

  .detail-meta-grid > div {
    border-right: 0;
    border-bottom: 1px solid #e4ebf5;
  }

  .detail-meta-grid > div:last-child {
    border-bottom: 0;
  }

  .gallery-nav {
    width: 34px;
    height: 34px;
  }

  .gallery-lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-lightbox-prev {
    left: 0.55rem;
  }

  .gallery-lightbox-next {
    right: 0.55rem;
  }

  .section {
    padding: 2.2rem 0;
  }

  .hero-pills {
    gap: 0.35rem;
  }

  .hero-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.8rem;
  }

  .filter-modal {
    width: 100%;
  }

  .filter-modal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-modal-actions {
    flex-direction: column;
  }

  .filter-modal-btn {
    width: 100%;
  }
}

/* ── Contact Page Styles ──────────────────────────────── */
.contact-hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f6fbf4 0%, #ffffff 50%, #f9f6f2 100%);
  border-bottom: 1px solid rgba(183, 154, 99, 0.16);
  text-align: center;
}

.contact-hero-title {
  margin: 0 0 0.8rem;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #0f1f0e;
}

.contact-hero-subtitle {
  margin: 0 0 1.8rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: #5d6d5f;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #25d366 0%, #1fa957 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.4);
}

.cta-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
}

/* Quick Contact Section */
.contact-quick-section {
  padding: 2.8rem 0;
}

.contact-quick-card {
  background: linear-gradient(135deg, #f0f8f6 0%, #ffffff 70%);
  border: 1px solid rgba(67, 166, 42, 0.18);
  border-radius: 20px;
  padding: 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.8rem;
  box-shadow: 0 12px 32px rgba(67, 166, 42, 0.08);
}

.contact-quick-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.18);
}

.contact-quick-icon svg {
  width: 48px;
  height: 48px;
}

.contact-quick-content h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
  color: #0f1f0e;
}

.contact-quick-content p {
  margin: 0;
  color: #5d6d5f;
  font-size: 1rem;
}

.contact-quick-btn {
  padding: 0.75rem 1.8rem;
  border-radius: 14px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.contact-quick-btn:hover {
  background: #1fa957;
  transform: translateY(-2px);
}

/* Contact Channels Section */
.section-contact-channels {
  background: #f9fafb;
  border-bottom: none;
  padding: 5rem 0;
  margin: 0;
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.contact-channel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e8eee2;
  border-radius: 16px;
  padding: 1.6rem;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.contact-channel-card:hover {
  border-color: rgba(183, 154, 99, 0.32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.channel-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.channel-icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
}

.channel-icon-phone {
  background: rgba(67, 166, 42, 0.1);
  color: #439a2a;
}

.channel-icon-email {
  background: rgba(183, 154, 99, 0.1);
  color: #b79a63;
}

.channel-icon svg {
  width: 18px;
  height: 18px;
}

.contact-channel-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f1f0e;
}

.channel-description {
  margin: 0 0 0.8rem;
  color: #7b8a7d;
  font-size: 0.85rem;
  line-height: 1.4;
}

.channel-contact {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #437a1f;
}

.channel-link {
  color: #439a2a;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.channel-link:hover {
  color: #2f8a1f;
}

/* Contact Form Section */
.section-contact-form {
  background: #ffffff;
  border-top: none;
  padding: 5rem 0;
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2.2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 0.8rem;
  color: #0f1f0e;
  line-height: 1.2;
}

.section-header h3 {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}

.section-header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 400;
}

.contact-form {
  background: #fff;
  border: 1px solid #e8eee2;
  border-radius: 20px;
  padding: 3.2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-form-alert svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
}

.alert-success {
  background: #d4edda;
  border: 1px solid #c3e5cb;
  color: #1f5e3d;
}

.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.contact-form-alert strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.contact-form-alert p {
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  margin-bottom: 1.8rem;
}

.form-field {
  display: grid;
  gap: 0.6rem;
}

.form-field:last-child {
  grid-column: 1 / -1;
}

.contact-form-grid .form-field {
  grid-column: auto;
}

.contact-form-grid .form-field.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 500;
  color: #3f4743;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: #213123;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 44px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9ca3af;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.form-field-checkbox {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.form-field-checkbox label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  cursor: pointer;
  font-weight: 500;
  color: #213123;
}

.form-field-checkbox input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: 1px solid #9ba9a0;
  cursor: pointer;
  accent-color: #439a2a;
  min-height: auto;
  height: 20px;
  width: 20px;
}

.contact-form-submit {
  width: 100%;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #439a2a 0%, #2f8a1f 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
}

.contact-form-submit:active {
  transform: translateY(0);
}

/* Social Proof Section */
.section-social-proof {
  border-bottom: 1px solid var(--border);
}

.social-proof-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.social-proof-header h2 {
  font-size: 1.85rem;
  margin: 0 0 0.4rem;
  color: #0f1f0e;
}

.social-proof-header p {
  margin: 0;
  color: #5d6d5f;
  font-size: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  border: 1px solid #e8eee2;
  border-radius: 14px;
  padding: 1.6rem;
  margin: 0;
  transition: all 0.2s ease;
}

.testimonial:hover {
  border-color: rgba(183, 154, 99, 0.26);
  box-shadow: 0 8px 20px rgba(26, 43, 19, 0.08);
  transform: translateY(-2px);
}

.testimonial p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: #44556c;
  font-style: italic;
}

.testimonial footer {
  display: grid;
  gap: 0.2rem;
  border-top: 1px solid #e8eee2;
  padding-top: 1rem;
}

.testimonial strong {
  color: #0f1f0e;
  font-size: 1rem;
  display: block;
}

.testimonial span {
  color: #7b8a7d;
  font-size: 0.85rem;
  font-style: italic;
}

/* CTA Final Section */
.contact-cta-final {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #0f1f0e 0%, #1a2818 100%);
  color: #fff;
  text-align: center;
}

.contact-cta-final h2 {
  margin: 0 0 0.6rem;
  font-size: 2.2rem;
  font-weight: 800;
}

.contact-cta-final p {
  margin: 0 0 1.8rem;
  font-size: 1.1rem;
  opacity: 0.9;
}

.contact-cta-final-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1rem 2.2rem;
  border-radius: 16px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cta-final-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

/* ── Responsive Contact Page ──────────────────────────── */
@media (max-width: 1024px) {
  .contact-channels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-quick-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.2rem;
  }

  .contact-quick-icon {
    margin: 0 auto;
  }

  .contact-quick-btn {
    width: 100%;
    justify-content: center;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 2.5rem 0;
  }

  .contact-hero-title {
    font-size: 1.8rem;
  }

  .contact-hero-cta {
    padding: 0.75rem 1.6rem;
    font-size: 1rem;
  }

  .contact-quick-card {
    padding: 1.4rem;
    gap: 1rem;
  }

  .contact-quick-icon {
    width: 64px;
    height: 64px;
  }

  .contact-quick-icon svg {
    width: 40px;
    height: 40px;
  }

  .contact-quick-content h2 {
    font-size: 1.3rem;
  }

  .section-header h2 {
    font-size: 1.9rem;
    margin: 0 0 0.6rem;
  }

  .section-header h3,
  .section-header p {
    font-size: 0.9rem;
  }

  .contact-channels-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .contact-channel-card {
    padding: 1.6rem;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .contact-form {
    padding: 1.6rem;
  }

  .contact-form-submit {
    height: 48px;
    font-size: 1rem;
  }

  .contact-cta-final {
    padding: 2.5rem 0;
  }

  .contact-cta-final h2 {
    font-size: 1.7rem;
  }

  .contact-cta-final-btn {
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
  }

  .section-header h3,
  .section-header p {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 1.4rem;
  }

  .contact-form-grid {
    gap: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .contact-form-submit {
    height: 46px;
    font-size: 0.95rem;
  }

  .contact-channels-grid {
    gap: 1.2rem;
  }

  .contact-channel-card {
    padding: 1.4rem;
  }

  .channel-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 1rem;
  }

  .channel-icon svg {
    width: 18px;
    height: 18px;
  }

  .contact-channel-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.4rem;
  }

  .channel-description {
    font-size: 0.8rem;
    margin: 0 0 0.6rem;
  }

  .channel-contact {
    font-size: 0.9rem;
    margin: 0 0 0.8rem;
  }

  .channel-link {
    font-size: 0.9rem;
  }

  .contact-channel-card h3 {
    font-size: 1.1rem;
  }

  .section-contact-form {
    padding: 1.8rem 0;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .contact-form-grid {
    gap: 1rem;
  }

  .form-field label {
    font-size: 0.9rem;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    font-size: 16px;
    padding: 0.7rem 0.85rem;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .contact-form-submit {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .social-proof-header h2 {
    font-size: 1.5rem;
  }

  .testimonial {
    padding: 1.2rem;
  }

  .contact-cta-final {
    padding: 2rem 0;
  }

  .contact-cta-final h2 {
    font-size: 1.5rem;
  }

  .contact-cta-final p {
    font-size: 1rem;
  }

  .contact-cta-final-btn {
    width: 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* Contact Page Refinement: centered visual axis + form-first hierarchy */
body[data-route="contato"],
body[data-route="contato"] main {
  background: #ffffff;
}

body[data-route="contato"] .section {
  background: #ffffff;
}

body[data-route="contato"] main > .section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

body[data-route="contato"] .section-contact-channels {
  background: #ffffff;
  padding: 0.65rem 0 2.1rem;
}

body[data-route="contato"] .section-contact-form {
  background: #ffffff;
  padding: 1.4rem 0 0.35rem;
}

body[data-route="contato"] .contact-channels-grid {
  max-width: 840px;
  margin: 0 auto;
  gap: 24px;
}

body[data-route="contato"] .contact-channel-card {
  padding: 1.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: #e5e7eb;
}

body[data-route="contato"] .contact-channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

body[data-route="contato"] .contact-channel-card h3 {
  font-size: 1rem;
}

body[data-route="contato"] .channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

body[data-route="contato"] .channel-icon svg {
  width: 18px;
  height: 18px;
}

body[data-route="contato"] .channel-description {
  color: #6b7280;
}

body[data-route="contato"] .channel-contact {
  color: #4b5563;
}

body[data-route="contato"] .channel-link {
  font-weight: 600;
}

body[data-route="contato"] .section-header {
  max-width: 700px;
  margin: 0 auto 1.8rem;
}

body[data-route="contato"] .section-header h2 {
  font-size: clamp(2rem, 3.2vw, 2.4rem);
  font-weight: 700;
}

body[data-route="contato"] .section-header h3,
body[data-route="contato"] .section-header p {
  color: #6b7280;
  font-size: 0.95rem;
}

body[data-route="contato"] .contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body[data-route="contato"] .contact-form-grid {
  gap: 20px;
}

body[data-route="contato"] .contact-form select {
  min-height: 48px;
  line-height: 1.35;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  padding-right: 2.4rem;
  padding-left: 1rem;
  background-position: right 0.75rem center;
}

body[data-route="contato"] .contact-form textarea {
  min-height: 140px;
}

body[data-route="contato"] .contact-form-submit {
  height: 56px;
  border-radius: 10px;
  font-size: 1.06rem;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
}

body[data-route="contato"] .contact-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.45);
}

@media (max-width: 768px) {
  body[data-route="contato"] .section-contact-channels,
  body[data-route="contato"] .section-contact-form {
    padding: 1.2rem 0;
  }

  body[data-route="contato"] .contact-channels-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
  }

  body[data-route="contato"] .contact-form {
    padding: 1.6rem;
  }

  body[data-route="contato"] .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body[data-route="contato"] main > .section .container {
    padding: 0 16px;
  }

  body[data-route="contato"] .section-contact-channels,
  body[data-route="contato"] .section-contact-form {
    padding: 0.85rem 0;
  }

  body[data-route="contato"] .section-header {
    margin-bottom: 1.4rem;
  }

  body[data-route="contato"] .section-header h2 {
    font-size: 1.55rem;
  }

  body[data-route="contato"] .contact-form {
    padding: 1.25rem;
    max-width: 100%;
  }

  body[data-route="contato"] .contact-form select {
    height: 46px;
    font-size: 16px;
  }

  body[data-route="contato"] .contact-form-submit {
    height: 54px;
    width: 100%;
  }
}





