/* KYMA Estates: the page under the opening screen. Airy, big type, rounded cards, lime as the only accent. */

.section { padding: clamp(76px, 9.5vw, 150px) 0; scroll-margin-top: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; font-weight: 500; color: var(--ink); }
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(177, 236, 128, .35); }
.h2 { font: 600 clamp(38px, 5.6vw, 84px)/.98 "Inter Tight", "Inter", sans-serif; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; color: var(--ink); }

/* ---------- about ---------- */
.about-top { max-width: 21ch; font-size: clamp(38px, 5.6vw, 84px); }
.about-top .h2 { font-size: 1em; }
.about-top .eyebrow { font-size: 14px; }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 84px); align-items: end; margin-top: clamp(40px, 5vw, 76px); }
.about-pic { position: relative; border-radius: var(--r-card); overflow: hidden; background: var(--mist); aspect-ratio: 16 / 10.5; }
.about-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.about-pic:hover img { transform: scale(1.035); }
.about-pic figcaption { position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.35; color: var(--ink); }
.about-copy p + p { margin-top: 18px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.points { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.points li { padding: 30px 30px 6px 0; }
.points li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.points .num { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: 13px; font-weight: 600; }
.points h3 { margin: 18px 0 8px; font: 600 clamp(22px, 2vw, 28px)/1.1 "Inter Tight", "Inter", sans-serif; letter-spacing: -.02em; color: var(--ink); }
.points p { color: var(--muted); font-size: 16px; }

/* ---------- homes for sale ---------- */
.homes { background: var(--mist); border-radius: clamp(28px, 4vw, 56px); }
.homes-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.homes-head .h2 { max-width: 14ch; }
.count { font-size: 15px; color: var(--muted); padding-bottom: 8px; }
.filters { display: grid; gap: 12px; margin: clamp(30px, 4vw, 54px) 0 clamp(24px, 3vw, 40px); }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-name { width: 62px; font-size: 14px; color: var(--muted); }
.chip { height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; transition: background-color .2s, transform .2s var(--ease), box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed=true] { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.home-card[hidden] { display: none; }
.home-card a { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 22px; border-radius: var(--r-card); background: #fff; text-decoration: none; color: var(--text); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.home-card a:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(20, 50, 36, .14); }
.home-card a:active { transform: scale(.985); }
.home-card .pic { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sage); }
.home-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.home-card a:hover .pic img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 500; }
.home-card .info { display: flex; flex-direction: column; flex: 1; padding: 18px 12px 0; }
.place { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.place svg { width: 15px; height: 15px; }
.home-card h3 { margin: 6px 0 10px; font: 600 clamp(24px, 2.1vw, 30px)/1.05 "Inter Tight", "Inter", sans-serif; letter-spacing: -.025em; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; }
.facts span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--mist); white-space: nowrap; }
.card-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.price { font: 600 clamp(22px, 1.9vw, 26px)/1 "Inter Tight", "Inter", sans-serif; letter-spacing: -.02em; color: var(--ink); }
.go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: background-color .3s, transform .5s var(--ease); }
.go svg { width: 18px; height: 18px; }
.home-card a:hover .go { background: var(--lime); transform: rotate(-45deg); }
.empty { padding: 48px 20px; border-radius: var(--r-card); background: #fff; text-align: center; }
.empty[hidden] { display: none; }
.empty p { margin-bottom: 18px; color: var(--ink); font-size: 18px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy .h2 { max-width: 12ch; }
.contact-copy > p { margin-top: 24px; max-width: 40ch; color: var(--muted); }
.details { display: grid; gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.details div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { color: var(--muted); font-size: 15px; }
.details dd { color: var(--ink); font-weight: 500; text-align: right; }
.panel { padding: clamp(22px, 3vw, 40px); border-radius: var(--r-card); background: var(--mist); }
.panel .btn { width: 100%; }

@media (max-width: 980px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .section { scroll-margin-top: 50px; }
  .points { grid-template-columns: 1fr; }
  .points li, .points li + li { padding: 24px 0 22px; border-left: 0; }
  .points li + li { border-top: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .filter-name { width: 100%; }
  .filter { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .filter::-webkit-scrollbar { display: none; }
  .filter .filter-name { display: none; }
  .chip { flex: none; }
  .homes { border-radius: 28px; }
  .details div { flex-direction: column; gap: 2px; }
  .details dd { text-align: left; }
}
