:root {
  --bg: #fcfaf5;
  --bg-soft: #f6f0e4;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --surface-soft: #fff9ef;
  --text: #162033;
  --text-soft: #4f5d73;
  --text-muted: #7a879a;
  --border: rgba(22, 32, 51, 0.08);
  --primary: #1f4fd1;
  --primary-hover: #1b44b3;
  --accent: #f1be64;
  --accent-2: #f8ddb0;
  --green: #17a34a;
  --green-hover: #14853d;
  --shadow-sm: 0 10px 30px rgba(22, 32, 51, 0.06);
  --shadow-md: 0 20px 50px rgba(22, 32, 51, 0.1);
  --shadow-lg: 0 30px 80px rgba(22, 32, 51, 0.12);
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 38px;
  --container: 1240px;
  --header-h: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fffdf8 0%, #fcfaf5 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 34px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 250, 241, 0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(22, 32, 51, 0.08);
  border-bottom: 1px solid rgba(22, 32, 51, 0.06);
}

.nav-wrap {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.desktop-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.desktop-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.scrolled .desktop-nav a {
  color: var(--text);
}

.site-header.scrolled .desktop-nav a:hover {
  background: rgba(31, 79, 209, 0.08);
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-white {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: #fff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.scrolled .btn-outline {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(22, 32, 51, 0.08);
}

.site-header.scrolled .btn-outline:hover {
  background: #f7f8fb;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  padding: 0 12px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: 0.28s ease;
}

.site-header.scrolled .menu-toggle {
  border-color: rgba(22, 32, 51, 0.08);
  background: #fff;
}

.site-header.scrolled .menu-toggle span {
  background: var(--text);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background: rgba(255, 252, 246, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: 0 18px 40px rgba(22, 32, 51, 0.08);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  display: grid;
  gap: 10px;
  padding: 18px 0 24px;
}

.mobile-link {
  padding: 14px 8px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid rgba(22, 32, 51, 0.06);
}

.mobile-wa {
  margin-top: 8px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #dfe9f4;
}

.hero-slider,
.hero-slide,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.58) 0%, rgba(10, 18, 32, 0.34) 38%, rgba(10, 18, 32, 0.14) 62%, rgba(10, 18, 32, 0.06) 100%),
    linear-gradient(180deg, rgba(10, 18, 32, 0.18) 0%, rgba(10, 18, 32, 0.26) 100%);
}

.hero h1 {
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.28);
}

.hero-lead {
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 42px;
  align-items: center;
  padding-top: 150px;
  padding-bottom: 160px;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #42506b;
  border: 1px solid rgba(255, 255, 255, 0.44);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.section-kicker-light {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.14);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: #ffffff;
  font-weight: 800;
  max-width: 10.2ch;
  text-shadow: 0 8px 28px rgba(22, 32, 51, 0.18);
}

