/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #f5f6f8;
  color: #0f172a;
  line-height: 1.6;
}

a { color: inherit; }
.muted { color: #64748b; }

/* ===== Layout helpers ===== */
.card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 20px;
}

section.card {
  max-width: 1100px;
  margin: 70px auto;
  padding: 36px 22px;
}

h1,h2,h3 { line-height: 1.2; margin-top: 0; }
h2 { font-size: 28px; margin-bottom: 14px; }
h3 { font-size: 22px; margin: 0; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.50)),
    url("images/building.jpg") center / cover no-repeat;
  color: #fff;
  padding: 90px 20px 70px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.hero h1 {
  margin: 16px 0 8px;
  font-size: 44px;
  letter-spacing: 0.4px;
}

.tagline {
  margin: 0 0 8px;
  font-size: 18px;
  opacity: 0.95;
}

.location {
  margin: 0;
  font-size: 14px;
  opacity: 0.85;
}

.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.30);
}

.btn-ghost {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #ffffff;
}

.btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.14);
}

.quick-contact {
  margin-top: 16px;
  font-size: 14px;
  opacity: 0.95;
}

.quick-contact .link {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.quick-contact .link:hover {
  border-bottom-color: rgba(255,255,255,0.75);
}

.quick-contact .dot {
  margin: 0 10px;
  opacity: 0.7;
}

/* ===== About ===== */
.about p { margin: 12px 0; }

.note {
  margin-top: 10px;
  color: #8b0000;
  font-weight: 800;
  font-size: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.info-item {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 14px 14px;
}

.info-title {
  font-size: 12px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 800;
  margin-bottom: 6px;
}

.info-text { font-weight: 700; color: #0f172a; }

/* ===== Apartments section ===== */
.section-head {
  max-width: 1100px;
  margin: 0 auto 18px;
  padding: 0 4px;
}

.apartment {
  padding: 22px;
  margin: 18px auto;
  max-width: 1100px;
}

.apartment-head {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.apartment-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
}

.apartment-actions .mini {
  font-size: 13px;
  color: #0f172a;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,23,42,0.25);
}

.apartment-actions .mini:hover {
  border-bottom-color: rgba(15,23,42,0.7);
}

.apartment-actions .sep {
  opacity: 0.35;
}

/* ===== Gallery (smaller + cleaner) ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 10px 0 18px;
  max-width: 1000px;
}

.gallery img {
  width: 100%;
  height: 180px;           /* smaller */
  object-fit: cover;
  border-radius: 12px;
  background: #e5e7eb;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  filter: brightness(0.98) contrast(1.02);
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

/* ===== Pills ===== */
.pill-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.pill {
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  border-radius: 999px;
  background: #0f172a;
  color: #ffffff;
  opacity: 0.92;
}

/* ===== Amenities ===== */
.amenity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.amenity {
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 12px;
  padding: 14px 14px;
  font-weight: 800;
}

/* ===== Availability ===== */
.calendar-wrap {
  margin-top: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.10);
}

.calendar-wrap iframe {
  width: 100%;
  height: 520px;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.contact-box {
  background: #0b1220;
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.75;
  font-weight: 900;
  margin-bottom: 8px;
}

.contact-link {
  color: #25d366;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(37,211,102,0.35);
}

.contact-link:hover {
  border-bottom-color: rgba(37,211,102,0.80);
}

.contact-text {
  font-weight: 900;
  opacity: 0.95;
}

.contact-note {
  margin-top: 18px;
  color: #64748b;
  font-weight: 700;
}

/* ===== Footer ===== */
.footer {
  margin-top: 70px;
  padding: 22px 20px;
  background: #0f172a;
  color: #cbd5e1;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 800;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .hero { padding: 70px 16px 56px; }
  .hero h1 { font-size: 30px; }
  section.card { padding: 26px 16px; margin: 54px auto; }
  .apartment { padding: 16px; }
  .gallery img { height: 165px; }
}
