/*
Theme Name: Renturia
Theme URI: https://renturia.com/
Author: Renturia
Author URI: https://renturia.com/
Description: Custom theme for Renturia, a real-estate (inmobiliaria) site for the Valencian Community, Spain. Provides a Properties custom post type and is built to run multilingual (EN, ES, FR, DE, NO) via Polylang.
Version: 0.4.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: renturia
Tags: real-estate, custom-post-type, multilingual, translation-ready
*/

/* Global styles live in this file. Design system extracted from the
   Mediterranean mockup: tokens, base, layout helpers, buttons, header, hero,
   pre-footer and footer. Page-section styles (cards, etc.) come later. */

/* ------------------------------------------------------------------ */
/* Design tokens                                                       */
/* ------------------------------------------------------------------ */
:root {
	--orange: #ff8500;
	--orange-dark: #dd6f00;
	--ink: #1b2428;
	--muted: #6f7a80;
	--sand: #f7efe4;
	--cream: #fffaf3;
	--line: #eadfce;
	--white: #ffffff;
	--shadow: 0 22px 55px rgba(42, 32, 18, .12);
	--radius: 22px;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
body {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, sans-serif;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.serif { font-family: "Playfair Display", serif; }
.accent { color: var(--orange); font-style: italic; }
.eyebrow {
	color: var(--orange);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	margin-bottom: 12px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--orange);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 13px 22px;
	font: inherit;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 12px 28px rgba(255, 133, 0, .24);
	cursor: pointer;
	transition: background .2s ease;
}
.btn:hover { background: var(--orange-dark); }
.btn-outline {
	background: transparent;
	color: var(--orange);
	border: 1px solid var(--orange);
	box-shadow: none;
}
.btn-outline:hover { background: var(--orange); color: #fff; }

/* ------------------------------------------------------------------ */
/* Site header                                                         */
/* ------------------------------------------------------------------ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 250, 243, .86);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(234, 223, 206, .7);
}
.site-header .nav {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

/* Branding */
.site-branding { display: flex; align-items: center; }
.site-logo { display: inline-flex; }
.site-logo img { max-height: 52px; width: auto; }
.logo {
	font-size: 28px;
	font-weight: 800;
	color: var(--orange);
	letter-spacing: -.04em;
	text-transform: lowercase;
}

/* Right-hand cluster: nav + actions */
.nav-right {
	display: flex;
	align-items: center;
	gap: 34px;
}
.primary-nav .menu {
	display: flex;
	align-items: center;
	gap: 34px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	font-weight: 600;
}
.primary-nav .menu a { transition: color .2s ease; }
.primary-nav .menu a:hover,
.primary-nav .menu .current-menu-item > a { color: var(--orange); }

.header-actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* Pre-header — GTranslate language switcher */
.preheader {
	background: var(--ink);
	color: #fff;
}
.preheader-inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	min-height: 38px;
}
/* Container for GTranslate's [gtranslate] widget; its own markup/styling comes
   from the plugin (Settings › GTranslate). */
.preheader-lang { display: flex; align-items: center; }
.preheader-lang .gtranslate_wrapper { display: flex; align-items: center; flex-wrap: wrap; }
/* Round the 2D flag images and space them 10px apart. */
.preheader-lang img {
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	object-fit: cover !important;
	margin: 0 5px !important;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .35);
	vertical-align: middle;
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--ink);
	cursor: pointer;
	padding: 6px;
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
	position: relative;
	overflow: hidden;
	min-height: 720px;
	display: flex;
	align-items: center;
	/* Placeholder image from the mockup — replace with a hosted/featured image. */
	background:
		linear-gradient(90deg, var(--cream) 0%, var(--cream) 42%, rgba(255, 250, 243, .35) 68%),
		url('https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=1800&q=85') center right / cover;
}
.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 120px;
	background: linear-gradient(transparent, var(--cream));
}
.hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 430px;
	gap: 60px;
	align-items: center;
	padding: 80px 0;
}
.hero h1 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 76px;
	line-height: 1.04;
	letter-spacing: -.04em;
	max-width: 700px;
}
.hero-content > p {
	font-size: 20px;
	color: #344047;
	max-width: 520px;
	margin: 26px 0 30px;
}
.badges {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
	margin: 0 0 42px;
	color: #3b474c;
	font-weight: 600;
	font-size: 14px;
}
.badge { display: flex; align-items: center; gap: 10px; }
.badge .icon { color: var(--orange); font-size: 20px; }

