/*
Theme Name: Hausstar
Theme URI: https://hausstar.es/
Author: Hausstar
Description: Tema ligero a medida para Hausstar (nuda propiedad y venta de inmuebles). Sustituye a Divi. Compatible con Estatik PRO, Rank Math, Site Kit y Termly.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: hausstar
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #16130f;
	--ink-2: #3a342c;
	--muted: #6b6358;
	--line: #e8e1d6;
	--cream: #f6f2ec;
	--cream-2: #efe8dd;
	--paper: #ffffff;
	--gold: #e4a039;
	--gold-2: #d18d24;
	--gold-ink: #9a6418;
	--dark: #14110d;
	--dark-2: #1f1a14;
	--ok: #2f7d4f;
	--err: #b3261e;

	--font-head: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgba(22, 19, 15, .04), 0 8px 24px -8px rgba(22, 19, 15, .12);
	--shadow-lg: 0 2px 6px rgba(22, 19, 15, .05), 0 24px 48px -16px rgba(22, 19, 15, .22);

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--sec: clamp(64px, 9vw, 120px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink-2);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.hs-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.hs-skip:focus { left: 8px; }
.hs-container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hs-narrow { max-width: calc(760px + 2 * var(--gutter)); }
.hs-icon { width: 1.25em; height: 1.25em; flex: none; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }

/* Typography helpers */
.hs-eyebrow { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; display: inline-flex; align-items: center; gap: 10px; }
.hs-eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; }
.hs-eyebrow--light { color: var(--gold); }
.hs-h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 500; }
.hs-h4 { font-size: 21px; font-weight: 500; }
.hs-lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 62ch; }
.hs-note { font-size: 14px; color: var(--muted); font-style: italic; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.hs-btn {
	--bg: var(--ink); --fg: #fff; --bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px; border-radius: 999px;
	background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
	font: 600 15px/1.2 var(--font-body); letter-spacing: .01em; text-decoration: none;
	cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.hs-btn .hs-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.hs-btn:hover { transform: translateY(-1px); color: var(--fg); }
.hs-btn:hover .hs-icon { transform: translateX(3px); }
.hs-btn--primary { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); box-shadow: 0 8px 20px -8px rgba(228, 160, 57, .7); }
.hs-btn--primary:hover { --bg: var(--gold-2); --bd: var(--gold-2); }
.hs-btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.hs-btn--dark:hover { --bg: #000; }
.hs-btn--outline { --bg: transparent; --fg: var(--ink); --bd: rgba(22, 19, 15, .25); }
.hs-btn--outline:hover { --bd: var(--ink); }
.hs-btn--ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; --bd: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.hs-btn--ghost-light:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; }
.hs-btn--link { --bg: transparent; --fg: var(--ink); --bd: transparent; padding: 8px 0; min-height: 0; border-radius: 0; }
.hs-btn--link span { border-bottom: 1.5px solid var(--gold); }
.hs-btn--sm { min-height: 42px; padding: 10px 18px; font-size: 14px; }
.hs-btn--block { width: 100%; }
.hs-btn.is-loading { opacity: .7; pointer-events: none; }
.hs-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hs-actions--center { justify-content: center; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.hs-topbar { background: var(--dark); color: rgba(255, 255, 255, .72); font-size: 13px; }
.hs-topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.hs-topbar__links { display: flex; gap: 22px; }
.hs-topbar a { color: rgba(255, 255, 255, .85); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.hs-topbar a:hover { color: var(--gold); }
.hs-topbar .hs-icon { width: 15px; height: 15px; color: var(--gold); }

.hs-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
/* Blur lives on a pseudo-element: a backdrop-filter on the header itself would trap the fixed mobile menu inside it. */
.hs-header::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); pointer-events: none; }
.is-scrolled .hs-header { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 19, 15, .35); }
.admin-bar .hs-header { top: 32px; }
.hs-header__inner { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.hs-logo img { height: 42px; width: auto; }
.hs-logo--footer img { height: 40px; }

.hs-nav { margin-left: auto; }
.hs-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.hs-menu > li { position: relative; display: flex; align-items: center; }
.hs-menu a { display: block; padding: 10px 14px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 999px; transition: background .2s, color .2s; }
.hs-menu > li > a:hover, .hs-menu > .current-menu-item > a, .hs-menu > .current-menu-ancestor > a, .hs-menu > .current_page_parent > a { background: var(--cream); }
.hs-menu > .current-menu-item > a, .hs-menu > .current-menu-ancestor > a { color: var(--gold-ink); }
.hs-menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.hs-menu .sub-menu a { border-radius: var(--r-sm); padding: 10px 14px; font-size: 15px; }
.hs-menu .sub-menu a:hover { background: var(--cream); }
.hs-menu > li:hover > .sub-menu, .hs-menu > li:focus-within > .sub-menu, .hs-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.hs-sub-toggle { background: none; border: 0; padding: 6px; margin-left: -10px; color: var(--muted); cursor: pointer; display: inline-flex; }
.hs-sub-toggle .hs-icon { width: 16px; height: 16px; transition: transform .2s; }
.is-open > .hs-sub-toggle .hs-icon { transform: rotate(180deg); }

.hs-header__actions { display: flex; align-items: center; gap: 10px; }
.hs-header__phone { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); color: var(--ink); }
.hs-header__phone:hover { border-color: var(--ink); color: var(--ink); }
.hs-header__phone .hs-icon { width: 18px; height: 18px; }
.hs-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.hs-burger .is-close { display: none; }
.nav-open .hs-burger .is-open { display: none; }
.nav-open .hs-burger .is-close { display: block; }
.hs-nav__mobile-extra { display: none; }