.hero-lead {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.8;
  text-shadow: 0 6px 20px rgba(22, 32, 51, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-tags span {
  padding: 11px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #364256;
  border: 1px solid rgba(255, 255, 255, 0.36);
  font-weight: 700;
  font-size: 0.93rem;
  box-shadow: var(--shadow-sm);
}

.hero-side {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-note {
  width: min(100%, 340px);
  background: rgba(255, 250, 243, 0.78);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 30px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.hero-note-label {
  margin: 0 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a6334;
}

.hero-note ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 11px;
  color: #42506b;
  line-height: 1.7;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-arrow {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.52);
  color: #24314d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dot.active {
  width: 34px;
  background: #ffffff;
}

.quick-info {
  position: relative;
  z-index: 5;
  margin-top: -22px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.info-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.info-label {
  display: block;
  margin-bottom: 10px;
  color: #6780a8;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.info-card strong {
  font-size: 1.04rem;
  line-height: 1.45;
}

.section {
  padding: 110px 0;
}

.section-about {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
}

.about-grid,
.highlight-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.about-copy h2,
.section-head h2,
.highlight-copy h2,
.contact-copy h2,
.section-faq .section-head h2 {
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.about-copy p,
.section-head p,
.highlight-copy p,
.contact-copy p,
.section-faq .section-head p {
  color: var(--text-soft);
  font-size: 1.06rem;
  line-height: 1.85;
}

.feature-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 51, 0.06);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.feature-item h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.feature-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mosaic img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow-md);
}

.mosaic img:nth-child(2),
.mosaic img:nth-child(4) {
  margin-top: 26px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 46px;
}

.section-homes {
  background: linear-gradient(180deg, #fff8ef 0%, #fffdf8 100%);
}

.homes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.home-card {
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-card-media img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.home-card-body {
  padding: 28px;
}

.home-card-body h3 {
  margin: 0 0 12px;
  font-size: 1.68rem;
  line-height: 1.08;
}

.home-card-body p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.home-card-body ul {
  margin: 18px 0 18px;
  padding-left: 18px;
  color: var(--text-soft);
  display: grid;
  gap: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--primary);
}

.text-link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.section-highlight {
  background: linear-gradient(180deg, #fffdf8 0%, #fff4e5 100%);
}

.highlight-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow-lg);
}

.highlight-points {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.highlight-points article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(22, 32, 51, 0.06);
  border-radius: 24px;
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}

.highlight-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.highlight-points span {
  color: var(--text-soft);
}

.section-gallery {
  background: linear-gradient(180deg, #fff4e5 0%, #fffdf8 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.gallery-grid img:nth-child(1) { grid-column: span 4; }
.gallery-grid img:nth-child(2) { grid-column: span 4; }
.gallery-grid img:nth-child(3) { grid-column: span 4; }
.gallery-grid img:nth-child(4) { grid-column: span 5; }
.gallery-grid img:nth-child(5) { grid-column: span 3; }
.gallery-grid img:nth-child(6) { grid-column: span 4; }

.section-faq {
  background: linear-gradient(180deg, #78a8df 0%, #4b77b8 100%);
  color: #fff;
}

.section-faq .section-head p,
.section-faq .section-head h2 {
  color: #fff;
}

.faq-list {
  max-width: 920px;
  display: grid;
  gap: 16px;
}

.faq-item {
  border-radius: 24px;
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-weight: 800;
  font-size: 1.04rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
}

.section-contact {
  background: linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.contact-list article {
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-sm);
}

.contact-list strong {
  display: block;
  margin-bottom: 6px;
}

.contact-list span {
  color: var(--text-soft);
}

.contact-box {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #ffffff 0%, #fff1d8 100%);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-lg);
}

.contact-box h3 {
  margin: 0 0 16px;
  font-size: 1.76rem;
}

.contact-box ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-soft);
}

.site-footer {
  background: #fff4e5;
  border-top: 1px solid rgba(22, 32, 51, 0.06);
  padding-top: 66px;
}

.footer-grid {
  padding-bottom: 34px;
}

.footer-logo {
  height: 78px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin: 0 0 14px;
  font-size: 1.06rem;
}

.footer-text {
  color: var(--text-soft);
  max-width: 520px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a:hover,
.footer-wa:hover {
  color: var(--primary);
}

.footer-wa {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 800;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(22, 32, 51, 0.06);
  padding: 18px 0 26px;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  transition: 0.25s ease;
}

.whatsapp-float:hover {
  background: var(--green-hover);
  transform: translateY(-2px);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .hero-grid,
  .about-grid,
  .highlight-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-content: flex-start;
  }

  .quick-grid,
  .homes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img:nth-child(n) {
    grid-column: span 6;
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .brand-logo {
    height: 62px;
  }

  .hero-grid {
    gap: 28px;
    padding-top: 126px;
    padding-bottom: 118px;
    align-items: center;
  }

  .hero h1 {
    max-width: 100%;
  }

  .quick-info {
    margin-top: -26px;
  }

  .feature-list,
  .mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic img:nth-child(2),
  .mosaic img:nth-child(4) {
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 80px;
  }

  .container {
    width: min(var(--container), calc(100% - 22px));
  }

  .hero-grid {
    padding-top: 112px;
    padding-bottom: 118px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 26px;
}

  .hero-tags span {
    font-size: 0.86rem;
    padding: 10px 12px;
  }

  .hero-note {
    padding: 22px;
    border-radius: 24px;
  }

  .hero-controls {
    bottom: 20px;
  }

  .quick-grid,
  .homes-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 84px 0;
  }

  .home-card-media img {
    height: 240px;
  }

  .highlight-image img {
    height: 390px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:nth-child(n) {
    grid-column: auto;
    height: 230px;
  }

  .whatsapp-float {
    right: 14px;
    left: 14px;
    bottom: 14px;
  }
}


@media (min-width: 1181px) {
  .hero-grid {
    padding-top: 140px;
    padding-bottom: 170px;
  }

  .hero-copy {
    padding-right: 20px;
  }

  .hero-note {
    margin-top: 40px;
  }

  .quick-info {
    margin-top: -18px;
  }
}


/* =========================
   INJECTED NAVBAR
========================= */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-shell {
  background: rgba(255, 250, 241, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(22, 32, 51, 0.06);
}

.site-header.scrolled .navbar-shell {
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 12px 34px rgba(22, 32, 51, 0.08);
}

.navbar-bar {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.navbar-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.navbar-link:hover {
  background: rgba(31, 79, 209, 0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-soft-btn,
.navbar-wa-btn {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.navbar-soft-btn {
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.08);
  color: var(--text);
}

.navbar-soft-btn:hover {
  background: #f8fafc;
}

.navbar-wa-btn {
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.08);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.06);
}

.navbar-wa-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.navbar-dropdown {
  position: relative;
}

.navbar-trigger {
  cursor: pointer;
  border: 0;
  background: transparent;
}

.navbar-caret {
  width: 16px;
  height: 16px;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

.navbar-caret.is-rotated {
  transform: rotate(180deg);
}

.navbar-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 330px;
  padding: 14px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.22s ease;
}

.navbar-panel-right {
  left: auto;
  right: 0;
  width: 240px;
}

.navbar-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-panel-label {
  margin-bottom: 10px;
  padding-inline: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #94a3b8;
}

.navbar-menu-link,
.navbar-lang-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
  transition: 0.22s ease;
}

.navbar-menu-link:hover,
.navbar-lang-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.navbar-lang-link.is-active {
  background: #0f172a;
  color: #fff;
}

.navbar-mobile-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(22, 32, 51, 0.08);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(22, 32, 51, 0.06);
}

.navbar-mobile-icon {
  width: 24px;
  height: 24px;
}

.navbar-mobile-panel {
  display: none;
  border-top: 1px solid rgba(22, 32, 51, 0.06);
  background: rgba(255, 252, 246, 0.98);
  backdrop-filter: blur(16px);
}

.navbar-mobile-panel.is-open {
  display: block;
}

.navbar-mobile-inner {
  padding-top: 14px;
  padding-bottom: 18px;
  display: grid;
  gap: 10px;
}

.navbar-mobile-link {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
}

.navbar-mobile-link:hover {
  background: #f8fafc;
}

.navbar-mobile-submenu {
  display: none;
  gap: 8px;
  padding-left: 8px;
}

.navbar-mobile-submenu.is-open {
  display: grid;
}

.navbar-mobile-sub-link {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
  color: #334155;
  font-size: 0.92rem;
  font-weight: 600;
}

.navbar-mobile-lang-wrap {
  margin-top: 8px;
}

.navbar-mobile-lang-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.navbar-mobile-lang {
  min-height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  color: #334155;
  font-size: 0.84rem;
  font-weight: 700;
}

.navbar-mobile-lang.is-active {
  background: #0f172a;
  color: #fff;
}

.navbar-mobile-wa {
  margin-top: 8px;
  min-height: 48px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

/* =========================
   SERIOUS FOOTER
========================= */

.footer-site {
  background: linear-gradient(180deg, #fff8ef 0%, #fff2df 100%);
  border-top: 1px solid rgba(22, 32, 51, 0.06);
}

.footer-top {
  padding-top: 52px;
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.footer-brand-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-brand-subtitle {
  margin: 4px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.footer-copy {
  margin: 18px 0 0;
  max-width: 460px;
  color: var(--text-soft);
  line-height: 1.85;
}

.footer-heading {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a879a;
}

.footer-links-grid {
  display: grid;
  gap: 10px;
}

.footer-links-grid a {
  color: var(--text);
  font-weight: 600;
  transition: 0.22s ease;
}

.footer-links-grid a:hover,
.footer-contact-line a:hover {
  color: var(--primary);
}

.footer-contact-line {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(31, 79, 209, 0.18);
  transition: 0.25s ease;
}

.footer-wa-btn:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(22, 32, 51, 0.06);
}

.footer-bottom-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #6b7280;
  font-size: 0.92rem;
}

@media (max-width: 1180px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 920px) {
  .navbar-desktop,
  .navbar-actions {
    display: none;
  }

  .navbar-mobile-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .footer-bottom-inner {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-logo {
    height: 58px;
  }
}


.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: start;
}

.contact-form {
  margin-top: 28px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-sm);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 51, 0.1);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(31, 79, 209, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 79, 209, 0.08);
}

.contact-map {
  width: 100%;
}

.map-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-lg);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 560px;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    min-height: 420px;
  }
}


.contact-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.contact-chip {
  padding: 22px 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-sm);
}