.lead-card {
	background: rgba(255, 255, 255, .84);
	border: 1px solid rgba(255, 255, 255, .65);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-radius: 26px;
	padding: 30px;
	box-shadow: var(--shadow);
}
.lead-card h2 {
	font-family: "Playfair Display", serif;
	font-size: 27px;
	line-height: 1.15;
	margin-bottom: 10px;
}
.lead-card > p { font-size: 14px; margin: 0 0 18px; color: var(--muted); }
.lead-card label { display: block; }
.lead-card input,
.lead-card select,
.lead-card textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 13px 14px;
	margin-bottom: 12px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 13px;
}
.lead-card .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-card textarea { height: 82px; resize: none; }
.lead-card .btn { width: 100%; justify-content: center; border-radius: 10px; padding: 13px; }

/* ------------------------------------------------------------------ */
/* Pre-footer CTA                                                      */
/* ------------------------------------------------------------------ */
.pre-footer { padding: 64px 0; background: var(--cream); }
.pre-footer-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	border: 1px solid var(--line);
	border-radius: 28px;
	padding: 34px 40px;
	background: linear-gradient(90deg, #fff, #fff7ec);
	box-shadow: var(--shadow);
}
.pre-footer-text h2 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 32px;
	line-height: 1.1;
	margin: 0;
}
.pre-footer-text p { color: var(--muted); margin: 8px 0 0; }
.pre-footer-actions {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-wrap: wrap;
}
.pre-footer .phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: var(--ink);
}
.pre-footer .phone:hover { color: var(--orange); }
.pre-footer .phone svg { width: 20px; height: 20px; color: var(--orange); flex: none; }

/* ------------------------------------------------------------------ */
/* Site footer (light)                                                 */
/* ------------------------------------------------------------------ */
.site-footer {
	background: var(--sand);
	color: var(--ink);
	border-top: 1px solid var(--line);
	padding: 64px 0 28px;
}
.site-footer p,
.site-footer a { color: var(--muted); font-size: 14px; }
.site-footer a:hover { color: var(--orange); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr repeat(3, 1fr);
	gap: 50px;
}
.footer-logo {
	font-size: 34px;
	font-weight: 800;
	color: var(--orange);
	letter-spacing: -.04em;
	text-transform: lowercase;
	margin-bottom: 18px;
}
.footer-title { color: var(--ink); font-weight: 800; margin-bottom: 16px; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-bottom {
	border-top: 1px solid var(--line);
	margin-top: 44px;
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	color: var(--muted);
	font-size: 13px;
}

/* Keep footer off the very bottom on short pages */
.site-main { min-height: 40vh; }

/* ------------------------------------------------------------------ */
/* Properties archive                                                  */
/* ------------------------------------------------------------------ */
.properties-archive { padding: 72px 0 88px; }
.archive-head { max-width: 640px; margin-bottom: 40px; }
.archive-head h2 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 46px;
	line-height: 1.08;
	letter-spacing: -.03em;
	margin: 0;
}
.archive-head p { color: var(--muted); margin: 14px 0 0; font-size: 17px; }

/* Archive filter bar */
.property-filters {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
	margin-bottom: 36px;
	box-shadow: 0 14px 35px rgba(45, 36, 24, .06);
}
.property-filters__row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.property-filters__select,
.property-filters__price {
	flex: 1 1 160px;
	min-width: 130px;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 14px;
}
.property-filters__price { flex: 0 1 130px; }
.property-filters__submit { flex: 0 0 auto; border-radius: 10px; padding: 12px 22px; }
.property-filters__reset {
	flex: 0 0 auto;
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}
.property-filters__reset:hover { color: var(--orange); }
@media (max-width: 620px) {
	.property-filters__select,
	.property-filters__price,
	.property-filters__submit { flex: 1 1 100%; }
}

.property-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

