/* ========== Reset & Base ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e1b4b;
  background: #f8faff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  margin: 0 0 0.6em 0;
  line-height: 1.2;
  font-weight: 700;
  color: #1e1b4b;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em 0; }

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-head .eyebrow {
  display: inline-block;
  color: #6366f1;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-head p {
  color: #4f6b6f;
  font-size: 1.05rem;
}

/* ========== Header ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 253, 251, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6366f1;
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #818cf8, #4f46e5);
  color: #fff;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #312e81;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #6366f1;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #6366f1;
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(79, 70, 229, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -10px rgba(79, 70, 229, 0.6);
}

.btn-outline {
  background: transparent;
  color: #4f46e5;
  border: 2px solid #818cf8;
}

.btn-outline:hover {
  background: #818cf8;
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #6366f1;
  margin: 5px 0;
  border-radius: 2px;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 50%, #6366f1 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/images/hero.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(165, 180, 252, 0.5) 0%, rgba(79, 70, 229, 0.7) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-text h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.search-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 60px -20px rgba(79, 70, 229, 0.4);
}

.search-card h2 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1e1b4b;
  margin-bottom: 6px;
}

.field input,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6e6e8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #1e1b4b;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.search-card .btn-primary {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
}

/* ========== Page Header ========== */
.page-header {
  position: relative;
  padding: 110px 0 80px;
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.page-header h1 {
  color: #fff;
  font-weight: 800;
}

.page-header p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #f8faff);
}

/* ========== Cards / Grids ========== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(79, 70, 229, 0.3);
}

.feature-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #c7d2fe, #818cf8);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 18px;
}

.feature-card .icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  color: #4f6b6f;
  margin: 0;
}

/* ========== Property Cards ========== */
.property-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.18);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -16px rgba(79, 70, 229, 0.3);
}

.property-card .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.property-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .img-wrap img {
  transform: scale(1.05);
}

.property-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 45, 49, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.property-card .body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card .meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #6b8487;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.property-card h3 {
  margin-bottom: 6px;
}

.property-card .desc {
  color: #4f6b6f;
  margin-bottom: 18px;
  flex: 1;
}

.property-card .footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-card .price {
  font-weight: 700;
  color: #4f46e5;
  font-size: 1.05rem;
}

.property-card .price small {
  color: #6b8487;
  font-weight: 500;
  font-size: 0.8rem;
}

/* ========== Photography Gallery ========== */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery .item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery .item:hover img {
  transform: scale(1.06);
}

.gallery .item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 45, 49, 0.85) 0%, rgba(15, 45, 49, 0) 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  font-weight: 600;
}

/* ========== Photography service tiers ========== */
.tier-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.08);
  display: flex;
  flex-direction: column;
}

.tier-card.featured {
  background: linear-gradient(135deg, #312e81, #4f46e5);
  color: #e0fbf6;
  border: none;
  transform: translateY(-12px);
  box-shadow: 0 24px 50px -16px rgba(79, 70, 229, 0.45);
}

.tier-card.featured h3,
.tier-card.featured .price {
  color: #fff;
}

.tier-card.featured ul li {
  color: #e0e7ff;
}

.tier-card.featured .btn-outline {
  color: #fff;
  border-color: #e0e7ff;
}

.tier-card.featured .btn-outline:hover {
  background: #fff;
  color: #4f46e5;
}

.tier-card .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 8px;
}

.tier-card.featured .label {
  color: #c7d2fe;
}

.tier-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: #4f46e5;
  margin: 6px 0 4px;
}

.tier-card .price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b8487;
}

.tier-card.featured .price small {
  color: #c7d2fe;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 28px;
  flex: 1;
}

.tier-card ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #4f6b6f;
  border-bottom: 1px solid rgba(99, 102, 241, 0.08);
}

.tier-card.featured ul li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.tier-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e0e7ff;
  color: #4f46e5;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.tier-card.featured ul li::before {
  background: #1e1b4b;
  color: #a5b4fc;
}

/* ========== Stats ========== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: linear-gradient(135deg, #312e81, #4f46e5);
  border-radius: 24px;
  padding: 48px 40px;
  color: #fff;
}

.stat .num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #a5b4fc;
  line-height: 1;
  margin-bottom: 8px;
}

.stat .label {
  color: #e0e7ff;
  font-size: 0.95rem;
}

/* ========== About split ========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px -16px rgba(79, 70, 229, 0.3);
}

.split h2 {
  margin-bottom: 20px;
}

.split p {
  color: #4f6b6f;
  font-size: 1.05rem;
}

.split ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0 0;
}

.split ul li {
  padding: 10px 0 10px 32px;
  position: relative;
  color: #312e81;
}

.split ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

/* ========== CTA Strip ========== */
.cta-strip {
  background: linear-gradient(135deg, #312e81, #4f46e5);
  border-radius: 24px;
  padding: 56px 48px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-strip p {
  color: #e0e7ff;
  margin: 0;
}

.cta-strip .btn-primary {
  background: #fff;
  color: #4f46e5;
}

.cta-strip .btn-primary:hover {
  background: #e0e7ff;
}

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info .info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
}

.contact-info .info-item:last-child {
  border-bottom: none;
}

.contact-info .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0e7ff;
  color: #4f46e5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info .icon svg {
  width: 22px;
  height: 22px;
}

.contact-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
  color: #1e1b4b;
}

.contact-info p {
  margin: 0;
  color: #4f6b6f;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px -12px rgba(79, 70, 229, 0.18);
}

.contact-form .field {
  margin-bottom: 18px;
}

.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d6e6e8;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 130px;
}

.contact-form textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 14px;
}

/* ========== Footer ========== */
.site-footer {
  background: #1e1b4b;
  color: #c4dadd;
  padding: 64px 0 28px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer .brand {
  color: #a5b4fc;
  margin-bottom: 16px;
}

.site-footer p {
  color: #8fa9ad;
}

.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer ul a {
  color: #8fa9ad;
  transition: color 0.2s;
}

.site-footer ul a:hover {
  color: #a5b4fc;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  color: #6b8487;
  font-size: 0.9rem;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero .container,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .grid-3,
  .gallery,
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tier-card.featured {
    transform: none;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 16px 24px;
    box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  }

  .nav-links li:last-child { border-bottom: none; }

  .nav-links a {
    display: block;
    padding: 14px 0;
  }

  .grid-3,
  .grid-2,
  .gallery,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }

  .hero {
    min-height: auto;
    padding: 40px 0 60px;
  }
}

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
  text-decoration: none;
  animation: wa-pulse 2.4s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.18);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}
.whatsapp-float .wa-label {
  position: absolute;
  right: 72px;
  background: #1e1b4b;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.whatsapp-float:hover .wa-label {
  opacity: 1;
  transform: translateX(0);
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
  .whatsapp-float .wa-label { display: none; }
}

/* ========== Legal/Policy pages ========== */
.legal {
  padding: 70px 0 100px;
  background: #ffffff;
}
.legal .container { max-width: 820px; }
.legal h2 {
  font-size: 26px;
  margin: 40px 0 14px;
  color: #1e1b4b;
}
.legal h3 {
  font-size: 19px;
  margin: 24px 0 10px;
  color: #312e81;
}
.legal p, .legal li {
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal .meta {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 24px;
}
.legal a { color: #4f46e5; }