.contact-chip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.contact-chip span {
  color: var(--text-soft);
  line-height: 1.7;
}

.contact-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.contact-form-wrap,
.contact-map-wrap {
  width: 100%;
}

.contact-form {
  margin-top: 0;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-sm);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(22, 32, 51, 0.1);
  background: #fff;
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(31, 79, 209, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 79, 209, 0.08);
}

.map-card {
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(22, 32, 51, 0.06);
  box-shadow: var(--shadow-lg);
  height: 100%;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 100%;
  height: 560px;
}

@media (max-width: 1100px) {
  .contact-chips {
    grid-template-columns: 1fr;
  }

  .contact-main-layout {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 460px;
  }
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .map-card iframe {
    height: 380px;
  }
} 


/* Mobile */
@media (max-width: 640px) {
  .homes-grid-3 {
    grid-template-columns: 1fr;
  }

  .home-card-media img {
    height: 220px;
  }
}


/* FORCE 3 COLONNE TIPOLOGIE */
.section-homes #tipologie,
#tipologie {
  width: 100%;
}

#tipologie .homes-grid.homes-grid-3 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

#tipologie .homes-grid.homes-grid-3 .home-card {
  min-width: 0;
}

#tipologie .homes-grid.homes-grid-3 .home-card-media img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  #tipologie .homes-grid.homes-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  #tipologie .homes-grid.homes-grid-3 {
    grid-template-columns: 1fr !important;
  }

  #tipologie .homes-grid.homes-grid-3 .home-card-media img {
    height: 220px;
  }
}