/* ------------------------------------------------------------------ */
/* Featured properties (home)                                          */
/* ------------------------------------------------------------------ */
.featured-properties {
	padding: 88px 0;
	background: #fff7ec;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.featured-properties .property-grid { grid-template-columns: repeat(4, 1fr); }
.featured-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 40px;
}
.featured-head h2 {
	font-weight: 600;
	font-size: 42px;
	line-height: 1.08;
	letter-spacing: -.03em;
	margin: 6px 0 0;
}
@media (max-width: 620px) {
	.featured-properties { padding: 64px 0; }
	.featured-head h2 { font-size: 34px; }
}

/* ------------------------------------------------------------------ */
/* Valuation CTA (home)                                                */
/* ------------------------------------------------------------------ */
.valuation-cta { padding: 88px 0; }
.valuation-cta__grid {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 56px;
	align-items: center;
}
.valuation-cta__media {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.valuation-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 460px;
	object-fit: cover;
}
.valuation-cta__content h2 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 42px;
	line-height: 1.08;
	letter-spacing: -.03em;
	margin: 8px 0 0;
}
.valuation-cta__content p {
	color: var(--muted);
	font-size: 18px;
	margin: 16px 0 28px;
	max-width: 460px;
}
@media (max-width: 980px) {
	.valuation-cta__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 620px) {
	.valuation-cta { padding: 64px 0; }
	.valuation-cta__content h2 { font-size: 32px; }
}

/* Property card */
.property-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 35px rgba(45, 36, 24, .06);
	transition: transform .25s ease, box-shadow .25s ease;
	display: flex;
	flex-direction: column;
}
.property-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.property-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--sand);
	overflow: hidden;
}
.property-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.property-card:hover .property-card__media img { transform: scale(1.04); }
.property-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--sand), #efe2d3);
}
.property-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	background: rgba(27, 36, 40, .82);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	padding: 6px 12px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.property-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.property-card__price {
	color: var(--orange);
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.01em;
	margin: 0;
}
.property-card__title { font-size: 17px; line-height: 1.3; margin: 0; }
.property-card__title a { transition: color .2s ease; }
.property-card__title a:hover { color: var(--orange); }
.property-card__location {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--muted);
	font-size: 14px;
	margin: 0;
}
.property-card__pin { color: var(--orange); }
.property-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 12px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: 13px;
	color: var(--muted);
}
.property-card__specs strong { color: var(--ink); font-weight: 800; }

.properties-empty { color: var(--muted); font-size: 17px; }

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}
.pagination .nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-weight: 700;
	font-size: 14px;
	color: var(--ink);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pagination .page-numbers:hover { border-color: var(--orange); color: var(--orange); }
.pagination .page-numbers.current {
	background: var(--orange);
	border-color: var(--orange);
	color: #fff;
}
.pagination .page-numbers.dots { border: 0; background: transparent; }

/* ------------------------------------------------------------------ */
/* Single property                                                     */
/* ------------------------------------------------------------------ */
.single-property { padding: 0px 0 80px; }
.single-property__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	margin-bottom: 30px;
}
.single-property__heading h1 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 48px;
	line-height: 1.06;
	letter-spacing: -.03em;
	margin: 4px 0 0;
}
.single-property__location {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted);
	font-size: 16px;
	margin: 14px 0 0;
}
.single-property__price {
	color: var(--orange);
	font-weight: 800;
	font-size: 34px;
	letter-spacing: -.02em;
}
.single-property__price .price-prefix,
.single-property__price .price-postfix {
	font-size: 15px;
	font-weight: 600;
	color: var(--muted);
	letter-spacing: 0;
}
.single-property__price .price-old {
	display: inline-block;
	margin-left: 6px;
	font-size: 18px;
	font-weight: 600;
	color: var(--muted);
	text-decoration: line-through;
}

