/* Reset e base */
:root {
  --color-primary: #0759c7;
  --color-primary-dark: #063e8f;
  --color-secondary: #007fda;
  --color-dark: #062b62;
  --color-deep: #031f49;
  --color-light: #f5f8fc;
  --color-white: #ffffff;
  --color-text: #10233f;
  --color-muted: #64748b;
  --color-border: #dce5f0;
  --color-gold: #f6ad16;
  --color-whatsapp: #25d366;
  --shadow-soft: 0 12px 35px rgba(9, 40, 83, 0.09);
  --shadow-card: 0 8px 24px rgba(15, 48, 87, 0.08);
  --radius-lg: 14px;
  --radius-md: 9px;
  --radius-sm: 6px;
  --container: 1180px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.15; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.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;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 9999; padding: 10px 18px;
  border-radius: 0 0 8px 8px; color: #fff; background: var(--color-primary);
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

/* Tipografia e títulos */
.eyebrow {
  margin-bottom: 6px; color: var(--color-primary); font-size: .73rem;
  font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow-light { color: #8cc7ff; }
.section-heading { margin-bottom: 30px; }
.section-heading h2,
.about-content h2,
.faq-intro h2 {
  margin-bottom: 0; color: var(--color-text); font-size: clamp(1.85rem, 3vw, 2.6rem);
  font-weight: 800; letter-spacing: -.035em;
}
.section-heading.centered { text-align: center; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary);
  font-size: .9rem; font-weight: 700; transition: gap .2s ease, color .2s ease;
}
.text-link:hover { gap: 12px; color: var(--color-primary-dark); }

/* Botões */
.btn {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border: 1px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid rgba(24, 128, 230, .35); outline-offset: 3px;
}
.btn-primary { color: #fff; background: var(--color-primary); box-shadow: 0 8px 20px rgba(7, 89, 199, .25); }
.btn-primary:hover { background: #064eaf; box-shadow: 0 12px 28px rgba(7, 89, 199, .35); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .75); background: rgba(3, 31, 73, .24); backdrop-filter: blur(5px); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-light { color: var(--color-primary-dark); background: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-height);
  border-bottom: 1px solid rgba(5, 49, 105, .08); background: rgba(255, 255, 255, .98);
  box-shadow: 0 3px 18px rgba(2, 35, 77, .05); backdrop-filter: blur(12px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: 0 0 auto; }
.brand img { width: 180px; height: auto; }
.main-nav { display: flex; align-self: stretch; align-items: center; justify-content: center; gap: 27px; margin-left: auto; }
.main-nav a {
  position: relative; display: flex; height: 100%; align-items: center; color: #1f3654;
  font-size: .84rem; font-weight: 650; white-space: nowrap; transition: color .2s ease;
}
.main-nav a::after {
  position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 3px 3px 0 0;
  background: var(--color-primary); content: ""; transform: scaleX(0); transition: transform .2s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--color-primary); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-whatsapp {
  display: flex; flex: 0 0 auto; align-items: center; gap: 10px; padding: 8px 14px;
  border-radius: 7px; color: #fff; background: var(--color-primary); font-size: .8rem;
  line-height: 1.05; box-shadow: 0 5px 14px rgba(7, 89, 199, .22); transition: background .2s ease, transform .2s ease;
}
.header-whatsapp:hover { background: var(--color-primary-dark); transform: translateY(-1px); }
.header-whatsapp i { font-size: 1.45rem; }
.header-whatsapp span { display: flex; flex-direction: column; font-weight: 800; }
.header-whatsapp small { margin-bottom: 3px; font-size: .61rem; font-weight: 500; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 8px; color: #fff;
  background: var(--color-primary); cursor: pointer; font-size: 1.2rem;
}

/* Hero */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center; isolation: isolate;
  color: #fff; background-image: url("../img/hero-imovel.webp"); background-position: center; background-size: cover;
}
.hero::before {
  position: absolute; inset: 0; z-index: -1; content: "";
  background: linear-gradient(90deg, rgba(2, 30, 70, .96) 0%, rgba(2, 34, 76, .83) 38%, rgba(3, 31, 70, .24) 69%, rgba(2, 23, 54, .08) 100%);
}
.hero::after {
  position: absolute; inset: auto 0 0; z-index: -1; height: 42%; content: "";
  background: linear-gradient(0deg, rgba(3, 28, 63, .36), transparent);
}
.hero-content { padding-top: 10px; padding-bottom: 42px; }
.hero-content h1 {
  max-width: 630px; margin-bottom: 18px; color: #fff; font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-weight: 800; letter-spacing: -.045em; text-shadow: 0 2px 14px rgba(0, 0, 0, .16);
}
.hero-content h1 span { color: #1682e6; }
.hero-text { max-width: 510px; margin-bottom: 26px; color: rgba(255, 255, 255, .9); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-credentials {
  display: inline-grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .4); border-radius: 7px; background: rgba(0, 32, 74, .38); backdrop-filter: blur(5px);
}
.hero-credentials > div { display: flex; align-items: center; gap: 11px; padding: 10px 16px; }
.hero-credentials > div + div { border-left: 1px solid rgba(255, 255, 255, .28); }
.hero-credentials i { width: 27px; color: #58aef8; font-size: 1.2rem; text-align: center; }
.hero-credentials span { display: flex; flex-direction: column; font-size: .76rem; font-weight: 800; line-height: 1.2; }
.hero-credentials small { margin-bottom: 2px; color: rgba(255, 255, 255, .76); font-size: .62rem; text-transform: uppercase; }

/* Busca */
.property-search { position: relative; z-index: 5; height: 65px; }
.search-form {
  position: relative; top: -43px; display: grid; grid-template-columns: 1.05fr 1.3fr 1fr .8fr auto; gap: 14px;
  min-height: 126px; padding: 22px 22px 19px; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: #fff; box-shadow: var(--shadow-soft);
}
.search-form label > span:first-child { display: block; margin-bottom: 7px; color: #344964; font-size: .74rem; font-weight: 700; }
.search-form input, .search-form select {
  width: 100%; height: 43px; padding: 0 13px; border: 1px solid var(--color-border); border-radius: 5px;
  color: #455a74; background: #fff; font-size: .78rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input:focus, .search-form select:focus { border-color: #68a4e7; box-shadow: 0 0 0 3px rgba(30, 118, 216, .1); }
.search-form select { padding-right: 35px; appearance: none; }
.select-wrap, .field-icon { position: relative; display: block; }
.select-wrap i { position: absolute; top: 50%; right: 13px; color: #8ba0b8; font-size: .65rem; pointer-events: none; transform: translateY(-50%); }
.field-icon > i { position: absolute; top: 50%; left: 13px; color: #93a6ba; font-size: .78rem; transform: translateY(-50%); }
.field-icon input { padding-left: 34px; }
.search-submit { align-self: end; height: 43px; min-height: 43px; padding-inline: 24px; font-size: .82rem; white-space: nowrap; }
.advanced-search {
  grid-column: 1 / -1; justify-self: start; margin-top: -2px; padding: 0; border: 0;
  color: var(--color-primary); background: transparent; cursor: pointer; font-size: .7rem; font-weight: 700;
}
.advanced-search i { margin-left: 4px; font-size: .58rem; transition: transform .2s ease; }
.advanced-search[aria-expanded="true"] i { transform: rotate(180deg); }
.advanced-fields {
  grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(180px, 260px)); gap: 14px;
  padding-top: 13px; border-top: 1px solid var(--color-border);
}
.advanced-fields:not([hidden]) { display: grid; }

/* Imóveis */
.properties { padding-top: 58px; }
.property-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.property-card {
  overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: #fff; box-shadow: 0 4px 14px rgba(14, 52, 96, .055); transition: transform .25s ease, box-shadow .25s ease;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.property-image { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: #e8eef6; }
.property-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-image img { transform: scale(1.04); }
.property-tag {
  position: absolute; top: 12px; left: 12px; padding: 5px 8px; border-radius: 4px;
  color: #fff; background: var(--color-primary); font-size: .59rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.favorite {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 1px solid rgba(4, 45, 94, .1);
  border-radius: 50%; color: #36526f; background: rgba(255, 255, 255, .94); cursor: pointer; transition: color .2s ease, transform .2s ease;
}
.favorite:hover, .favorite.is-favorite { color: #e33e5b; transform: scale(1.07); }
.favorite.is-favorite i::before { font-weight: 900; }
.property-body { padding: 17px 15px 15px; }
.property-body h3 { margin-bottom: 6px; font-size: 1.02rem; font-weight: 800; }
.property-location { min-height: 32px; margin-bottom: 10px; color: var(--color-muted); font-size: .74rem; }
.property-price { margin-bottom: 12px; color: var(--color-primary-dark); font-size: 1.08rem; font-weight: 800; }
.property-features { display: flex; min-height: 32px; align-items: flex-start; gap: 12px; margin-bottom: 13px; color: #6a7d92; font-size: .66rem; }
.property-features li { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.property-features i { color: #7894af; }
.property-link {
  display: flex; width: 100%; min-height: 36px; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid var(--color-primary); border-radius: 5px; color: var(--color-primary);
  font-size: .74rem; font-weight: 700; transition: color .2s ease, background .2s ease;
}
.property-link:hover { color: #fff; background: var(--color-primary); }

/* Sobre */
.about-section { padding-top: 20px; }
.about-card {
  display: grid; grid-template-columns: .88fr 1.12fr; overflow: hidden; min-height: 420px;
  border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft);
}
.about-photo { position: relative; min-height: 420px; overflow: hidden; }
.about-photo > img { width: 100%; height: 100%; object-fit: cover; }
.about-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2, 24, 54, .2), transparent 52%); content: ""; }
.about-content { display: flex; flex-direction: column; justify-content: center; padding: 42px 48px; }
.about-content h2 { margin-bottom: 3px; }
.about-content h3 { margin-bottom: 15px; color: var(--color-primary); font-size: 1.45rem; }
.about-content > p:not(.eyebrow) { margin-bottom: 22px; color: #52667c; font-size: .92rem; }
.credential-boxes { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 25px; background: #f4f8fd; }
.credential-boxes > div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.credential-boxes > div + div { border-left: 1px solid var(--color-border); }
.credential-boxes i { color: var(--color-primary); font-size: 1.35rem; }
.credential-boxes span { display: flex; flex-direction: column; color: var(--color-dark); font-size: .75rem; font-weight: 800; line-height: 1.3; }
.credential-boxes small { color: var(--color-primary); font-size: .61rem; text-transform: uppercase; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.about-stats > div { display: flex; align-items: center; gap: 9px; color: #6e8093; font-size: .62rem; line-height: 1.25; }
.about-stats i { color: var(--color-primary); font-size: 1.45rem; }
.about-stats span { display: flex; flex-direction: column; }
.about-stats strong { color: var(--color-dark); font-size: .8rem; }

/* Serviços */
.services { padding-top: 28px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  padding: 30px 24px 28px; border: 1px solid #e3e9f1; border-radius: var(--radius-md);
  background: #fff; text-align: center; box-shadow: 0 3px 12px rgba(23, 52, 87, .035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { border-color: #bfd3eb; transform: translateY(-5px); box-shadow: var(--shadow-card); }
.round-icon {
  display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; margin-bottom: 18px;
  border-radius: 50%; color: #fff; background: var(--color-dark); font-size: 1.5rem; box-shadow: 0 7px 16px rgba(4, 48, 104, .21);
}
.service-card h3 { margin-bottom: 10px; font-size: 1rem; }
.service-card p { margin-bottom: 0; color: var(--color-muted); font-size: .78rem; }

/* Diferenciais */
.advantages { padding: 23px 0 28px; color: #fff; background: linear-gradient(110deg, #06336e, #0753aa); }
.centered-label { margin-bottom: 19px; text-align: center; }
.advantages-grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.advantages-grid div { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 10px; padding: 2px 14px; text-align: center; }
.advantages-grid div + div { border-left: 1px solid rgba(255, 255, 255, .22); }
.advantages-grid i { font-size: 1.8rem; }
.advantages-grid span { font-size: .67rem; line-height: 1.25; }

/* Etapas */
.process { padding-bottom: 62px; }
.process-list { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.process-list::before {
  position: absolute; top: 42px; right: 12%; left: 12%; border-top: 2px dotted #aabbd0; content: "";
}
.process-list li { position: relative; z-index: 1; text-align: center; }
.step-number { position: absolute; top: 5px; left: calc(50% - 48px); color: var(--color-primary-dark); font-size: .8rem; font-weight: 800; }
.step-icon {
  display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center; margin-bottom: 15px;
  border: 7px solid #fff; border-radius: 50%; color: #fff; background: var(--color-primary); font-size: 1.55rem; box-shadow: 0 0 0 1px #dce7f2, 0 8px 20px rgba(7, 89, 199, .18);
}
.process-list h3 { margin-bottom: 8px; font-size: .92rem; }
.process-list p { max-width: 220px; margin: 0 auto; color: var(--color-muted); font-size: .72rem; }

/* Depoimentos */
.testimonials { padding-top: 34px; background: #f8fafc; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  position: relative; padding: 26px 24px 21px 50px; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); background: #fff; box-shadow: 0 4px 15px rgba(18, 52, 90, .04);
}
.quote-icon { position: absolute; top: 26px; left: 23px; color: var(--color-primary); font-size: 1.1rem; }
.testimonial-card > p { min-height: 78px; margin-bottom: 18px; color: #526478; font-size: .78rem; }
.client-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.client-avatar {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; background: linear-gradient(140deg, #0a67cf, #052d68); font-size: .7rem; font-weight: 800;
}
.client-row > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.client-row strong { font-size: .73rem; }
.client-row small { color: var(--color-muted); font-size: .61rem; }
.stars { display: flex; gap: 2px; color: var(--color-gold); font-size: .65rem; }

/* FAQ */
.faq { background: #fff; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro > p:not(.eyebrow) { max-width: 450px; margin-bottom: 24px; color: var(--color-muted); }
.faq-list { border-top: 1px solid var(--color-border); }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item h3 { margin: 0; }
.faq-item button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; border: 0; background: transparent; cursor: pointer; text-align: left; font-size: .95rem; font-weight: 750;
}
.faq-item button i { color: var(--color-primary); font-size: .72rem; transition: transform .25s ease; }
.faq-item button[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-answer { overflow: hidden; }
.faq-answer p { margin: -4px 30px 19px 4px; color: var(--color-muted); font-size: .85rem; }

/* CTA */
.whatsapp-cta { position: relative; z-index: 3; margin-bottom: -44px; color: #fff; }
.cta-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 23px; min-height: 110px; padding: 22px 38px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 10px;
  background: linear-gradient(100deg, #0753aa, #063270); box-shadow: 0 13px 30px rgba(4, 39, 83, .22);
}
.cta-inner > i { color: #fff; font-size: 3.8rem; text-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.cta-inner h2 { margin-bottom: 3px; color: #fff; font-size: 1.35rem; }
.cta-inner p { margin-bottom: 0; color: rgba(255, 255, 255, .78); font-size: .82rem; }

/* Rodapé */
.site-footer { padding-top: 105px; color: rgba(255, 255, 255, .75); background: var(--color-deep); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .85fr 1.15fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-about > img { width: 180px; margin-bottom: 17px; padding: 7px; border-radius: 5px; background: #fff; }
.footer-about p { max-width: 300px; margin-bottom: 18px; font-size: .74rem; line-height: 1.65; }
.site-footer h2 { margin-bottom: 16px; color: #fff; font-size: .88rem; }
.site-footer li { margin-bottom: 7px; font-size: .7rem; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  display: inline-flex; width: 31px; height: 31px; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; color: #fff; font-size: .8rem;
}
.social-links a:hover { border-color: var(--color-primary); background: var(--color-primary); }
.contact-list li { display: grid; grid-template-columns: 20px 1fr; gap: 5px; }
.contact-list i { padding-top: 3px; color: #8fc7ff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .66rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom .fa-heart { color: #ef526f; }

/* Flutuantes e animações */
.back-to-top, .floating-whatsapp {
  position: fixed; z-index: 900; right: 22px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); transition: transform .2s ease, opacity .2s ease;
}
.back-to-top { bottom: 22px; width: 42px; height: 42px; border-radius: 7px; background: var(--color-primary); opacity: 0; pointer-events: none; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.floating-whatsapp { right: 21px; bottom: 78px; width: 52px; height: 52px; background: var(--color-whatsapp); font-size: 1.7rem; }
.back-to-top:hover, .floating-whatsapp:hover { transform: translateY(-3px); }
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  :root { --header-height: 70px; }
  .header-inner { gap: 18px; }
  .brand img { width: 155px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: .76rem; }
  .header-whatsapp { display: none; }
  .hero { min-height: 500px; }
  .property-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { padding: 35px 32px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: repeat(4, 1fr); gap: 26px 0; }
  .advantages-grid div:nth-child(5) { border-left: 0; }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { padding-top: 10px; }
}

@media (max-width: 860px) {
  .section { padding: 62px 0; }
  .site-header { position: sticky; }
  .header-inner { justify-content: space-between; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; order: 3; }
  .main-nav {
    position: fixed; top: var(--header-height); right: 0; bottom: 0; width: min(86vw, 350px); display: none;
    padding: 22px; background: #fff; box-shadow: -15px 20px 30px rgba(2, 31, 73, .14);
  }
  .main-nav::before {
    position: fixed; top: var(--header-height); right: 100%; bottom: 0; width: 100vw;
    background: rgba(3, 25, 56, .48); content: ""; opacity: 0; pointer-events: none; transition: opacity .28s ease;
  }
  .main-nav.open { display: block; }
  .main-nav.open::before { opacity: 1; pointer-events: auto; }
  .main-nav a { height: auto; padding: 15px 5px; border-bottom: 1px solid #edf1f6; font-size: .95rem; }
  .main-nav a::after { display: none; }
  .hero { min-height: 560px; background-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, rgba(2, 29, 67, .97), rgba(2, 34, 76, .77) 64%, rgba(3, 31, 70, .28)); }
  .hero-content h1 { max-width: 590px; }
  .property-search { height: auto; padding: 24px 0 0; }
  .search-form { top: 0; grid-template-columns: 1fr 1fr; }
  .search-submit { grid-column: 1 / -1; }
  .advanced-search { grid-row: auto; }
  .advanced-fields { grid-template-columns: 1fr 1fr; }
  .properties { padding-top: 60px; }
  .about-card { grid-template-columns: 1fr; }
  .about-photo { min-height: 360px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: 1fr 1fr; gap: 42px 25px; }
  .process-list::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card > p { min-height: auto; }
  .faq-layout { grid-template-columns: 1fr; gap: 38px; }
  .cta-inner { grid-template-columns: auto 1fr; }
  .cta-inner .btn { grid-column: 1 / -1; }
}

/* Mobile */
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 52px 0; }
  .brand img { width: 148px; }
  .hero { min-height: 620px; align-items: flex-start; background-position: 68% center; }
  .hero::before { background: linear-gradient(90deg, rgba(2, 28, 64, .98) 0%, rgba(2, 33, 74, .89) 67%, rgba(3, 31, 70, .55)); }
  .hero-content { padding-top: 72px; padding-bottom: 40px; }
  .hero-content h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .hero-text { font-size: .94rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-credentials { display: grid; width: 100%; grid-template-columns: 1fr 1fr; }
  .hero-credentials > div { padding: 9px 8px; }
  .hero-credentials span { font-size: .65rem; }
  .search-form { grid-template-columns: 1fr; padding: 20px 17px 16px; }
  .search-submit, .advanced-search { grid-column: 1; }
  .advanced-fields { grid-template-columns: 1fr; }
  .heading-row { align-items: flex-start; flex-direction: column; }
  .property-grid { grid-template-columns: 1fr; }
  .property-body { padding: 18px; }
  .about-section { padding-top: 10px; }
  .about-photo { min-height: 285px; }
  .about-content { padding: 30px 22px; }
  .about-content h3 { font-size: 1.15rem; }
  .credential-boxes { grid-template-columns: 1fr; }
  .credential-boxes > div + div { border-top: 1px solid var(--color-border); border-left: 0; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .advantages { padding: 27px 0 31px; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid div:nth-child(odd) { border-left: 0; }
  .advantages-grid div:nth-child(5) { border-left: 0; }
  .process-list { grid-template-columns: 1fr; }
  .process-list p { max-width: 270px; }
  .testimonial-card { padding-left: 47px; }
  .client-row { grid-template-columns: auto 1fr; }
  .stars { grid-column: 2; }
  .faq-intro h2 { font-size: 1.8rem; }
  .cta-inner { grid-template-columns: 1fr; padding: 26px 22px; text-align: center; }
  .cta-inner > i { font-size: 3rem; }
  .cta-inner .btn { grid-column: 1; }
  .site-footer { padding-top: 95px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-about { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(4), .footer-grid > div:nth-child(5) { padding-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .floating-whatsapp { right: 14px; bottom: 72px; }
  .back-to-top { right: 14px; bottom: 18px; }
}

@media (max-width: 410px) {
  .hero-credentials { grid-template-columns: 1fr; }
  .hero-credentials > div + div { border-top: 1px solid rgba(255, 255, 255, .28); border-left: 0; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-about { grid-column: 1; }
}