@media (max-width: 1080px) {
	.hs-topbar__claim { display: none; }
	.hs-topbar__inner { justify-content: center; }
	.hs-burger { display: inline-flex; }
	.hs-header__cta { display: none; }
	.hs-nav { position: fixed; inset: 0; top: 0; height: 100vh; height: 100dvh; background: #fff; z-index: -1; padding: 140px var(--gutter) 32px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease); }
	.nav-open .hs-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.hs-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.hs-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.hs-menu > li > a { flex: 1; font-size: 22px; font-family: var(--font-head); padding: 16px 4px; border-radius: 0; background: none !important; }
	.hs-sub-toggle { margin: 0; padding: 12px; }
	.hs-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 8px; display: none; width: 100%; min-width: 0; }
	.hs-menu > li.is-open > .sub-menu { display: block; }
	.hs-menu .sub-menu a { font-size: 17px; color: var(--muted); }
	.hs-nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
}
@media (max-width: 782px) { .admin-bar .hs-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hs-header { top: 0; } .hs-topbar__links a:last-child { display: none; } .hs-logo img { height: 36px; } .hs-header__inner { min-height: 68px; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hs-hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark); }
.hs-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.03); animation: hs-zoom 14s var(--ease) forwards; }
.hs-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 11, 8, .88) 0%, rgba(14, 11, 8, .62) 45%, rgba(14, 11, 8, .2) 100%), linear-gradient(0deg, rgba(14, 11, 8, .55), transparent 40%); }
.hs-hero__inner { padding-top: clamp(96px, 14vw, 180px); padding-bottom: clamp(80px, 11vw, 150px); }
.hs-hero--md .hs-hero__inner { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); text-align: center; }
.hs-hero--md .hs-hero__lead { margin-left: auto; margin-right: auto; }
.hs-hero--md .hs-actions { justify-content: center; }
.hs-hero__title { color: #fff; font-size: clamp(40px, 6.6vw, 80px); font-weight: 500; line-height: 1.02; letter-spacing: -.025em; max-width: 14ch; margin-bottom: 22px; }
.hs-hero--md .hs-hero__title { margin-left: auto; margin-right: auto; }
.hs-hero__lead { font-size: clamp(17px, 1.8vw, 21px); color: rgba(255, 255, 255, .82); max-width: 54ch; }
.hs-trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hs-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hs-trust .hs-icon { color: var(--gold); width: 18px; height: 18px; }
@keyframes hs-zoom { to { transform: scale(1); } }

/* Light page header */
.hs-pagehead { background: var(--cream); padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.hs-pagehead::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 160, 57, .22), transparent); pointer-events: none; }
.hs-pagehead__title { font-size: clamp(38px, 6vw, 72px); letter-spacing: -.025em; margin-bottom: 14px; max-width: 18ch; }
.hs-pagehead__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; margin: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */
.hs-section { padding: var(--sec) 0; }
.hs-section--tight { padding: clamp(40px, 6vw, 72px) 0 var(--sec); }
.hs-section--cream { background: var(--cream); }
.hs-section--dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.hs-section--dark .hs-h2 { color: #fff; }
.hs-section--dark .hs-lead { color: rgba(255, 255, 255, .7); }

.hs-heading { margin-bottom: clamp(32px, 4vw, 56px); }
.hs-heading--center { text-align: center; }
.hs-heading--center .hs-lead { margin-left: auto; margin-right: auto; }
.hs-heading--center .hs-eyebrow { justify-content: center; }
.hs-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.hs-heading-row .hs-heading { margin-bottom: 0; }

.hs-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.hs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hs-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .hs-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hs-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .hs-grid--4, .hs-grid--3 { grid-template-columns: 1fr; } }

