/* Homepage sections */
.section { padding: 56px 0; }
.section .section-title { letter-spacing: .2px; }
@media (min-width: 900px){ .section { padding: 72px 0; } }
.section.pad-lg { padding: 88px 0; }
@media (min-width: 900px){ .section.pad-lg { padding: 120px 0; } }
.section.pad-xl { padding: 128px 0; }
@media (min-width: 900px){ .section.pad-xl { padding: 168px 0; } }
.section.has-bg { position: relative; color: #fff; }
.section.has-bg::before { content: ""; position: absolute; inset: 0; background: var(--bg-image) center / 100% 100% no-repeat; filter: brightness(.55); }
.section.has-bg .container { position: relative; z-index: 1; }
.section.has-bg .lead { color: #e2e8f0; }
.section.alt { background: #f8fafc; }
.section.alt-2 { background: #eef2ff; }
.section .section-title { margin: 0 0 16px; font-size: clamp(20px, 3.6vw, 28px); }
.lead { color: #475569; max-width: 900px; }

/* Cards grid */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px){ .grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px){ .grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { border: 1px solid rgba(0,0,0,.08); border-radius: 12px; padding: 18px; background: #fff; box-shadow: 0 8px 20px rgba(2,6,23,.06); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; color: inherit; display: block; }
.card .icon { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #eef2ff; color: #3730a3; font-size: 22px; margin: 2px 0 10px; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 24; line-height: 1; }
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(2,6,23,.08); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: #475569; }

/* CTA */
.cta { display: flex; flex-direction: column; gap: 12px; align-items: start; }
@media (min-width: 640px){ .cta { flex-direction: row; align-items: center; justify-content: space-between; } }
.btn { display: inline-block; padding: 12px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.btn.primary { background: #0b5ed7; color: #fff; }
.btn.primary:hover { background: #094fb5; }
.btn.ghost { border:1px solid #0b5ed7; color: #0b5ed7; }
.btn.ghost:hover { background:#e8f1ff; }

/* Property cards */
.property { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; }
.property img { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; border: 1px solid rgba(0,0,0,.08); }
.property h4 { margin: 0 0 4px; font-size: 16px; }
.property .meta { color:#64748b; font-size: 14px; }

/* Helpers */
.muted { color: #64748b; }

/* Portfolio grid */
.portfolio-grid { gap: 14px; }
.portfolio-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 8px 20px rgba(2,6,23,.06); background: #fff; }

