/* Filled actions share lime at rest and the original forest green on interaction. */
:root {
  --green: #245c44;
  --action: #245c44;
  --action-ink: #183d2e;
  --highlight: #d4ef7d;
  --action-hover: var(--action);
  --action-pressed: var(--action-ink);
  --enquiry-surface: #193c32;
  --quiet-surface: #f6f5f0;
}

.header-call,
.header-call:hover,
.listing-cta,
.listing-cta:hover,
.button-primary,
.button-primary:hover,
.enquiry-submit,
.enquiry-submit:hover {
  background: var(--highlight);
  border-color: var(--highlight);
  color: var(--action-ink);
}
.header-actions .header-contact { border-color: var(--action); color: var(--action-ink); }
.filters button.is-active { background: var(--highlight); border-color: var(--highlight); color: var(--action-ink); }
.landscape-stats { background: var(--quiet-surface); }
/* Press separates the city film from the full-width map; no title strip is needed. */
.map-section { padding-top: 0; background: var(--paper); }
.project-card .photo-arrow { color: var(--action); }
.project-card .gallery-pagination button[aria-pressed=true]:before,
.project-card .gallery-pagination button:hover:before { background: var(--action); }

/* A single panel, with the fields directly on its surface. Typography is retained. */
.availability {
  margin: 64px 24px 0;
  padding: 64px max(32px, calc(var(--gutter) - 24px));
  border-radius: 24px;
  background-color: var(--enquiry-surface);
  background-image: linear-gradient(90deg, #193c3238 0%, #193c32ef 62%), url('/__l5e/assets-v1/6c6790a6-58dc-48a9-bdf3-245ec3d120b2/enquiry-leaves.webp');
  background-blend-mode: normal, multiply;
  background-size: cover;
  background-position: left bottom;
  background-repeat: no-repeat;
  color: #f7f8f3;
}
.availability-title { padding-top: 0; }
.enquiry-form { padding: 0; border-radius: 0; background: transparent; color: inherit; }
.enquiry-form input:not([type=checkbox]),
.enquiry-form select { background: #f7f8f3; border-color: #f7f8f3; color: var(--ink); }
.enquiry-form input::placeholder { color: #62665f; }
.enquiry-form input:focus,
.enquiry-form select:focus { outline-color: #d4ef7d; }
.form-consent input { accent-color: var(--action); }
.form-context { border-color: #ffffff36; }
.form-preview-note { color: #c5d1cb; }
.form-status { background: #f7f8f3; color: var(--ink); }

.header-call,
.header-actions .header-contact,
.listing-cta,
.enquiry-submit,
.filters button,
.project-card .photo-arrow,
.button {
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.listing-cta > span,
.enquiry-submit > span,
.header-contact > span,
.direction-label > span,
.text-link > span,
.button > span { display: inline-block; transition: transform .2s ease; }
.project-card .project-image img { transition: transform .7s ease; }

@media (hover:hover) and (pointer:fine) {
  .header-actions .header-contact:hover,
  .button-white:hover,
  .button-outline:hover,
  .filters button:hover:not(.is-active),
  .project-card .photo-arrow:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    color: var(--action-ink);
  }
  .header-call:hover,
  .listing-cta:hover,
  .button-primary:hover,
  .enquiry-submit:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
  .button:hover { transform: none; }
  .map-activate:hover { transform: translate(-50%, -50%); }
  .listing-cta:hover > span,
  .enquiry-submit:hover > span,
  .header-contact:hover > span,
  .direction-card:hover .direction-label > span,
  .text-link:hover > span { transform: translate(3px, -3px); }
  .button:hover > span { transform: translateY(3px); }
  .map-activate:hover > span { transform: translate(3px, -3px); }
  .project-card .project-image:hover img { transform: scale(1.035); }
}

.header-actions .header-contact:active,
.button:active { background: var(--highlight); color: var(--action-ink); border-color: var(--highlight); }
.header-call:focus-visible,
.listing-cta:focus-visible,
.button-primary:focus-visible,
.enquiry-submit:focus-visible { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
.header-call:active,
.listing-cta:active,
.button-primary:active,
.enquiry-submit:active { background: var(--action-pressed); border-color: var(--action-pressed); color: #fff; }
button:focus-visible,
a:focus-visible,
summary:focus-visible { outline-color: var(--action); }
.hero a:focus-visible,
.day-journey a:focus-visible,
.day-journey button:focus-visible,
.availability a:focus-visible,
.availability button:focus-visible { outline-color: var(--highlight); }

@media (max-width:780px) {
  .availability { margin: 48px 16px 0; padding: 40px 32px; }
}
@media (max-width:650px) {
  .availability { margin: 40px 12px 0; padding: 36px 22px; border-radius: 20px; }
}
@media (max-width:360px) {
  .availability { padding-inline: 18px; }
}
@media (prefers-reduced-motion:reduce) {
  .header-call, .header-contact, .listing-cta, .enquiry-submit, .filters button,
  .project-card .photo-arrow, .button, .listing-cta > span, .enquiry-submit > span,
  .header-contact > span, .direction-label > span, .text-link > span, .button > span,
  .project-card .project-image img, .direction-photo img { transition: none; }
  .listing-cta:hover > span, .enquiry-submit:hover > span, .header-contact:hover > span,
  .direction-card:hover .direction-label > span, .text-link:hover > span, .button:hover > span,
  .project-card .project-image:hover img, .direction-card:hover img { transform: none; }
}

