/*
 * Ακίνητα Ελλάς: the honest listing. Deep slate, the warm stone of an Athens
 * façade, a brass line for what matters, the energy-class colours as the only
 * bright spots. A classic serif for the homes, a plain sans for the facts.
 */
body.dx-realestate {
	--slate: #22333f;
	--slate-2: #2f4858;
	--slate-3: #172430;
	--stone: #f4efe7;
	--stone-2: #e7ded1;
	--brass: #b48a4a;
	--brass-2: #9a7136;
	--ink: #1d262d;
	--muted: #5f6a72;
	--bg: var(--stone);
	--accent: var(--slate-2);
	--font-text: 'Manrope', system-ui, sans-serif;
	--font-display: 'Noto Serif', Georgia, serif;
	--step-head: clamp(2.1rem, 1.3rem + 2.8vw, 3.7rem);
	--step-lead: clamp(1.1rem, 1rem + .35vw, 1.28rem);
}
.dx-realestate .re-w { max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.dx-realestate section { padding-block: clamp(80px, 9vw, 140px); scroll-margin-top: 70px; }
.dx-realestate .re-head { max-width: 780px; margin-bottom: clamp(32px, 4vw, 52px); }
.dx-realestate .re-kick { margin-bottom: 14px; font: 700 12px/1 var(--font-text); letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.dx-realestate .re-h2 { font: 600 var(--step-head)/1.08 var(--font-display); letter-spacing: -.02em; text-wrap: balance; }
.dx-realestate .re-lead { margin-top: 18px; font-size: var(--step-lead); line-height: 1.6; color: var(--muted); max-width: 56ch; }
.dx-realestate .re-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--brass); color: #fff; font: 700 15px/1 var(--font-text); text-decoration: none; transition: background .2s, transform .2s var(--ease); }
.dx-realestate .re-btn:hover { background: var(--brass-2); transform: translateY(-2px); }
.dx-realestate .re-btn--s { min-height: 40px; padding: 0 16px; }
.dx-realestate .re-link { padding: 0; border: 0; background: none; color: var(--slate-2); font: 700 14.5px/1.3 var(--font-text); text-decoration: none; border-bottom: 1px solid var(--brass); cursor: pointer; }

.dx-realestate .re-nav { position: absolute; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; gap: 24px; padding: 20px var(--gutter); color: #fff; font: 600 14px/1 var(--font-text); }
.dx-realestate .re-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 22px/1 var(--font-display); text-decoration: none; }
.dx-realestate .re-brand svg { width: 26px; height: 26px; fill: var(--brass); }
.dx-realestate .re-menu { display: flex; gap: 24px; margin-left: auto; }
.dx-realestate .re-menu a { text-decoration: none; opacity: .88; }
.dx-realestate .re-menu a:hover { opacity: 1; color: #e3c48f; }
.dx-realestate .re-burger { display: none; color: inherit; }

/* ---- the hero: a home full-bleed, the search on it */
.dx-realestate .re-hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; padding: 120px var(--gutter) clamp(40px, 5vw, 80px); color: #fff; overflow: hidden; }
.dx-realestate .re-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dx-realestate .re-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(23, 36, 48, .55) 0%, rgba(23, 36, 48, .15) 35%, rgba(23, 36, 48, .85) 100%); }
.dx-realestate .re-hero__in { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; }
.dx-realestate .re-hero .re-kick { color: #e3c48f; }
.dx-realestate .re-hero h1 { max-width: 16ch; font: 600 clamp(2.6rem, 1.5rem + 4vw, 5.4rem)/1.02 var(--font-display); letter-spacing: -.025em; }
.dx-realestate .re-hero h1 em { font-style: italic; font-weight: 500; color: #e3c48f; }
.dx-realestate .re-hero__say { margin-top: 18px; max-width: 52ch; font-size: var(--step-lead); color: rgba(255, 255, 255, .85); }
.dx-realestate .re-quick { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; width: fit-content; max-width: 100%; margin-top: 30px; padding: 14px; border-radius: 12px; background: var(--stone); color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.dx-realestate .re-quick__f { display: grid; gap: 4px; font: 700 11px/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dx-realestate .re-quick select { min-width: 170px; min-height: 46px; padding: 0 10px; border: 1px solid var(--stone-2); border-radius: 6px; background: #fff; font: 600 15px var(--font-text); letter-spacing: 0; text-transform: none; color: var(--ink); }
.dx-realestate .re-seg { display: inline-flex; padding: 4px; border-radius: 8px; background: var(--stone-2); }
.dx-realestate .re-seg input { position: absolute; opacity: 0; pointer-events: none; }
.dx-realestate .re-seg span { display: inline-block; padding: 11px 16px; border-radius: 6px; font-weight: 700; cursor: pointer; }
.dx-realestate .re-seg input:checked + span { background: var(--slate); color: #fff; }
.dx-realestate .re-seg input:focus-visible + span { outline: 2px solid var(--brass); }

/* ---- the listings */
.dx-realestate .re-homes__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.dx-realestate .re-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.dx-realestate .re-filters select { min-height: 46px; padding: 0 12px; border: 1px solid var(--stone-2); border-radius: 8px; background: #fff; font: 600 14px var(--font-text); }
.dx-realestate .re-count { margin-bottom: 20px; font-weight: 600; color: var(--muted); }
.dx-realestate .re-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.dx-realestate .re-home { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -48px rgba(23, 36, 48, .7); transition: transform .3s var(--ease); }
.dx-realestate .re-home:hover { transform: translateY(-6px); }
.dx-realestate .re-home[hidden] { display: none; }
.dx-realestate .re-home figure { position: relative; margin: 0; }
.dx-realestate .re-home img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.dx-realestate .re-home figcaption { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 4px; background: var(--slate); color: #fff; font: 700 12px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.dx-realestate .re-home__b { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 20px 22px 22px; }
.dx-realestate .re-home__price { font: 700 24px/1 var(--font-display); color: var(--slate-2); }
.dx-realestate .re-home h3 { font: 600 19px/1.25 var(--font-display); }
.dx-realestate .re-home__where { color: var(--muted); font-weight: 600; }
.dx-realestate .re-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.dx-realestate .re-facts li { padding: 6px 9px; border-radius: 6px; background: var(--stone); font-size: 13px; font-weight: 600; }
.dx-realestate .re-energy { color: #fff; }
.dx-realestate .re-energy--Α { background: #2e9e4f !important; }
.dx-realestate .re-energy--Β { background: #7ab83f !important; }
.dx-realestate .re-energy--Γ { background: #d4b72a !important; }
.dx-realestate .re-energy--Δ { background: #e88a2a !important; }
.dx-realestate .re-energy--Ε { background: #d9542b !important; }
.dx-realestate .re-home__ok { font-size: 13.5px; font-weight: 700; color: #2e7d4a; }
.dx-realestate .re-home .re-link { margin-top: auto; align-self: start; }
.dx-realestate .re-none { margin-top: 20px; padding: 20px; border-radius: 10px; background: var(--stone-2); font-weight: 600; }

/* ---- the loan */
.dx-realestate .re-loan { background: var(--slate); color: #fff; }
.dx-realestate .re-loan .re-lead { color: rgba(255, 255, 255, .78); }
.dx-realestate .re-loan__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-realestate .re-calc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; padding: clamp(22px, 3vw, 38px); border-radius: 14px; background: var(--slate-3); border: 1px solid rgba(180, 138, 74, .35); }
.dx-realestate .re-calc label { display: grid; gap: 10px; font-weight: 700; font-size: 14px; color: rgba(255, 255, 255, .78); }
.dx-realestate .re-calc output { color: #fff; font: 700 18px/1 var(--font-display); }
.dx-realestate .re-calc input { width: 100%; accent-color: var(--brass); }
.dx-realestate .re-calc__out { grid-column: 1 / -1; display: grid; gap: 6px; padding: 22px; border-radius: 10px; background: var(--stone); color: var(--ink); text-align: center; }
.dx-realestate .re-calc__out p { font-weight: 700; color: var(--muted); }
.dx-realestate .re-calc__out b { font: 700 clamp(2.6rem, 2rem + 2vw, 3.8rem)/1 var(--font-display); color: var(--slate-2); }
.dx-realestate .re-calc__note { grid-column: 1 / -1; font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ---- selling: the steps */
.dx-realestate .re-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.dx-realestate .re-steps li { position: relative; padding: 24px 20px; border-radius: 12px; background: #fff; border-top: 3px solid var(--brass); }
.dx-realestate .re-steps span { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: var(--slate); color: #e3c48f; font: 700 16px/1 var(--font-display); }
.dx-realestate .re-steps h3 { font: 600 19px/1.2 var(--font-display); }
.dx-realestate .re-steps p { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* ---- about */
.dx-realestate .re-about { background: var(--stone-2); }
.dx-realestate .re-about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.dx-realestate .re-about figure { margin: 0; }
.dx-realestate .re-about img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.dx-realestate .re-ticks { display: grid; gap: 10px; margin: 24px 0 30px; }
.dx-realestate .re-ticks li::before { content: "— "; color: var(--brass); font-weight: 800; }
.dx-realestate .re-quotes { display: grid; gap: 10px; }
.dx-realestate .re-quotes blockquote { margin: 0; padding: 18px 20px; border-radius: 10px; background: #fff; }
.dx-realestate .re-quotes p { font: italic 500 18px/1.4 var(--font-display); }
.dx-realestate .re-quotes footer { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* ---- contact */
.dx-realestate .re-contact { background: var(--slate-3); color: #fff; }
.dx-realestate .re-contact .re-lead { color: rgba(255, 255, 255, .75); }
.dx-realestate .re-contact__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.dx-realestate .re-contact__tel a { display: inline-block; margin-top: 22px; font: 700 clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem)/1 var(--font-display); color: #e3c48f; text-decoration: none; }
.dx-realestate .re-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: clamp(22px, 3vw, 38px); border-radius: 14px; background: var(--stone); color: var(--ink); }
.dx-realestate .re-form label { display: grid; gap: 6px; font-weight: 700; font-size: 13.5px; }
.dx-realestate .re-form label:first-child, .dx-realestate .re-form__wide { grid-column: 1 / -1; }
.dx-realestate .re-form input, .dx-realestate .re-form select, .dx-realestate .re-form textarea { width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid var(--stone-2); border-radius: 8px; background: #fff; font: 500 16px var(--font-text); }
.dx-realestate .re-form .re-btn { justify-self: start; }
.dx-realestate .re-form .dx-note { grid-column: 1 / -1; }

.dx-realestate .re-foot { padding: clamp(44px, 5vw, 72px) 0 32px; background: #0f1922; color: rgba(255, 255, 255, .7); }
.dx-realestate .re-foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; align-items: end; }
.dx-realestate .re-foot__name { font: 600 clamp(2rem, 1.3rem + 2vw, 3.2rem)/1 var(--font-display); color: #fff; }
.dx-realestate .re-foot a { color: #e3c48f; text-decoration: none; font-weight: 700; }

@media (max-width: 960px) {
	.dx-realestate .re-menu, .dx-realestate .re-nav .re-btn--s { display: none; }
	.dx-realestate .re-burger { display: grid; place-items: center; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; }
	.dx-realestate .re-burger span, .dx-realestate .re-burger span::before, .dx-realestate .re-burger span::after { display: block; width: 22px; height: 2px; background: currentColor; }
	.dx-realestate .re-burger span { position: relative; }
	.dx-realestate .re-burger span::before, .dx-realestate .re-burger span::after { content: ""; position: absolute; left: 0; }
	.dx-realestate .re-burger span::before { top: -7px; }
	.dx-realestate .re-burger span::after { top: 7px; }
	.dx-realestate .re-nav.is-open { position: fixed; background: var(--slate-3); }
	.dx-realestate .re-nav.is-open .re-menu { display: grid; position: absolute; top: 100%; left: 0; right: 0; padding: 8px var(--gutter) 20px; background: var(--slate-3); }
	.dx-realestate .re-nav.is-open .re-menu a { padding: 12px 0; font-size: 20px; }
	.dx-realestate .re-quick { width: 100%; }
	.dx-realestate .re-quick__f, .dx-realestate .re-quick select { width: 100%; }
	.dx-realestate .re-loan__grid, .dx-realestate .re-about__grid, .dx-realestate .re-contact__grid { grid-template-columns: minmax(0, 1fr); }
	.dx-realestate .re-calc, .dx-realestate .re-form { grid-template-columns: minmax(0, 1fr); }
	.dx-realestate .re-steps { grid-template-columns: minmax(0, 1fr); }
	.dx-realestate .re-foot__grid { grid-template-columns: minmax(0, 1fr); }
}
