:root {
  --ocean: #0077A8;
  --ocean-dark: #005f86;
  --sky: #E8F7FC;
  --sand: #E8D8B9;
  --nature: #3A8F5C;
  --white: #FFFFFF;
  --ink: #1a2b33;
  --muted: #5a6b73;
  --line: rgba(0, 119, 168, 0.12);
  --shadow: 0 18px 40px rgba(0, 60, 90, 0.12);
  --radius: 14px;
  --header-h: 78px;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Nunito", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(0, 119, 168, 0.08), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(232, 216, 185, 0.35), transparent 55%),
    linear-gradient(180deg, #f7fbfe 0%, #ffffff 40%, #f5faf8 100%);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--ocean-dark); }

.container {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 60, 90, 0.06);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--ink);
}

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .01em;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--ocean);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-light { color: var(--white); }
.brand-light small { color: var(--sand); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
}

.main-nav a:hover { color: var(--ocean); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: .7rem 1.25rem;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-accent {
  background: var(--ocean);
  color: var(--white) !important;
}

.btn-accent:hover { background: var(--ocean-dark); }

.btn-outline-primary {
  border-color: var(--ocean);
  color: var(--ocean);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--ocean);
  color: var(--white) !important;
}

.btn-outline-light {
  border-color: rgba(255,255,255,.5);
  color: var(--white) !important;
  background: transparent;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: .2s ease;
}

main { padding-top: var(--header-h); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(78vh - var(--header-h));
  color: var(--white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease, visibility .7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.05);
  transform: scale(1.02);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 40, 60, .52) 0%, rgba(0, 70, 100, .35) 45%, rgba(0, 50, 70, .45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  flex: 1;
  min-height: calc(78vh - var(--header-h) - 100px);
  padding: 1.75rem 0 5.5rem;
}

.hero-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-info {
  animation: rise .7s ease both;
}

.hero-info .code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: .75rem;
}

.hero-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 .75rem;
  font-weight: 700;
}

.hero-ref-mobile {
  display: none;
}

.hero-info .place {
  opacity: .92;
  margin-bottom: 1rem;
}

.hero-info .price {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hero-features li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
}

.hero-thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .75rem;
  padding: 1rem 1rem 1.35rem;
  flex-wrap: wrap;
  background: linear-gradient(180deg, transparent, rgba(0, 30, 45, .45));
}

.hero-thumb {
  width: 72px;
  height: 54px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .7;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: .2s ease;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-thumb.is-active,
.hero-thumb:hover {
  opacity: 1;
  border-color: var(--sand);
  transform: translateY(-2px);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* SEO strip + search */
.seo-search {
  padding: 3.5rem 0 2rem;
}

.seo-search h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--ocean);
  margin: 0 0 .35rem;
  text-align: center;
}

.seo-search .lead {
  text-align: center;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

.search-panel {
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .75rem 1rem;
  align-items: start;
}

.search-field-action {
  display: flex;
  flex-direction: column;
}

.search-field-action .search-submit {
  width: 100%;
  margin-top: .5rem;
  border-radius: 12px;
}

.search-panel .form-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-panel .form-control,
.search-panel .form-select {
  border-radius: 12px;
  border-color: rgba(0,119,168,.18);
  padding: .7rem .9rem;
}

.search-panel .form-control:focus,
.search-panel .form-select:focus {
  border-color: var(--ocean);
  box-shadow: 0 0 0 .2rem rgba(0,119,168,.15);
}

@media (max-width: 991px) {
  .search-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-field-action {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575px) {
  .search-fields {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0;
}

.section-head p {
  margin: .35rem 0 0;
  color: var(--muted);
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.property-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.property-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.property-card:hover .property-card__media img { transform: scale(1.04); }

.property-card__badge {
  position: absolute;
  left: .75rem;
  top: .75rem;
  background: rgba(0,119,168,.92);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .65rem;
  border-radius: 999px;
}

.property-card__video {
  position: absolute;
  right: .75rem;
  top: .75rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .55);
  color: #ff3b3b;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

.property-card__body { padding: 1rem 1.1rem 1.2rem; }

.property-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ocean);
  margin: 0 0 .35rem;
  font-size: 1.2rem;
}

.property-card__title {
  font-size: 1.05rem;
  margin: 0 0 .4rem;
  font-family: var(--font-display);
}

.property-card__title a { color: var(--ink); }
.property-card__meta {
  color: var(--muted);
  font-size: .92rem;
  margin-bottom: .75rem;
}

.property-card__features {
  display: flex;
  gap: .9rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
}

.property-card__features i { color: var(--ocean); margin-right: .25rem; }

/* About */
.about-block {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, var(--sky), #fff 55%, rgba(232,216,185,.35));
  border-radius: 24px;
  padding: 2rem;
  border: 1px solid var(--line);
}

.about-block h2 {
  font-family: var(--font-display);
  margin-top: 0;
}

.about-block img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Stats */
.stats {
  background: linear-gradient(120deg, var(--ocean) 0%, #0a8fad 55%, var(--nature) 140%);
  color: #fff;
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.stats-grid span { opacity: .9; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.testimonial p { margin-top: 0; color: var(--muted); }
.testimonial strong { font-family: var(--font-display); }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-card__body { padding: 1rem 1.1rem 1.25rem; }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 .5rem;
}
.blog-card h3 a { color: var(--ink); }

/* FAQ */
.faq-list .accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px !important;
  overflow: hidden;
  margin-bottom: .75rem;
  background: #fff;
}

.faq-list .accordion-button {
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: none !important;
}

.faq-list .accordion-button:not(.collapsed) {
  background: var(--sky);
  color: var(--ocean-dark);
}

/* Detail */
.breadcrumb-wrap {
  padding: 1rem 0 0;
  background: transparent;
}

.breadcrumb { --bs-breadcrumb-divider-color: var(--muted); }
.breadcrumb a { color: var(--ocean); }
.breadcrumb-item.active { color: var(--muted); }

.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 1.75rem;
  padding: 1.5rem 0 3rem;
}

.detail-layout > * { min-width: 0; }

.detail-share {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem;
  margin-bottom: .6rem;
}

.detail-share__label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-right: .15rem;
}

.detail-share__btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ocean);
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,60,90,.08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.detail-share__btn:hover { transform: translateY(-2px); }