/* Gallery */
.property-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 14px;
	margin-bottom: 44px;
}
.property-gallery__main {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.property-gallery__main img {
	width: 100%;
	height: 100%;
	max-height: 520px;
	object-fit: cover;
}
.property-gallery__thumbs {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	gap: 14px;
}
.property-gallery__thumbs figure {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
}
.property-gallery__thumbs img {
	width: 100%;
	height: 100%;
	min-height: 120px;
	object-fit: cover;
}

/* Layout: content + sticky enquiry sidebar */
.single-property__layout {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 48px;
	align-items: start;
}

/* Key facts */
.property-facts {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 0 0 36px;
	padding: 0;
	list-style: none;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}
.property-facts li {
	padding: 22px 20px;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.property-facts__value {
	display: block;
	font-size: 24px;
	font-weight: 800;
	color: var(--ink);
}
.property-facts__label {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--muted);
}

.property-description {
	font-size: 17px;
	color: #344047;
	margin-bottom: 36px;
}
.property-description p { margin: 0 0 1em; }

.property-features { margin-bottom: 36px; }
.property-features h2 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 26px;
	margin: 0 0 18px;
}
.property-features__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.property-features__list li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	color: #344047;
}
.property-features__list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: -1px;
	color: var(--orange);
	font-weight: 800;
}