.property-gallery {
  display: grid;
  gap: 18px;
}

.property-gallery-top {
  display: grid;
  grid-template-columns: 1.45fr 0.95fr;
  gap: 18px;
}

.property-gallery-main img,
.property-gallery-side img,
.property-gallery-bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.property-gallery-main {
  min-height: 560px;
}

.property-gallery-main img {
  min-height: 560px;
}

.property-gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.property-gallery-side img {
  min-height: 271px;
}

.property-gallery-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.property-gallery-bottom img {
  height: 260px;
}

@media (max-width: 980px) {
  .property-gallery-top {
    grid-template-columns: 1fr;
  }

  .property-gallery-main,
  .property-gallery-main img {
    min-height: 420px;
  }

  .property-gallery-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .property-gallery-side img {
    min-height: 240px;
  }

  .property-gallery-bottom {
    grid-template-columns: 1fr;
  }

  .property-gallery-bottom img {
    height: 240px;
  }
}

@media (max-width: 640px) {
  .property-gallery-main,
  .property-gallery-main img {
    min-height: 300px;
  }

  .property-gallery-side {
    grid-template-columns: 1fr;
  }

  .property-gallery-side img,
  .property-gallery-bottom img {
    min-height: 220px;
    height: 220px;
  }
}



.gallery-structure-clean {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery-structure-item {
  grid-column: span 3;
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  background: #ebe6dc;
  min-height: 260px;
}

.gallery-structure-item-lg {
  grid-column: span 4;
  min-height: 320px;
}

.gallery-structure-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-structure-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 1100px) {
  .gallery-structure-item,
  .gallery-structure-item-lg {
    grid-column: span 6;
    min-height: 260px;
  }
}

@media (max-width: 700px) {
  .gallery-structure-clean {
    grid-template-columns: 1fr;
  }

  .gallery-structure-item,
  .gallery-structure-item-lg {
    grid-column: auto;
    min-height: 240px;
    border-radius: 1.5rem;
  }
}


.highlight-image {
  display: flex;
  justify-content: center;
}

.highlight-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2rem;
}