/* css/pages/property.css */
.page-property {
  background: #f4f8fb;
}

.property-hero {
  padding-block: clamp(34px, 5vw, 74px);
  background: linear-gradient(135deg, #eefafd 0%, #fff 55%, #fff3f4 100%);
}

.property-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.62fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}

.property-eyebrow {
  margin: 0 0 12px;
  color: #e95262;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.property-hero h1 {
  max-width: 860px;
  margin: 0 0 20px;
  color: #31475c;
  font-size: clamp(38px, 5.2vw, 74px);
  line-height: 1.02;
}

.property-hero h1 strong {
  display: block;
  color: #e95262;
  font-size: 1.1em;
}

.property-hero__lead,
.property-risk {
  max-width: 720px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.55;
}

.property-address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  margin-block: 24px;
  color: #31475c;
}

.property-address span { font-size: 18px; }
.property-address strong { color: #2fb4c4; font-size: clamp(44px, 5vw, 70px); }

.property-hero__media {
  overflow: hidden;
  max-height: 720px;
  border-radius: 28px;
  box-shadow: 0 22px 70px rgb(31 61 84 / 20%);
}

.property-hero__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.property-details { padding-block: clamp(44px, 7vw, 92px); }
.property-details__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.property-panel,
.property-calculation__panel {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #dce9ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 48px rgb(30 65 88 / 8%);
}

.property-panel--wide { grid-column: 1 / -1; }
.property-panel h2,
.property-calculation h2 { margin-top: 0; color: #31475c; font-size: clamp(27px, 3vw, 40px); line-height: 1.15; }
.property-panel > p,
.property-panel > ul { font-size: 18px; line-height: 1.65; }
.property-panel > ul { display: grid; gap: 10px; padding-left: 24px; }
.property-expiry { margin-bottom: 0; color: #e95262; font-weight: 800; }

.property-application { padding-block: clamp(42px, 6vw, 74px); background: #fff; }
.property-form { max-width: 1040px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); border-radius: 28px; background: #f4f8fb; box-shadow: 0 18px 55px rgb(30 65 88 / 10%); }
.property-form__intro h2 { margin: 0 0 12px; color: #31475c; font-size: clamp(30px, 3.4vw, 46px); }
.property-form fieldset { margin: 26px 0; padding: 0; border: 0; }
.property-form legend { margin-bottom: 12px; color: #31475c; font-weight: 800; }
.property-form__choices,
.property-form__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.property-form__choices label { display: block; position: relative; }
.property-form__choices input { position: absolute; opacity: 0; }
.property-form__choices span { display: grid; gap: 4px; min-height: 92px; padding: 18px; border: 2px solid #d5e4eb; border-radius: 16px; background: #fff; cursor: pointer; }
.property-form__choices input:checked + span { border-color: #2fb4c4; box-shadow: 0 0 0 3px rgb(47 180 196 / 16%); }
.property-form__choices input:focus-visible + span { outline: 3px solid #3483ca; outline-offset: 3px; }
.property-form__choices small { color: #66798a; }
.property-form__fields label { display: grid; gap: 7px; color: #31475c; font-weight: 700; }
.property-form__fields input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1px solid #bacbd5; border-radius: 10px; background: #fff; }
.property-form__consent { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 15px; line-height: 1.45; }
.property-form__consent input { margin-top: 4px; }
.property-form__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.property-form__status { min-height: 1.5em; margin: 12px 0 0; color: #176f78; font-weight: 700; }
.property-form__mode { margin-bottom: 0; color: #66798a; font-size: 14px; }

.property-calculation { padding-block: clamp(48px, 7vw, 86px); background: #e9f8fb; }
.property-calculation__panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.property-calculation__panel p:last-child { max-width: 740px; margin-bottom: 0; font-size: 18px; line-height: 1.55; }

@media (max-width: 760px) {
  .property-hero__grid,
  .property-details__grid,
  .property-calculation__panel,
  .property-form__choices,
  .property-form__fields { grid-template-columns: 1fr; }
  .property-hero__media { max-width: 520px; }
  .property-panel--wide { grid-column: auto; }
  .property-address { align-items: center; }
}