/* Feature + service cards */
.hs-feature, .hs-service { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.hs-section--cream .hs-feature { border-color: transparent; }
.hs-feature p, .hs-service p { color: var(--muted); font-size: 16px; margin: 0; }
.hs-feature__icon { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--cream); color: var(--gold-ink); margin-bottom: 22px; }
.hs-feature__icon .hs-icon { width: 26px; height: 26px; }
.hs-service { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.hs-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.hs-service:hover .hs-feature__icon { background: var(--gold); color: var(--ink); }
.hs-service__more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.hs-service__more .hs-icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.hs-service:hover .hs-service__more .hs-icon { transform: translateX(4px); }

/* Split */
.hs-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hs-split--reverse .hs-split__media { order: -1; }
.hs-split__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.hs-split__media img { width: 100%; height: 100%; object-fit: cover; }
.hs-split .hs-heading { margin-bottom: 20px; }
.hs-prose { font-size: 17px; }
.hs-prose p { color: var(--ink-2); }
@media (max-width: 900px) { .hs-split { grid-template-columns: 1fr; } .hs-split--reverse .hs-split__media { order: 0; } }

/* Band */
.hs-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; padding: clamp(80px, 11vw, 140px) 0; }
.hs-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hs-band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 11, 8, .9), rgba(14, 11, 8, .55)); }
.hs-band .hs-h2 { color: #fff; max-width: 18ch; }
.hs-band__body { max-width: 60ch; color: rgba(255, 255, 255, .82); font-size: 18px; }

/* Steps */
.hs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); counter-reset: none; }
.hs-step { background: #fff; border-radius: var(--r); padding: 32px 28px 28px; position: relative; overflow: hidden; }
.hs-step::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent); }
.hs-step__num { display: block; font-family: var(--font-head); font-size: 64px; font-weight: 300; line-height: 1; color: var(--gold); margin-bottom: 18px; }
@media (max-width: 900px) { .hs-steps { grid-template-columns: 1fr; } }

/* Ticks list */
.hs-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-ticks li { position: relative; padding-left: 30px; color: var(--muted); font-size: 16px; }
.hs-ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a6418' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.hs-step .hs-ticks li::before { background-color: var(--cream); }
.hs-ticks strong { color: var(--ink); font-weight: 600; }
.hs-ticks--lg li { font-size: 17px; color: var(--ink-2); padding-left: 34px; }
.hs-ticks--lg li::before { width: 22px; height: 22px; top: .2em; background-color: rgba(228, 160, 57, .18); }

