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

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222;
  background: #f5f7fb;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 6vw;
  background: linear-gradient(90deg, #4b3bbd, #7a5de8);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.6);
}

.logo-text h1 {
  font-size: 1.1rem;
  margin: 0;
}

.logo-text p {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  position: relative;
  padding: 0.25rem 0.3rem;
}

.main-nav a:not(.btn-header)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #ffe082;
  transition: width 0.25s ease;
}

.main-nav a:not(.btn-header):hover::after {
  width: 100%;
}

.btn-header {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #ffe082;
  color: #3b2b80;
  font-weight: 600;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  padding: 3rem 6vw 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(122,93,232,0.22), transparent 55%),
              radial-gradient(circle at bottom right, rgba(75,59,189,0.18), transparent 55%);
  z-index: -2;
}

.hero-content {
  align-self: center;
}

.hero-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.hero-content p {
  margin: 0 0 1.25rem;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(90deg, #4b3bbd, #7a5de8);
  color: #fff;
  box-shadow: 0 8px 16px rgba(75,59,189,0.3);
}

.btn.secondary {
  background: #fff;
  color: #4b3bbd;
  border: 1px solid rgba(75,59,189,0.2);
}

.btn.full-width {
  width: 100%;
}

.hero-phone {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image {
  align-self: center;
}

.hero-image img {
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.section {
  padding: 2.5rem 6vw;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin: 0 0 0.4rem;
  font-size: 1.6rem;
}

.section-title p {
  margin: 0;
  color: #666;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
}

.check-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.45rem;
}

.check-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4b3bbd;
  font-size: 0.85rem;
}

.about-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 1.5rem 1.7rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.about-card h3 {
  margin-top: 0;
}

.about-location {
  margin-top: 1rem;
  font-weight: 500;
  color: #4b3bbd;
}

.properties {
  background: #eef1fb;
}

.featured-property {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.featured-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.featured-gallery img:first-child {
  grid-column: 1 / -1;
  border-radius: 1.25rem;
}

.featured-gallery img {
  border-radius: 1rem;
  height: 100%;
  object-fit: cover;
}

.featured-info h3 {
  margin-top: 0;
}

.bullet-list {
  padding-left: 1.1rem;
  margin-bottom: 1rem;
}

.bullet-list li {
  margin-bottom: 0.3rem;
}

.gallery-block {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.5rem 1.7rem 2rem;
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}

.gallery-block h3 {
  margin-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-item {
  border-radius: 0.9rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.16);
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.social-alt p {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.video-section {
  background: #eef1fb;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-top: 56.25%;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 2rem;
}

.contact-info p {
  margin: 0 0 0.4rem;
}

.contact-note {
  margin-top: 0.7rem;
  color: #555;
}

.contact-form-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 1.7rem 1.8rem 2rem;
  box-shadow: 0 18px 34px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 0.9rem;
}

label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 0.6rem;
  border: 1px solid #d0d4eb;
  font-family: inherit;
  font-size: 0.9rem;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(75,59,189,0.45);
  border-color: transparent;
}

.main-footer {
  text-align: center;
  padding: 1.2rem 1rem 1.6rem;
  font-size: 0.8rem;
  color: #555;
  background: #fff;
  border-top: 1px solid #e1e3ef;
}

.main-footer a {
  color: #4b3bbd;
  font-weight: 500;
}

.whatsapp-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  color: #fff;
  font-size: 1.6rem;
  z-index: 60;
}

.whatsapp-float span {
  transform: translateY(1px);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-image {
    margin-top: 1.5rem;
  }
  .about-grid,
  .featured-property,
  .social-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .main-nav {
    flex-wrap: wrap;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 2rem;
  }
  .section {
    padding-inline: 4vw;
  }
  .main-header {
    padding-inline: 4vw;
  }
  .main-nav a {
    font-size: 0.8rem;
  }
}
