:root {
  --navy: #000033;
  --navy-2: #08084f;
  --cream: #ffffe8;
  --cream-2: #fffbe1;
  --gold: #b9974b;
  --gold-2: #d6b76a;
  --sky: #8fd6ee;
  --ink: #162234;
  --muted: #637083;
  --soft: #fbfaed;
  --white: #ffffff;
  --line: rgba(0, 0, 51, 0.1);
  --shadow: 0 18px 45px rgba(0, 0, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 197, 111, 0.6);
  border-radius: 50%;
  color: var(--gold-2);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  animation: pulse 1.2s ease-in-out infinite;
}

.navbar-premium {
  padding: 18px 0;
  background: rgba(0, 0, 51, 0.18);
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.navbar-premium.scrolled,
.navbar-premium .navbar-collapse.show {
  padding: 12px 0;
  background: rgba(0, 0, 51, 0.92);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  color: var(--white);
  font-weight: 800;
}

.navbar-brand:hover {
  color: var(--white);
}

.legacy-brand {
  max-width: min(260px, 62vw);
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 232, 0.95);
  box-shadow: 0 10px 26px rgba(0, 0, 51, 0.12);
}

.brand-logo {
  display: block;
  width: 170px;
  height: auto;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 10px 13px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--gold-2);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.45);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(231, 197, 111, 0.35);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn {
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn-gold {
  border: 0;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 12px 24px rgba(201, 162, 74, 0.28);
}

.btn-gold:hover {
  color: var(--navy);
  box-shadow: 0 16px 34px rgba(201, 162, 74, 0.38);
}

.btn-outline-navy {
  color: var(--navy);
  border: 1px solid rgba(0, 0, 51, 0.22);
  background: var(--white);
}

.btn-outline-navy:hover {
  color: var(--white);
  background: var(--navy);
}

.hero {
  position: relative;
  min-height: 100vh;
  color: var(--white);
  overflow: hidden;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa?auto=format&fit=crop&w=2000&q=88");
  background-size: cover;
  background-position: center;
  transform: translateY(var(--parallax-y, 0));
  scale: 1.06;
  will-change: transform;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 51, 0.94) 0%, rgba(0, 0, 51, 0.76) 45%, rgba(0, 0, 51, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 51, 0.38), rgba(0, 0, 51, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 86px;
}

.hero h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-panel {
  position: absolute;
  right: 6vw;
  bottom: 8vh;
  z-index: 2;
  width: 290px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-panel strong {
  display: block;
  color: var(--gold-2);
  font-size: 2.4rem;
  line-height: 1;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.84);
}

.section {
  padding: 108px 0;
}

.section-soft {
  background: var(--soft);
}

.section-navy {
  color: var(--white);
  background: var(--navy);
}

.section-heading {
  max-width: 740px;
  margin-bottom: 54px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-sky {
  color: var(--sky);
}

h2 {
  margin-bottom: 16px;
  color: inherit;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  letter-spacing: 0;
}

.section-heading p,
.section-copy {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-navy .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.service-card,
.testimonial-card,
.contact-form,
.property-card,
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: 0 10px 30px rgba(0, 0, 51, 0.06);
}

.service-card {
  height: 100%;
  padding: 34px;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: rgba(201, 162, 74, 0.45);
  box-shadow: var(--shadow);
}

.service-card i {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
  color: var(--navy);
  background: rgba(114, 200, 232, 0.18);
  font-size: 1.65rem;
}

.service-card h3,
.timeline-item h3,
.property-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  font-weight: 800;
}

.service-card p,
.timeline-item p,
.property-card p,
.testimonial-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.image-reveal {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-reveal::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(0deg, rgba(0, 0, 51, 0.42), transparent);
}

.image-reveal img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-reveal:hover img {
  transform: scale(1.04);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.benefit-grid div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
}

.benefit-grid i {
  color: var(--gold);
  font-size: 1.25rem;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 70px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(0, 0, 51, 0.12);
  box-shadow: var(--shadow);
}

.stats-band div {
  padding: 32px 22px;
  background: var(--cream);
  text-align: center;
}

.stats-band strong {
  display: block;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(231, 197, 111, 0.55), transparent);
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.timeline-item span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.timeline-item p {
  color: rgba(255, 255, 255, 0.72);
}

.property-card {
  overflow: hidden;
  height: 100%;
}

.property-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.property-card div {
  padding: 22px;
}

.property-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold);
  font-weight: 900;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.carousel-control-prev,
.carousel-control-next {
  width: 46px;
  height: 46px;
  top: auto;
  bottom: -66px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
  opacity: 1;
}

.carousel-control-prev {
  left: auto;
  right: 58px;
}

.carousel-control-next {
  right: 0;
}

.testimonial-card {
  height: 100%;
  padding: 30px;
}

.stars {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 1.05rem;
}

.client {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.client img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.client strong,
.client span {
  display: block;
}

.client span {
  color: var(--muted);
  font-size: 0.9rem;
}

.cta-section {
  padding: 42px 0;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(114, 200, 232, 0.16), rgba(201, 162, 74, 0.12)),
    rgba(255, 255, 255, 0.05);
}

.cta-box p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.premium-accordion .accordion-item {
  margin-bottom: 14px;
  overflow: hidden;
}

.premium-accordion .accordion-button {
  color: var(--navy);
  font-weight: 900;
  box-shadow: none;
}

.premium-accordion .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: rgba(114, 200, 232, 0.14);
}

.contact-info {
  margin: 30px 0;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 700;
}

.contact-info i {
  color: var(--gold);
}

.map-frame {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  height: 230px;
  border: 0;
}

.contact-form {
  padding: 34px;
}

.form-label {
  color: var(--navy);
  font-weight: 800;
}

.form-control,
.form-select {
  min-height: 52px;
  border-color: rgba(0, 0, 51, 0.14);
  border-radius: 8px;
}

textarea.form-control {
  min-height: 140px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 162, 74, 0.18);
}

.form-note {
  min-height: 26px;
  margin: 14px 0 0;
  color: #16724c;
  font-weight: 800;
  text-align: center;
}

.footer {
  padding: 70px 0 26px;
  color: rgba(255, 255, 255, 0.72);
  background: #000024;
}

.footer-logo {
  width: 210px;
}

.footer h3 {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 1rem;
  font-weight: 900;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--gold-2);
}

.footer-brand {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  font-size: 1.65rem;
}

.whatsapp-float:hover {
  color: var(--white);
  transform: translateY(-3px);
}

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

@media (max-width: 991.98px) {
  .navbar-premium {
    background: rgba(0, 0, 51, 0.94);
  }

  .legacy-brand {
    max-width: min(225px, 64vw);
  }

  .brand-logo {
    width: 154px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 51, 0.92), rgba(0, 0, 51, 0.54));
  }

  .section {
    padding: 82px 0;
  }

  .timeline,
  .stats-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline::before {
    display: none;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 720px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.7rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .benefit-grid,
  .timeline,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .image-reveal img {
    min-height: 340px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .contact-form,
  .cta-box {
    padding: 26px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