/* Fees */
.hs-fees { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hs-fees--single { grid-template-columns: 1fr; max-width: 760px; }
.hs-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-plan { position: relative; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; background: #fff; }
.hs-plan.is-featured { background: var(--dark); border-color: var(--dark); color: rgba(255, 255, 255, .75); box-shadow: var(--shadow-lg); }
.hs-plan.is-featured .hs-h4, .hs-plan.is-featured .hs-plan__price { color: #fff; }
.hs-plan__tag { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 600; background: var(--gold); color: var(--ink); padding: 4px 10px; border-radius: 999px; }
.hs-plan__sub { font-size: 14px; color: inherit; opacity: .8; margin: 0 0 18px; }
.hs-plan__price { font-family: var(--font-head); font-size: 64px; line-height: 1; font-weight: 400; color: var(--ink); margin: 0 0 12px; }
.hs-plan__desc { margin: 0; font-weight: 500; }
.hs-plan__vat { font-size: 13px; opacity: .7; margin: 4px 0 0; }
@media (max-width: 900px) { .hs-fees { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hs-plans { grid-template-columns: 1fr; } }

/* Testimonial */
.hs-testimonial { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hs-testimonial__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.hs-testimonial__media img { width: 100%; height: 100%; object-fit: cover; }
.hs-testimonial__quote { margin: 0; }
.hs-testimonial__mark { width: 56px; height: 56px; color: var(--gold); margin-bottom: 20px; }
.hs-testimonial__quote p { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); line-height: 1.3; color: var(--ink); font-weight: 400; letter-spacing: -.01em; }
.hs-testimonial__quote footer { display: flex; flex-direction: column; margin-top: 24px; font-size: 15px; color: var(--muted); }
.hs-testimonial__quote footer strong { color: var(--ink); font-size: 17px; }
@media (max-width: 800px) { .hs-testimonial { grid-template-columns: 1fr; } .hs-testimonial__media { max-width: 320px; aspect-ratio: 1; } }

/* Service tiles (/servicios/) */
.hs-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.hs-tile { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; min-height: 360px; color: #fff; text-decoration: none; isolation: isolate; }
.hs-tile--wide { grid-column: 1 / -1; min-height: 420px; }
.hs-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.hs-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14, 11, 8, .85) 0%, rgba(14, 11, 8, .25) 60%, rgba(14, 11, 8, .1)); }
.hs-tile:hover img { transform: scale(1.05); }
.hs-tile:hover { color: #fff; }
.hs-tile__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 8px; }
.hs-tile__title { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; font-weight: 500; }
.hs-tile__text { color: rgba(255, 255, 255, .8); max-width: 46ch; }
.hs-tile__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; color: var(--gold); }
.hs-tile__more .hs-icon { width: 18px; transition: transform .25s var(--ease); }
.hs-tile:hover .hs-tile__more .hs-icon { transform: translateX(4px); }
@media (max-width: 760px) { .hs-tiles { grid-template-columns: 1fr; } .hs-tile, .hs-tile--wide { min-height: 300px; } }

/* FAQ */
.hs-faq { display: grid; gap: 12px; }
.hs-faq__item { background: #fff; border-radius: var(--r); border: 1px solid transparent; transition: border-color .2s; }
.hs-faq__item[open] { border-color: var(--line); }
.hs-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-family: var(--font-head); font-size: 19px; font-weight: 500; color: var(--ink); }
.hs-faq__item summary::-webkit-details-marker { display: none; }
.hs-faq__item summary .hs-icon { transition: transform .25s var(--ease); color: var(--gold-ink); }
.hs-faq__item[open] summary .hs-icon { transform: rotate(180deg); }
.hs-faq__body { padding: 0 26px 22px; color: var(--muted); }
.hs-faq__body p { margin: 0; }

/* CTA strip */
.hs-cta { padding: clamp(48px, 7vw, 88px) 0; }
.hs-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; background: var(--cream); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.hs-cta__inner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 160, 57, .3), transparent); pointer-events: none; }
.hs-cta .hs-h2 { margin: 0; }
.hs-cta .hs-actions { margin: 0; position: relative; z-index: 1; }