.detail-share__btn--whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.detail-share__btn--facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.detail-share__btn--x:hover { background: #000; border-color: #000; color: #fff; }
.detail-share__btn--copy:hover,
.detail-share__btn--copy.is-copied { background: var(--ocean); border-color: var(--ocean); color: #fff; }

.gallery-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/10;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-video-badge {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.55);
  color: #ff3b3b;
  font-size: 1.35rem;
}

.gallery-thumbs-wrap {
  position: relative;
  margin-top: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: .5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
  padding: .15rem 0;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 66px;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
}

.gallery-thumb.is-active,
.gallery-thumb:hover { border-color: var(--ocean); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ocean);
  display: none;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,60,90,.08);
}

.gallery-arrow:hover {
  background: var(--ocean);
  color: #fff;
}

.gallery-arrow:disabled {
  opacity: .35;
  pointer-events: none;
}

@media (min-width: 992px) {
  .gallery-arrow {
    display: none;
  }
  .gallery-thumbs-wrap.has-overflow .gallery-arrow {
    display: grid;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 1rem;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.detail-side-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  height: fit-content;
  align-self: start;
}

.detail-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem;
  position: static;
}

.detail-side .price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--ocean);
  font-weight: 700;
  margin: .4rem 0 1rem;
}

.detail-search h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 .75rem;
}

.search-panel--stack {
  padding: 1rem;
  border-radius: 16px;
}

.search-fields--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.feature-list li {
  background: var(--sky);
  border-radius: 12px;
  padding: .75rem;
  font-size: .92rem;
}

.feature-list i { color: var(--ocean); margin-right: .35rem; }

.caracs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.caracs-grid li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.caracs-grid i { color: var(--nature); }

.map-embed {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 16px;
  margin-top: 1rem;
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(160deg, #0b3d52 0%, #0a5a78 60%, #0d6b4f 130%);
  color: rgba(255,255,255,.88);
  padding-top: 3rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: #fff;
  margin-top: 0;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li { margin-bottom: .55rem; }

.footer-links a,
.footer-contact a { color: rgba(255,255,255,.88); }

.footer-contact i {
  width: 1.1rem;
  margin-right: .35rem;
  color: var(--sand);
}

.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.1);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1rem 0;
  font-size: .9rem;
}

.footer-bottom p { margin: 0; }

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .4);
  animation: pulse 2.4s ease infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.first-visit-wrap {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1200;
  display: flex;
  gap: .75rem;
  align-items: stretch;
  max-width: 960px;
  margin-inline: auto;
  pointer-events: none;
}

.first-visit-bar {
  pointer-events: auto;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  flex: 1 1 0;
  min-width: 0;
  background: rgba(11, 61, 82, .96);
  color: #fff;
  border-radius: 16px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  box-shadow: var(--shadow);
  max-width: none;
  margin: 0;
}

.first-visit-bar[hidden] {
  display: none !important;
}

.first-visit-bar p { margin: 0; flex: 1; font-size: .92rem; line-height: 1.35; }
.install-bar { bottom: auto; }
.btn-close-bar {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}

/* 404 */
.page-404 {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}

.page-404 h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  color: var(--ocean);
  margin: 0;
}

/* Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 991px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: .25s ease;
  }
  .main-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav ul { flex-direction: column; gap: .75rem; }
  .hero-content { grid-template-columns: 1fr; min-height: auto; padding: 1.5rem 0 5.5rem; }
  .hero-photo { max-width: 520px; }
  .property-grid,
  .blog-grid,
  .testimonials,
  .similar-grid { grid-template-columns: 1fr 1fr; }
  .about-block,
  .detail-layout,
  .footer-grid { grid-template-columns: 1fr; }
  .detail-side-col { position: static; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 640px) {
  .property-grid,
  .blog-grid,
  .testimonials,
  .similar-grid,
  .caracs-grid,
  .feature-list { grid-template-columns: 1fr; }
  .hero-thumbs {
    gap: .45rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-thumbs::-webkit-scrollbar { display: none; }
  .hero-thumb { width: 56px; height: 42px; }

  .hero-info .code,
  .hero-info h2,
  .hero-info .hero-features { display: none; }
  .hero-ref-mobile {
    display: block;
    font-family: var(--font-display);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sand);
    font-weight: 700;
    margin-bottom: .35rem;
  }
  .hero-info .place { margin-bottom: .5rem; }
  .hero-info .price { font-size: clamp(1.45rem, 6vw, 1.8rem); margin-bottom: 1rem; }
  .hero-content { padding-bottom: 6.5rem; }
  .first-visit-wrap {
    flex-direction: column;
    left: .75rem;
    right: .75rem;
    bottom: 5.5rem;
  }
  .first-visit-bar { flex-direction: column; align-items: stretch; text-align: center; }
}
