
/* new service page*/
/* Services: real-estate card grid */
.services { padding: 64px 0; background: var(--paper); }
.services .section-head h1 { margin: 0 0 8px; font-size: 2rem; }
.services .section-head p { margin: 0 0 28px; color: var(--muted); }

/* Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-bottom: 28px;
}

/* Card */
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(8, 73, 239, 0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(2,8,23,.12);
}
.service-icon {
  font-size: 30px;
  color: var(--sky);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(56,189,248,.08), rgba(249,115,22,.02));
  margin-bottom: 12px;
}
.service-card h3 { margin: 0 0 8px; font-size: 1.1rem; }
.service-card p { margin: 0; color: var(--muted); flex: 1; }

/* CTA row */
.services-cta {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  margin-top: 20px;
}

/* Modal (booking) */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2,8,23,.45);
  z-index: 200;
  padding: 24px;
}
.modal[aria-hidden="false"] { display: flex; }
.modal-inner {
  background: var(--white);
  width: 100%;
  max-width: 760px;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 18px 48px rgba(2,8,23,.3);
  position: relative;
}
.modal-close {
  position: absolute; right: 14px; top: 12px;
  border: 0; background: transparent; font-size: 28px; line-height:1; cursor: pointer;
}

/* Form small tweaks */
.modal form .row { display:grid; grid-template-columns:1fr 1fr; gap: 12px; margin-top:8px; }
.modal input, .modal select, .modal textarea {
  border: 1px solid #e6eef6; padding:10px; border-radius:8px; width: 100%;
}

/* Reveal animation utility (used with JS observer) */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Ensure footer sits at page bottom */
html, body { height: 100%; }
body { display: flex; flex-direction: column; }
main { flex: 1; } /* must be added if services page is the main container */