/* ==========================================================================
   Contact + form
   ========================================================================== */
.hs-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.hs-channels { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.hs-channels a, .hs-channels__static { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.hs-channels a:hover { background: rgba(255, 255, 255, .09); border-color: rgba(228, 160, 57, .5); color: #fff; }
.hs-channels .hs-icon { width: 22px; height: 22px; color: var(--gold); }
.hs-channels a > span, .hs-channels__static > span { display: flex; flex-direction: column; font-weight: 500; line-height: 1.35; }
.hs-channels small { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .55); font-weight: 600; }
.hs-contact__form { background: #fff; color: var(--ink-2); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) { .hs-contact { grid-template-columns: 1fr; } }

.hs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hs-field { display: flex; flex-direction: column; gap: 6px; }
.hs-field--full { grid-column: 1 / -1; }
.hs-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.hs-field input, .hs-field textarea, .hs-search input[type=search] {
	width: 100%; font: 16px/1.4 var(--font-body); color: var(--ink);
	padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fdfcfa;
	transition: border-color .2s, box-shadow .2s, background .2s;
}
.hs-field textarea { resize: vertical; min-height: 96px; }
.hs-field input:focus, .hs-field textarea:focus, .hs-search input[type=search]:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(228, 160, 57, .18); }
.hs-field.is-invalid input, .hs-field.is-invalid textarea { border-color: var(--err); }
.hs-check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.hs-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--gold-2); flex: none; }
.hs-check.is-invalid { color: var(--err); }
.hs-form-error { background: #fbeaea; color: var(--err); padding: 12px 16px; border-radius: 12px; font-size: 15px; }
.hs-form-note { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.hs-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .hs-fields { grid-template-columns: 1fr; } }

/* ==========================================================================
   Blog
   ========================================================================== */
.hs-card { height: 100%; }
.hs-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hs-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.hs-card__media { aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.hs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hs-card__link:hover .hs-card__media img { transform: scale(1.04); }
.hs-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--gold-ink); }
.hs-card__placeholder .hs-icon { width: 40px; height: 40px; }
.hs-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.hs-card__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.hs-card__title { font-size: 21px; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
.hs-card__excerpt { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.hs-card__meta { margin-top: auto; font-size: 13px; color: var(--muted); }

.hs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.hs-chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; }
.hs-chip:hover { border-color: var(--ink); color: var(--ink); }
.hs-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.hs-pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.hs-pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; padding: 0 14px; }
.hs-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.hs-pagination .page-numbers:hover:not(.current) { border-color: var(--ink); }