/* Additional details (Datos adicionales) */
.property-extra { margin-bottom: 36px; }
.property-extra h2 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 26px;
	margin: 0 0 18px;
}
.property-extra__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}
.property-extra__list li {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.property-extra__label { color: var(--muted); }
.property-extra__value { color: var(--ink); font-weight: 700; text-align: right; }

/* ------------------------------------------------------------------ */
/* Generic pages (backend Pages)                                       */
/* ------------------------------------------------------------------ */
.page-entry { padding: 72px 0 88px; }
.page-entry__head { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.page-entry__head h1 {
	font-family: "Playfair Display", serif;
	font-weight: 600;
	font-size: 46px;
	line-height: 1.08;
	letter-spacing: -.03em;
	margin: 0;
}
.page-entry__content { max-width: 760px; margin: 0 auto; font-size: 17px; line-height: 1.7; }
.page-entry__content p { margin: 0 0 20px; }
.page-entry__content h2 { font-family: "Playfair Display", serif; font-weight: 600; font-size: 30px; line-height: 1.15; margin: 36px 0 14px; }
.page-entry__content h3 { font-weight: 700; font-size: 21px; margin: 28px 0 12px; }
.page-entry__content ul,
.page-entry__content ol { margin: 0 0 20px; padding-left: 1.3em; }
.page-entry__content ul { list-style: disc; }
.page-entry__content ol { list-style: decimal; }
.page-entry__content li { margin: 0 0 8px; }
.page-entry__content a { color: var(--orange); font-weight: 600; text-decoration: underline; }
.page-entry__content a:hover { color: var(--orange-dark); }
.page-entry__content img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Single post cover image */
.single-post__cover {
	max-width: 900px;
	margin: 0 auto 36px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.single-post__cover img { display: block; width: 100%; height: auto; }

/* Two-column page layout (e.g. Contáctanos: details + map | form). */
.page-entry__content:has(.wp-block-columns) { max-width: 1080px; }
.page-entry__content .wp-block-columns {
	display: flex;
	flex-wrap: wrap;
	gap: 44px;
	align-items: flex-start;
}
.page-entry__content .wp-block-column { flex: 1 1 320px; min-width: 0; }
.page-entry__content .wp-block-column .lead-card { margin: 0; }

/* Trabaja con nosotros — application form */
.lead-card#trabaja { max-width: 560px; margin: 0 auto; }
.lead-card .form-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 16px;
	font-size: 11px;
	line-height: 1.4;
	color: var(--muted);
}
.lead-card .form-consent a { color: var(--orange); text-decoration: underline; }
.lead-card .form-consent input[type="checkbox"] {
	width: auto;
	flex: none;
	margin: 3px 0 0;
}

/* Posts grid (Actualidad) — 4 across, 2 on mobile */
.page-entry__content:has(.post-grid) { max-width: 1180px; }
.post-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}
.post-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 14px 35px rgba(45, 36, 24, .06);
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--sand);
}
.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s ease;
}
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card__date { color: var(--muted); font-size: 13px; }
.post-card__title { font-size: 17px; line-height: 1.25; margin: 0; }
.post-card__title a:hover { color: var(--orange); }
.post-card__excerpt {
	color: var(--muted);
	font-size: 14px;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
@media (max-width: 900px) {
	.post-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Embed container (e.g. the Statefox valuation widget in a Custom HTML block). */
.valuation-widget { min-height: 420px; margin-top: 8px; }

/* Contact map embed */
.contact-map {
	margin-top: 24px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	line-height: 0;
}
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }

@media (max-width: 620px) {
	.page-entry__head h1 { font-size: 34px; }
}

.property-taxonomies { color: var(--muted); font-size: 14px; }
.property-taxonomies a { color: var(--orange); font-weight: 600; }
.property-taxonomies a:hover { color: var(--orange-dark); }

/* Enquiry sidebar */
.single-property__aside { position: sticky; top: 100px; }
.enquiry-card {
	background: linear-gradient(180deg, #fff, #fff7ec);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow);
}
.enquiry-card__price {
	font-size: 28px;
	font-weight: 800;
	color: var(--orange);
	letter-spacing: -.02em;
}
.enquiry-card__ref { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.enquiry-card__lead { color: var(--muted); font-size: 14px; margin: 16px 0 20px; }
.enquiry-card .btn { width: 100%; justify-content: center; border-radius: 12px; }
.enquiry-card .phone {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 16px;
	font-weight: 800;
	color: var(--ink);
}
.enquiry-card .phone:hover { color: var(--orange); }
.enquiry-card .phone svg { width: 18px; height: 18px; color: var(--orange); flex: none; }

.single-property__back { margin-top: 48px; }
.single-property__back a { color: var(--orange); font-weight: 700; }
.single-property__back a:hover { color: var(--orange-dark); }

/* ------------------------------------------------------------------ */
/* Properties — responsive                                             */
/* ------------------------------------------------------------------ */
@media (max-width: 980px) {
	.property-grid,
	.featured-properties .property-grid { grid-template-columns: repeat(2, 1fr); }
	.single-property__layout { grid-template-columns: 1fr; gap: 36px; }
	.single-property__aside { position: static; }
	.property-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
	.property-grid,
	.featured-properties .property-grid { grid-template-columns: 1fr; }
	.archive-head h2 { font-size: 34px; }
	.single-property__heading h1 { font-size: 34px; }
	.single-property__price { font-size: 28px; }
	.property-gallery { grid-template-columns: 1fr; }
	.property-gallery__thumbs { grid-template-rows: none; grid-template-columns: repeat(4, 1fr); }
	.property-features__list { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 980px) {
	.menu-toggle { display: block; }

	.nav-right {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 22px 24px 28px;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
	}
	.nav-right.is-open { display: flex; }

	.primary-nav,
	.primary-nav .menu { width: 100%; }
	.primary-nav .menu { flex-direction: column; align-items: flex-start; gap: 16px; }

	.header-actions {
		width: 100%;
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

	.hero { min-height: auto; }
	.hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
	.hero h1 { font-size: 54px; }
}

@media (max-width: 620px) {
	.container { width: min(100% - 28px, 1180px); }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { display: grid; gap: 12px; }

	.hero h1 { font-size: 44px; }
	.hero-grid { gap: 30px; }
	.lead-card .two { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Floating WhatsApp button                                            */
/* ------------------------------------------------------------------ */
.whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
	transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
	color: #fff;
	transform: scale(1.08);
	box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
}
.whatsapp-float svg { width: 32px; height: 32px; }
@media (max-width: 620px) {
	.whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
	.whatsapp-float svg { width: 28px; height: 28px; }
}

/* ------------------------------------------------------------------ */
/* Form notices + honeypot                                             */
/* ------------------------------------------------------------------ */
.renturia-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-notice { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.form-notice--ok { background: #e8f6ec; border: 1px solid #b7e0c2; color: #1d6b32; }
.form-notice--error { background: #fdecec; border: 1px solid #f3c2c2; color: #a12626; }

/* ------------------------------------------------------------------ */
/* Cookie consent banner                                               */
/* ------------------------------------------------------------------ */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 950;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
	padding: 16px 24px;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 -8px 26px rgba(0, 0, 0, .18);
}
.cookie-banner__text { margin: 0; font-size: 13px; line-height: 1.5; max-width: 720px; }
.cookie-banner__text a { color: var(--orange); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn { padding: 10px 20px; font-size: 14px; box-shadow: none; }
.cookie-banner .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.cookie-banner .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 700px) {
	.cookie-banner { gap: 12px; padding: 14px 16px; }
	.cookie-banner__actions { width: 100%; }
	.cookie-banner .btn { flex: 1; justify-content: center; }
}
