/*
Theme Name: StepUp Properties
Theme URI: https://www.stepupproperties.co.uk
Author: StepUp Properties
Description: A secure WordPress rebuild of the StepUp Properties website, preserving the original visual identity while using native WordPress content, media and form handling.
Version: 1.0.16
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: stepup-properties
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --background: #faf8f2;
  --foreground: #1a1a1a;
  --primary: #6b1f1f;
  --primary-soft: rgba(107, 31, 31, .05);
  --primary-foreground: #faf8f2;
  --secondary: #e8e6ce;
  --muted: #6b6b66;
  --border: #dcdbd1;
  --accent: #b8956a;
  --card: #faf8f2;
  --white: #fff;
  --font-sans: 'DM Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#contact { scroll-margin-top: 116px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }

.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; }

.topbar {
  background: var(--primary-soft);
  border-bottom: 1px solid rgba(220, 219, 209, .65);
}
.topbar-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.phone-link:hover { color: var(--primary); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid rgba(220, 219, 209, .65);
}
.mainbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img { height: 48px; width: auto; }
.brand-name {
  font-family: var(--font-serif);
  color: var(--primary);
  font-size: 18px;
  line-height: .95;
}
.brand-name span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav a, .nav button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav a:hover, .nav button:hover, .nav a.active, .nav .current-menu-item a {
  color: var(--primary);
}
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--primary);
  padding: 8px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  cursor: pointer;
  transition: .2s ease;
}
.btn:hover { background: #581919; border-color: #581919; }
.btn-sm { min-height: 26px; padding: 5px 16px; font-size: 12px; }
.btn-outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-outline:hover { background: var(--white); color: var(--foreground); border-color: var(--white); }
.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn-gold:hover { background: #a78358; border-color: #a78358; }

.hero {
  position: relative;
  min-height: 560px;
  height: 85vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #000;
  text-align: left;
  color: var(--white);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.46) 36%, rgba(0,0,0,.2) 66%, rgba(0,0,0,.1) 100%),
    rgba(0, 0, 0, .18);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 96px, 1180px);
  max-width: 1180px;
  padding: 52px 0 44px;
  margin-inline: auto;
}
.eyebrow {
  color: var(--accent);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero-est {
  color: rgba(184, 149, 106, .92);
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
}
.hero-brand {
  max-width: 520px;
  margin-bottom: 22px;
}
.hero-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(48px, 7.2vw, 84px);
  font-weight: 600;
  line-height: .9;
  text-shadow: 0 3px 16px rgba(0,0,0,.35);
}
.rule {
  width: 64px;
  height: 1px;
  margin: 18px auto 0;
  background: rgba(184, 149, 106, .8);
}
.hero .rule { margin-left: 0; margin-right: 0; }
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
}
.hero h1 {
  margin: 16px 0 16px;
  max-width: 760px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  text-shadow: 0 2px 14px rgba(0,0,0,.32);
}
.hero p {
  max-width: 720px;
  margin: 0 0 26px;
  color: rgba(255,255,255,.92);
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 300;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
}

.section { padding: 88px 0; }
.section-tight { padding: 54px 0; }
.section-muted { background: rgba(232, 230, 206, .35); }
.section-primary { background: var(--primary); color: var(--primary-foreground); }
.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title h2 {
  color: var(--primary);
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
}
.section-title .rule { height: 2px; }
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}
.service-card, .property-card, .info-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 30px;
  transition: .25s ease;
}
.service-card:hover, .property-card:hover, .info-card:hover {
  border-color: rgba(184,149,106,.7);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.055);
}
.service-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 18px;
}
.mini-label {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.service-card h3, .info-card h3 {
  color: var(--primary);
  margin: 10px 0 12px;
  font-size: 24px;
}
.service-card p, .info-card p, .lead {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.72;
}
.card-cta {
  display: inline-flex;
  margin-top: 18px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}
.areas {
  text-align: center;
  border-top: 1px solid rgba(107,31,31,.8);
  border-bottom: 1px solid rgba(107,31,31,.8);
}
.areas h2 { color: var(--primary-foreground); margin-top: 8px; font-size: 28px; }
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.area-list span {
  border: 1px solid rgba(250,248,242,.22);
  color: rgba(250,248,242,.82);
  padding: 9px 15px;
  font-size: 12px;
  font-weight: 600;
}
.area-list .gold { border-color: rgba(184,149,106,.65); color: var(--accent); }
.about-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
.about-image {
  float: right;
  width: 38%;
  position: relative;
  margin: 0 0 24px 42px;
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary);
  transform: translate(16px,16px);
}
.about-image img {
  position: relative;
  aspect-ratio: 3/4;
  width: 100%;
  object-fit: cover;
}
.about-wrap h2 {
  color: var(--primary);
  margin: 14px 0 18px;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 340px;
  gap: 24px;
  margin: 30px 0;
}
.stat strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
}
.stat span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.badge {
  display: inline-flex;
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
}

.page-hero {
  padding: 92px 0;
  background: var(--primary);
  color: var(--primary-foreground);
}
.page-hero h1 {
  color: var(--primary-foreground);
  max-width: 850px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
}
.page-hero p {
  max-width: 760px;
  color: rgba(250,248,242,.82);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.75;
}
.content-narrow { max-width: 880px; margin-inline: auto; }
.content-narrow h2, .plain-content h2 { color: var(--primary); font-size: 38px; margin-bottom: 22px; }
.content-narrow p, .plain-content p, .plain-content li {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}
.process-list {
  display: grid;
  gap: 18px;
  counter-reset: steps;
}
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.step::before {
  counter-increment: steps;
  content: counter(steps, decimal-leading-zero);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 36px;
}
.step h3 { color: var(--primary); font-size: 25px; margin-bottom: 8px; }
.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.65;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .75em;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 999px;
}
.note-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(232, 230, 206, .35);
  padding: 22px 0;
}
.note-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.fee-box {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 30px;
  margin: 24px 0;
}
.fee-rate {
  display: block;
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: clamp(46px, 7vw, 64px);
  line-height: 1;
}
.fee-box small {
  display: block;
  color: rgba(250,248,242,.62);
  margin-top: 6px;
  line-height: 1.5;
}
.tier-card.featured {
  border-color: var(--accent);
  background: var(--primary);
  color: var(--primary-foreground);
}
.tier-card.featured h3,
.tier-card.featured p,
.tier-card.featured li { color: rgba(250,248,242,.82); }
.tier-card.featured h3,
.tier-card.featured .fee-rate { color: var(--accent); }
.badge-gold {
  display: inline-flex;
  background: var(--accent);
  color: var(--white);
  padding: 6px 10px;
  margin-bottom: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  background: var(--card);
}
.comparison-table th {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: left;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--border);
  vertical-align: top;
}
.comparison-table td { color: var(--muted); font-weight: 300; line-height: 1.6; }
.faq-list details {
  border-top: 1px solid var(--border);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 20px;
}
.faq-list p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
}
.tool-panel {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px;
}
.tool-results {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 28px;
}
.tool-results strong {
  display: block;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin-top: 4px;
}
.mortgage-section {
  background: rgba(232, 230, 206, .24);
  border-top: 1px solid rgba(220, 219, 209, .4);
}
.mortgage-section .container {
  max-width: 1024px;
}
.mortgage-heading {
  max-width: 620px;
  margin-bottom: 48px;
}
.mortgage-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mortgage-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}
.mortgage-title-row h2 {
  color: var(--primary);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
  margin: 0;
}
.mortgage-heading .lead {
  max-width: 560px;
}
.mortgage-heading::after {
  content: none;
}
.mortgage-rule {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 22px;
}
.mortgage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.mortgage-form-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 32px;
}
.mortgage-form-card .form-grid {
  gap: 24px 16px;
}
.mortgage-form-card label {
  color: var(--muted);
  letter-spacing: .12em;
}
.mortgage-form-card .field-full {
  margin: 0;
}
.mortgage-form-card p {
  margin: 0;
}
.mortgage-form-card input {
  background: var(--background);
  min-height: 56px;
  font-size: 18px;
  font-weight: 400;
  margin-top: 8px;
}
.mortgage-inline-result {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.mortgage-form-card [data-mortgage-price-display] {
  color: var(--accent);
  font-weight: 600;
}
.mortgage-results {
  display: grid;
  gap: 20px;
}
.mortgage-primary-result {
  background: var(--primary);
  color: var(--primary-foreground);
  min-height: 238px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mortgage-primary-result span,
.mortgage-result-cards span {
  color: rgba(250,248,242,.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.mortgage-primary-result strong {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(46px, 5vw, 58px);
  font-weight: 400;
  line-height: 1;
  margin: 26px 0 14px;
}
.mortgage-primary-result small {
  color: rgba(250,248,242,.55);
  font-size: 13px;
}
.mortgage-result-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.mortgage-result-cards > div {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 24px;
  min-height: 118px;
}
.mortgage-result-cards span {
  color: var(--muted);
}
.mortgage-result-cards strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 34px);
  font-weight: 400;
  line-height: 1;
  margin: 20px 0 8px;
}
.mortgage-result-cards small,
.mortgage-disclaimer {
  color: rgba(107,107,102,.62);
  font-size: 14px;
  line-height: 1.6;
}
.mortgage-disclaimer { margin: 0; }
.insights-hero {
  position: relative;
  min-height: 440px;
  background: var(--primary);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.insights-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insights-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.42);
}
.insights-hero .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.insights-hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
  margin: 16px 0 18px;
  max-width: 720px;
  text-shadow: 0 2px 18px rgba(0,0,0,.22);
}
.insights-hero p {
  color: rgba(255,255,255,.82);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 640px;
}
.insight-list {
  display: grid;
  gap: 28px;
  max-width: 1024px;
  margin-inline: auto;
}
.insight-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: clamp(26px, 5vw, 40px);
  transition: border-color .2s ease, transform .2s ease;
}
.insight-card:hover {
  border-color: rgba(107,31,31,.3);
  transform: translateY(-2px);
}
.article-meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.insight-card h2 {
  color: var(--primary);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.18;
  margin: 0 0 16px;
}
.insight-card p:not(.article-meta) {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  max-width: 780px;
}
.article-hero {
  background: rgba(232, 230, 206, .2);
  border-bottom: 1px solid rgba(220, 219, 209, .45);
  padding: clamp(70px, 9vw, 110px) 0;
}
.back-link {
  display: inline-flex;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 34px;
}
.back-link:hover { color: var(--primary); }
.article-hero h1 {
  color: var(--primary);
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  margin: 0 0 22px;
}
.article-content {
  display: grid;
  gap: 44px;
}
.article-content article h2 {
  color: var(--primary);
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 16px;
}
.article-content article p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.78;
}
.soft-cta {
  border: 1px solid rgba(107,31,31,.2);
  background: rgba(107,31,31,.05);
  padding: clamp(26px, 5vw, 40px);
}
.soft-cta h3 {
  color: var(--primary);
  font-size: 28px;
  margin: 0 0 12px;
}
.soft-cta p {
  color: var(--muted);
  line-height: 1.7;
}
.emergency-strip {
  background: #b42323;
  color: var(--white);
  padding: 16px 0;
}
.emergency-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  justify-content: space-between;
}
.emergency-strip a { color: rgba(255,255,255,.88); font-weight: 700; }
.emergency-strip a:hover { color: var(--white); text-decoration: underline; }
.facts-strip {
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.28);
  padding: 13px 0;
}
.facts-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
}
.fact-chip {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.callout-box {
  border: 1px solid rgba(107,31,31,.2);
  background: rgba(107,31,31,.05);
  padding: 22px;
}
.callout-box p { margin: 0; color: var(--muted); line-height: 1.65; }
.site-cta {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  padding: 30px 16px;
  border-top: 1px solid rgba(107,31,31,.8);
}
.site-cta p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 32px);
}
.site-cta a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.04); }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.property-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  align-items: center;
  justify-content: center;
  margin: 0 0 40px;
}
.filter-control {
  display: flex;
  align-items: center;
  gap: 12px;
}
.filter-control span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.filter-control input[type="range"] {
  width: 170px;
  padding: 0;
  accent-color: var(--primary);
}
.filter-control strong {
  color: var(--primary);
  font-size: 12px;
  min-width: 58px;
  text-align: right;
}
.filter-reset {
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 13px;
  padding: 6px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.property-empty {
  color: var(--muted);
  font-size: 18px;
  padding: 40px 0;
  text-align: center;
}
.property-card { padding: 0; overflow: hidden; }
.property-image-link {
  display: block;
  aspect-ratio: 4 / 3;
  background: rgba(232, 230, 206, .45);
  overflow: hidden;
  position: relative;
}
.property-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .7s ease;
}
.property-card:hover img { transform: scale(1.045); }
.property-body { padding: 22px; }
.property-body h3 { color: var(--primary); font-size: 24px; margin: 0 0 8px; }
.property-address {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.price { color: var(--primary); font-weight: 700; }
.meta { color: var(--muted); font-size: 13px; margin: 12px 0; }
.status,
.property-status { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.property-image-link .property-status,
.property-gallery .property-status {
  background: var(--primary);
  color: var(--primary-foreground);
  left: 14px;
  padding: 6px 10px;
  position: absolute;
  top: 14px;
  z-index: 2;
}
.property-badge {
  background: rgba(250,248,242,.92);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  padding: 6px 10px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
  top: 14px;
  z-index: 2;
}
.property-actions {
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
}
.property-actions .btn {
  flex: 1;
  justify-content: center;
}
.property-backbar {
  background: rgba(232, 230, 206, .22);
  border-bottom: 1px solid rgba(220, 219, 209, .5);
  padding: 14px 0;
}
.property-backbar a {
  color: var(--muted);
  font-size: 14px;
}
.property-backbar a:hover { color: var(--primary); }
.property-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: clamp(34px, 6vw, 64px);
  align-items: start;
}
.property-detail-main {
  display: grid;
  gap: 26px;
}
.property-gallery {
  aspect-ratio: 4 / 3;
  background: rgba(232, 230, 206, .4);
  overflow: hidden;
  position: relative;
}
.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}
.property-thumbs button {
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  flex: 0 0 82px;
  height: 58px;
  padding: 0;
}
.property-thumbs img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.property-stats {
  border: 1px solid var(--border);
  background: var(--card);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.property-stats div {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 24px 12px;
}
.property-stats div + div { border-left: 1px solid var(--border); }
.property-stats strong {
  color: var(--primary);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
}
.property-stats span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.property-copy h2 {
  color: var(--primary);
  font-size: 25px;
  margin: 0 0 12px;
}
.property-copy p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
}
.feature-list {
  display: grid;
  gap: 10px 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-list li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.feature-list li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 6px;
}
.property-panel {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 110px;
}
.property-panel-card,
.property-agent-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 28px;
}
.property-panel-card h1 {
  color: var(--primary);
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1;
  margin: 8px 0 0;
}
.panel-rule {
  background: var(--border);
  height: 1px;
  margin: 22px 0;
}
.property-panel .btn {
  justify-content: center;
  width: 100%;
}
.property-agent-card strong {
  color: var(--foreground);
  display: block;
  margin-bottom: 6px;
}
.property-agent-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.reviews-section {
  background: var(--background);
  border-top: 1px solid rgba(220, 219, 209, .55);
  padding: clamp(72px, 9vw, 112px) 0;
}
.reviews-heading {
  margin: 0 auto 54px;
  text-align: center;
}
.reviews-title-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.reviews-title-row h2 {
  color: var(--primary);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
  margin: 0;
}
.google-logo {
  flex: 0 0 auto;
  height: 20px;
  width: 20px;
}
.reviews-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}
.reviews-rating strong {
  color: var(--primary);
}
.stars {
  display: inline-flex;
  gap: 2px;
}
.stars svg {
  color: #fbbc04;
  fill: currentColor;
  height: 16px;
  width: 16px;
}
.reviews-carousel-wrap {
  margin-inline: auto;
  max-width: 1024px;
  position: relative;
}
.reviews-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 0 0 4px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar {
  display: none;
}
.review-card {
  background: var(--card);
  border: 1px solid rgba(220, 219, 209, .8);
  display: flex;
  flex: 0 0 calc(33.333% - 16px);
  flex-direction: column;
  gap: 16px;
  min-height: 285px;
  padding: 24px;
  scroll-snap-align: start;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  align-items: center;
  background: var(--primary);
  border-radius: 999px;
  color: var(--primary-foreground);
  display: flex;
  flex: 0 0 40px;
  font-size: 13px;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.review-person strong {
  display: block;
  font-size: 14px;
}
.review-person span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 300;
  margin-top: 2px;
}
.review-person .google-logo {
  margin-left: auto;
}
.review-card p {
  color: var(--muted);
  flex: 1;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
}
.review-nav {
  align-items: center;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  color: var(--primary);
  cursor: pointer;
  display: flex;
  font-size: 32px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background .2s ease, opacity .2s ease;
  width: 40px;
  z-index: 3;
}
.review-nav:hover {
  background: var(--secondary);
}
.review-nav:disabled {
  cursor: not-allowed;
  opacity: .3;
}
.review-prev { left: -20px; }
.review-next { right: -20px; }
.review-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 26px;
}
.review-dots button {
  border: 0;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background .2s ease, width .2s ease;
  width: 8px;
}
.review-dots button.active {
  background: var(--primary);
  width: 22px;
}
.review-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 38px;
}
.review-links > a:not(.btn) {
  border-bottom: 1px solid rgba(107,31,31,.35);
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  padding-bottom: 3px;
}
.review-links > a:not(.btn):hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}
.contact-details {
  border-top: 2px solid var(--accent);
  padding-top: 22px;
}
.contact-details p { color: var(--muted); line-height: 1.7; }
.form-card {
  border: 1px solid var(--border);
  padding: 28px;
  background: var(--background);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field-full { grid-column: 1 / -1; }
label {
  display: block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.45);
  color: var(--foreground);
  padding: 13px 14px;
  border-radius: 0;
}
textarea { min-height: 138px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(184,149,106,.35);
  border-color: var(--accent);
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.alert {
  padding: 14px 16px;
  border: 1px solid var(--accent);
  margin-bottom: 18px;
  color: var(--primary);
  background: rgba(184,149,106,.12);
}
.hidden-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.tab-btn {
  border: 0;
  border-right: 1px solid var(--border);
  background: transparent;
  padding: 18px 12px;
  color: var(--muted);
  cursor: pointer;
}
.tab-btn:last-child { border-right: 0; }
.tab-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  border-top: 4px solid var(--accent);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 42px;
  margin-bottom: 54px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { height: 80px; width: auto; }
.footer h3, .footer h4 { color: var(--accent); }
.footer-tagline {
  color: rgba(250,248,242,.82);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
}
.footer p, .footer li, .footer a { color: rgba(250,248,242,.68); }
.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.partners-heading {
  border-top: 1px solid rgba(250,248,242,.1);
  padding-top: 28px;
  padding-bottom: 18px;
}
.partners-heading p {
  margin: 0;
  color: rgba(250,248,242,.42);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.partner-strip {
  background: var(--white);
  padding: 24px 0;
}
.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.partners a { display: inline-flex; align-items: center; }
.partners img { height: 40px; width: auto; opacity: .72; }
.partners a:hover img { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(250,248,242,.12);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(250,248,242,.55);
  font-size: 12px;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.credit {
  border-top: 1px solid rgba(250,248,242,.06);
  padding: 18px 0;
  text-align: center;
  color: rgba(250,248,242,.35);
  font-size: 11px;
}

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px 16px;
  z-index: 80;
  max-width: 720px;
  margin: auto;
  border: 1px solid var(--border);
  background: var(--background);
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
  padding: 18px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 1180px) {
  .grid-4, .grid-3, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid, .grid-2, .callout-grid, .mortgage-grid, .property-detail-grid { grid-template-columns: 1fr; }
  .property-panel {
    position: static;
  }
  .review-card {
    flex-basis: calc(50% - 12px);
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 112px;
    background: var(--background);
    border-top: 1px solid var(--border);
    padding: 14px 16px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a, .nav button {
    text-align: left;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(220,219,209,.75);
  }
  .mobile-toggle { display: block; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1180px); }
  .brand-name { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-actions { display: none; }
  .topbar .btn-sm { display: none; }
  .hero { min-height: 620px; height: auto; }
  .hero-content {
    width: min(100% - 28px, 1180px);
    padding: 42px 0 36px;
  }
  .hero-brand strong {
    font-size: clamp(44px, 16vw, 62px);
  }
  .hero h1 {
    font-size: clamp(34px, 12vw, 48px);
  }
  .hero-actions .btn { width: 100%; }
  .section { padding: 64px 0; }
  .grid-4, .grid-3, .footer-grid, .form-grid, .tabs { grid-template-columns: 1fr; }
  .property-filters {
    align-items: stretch;
    flex-direction: column;
  }
  .filter-control {
    justify-content: space-between;
  }
  .filter-control input[type="range"] {
    width: min(42vw, 180px);
  }
  .property-actions,
  .property-stats,
  .feature-list {
    grid-template-columns: 1fr;
  }
  .property-actions {
    flex-direction: column;
  }
  .property-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .review-card {
    flex-basis: 85vw;
  }
  .review-nav {
    display: none;
  }
  .review-links {
    flex-direction: column;
  }
  .review-links span {
    display: none;
  }
  .mortgage-result-cards { grid-template-columns: 1fr; }
  .about-image { float: none; width: min(100%, 320px); margin: 34px 0 0; }
  .stats { max-width: none; gap: 14px; }
  .step { grid-template-columns: 1fr; gap: 6px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media print {
  .site-header,
  .site-cta,
  .footer,
  .cookie-banner,
  .whatsapp-float,
  .property-backbar,
  .property-agent-card,
  .property-panel .btn,
  .property-panel .form-note {
    display: none !important;
  }
  body {
    background: #fff;
    color: #111;
  }
  .section {
    padding: 20px 0;
  }
  .property-detail-grid {
    grid-template-columns: 1fr;
  }
  .property-panel {
    position: static;
  }
  .property-panel-card,
  .property-stats {
    break-inside: avoid;
  }
}
