/* "Τιμές ακινήτων" (prices.html). Built on styles.css (Version A tokens) and mix.css; the header is
   rewize.com's (rewize-old.css). rewize.com's index and method, concept layout with a calculator. */

.mix main h1, .mix main h2 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn svg { width: 16px; height: 16px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--tile); filter: none; }
.pr-num, .pr-row__val, .pr-top__value, .pr-calc__value { font-variant-numeric: tabular-nums; }

/* ---------- Breadcrumbs ---------- */

.pr-crumbs { padding-top: 24px; }
.pr-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 13px; color: var(--muted); }
.pr-crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--faint); }
.pr-crumbs a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.pr-crumbs [aria-current] { color: var(--ink); font-weight: 500; }

/* ---------- Head ---------- */

.pr-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; padding-block: 48px 56px; }
.pr-head__text { display: flex; flex-direction: column; gap: 20px; }
.pr-head h1 { margin: 0; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.pr-head h1 .soft { display: block; }
.pr-lead { margin: 0; max-width: 54ch; font-size: 17px; line-height: 1.65; font-weight: 300; color: var(--ink-soft); }
.pr-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pr-badges li { padding: 7px 14px; border-radius: 999px; background: var(--tile); font-size: 13px; color: var(--muted); }
.pr-badges b { font-weight: 600; color: var(--ink); }
.pr-badges a { color: var(--accent-ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

.pr-tops { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-top { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s ease, transform 0.2s ease; }
.pr-top:hover { border-color: var(--accent); transform: translateY(-2px); }
.pr-top--dear { grid-column: 1 / -1; background: var(--panel); border-color: var(--panel); color: var(--panel-ink); }
.pr-top__name { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.pr-top__name em { display: block; margin-bottom: 2px; font-style: normal; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.pr-top--dear .pr-top__name { color: var(--panel-ink); }
.pr-top__value { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; color: var(--accent-ink); }
.pr-top--dear .pr-top__value { color: #FFFFFF; }
.pr-top__value small { font-size: 0.45em; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.pr-top--dear .pr-top__value small, .pr-top--dear .pr-top__meta { color: var(--panel-muted); }
.pr-top__meta { font-size: 13px; color: var(--muted); }

/* ---------- Calculator ---------- */

.pr-calc__box { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border-radius: 32px; overflow: hidden; background: var(--chip); }
.pr-calc__ask { display: flex; flex-direction: column; gap: 18px; padding: 40px; }
.pr-calc h2 { margin: 0; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; font-weight: 600; letter-spacing: -0.025em; }
.pr-calc h2 .soft { display: block; }
.pr-calc__mode { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--surface); }
.pr-calc__mode label { position: relative; padding: 9px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; text-align: center; cursor: pointer; color: var(--muted); }
.pr-calc__mode input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pr-calc__mode label:has(input:checked) { background: var(--btn); color: var(--btn-ink); }
.pr-calc__mode label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.pr-calc__fields { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 12px; }
.pr-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pr-field select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.pr-field > span { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.pr-field select, .pr-sqm {
  height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid transparent; background: var(--surface);
  font-size: 16px; color: var(--ink);
}
.pr-field select { appearance: none; padding-right: 40px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7F76' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; cursor: pointer; }
.pr-sqm { display: flex; align-items: center; gap: 6px; }
.pr-sqm input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 16px; font-weight: 500; outline: none; -moz-appearance: textfield; }
.pr-sqm input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pr-sqm i { font-style: normal; font-size: 14px; color: var(--muted); }
.pr-field select:focus-visible, .pr-sqm:focus-within { border-color: var(--accent); outline: none; }
.pr-range { width: 100%; accent-color: var(--accent-ink); }

.pr-calc__out { display: flex; flex-direction: column; gap: 8px; padding: 40px; background: var(--panel); color: var(--panel-ink); }
.pr-calc__label { font-size: 14px; color: var(--panel-muted); }
.pr-calc__value { font-size: clamp(44px, 5vw, 68px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.pr-calc__value small { font-size: 0.35em; font-weight: 400; letter-spacing: 0; color: var(--panel-muted); }
.pr-calc__span { font-size: 16px; color: var(--panel-ink); }
.pr-calc__bar { position: relative; height: 10px; margin: 10px 0 4px; border-radius: 99px; background: rgba(255, 255, 255, 0.12); }
.pr-calc__bar span { position: absolute; inset: 0; border-radius: 99px; background: linear-gradient(90deg, rgba(57, 171, 180, 0.35), rgba(57, 171, 180, 0.85)); }
.pr-calc__bar i { position: absolute; top: 50%; width: 18px; height: 18px; margin-left: -9px; transform: translateY(-50%); border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 0 4px rgba(37, 118, 124, 0.4); transition: left 0.3s ease; }
.pr-calc__fine { margin: 6px 0 0; font-size: 13px; line-height: 1.55; color: var(--panel-muted); }
.pr-calc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: auto; padding-top: 18px; }
.pr-calc__own { font-size: 14px; font-weight: 500; color: var(--accent); }
.pr-calc__own:hover { color: #FFFFFF; }

/* ---------- Tables ---------- */

.pr-table { padding-top: 104px; }
.pr-table__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: 24px; }
.pr-table__head > div:first-child { max-width: 660px; }
.pr-table h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.pr-table__head p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--ink-soft); }
.pr-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-chips button { height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.pr-chips button:hover { border-color: var(--accent); }
.pr-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pr-sort select { height: 38px; padding: 0 34px 0 14px; border-radius: 999px; border: 1px solid var(--line); appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; font-size: 13px; font-weight: 500; cursor: pointer; }

.pr-rows { border-top: 1px solid var(--line); }
.pr-axis, .pr-row__main { display: grid; grid-template-columns: minmax(170px, 1.1fr) minmax(0, 2fr) 150px 28px; gap: 24px; align-items: center; }
.pr-axis { padding: 10px 12px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.pr-axis__track { position: relative; height: 14px; }
.pr-axis__track span { position: absolute; transform: translateX(-50%); white-space: nowrap; letter-spacing: 0; text-transform: none; font-weight: 400; }
.pr-axis__r { grid-column: 3 / 5; text-align: right; }
.pr-row { border-bottom: 1px solid var(--line); }
.pr-row__main { width: 100%; padding: 14px 12px; border: 0; border-radius: 16px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.pr-row__main:hover { background: var(--tile); }
.pr-row.is-open .pr-row__main { background: var(--tile); border-radius: 16px 16px 0 0; }
.pr-row__name { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pr-row__name b { font-size: 16px; font-weight: 500; }
.pr-row__name small { font-size: 12.5px; color: var(--muted); }
.pr-row__track { position: relative; height: 12px; border-radius: 99px; background: linear-gradient(90deg, var(--tile), var(--tile)) center / 100% 2px no-repeat; }
.pr-row__main:hover .pr-row__track, .pr-row.is-open .pr-row__track { background-image: linear-gradient(90deg, var(--line), var(--line)); }
.pr-row__track i { position: absolute; top: 0; height: 12px; border-radius: 99px; background: rgba(37, 118, 124, 0.28); }
.pr-row__track b { position: absolute; top: 50%; width: 14px; height: 14px; margin-left: -7px; transform: translateY(-50%); border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 3px var(--page); }
.pr-row__main:hover .pr-row__track b, .pr-row.is-open .pr-row__track b { box-shadow: 0 0 0 3px var(--tile); }
.pr-row__val { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.pr-row__val b { font-size: 17px; font-weight: 600; }
.pr-row__val small { font-size: 12px; color: var(--muted); }
.pr-row__chev { width: 28px; height: 28px; border-radius: 50%; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7F76' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 16px; border: 1px solid var(--line); transition: transform 0.2s ease; }
.pr-row.is-open .pr-row__chev { transform: rotate(180deg); }

.pr-row__more { padding: 6px 12px 24px; border-radius: 0 0 16px 16px; background: var(--tile); }
.pr-more__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr-more__facts > div { padding: 14px 16px; border-radius: 14px; background: var(--surface); }
.pr-more__facts span { display: block; font-size: 12px; color: var(--muted); }
.pr-more__facts b { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.pr-row__more h4 { margin: 20px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pr-hoods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.pr-hoods a { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid transparent; }
.pr-hoods a:hover { border-color: var(--accent); }
.pr-hoods span { font-size: 15px; font-weight: 500; }
.pr-hoods em { margin-left: 8px; padding: 2px 7px; border-radius: 99px; background: var(--chip); font-style: normal; font-size: 11px; font-weight: 500; color: var(--chip-ink); vertical-align: 1px; }
.pr-hoods b { font-size: 15px; font-weight: 600; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.pr-hoods small { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.pr-hoods__none { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.pr-more__links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 20px; }
.pr-more__links .btn { height: 42px; font-size: 14px; }
.pr-more__calc { border: 0; background: none; padding: 0; font: inherit; font-size: 14px; font-weight: 500; color: var(--accent-ink); cursor: pointer; }
.pr-more__calc:hover { text-decoration: underline; text-underline-offset: 3px; }
.pr-empty { padding: 24px 12px; color: var(--muted); }

/* ---------- Method ---------- */

.pr-method { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; padding-top: 120px; }
.pr-method__text { display: flex; flex-direction: column; gap: 14px; }
.pr-method h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.pr-method__list { margin: 10px 0 0; }
.pr-method__list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); }
.pr-method__list dt { font-size: 14px; font-weight: 600; }
.pr-method__list dd { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--ink-soft); }
.pr-cite { position: sticky; top: calc(var(--hdr, 0px) + 24px); transition: top .3s ease; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 28px; border: 1px solid var(--line); background: var(--surface); }
.pr-cite h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.pr-cite p { margin: 0; font-size: 15px; line-height: 1.6; font-weight: 300; color: var(--ink-soft); }
.pr-cite__text { margin: 0; padding: 14px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--tile); font-size: 14px; line-height: 1.5; }
.pr-cite__copy { align-self: flex-start; height: 42px; font-size: 14px; }
.pr-cite__copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Owners ---------- */

.pr-cta { padding-block: 104px 96px; }
.pr-cta__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding: 44px; border-radius: 32px; background: var(--chip); }
.pr-cta__box > div:first-child { max-width: 620px; }
.pr-cta h2 { margin: 0 0 12px; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; font-weight: 600; letter-spacing: -0.03em; }
.pr-cta p { margin: 0; font-size: 16px; line-height: 1.65; font-weight: 300; color: var(--ink-soft); }
.pr-cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.pr-cta__link { font-size: 15px; font-weight: 500; color: var(--accent-ink); }
.pr-cta__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .pr-head { grid-template-columns: 1fr; align-items: start; }
  .pr-calc__box { grid-template-columns: 1fr; }
  .pr-method { grid-template-columns: 1fr; }
  .pr-cite { position: static; }
}

@media (max-width: 760px) {
  .pr-crumbs { padding-top: 16px; }
  .pr-head { padding-block: 28px 40px; gap: 28px; }
  .pr-lead { font-size: 16px; }
  .pr-top { padding: 18px; border-radius: 20px; }
  .pr-calc__box { border-radius: 24px; }
  .pr-calc__ask, .pr-calc__out { padding: 26px 22px; }
  .pr-calc__fields { grid-template-columns: 1fr; }
  .pr-field--sqm { max-width: 160px; }
  .pr-table { padding-top: 72px; }
  .pr-axis { display: none; }
  .pr-row__main { grid-template-columns: minmax(0, 1fr) auto 24px; grid-template-areas: "name val chev" "track track track"; gap: 10px 12px; padding: 14px 4px; }
  .pr-row__name { grid-area: name; }
  .pr-row__val { grid-area: val; }
  .pr-row__chev { grid-area: chev; width: 24px; height: 24px; }
  .pr-row__track { grid-area: track; }
  .pr-row__more { padding: 6px 4px 20px; }
  .pr-more__facts { grid-template-columns: 1fr; gap: 6px; }
  .pr-more__facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .pr-hoods { grid-template-columns: 1fr; }
  .pr-method { padding-top: 80px; }
  .pr-method__list > div { grid-template-columns: 1fr; gap: 4px; }
  .pr-cta { padding-block: 72px 64px; }
  .pr-cta__box { padding: 28px 22px; border-radius: 24px; }
}