.hs-article__head { background: var(--cream); padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); }
.hs-crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.hs-crumbs a { color: var(--muted); text-decoration: none; }
.hs-crumbs a:hover { color: var(--ink); }
.hs-article__title { font-size: clamp(32px, 5vw, 56px); letter-spacing: -.02em; }
.hs-article__meta { color: var(--muted); font-size: 15px; display: flex; gap: 10px; margin: 0; }
.hs-article__cover { margin: clamp(-32px, -3vw, -16px) auto 0; max-width: calc(1000px + 2 * var(--gutter)); }
.hs-article__cover img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.hs-prose--article { padding-top: clamp(32px, 5vw, 56px); padding-bottom: 24px; font-size: 18px; line-height: 1.75; }
.hs-prose--article h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.6em 0 .6em; }
.hs-prose--article h3 { font-size: clamp(21px, 2.4vw, 25px); margin: 1.4em 0 .5em; }
.hs-prose--article ul, .hs-prose--article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.hs-prose--article li { margin-bottom: .4em; }
.hs-prose--article li::marker { color: var(--gold-2); }
.hs-prose--article blockquote { margin: 1.6em 0; padding: 20px 24px; border-left: 3px solid var(--gold); background: var(--cream); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.hs-prose--article img { border-radius: var(--r); margin: 1.4em 0; }
.hs-prose--article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 16px; display: block; overflow-x: auto; }
.hs-prose--article th, .hs-prose--article td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.hs-prose--article th { background: var(--cream); color: var(--ink); }
.hs-prose--article a { color: var(--gold-ink); }
.hs-article__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: 32px; margin: 24px 0 var(--sec); }
.hs-article__cta .hs-h4 { color: #fff; margin: 0; }
.hs-article__cta .hs-eyebrow { margin-bottom: 6px; color: var(--gold); }

.hs-search form { display: flex; gap: 10px; margin-bottom: 32px; }
.hs-search label { flex: 1; }
.hs-search input[type=submit] { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 0 22px; font-weight: 600; cursor: pointer; }

/* ==========================================================================
   Estatik (listings plugin) — align with brand, never fight its layout
   ========================================================================== */
.hs-estatik { --es-main: var(--gold); }
.hs-property__title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.single-properties .es-single .es-single__header h1, .single-properties .es-single .entry-title { display: none; }
.hs-estatik .es-btn--primary, .hs-estatik .es-btn.es-btn--primary, .hs-estatik .es-btn--request-info, .hs-estatik button[type=submit].es-btn { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; border-radius: 999px !important; font-weight: 600; }
.hs-estatik .es-btn--primary:hover, .hs-estatik .es-btn--request-info:hover { background: var(--gold-2) !important; border-color: var(--gold-2) !important; }
.hs-estatik .es-listing { border-radius: var(--r) !important; overflow: hidden; border-color: var(--line) !important; background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hs-estatik .es-listing:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hs-estatik .es-price { color: var(--ink) !important; font-family: var(--font-head); }
.hs-estatik .es-badge { border-radius: 999px !important; }
.hs-estatik .es-field__input input, .hs-estatik .es-field__input select, .hs-estatik .es-field__input textarea { border-radius: 10px; }
.hs-estatik a:not(.es-btn) { color: var(--ink); }
.hs-estatik--featured .es-listings-filter { display: none !important; }
.hs-estatik .es-gallery__image, .hs-estatik .es-gallery { border-radius: var(--r); overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */
.hs-footer { background: var(--dark); color: rgba(255, 255, 255, .62); padding: clamp(56px, 8vw, 96px) 0 0; font-size: 15px; }
.hs-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.hs-footer .hs-logo img { filter: brightness(0) invert(1); opacity: .95; }
.hs-footer__brand p { margin: 20px 0 22px; max-width: 38ch; }
.hs-footer__title { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.hs-footer__list, .hs-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hs-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.hs-footer a:hover { color: var(--gold); }
.hs-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.hs-footer__contact .hs-icon { color: var(--gold); width: 18px; height: 18px; margin-top: 3px; }
.hs-social { display: flex; gap: 10px; }
.hs-social a { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .15); }
.hs-social a:hover { border-color: var(--gold); }
.hs-social .hs-icon { width: 18px; height: 18px; }
.hs-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; padding-bottom: 28px; font-size: 13px; }
@media (max-width: 900px) { .hs-footer__grid { grid-template-columns: 1fr 1fr; } .hs-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hs-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   WordPress core bits
   ========================================================================== */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--muted); }
.sticky, .bypostauthor, .gallery-caption { }

/* Motion */
.hs-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hs-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.hs-reveal { opacity: 1; transform: none; }
}
@media print { .hs-topbar, .hs-header, .hs-footer, .hs-contact__form { display: none; } }
