/* =============================================
   JARROMS — Global Stylesheet
   Purple & Orange | Chartered Surveyors, Leicester
   ============================================= */

/* --- Variables --- */
:root {
  --purple: #400099;
  --purple-dark: #2d006b;
  --purple-light: #5a00d6;
  --orange: #FF6200;
  --orange-light: #FF8533;
  --white: #ffffff;
  --off-white: #f8f6ff;
  --light-grey: #e8e4f0;
  --mid-grey: #9a9a9a;
  --dark-grey: #444444;
  --text: #1a1a1a;

  --font-head: 'Gill Sans Nova', 'Gill Sans MT', 'Gill Sans', Calibri, sans-serif;
  --font-body: 'Gill Sans Nova', 'Gill Sans MT', 'Gill Sans', Calibri, sans-serif;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 4px 20px rgba(64,0,153,0.10);
  --shadow-lg: 0 8px 40px rgba(64,0,153,0.18);
  --transition: 0.25s ease;

  --container: 1200px;
  --nav-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--purple);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--dark-grey); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-header p { font-size: 1.05rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,98,0,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--purple);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--purple);
  border-color: var(--purple);
}
.btn-outline-dark:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Links dark on white nav */
.nav .nav-links a { color: var(--purple); }
.nav .nav-links a::after { background: var(--orange); }
.nav .nav-links a:hover,
.nav .nav-links a.active { color: var(--orange); }

.nav.scrolled {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* Links stay purple on scrolled white nav */
.nav.scrolled .nav-links a { color: var(--purple); }
.nav.scrolled .nav-links a:hover,
.nav.scrolled .nav-links a.active { color: var(--orange); }

/* btn-primary in nav keeps orange on white */
.nav .btn-primary, .nav.scrolled .btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

/* Hamburger dark on white nav */
.nav-hamburger span,
.nav.scrolled .nav-hamburger span { background: var(--purple); }
.nav-mobile { background: var(--white); border-top: 1px solid var(--light-grey); }
.nav-mobile a { color: var(--purple); border-bottom-color: var(--light-grey); }
.nav-mobile a:hover { color: var(--orange); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo on the RIGHT — links + CTA on the left */
.nav-inner {
  flex-direction: row-reverse;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo .logo-main {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav-logo .logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { padding: 10px 22px; font-size: 0.85rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--purple);
  transition: all var(--transition);
  border-radius: 2px;
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--purple);
  padding: 24px;
  z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-lg);
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--orange); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--purple);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1800&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: var(--nav-h);
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-content h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--orange);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
}

/* --- Building Illustration Band --- */
.building-band {
  background: var(--white);
  padding: 80px 0;
  overflow: hidden;
}

.building-band-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.building-band-text .section-label { color: var(--orange); }
.building-band-text h2 { margin-bottom: 16px; }
.building-band-text p { font-size: 1rem; }

.building-illustration {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.building-illustration img {
  width: 100%;
  height: auto;
  max-width: 520px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 32px rgba(64,0,153,0.12));
}

/* --- Search Bar --- */
.search-bar-wrap {
  background: var(--purple-dark);
  padding: 32px 0;
}

.search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.search-bar select,
.search-bar input {
  flex: 1;
  min-width: 160px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.search-bar select option { background: var(--purple); }
.search-bar select:focus,
.search-bar input:focus { outline: none; border-color: var(--orange); }
.search-bar input::placeholder { color: rgba(255,255,255,0.4); }

/* --- Services Grid --- */
.services { background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--orange);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* Text-based icon replacement (no emojis) */
.service-icon-text {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  min-width: 48px;
  text-align: center;
}

.check-icon {
  width: 36px; height: 36px;
  background: var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.pro-service-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.pro-service-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.value-label-icon {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.service-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.service-card p { font-size: 0.9rem; margin-bottom: 0; }

/* --- Property Cards --- */
.properties { background: var(--white); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.property-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: block;
  color: inherit;
  text-decoration: none;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.property-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-img img { transform: scale(1.06); }

/* Greyscale for sold/under offer/let agreed */
.property-card--inactive .property-img img,
.property-card.is-status .property-img img {
  filter: grayscale(100%);
  opacity: 0.75;
  transition: filter 0.3s, opacity 0.3s, transform 0.5s ease;
}
.property-card--inactive:hover .property-img img,
.property-card.is-status:hover .property-img img {
  filter: grayscale(100%);
  opacity: 0.75;
}

/* Greyscale for sold / under offer properties */
.property-card--inactive .property-img img {
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.5s ease;
}
.property-card--inactive:hover .property-img img {
  filter: grayscale(60%);
}

.property-badge {
  position: absolute;
  top: 16px; left: 16px;
  padding: 5px 12px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge-sale { background: var(--purple); color: var(--white); }
.badge-rent { background: var(--purple); color: var(--white); }
.badge-new { background: #2ecc71; color: var(--white); }
.badge-commercial { background: var(--orange); color: var(--white); }
.badge-status { background: #64748b; color: var(--white); }
.badge-status { background: #64748b; color: var(--white); }

.property-info { padding: 20px; }

.property-price {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--purple);
  font-weight: 700;
  margin-bottom: 4px;
}

.property-address {
  font-size: 0.85rem;
  color: var(--mid-grey);
  margin-bottom: 14px;
}

.property-features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--light-grey);
}

.property-features span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--purple);
  background: var(--off-white);
  border: 1px solid var(--light-grey);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* --- Filter Bar --- */
.filter-bar {
  background: var(--off-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--light-grey);
}

.filter-inner {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-inner select,
.filter-inner input {
  padding: 10px 16px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: border-color var(--transition);
}

.filter-inner select:focus,
.filter-inner input:focus { outline: none; border-color: var(--purple); }

.filter-tab {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
  border: 1px solid var(--light-grey);
  color: var(--dark-grey);
}

.filter-tab.active {
  background: var(--purple);
  color: var(--white);
  border-color: var(--purple);
}

/* --- USP Banner --- */
.usp-banner {
  background: var(--purple);
  padding: 64px 0;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.usp-item h3 { color: var(--orange); font-size: 1.1rem; margin-bottom: 8px; }
.usp-item p { color: rgba(255,255,255,0.65); font-size: 0.875rem; margin-bottom: 0; }

/* --- Management / Services Page --- */
.mgmt-hero {
  background: var(--purple);
  padding: 140px 0 80px;
  text-align: center;
}

.mgmt-hero h1 { color: var(--white); margin-bottom: 20px; }
.mgmt-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.mgmt-packages { background: var(--off-white); padding: 80px 0; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.package-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.package-card.featured {
  background: var(--purple);
  border: 2px solid var(--orange);
}

.package-card.featured h3,
.package-card.featured .pkg-price { color: var(--white); }
.package-card.featured p { color: rgba(255,255,255,0.65); }
.package-card.featured ul li { color: rgba(255,255,255,0.75); }

.pkg-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.pkg-price {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--purple);
  margin: 12px 0 4px;
}

.package-card ul { margin: 20px 0 28px; display: flex; flex-direction: column; gap: 10px; }

.package-card ul li {
  font-size: 0.875rem;
  color: var(--dark-grey);
  padding-left: 20px;
  position: relative;
}

.package-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* --- About Page --- */
.about-hero { background: var(--purple); padding: 140px 0 80px; }

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-hero h1 { color: var(--white); margin-bottom: 20px; }
.about-hero p { color: rgba(255,255,255,0.7); }

.about-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 400px;
}

.about-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.values { background: var(--white); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.value-card {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border-left: 3px solid var(--orange);
  transition: transform var(--transition);
}

.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.875rem; margin-bottom: 0; }

/* --- Team --- */
.team { background: var(--off-white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-img { height: 180px; overflow: hidden; background: var(--light-grey); display: flex; align-items: center; justify-content: center; }
.team-img img { width: 100%; height: 100%; object-fit: cover; }

.team-avatar {
  width: 72px; height: 72px;
  background: var(--purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
  font-weight: 700;
}

.team-info { padding: 18px 16px; }
.team-info h4 { margin-bottom: 4px; font-size: 1rem; }
.team-info .role {
  font-size: 0.75rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-info .quals {
  font-size: 0.78rem;
  color: var(--mid-grey);
  margin-top: 4px;
}

/* --- Contact --- */
.contact { background: var(--white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 28px; }

.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-detail-icon {
  width: 40px; height: 40px;
  background: var(--purple);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mid-grey);
  margin-bottom: 2px;
}

.contact-detail-text span { font-size: 0.925rem; }

.contact-form { background: var(--off-white); padding: 40px; border-radius: var(--radius-lg); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--purple); }

.form-group textarea { resize: vertical; min-height: 120px; }

/* Map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 40px; }
.map-wrap iframe { display: block; }

/* --- Footer --- */
.footer { background: var(--purple-dark); padding: 64px 0 32px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo-main { font-family: var(--font-head); font-size: 1.6rem; color: var(--white); }
.footer-brand .logo-sub { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.875rem; margin-top: 14px; max-width: 280px; }

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.footer-logos { flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-rics-caption { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.footer-logo-img {
  height: 60px;
  width: auto;
  mix-blend-mode: screen;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-logo-img:hover { opacity: 1; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; margin-bottom: 0; }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.35); font-size: 0.8rem; transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* --- Page Hero (interior) --- */
.page-hero {
  background: var(--purple);
  padding: 140px 0 72px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }

/* --- Testimonials --- */
.testimonials { background: var(--purple); padding: 80px 0; }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.55); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.testi-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.testi-stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 14px; }
.testi-card p { color: rgba(255,255,255,0.75); font-size: 0.9rem; font-style: italic; margin-bottom: 18px; }
.testi-author strong { color: var(--white); font-size: 0.875rem; }
.testi-author span { color: rgba(255,255,255,0.45); font-size: 0.8rem; margin-left: 6px; }

/* --- CTA Band --- */
.cta-band { background: var(--orange); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.05rem; }

/* --- Properties Page --- */
.properties-page { padding-top: var(--nav-h); }
.props-layout { padding: 40px 0 80px; background: var(--white); }

/* --- RICS / Accreditations bar --- */
.accred-bar {
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 20px 0;
}

.accred-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.accred-inner span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.accred-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* =============================================
   ANIMATIONS & MOTION
   ============================================= */

/* --- Scroll reveal base states --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.delay-1 { transition-delay: 0.08s !important; }
.delay-2 { transition-delay: 0.16s !important; }
.delay-3 { transition-delay: 0.24s !important; }
.delay-4 { transition-delay: 0.32s !important; }
.delay-5 { transition-delay: 0.40s !important; }
.delay-6 { transition-delay: 0.48s !important; }

/* --- Hero word-by-word animation --- */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  margin-right: 0.18em;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-word.visible { opacity: 1; transform: none; }

/* --- Marquee ticker --- */
.marquee {
  overflow: hidden;
  background: var(--purple);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Premium property card upgrades --- */
.property-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.property-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 24px 60px rgba(64,0,153,0.18) !important;
}

.property-card:hover .property-img img {
  transform: scale(1.08) !important;
}

.property-img img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* --- SSTC / Under Offer / Let Agreed — greyed out cards --- */
.property-card--inactive {
  opacity: 0.72;
}
.property-card--inactive .property-img img {
  filter: grayscale(100%) !important;
  transition: filter 0.4s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.property-card--inactive:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 24px 60px rgba(64,0,153,0.18) !important;
  opacity: 0.9;
}
.property-card--inactive:hover .property-img img {
  filter: grayscale(20%) !important;
  transform: scale(1.08) !important;
}

/* --- Property Slideshow --- */
.prop-slideshow {
  position: relative;
  height: clamp(400px, 55vw, 640px);
  overflow: hidden;
  background: var(--purple-dark);
}

.slideshow-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.slideshow-slide {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  text-decoration: none;
}

.slideshow-slide.active { opacity: 1; pointer-events: auto; z-index: 1; }

.slideshow-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Blurred fill behind the photo so any aspect ratio looks right */
.slideshow-slide .slide-bg {
  object-fit: cover;
  filter: blur(24px) brightness(0.7);
  transform: scale(1.15);
  z-index: 0;
}

/* Whole photo shown, never cropped */
.slideshow-slide .slide-fg {
  object-fit: contain;
  z-index: 1;
  transform: scale(1.03);
  transition: transform 6s ease-out;
}

.slideshow-slide.active .slide-fg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(13, 0, 40, 0.88) 0%,
    rgba(13, 0, 40, 0.35) 50%,
    rgba(13, 0, 40, 0.10) 100%
  );
}

.slide-content {
  position: absolute;
  bottom: 64px;
  left: 0; right: 0;
  z-index: 3;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 760px;
}

.slide-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.slide-badge.badge-sale { background: var(--orange); color: var(--white); }
.slide-badge.badge-rent { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }

.slide-price {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.slide-address {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}

.slide-features {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.slide-features span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
}

.slide-features span::before {
  content: '— ';
  color: var(--orange);
}

/* Nav arrows */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slideshow-nav:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.08);
}

.slideshow-nav.prev { left: 24px; }
.slideshow-nav.next { right: 24px; }

/* Dots */
.slideshow-dots {
  position: absolute;
  bottom: 24px;
  right: clamp(24px, 5vw, 80px);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slideshow-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.slideshow-dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* Progress bar */
.slideshow-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.1);
  z-index: 10;
}

.slideshow-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--orange);
}

@media (max-width: 600px) {
  .slideshow-nav { width: 36px; height: 36px; font-size: 0.9rem; }
  .slideshow-nav.prev { left: 12px; }
  .slideshow-nav.next { right: 12px; }
  .slide-content { bottom: 48px; }
}

/* --- Featured property spotlight (homepage) --- */
.prop-spotlight {
  padding: 80px 0 40px;
  background: var(--white);
}

.prop-spotlight-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}

.prop-spotlight-header h2 { margin-bottom: 0; }

/* Clean 3-column spotlight grid */
.prop-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Stats counter band --- */
.stats-band {
  background: var(--purple);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--purple);
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s;
}

.stat-item:hover { background: var(--purple-light); }

.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* --- Service cards premium hover --- */
.service-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-top-color 0.3s ease !important;
}

.service-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 50px rgba(64,0,153,0.14) !important;
}

/* --- Testimonial card hover --- */
.testi-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s;
}

.testi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.25);
}

/* --- Premium button hover --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after { opacity: 1; }

/* --- Value card upgrade --- */
.value-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.value-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(64,0,153,0.12) !important;
}

/* --- Thin line section divider --- */
.section-divider {
  height: 1px;
  background: var(--light-grey);
  margin: 0;
}

/* --- Properties page filter tab active highlight --- */
.filter-tab {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab:hover:not(.active) {
  background: var(--off-white);
  border-color: var(--purple);
  color: var(--purple);
}

/* --- Spotlight grid responsive --- */
@media (max-width: 900px) {
  .prop-editorial-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .prop-editorial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Reduce motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-word { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .property-card, .service-card, .value-card { transition: none !important; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero-inner { grid-template-columns: 1fr; }
  .about-hero-img { height: 300px; }
  .contact-inner { grid-template-columns: 1fr; }
  .building-band-inner { grid-template-columns: 1fr; }
  .building-illustration img { max-width: 380px; }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--purple-dark);
  color: rgba(255,255,255,0.9);
  padding: 20px 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

#cookieBanner.visible { transform: translateY(0); }

#cookieBanner p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  flex: 1;
  min-width: 240px;
}

#cookieBanner a { color: var(--orange); text-decoration: underline; }

.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btns button {
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: inherit;
  transition: all 0.2s;
}

.cookie-accept {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.cookie-accept:hover { background: #ff7b1a; }

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border-color: rgba(255,255,255,0.3);
}

.cookie-decline:hover { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* Map consent placeholder */
.map-consent-placeholder {
  display: none;
  background: var(--off-white);
  border: 2px dashed var(--light-grey);
  border-radius: var(--radius);
  height: 280px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 24px;
}

.map-consent-placeholder p {
  font-size: 0.9rem;
  color: var(--mid-grey);
  margin: 0;
}

.map-consent-placeholder button {
  padding: 10px 22px;
  background: var(--purple);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

@media (max-width: 600px) {
  #cookieBanner { padding: 16px 20px; }
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1; }
}

/* =============================================
   SINGLE PROPERTY PAGE
   ============================================= */

/* Gallery */
.prop-gallery {
  background: #111;
  padding-top: var(--nav-h);
  position: relative;
  user-select: none;
}

.gallery-main {
  position: relative;
  overflow: hidden;
  height: clamp(280px, 48vw, 520px);
  cursor: pointer;
}

.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.gallery-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.92);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.gallery-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.gallery-nav.prev { left: 16px; }
.gallery-nav.next { right: 16px; }
.gallery-nav:disabled { opacity: 0.3; cursor: default; }

.gallery-counter {
  position: absolute;
  bottom: 14px; right: 16px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 12px;
}

.gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #1a1a1a;
  scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  width: 72px; height: 52px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.55;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb.active { opacity: 1; border-color: var(--orange); }
.gallery-thumb:hover { opacity: 0.85; }

.gallery-main::after {
  content: 'Click to enlarge';
  position: absolute;
  bottom: 14px; left: 16px;
  background: rgba(0,0,0,0.5);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-main:hover::after { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.93);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6);
  user-select: none;
}

.lightbox-close {
  position: fixed;
  top: 16px; right: 20px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 1000;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

.lightbox-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 1000;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav.lb-prev { left: 16px; }
.lightbox-nav.lb-next { right: 16px; }

.lightbox-counter {
  position: fixed;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

/* Detail body */
.prop-detail-body { padding: 40px 0 80px; }

.prop-detail-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.prop-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 20px;
  transition: gap 0.2s;
}
.prop-back-link:hover { gap: 10px; }

.prop-badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }

.prop-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.prop-tag-sale   { background: var(--orange); color: var(--white); }
.prop-tag-rent   { background: var(--purple); color: var(--white); }
.prop-tag-status { background: #64748b; color: var(--white); }
.prop-tag-cat    { background: var(--off-white); color: var(--purple); border: 1px solid var(--light-grey); }

.prop-main h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--purple);
  margin-bottom: 4px;
  line-height: 1.2;
}

.prop-address-line {
  font-size: 0.95rem;
  color: var(--mid-grey);
  margin-bottom: 24px;
}

.prop-facts {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--light-grey);
}
.prop-facts table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.prop-facts td { padding: 10px 16px; border-bottom: 1px solid var(--light-grey); vertical-align: top; }
.prop-facts tr:last-child td { border-bottom: none; }
.prop-facts td:first-child { font-weight: 600; color: var(--purple); width: 38%; white-space: nowrap; }
.prop-facts td:last-child { color: var(--dark-grey); }

.prop-description { margin-bottom: 8px; }
.prop-description h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.prop-description p { font-size: 0.9rem; line-height: 1.7; color: var(--dark-grey); margin-bottom: 12px; }

.desc-heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple);
  margin-top: 20px;
  margin-bottom: 6px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--light-grey);
}
.desc-heading:first-child { margin-top: 0; }

/* Sidebar */
.prop-sidebar { position: sticky; top: calc(var(--nav-h) + 20px); }

.prop-price-card {
  background: var(--purple);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.prop-price-card .price-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.prop-price-card .price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  line-height: 1.1;
  margin-bottom: 12px;
}

.prop-action-btns { display: flex; flex-direction: column; gap: 8px; }

.prop-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-maps    { background: var(--white); color: var(--purple); }
.btn-maps:hover { background: var(--off-white); }
.btn-pdf     { background: var(--orange); color: var(--white); }
.btn-pdf:hover { background: var(--orange-light); }
.btn-enquire { background: rgba(255,255,255,0.12); color: var(--white); border: 1px solid rgba(255,255,255,0.25); }
.btn-enquire:hover { background: rgba(255,255,255,0.2); }

.prop-ref {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.prop-enquiry-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--light-grey);
}
.prop-enquiry-card h3 { font-size: 1rem; margin-bottom: 16px; color: var(--purple); }
.prop-enquiry-card .form-group { margin-bottom: 12px; }
.prop-enquiry-card label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-bottom: 4px;
}
.prop-enquiry-card input,
.prop-enquiry-card textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.875rem;
  background: var(--white);
  transition: border-color 0.2s;
}
.prop-enquiry-card input:focus,
.prop-enquiry-card textarea:focus { outline: none; border-color: var(--purple); }
.prop-enquiry-card textarea { min-height: 80px; resize: vertical; }

.prop-contact-alt { margin-top: 12px; font-size: 0.82rem; color: var(--mid-grey); text-align: center; }
.prop-contact-alt a { color: var(--purple); font-weight: 600; }

.prop-not-found {
  min-height: 60vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}

@media (max-width: 900px) {
  .prop-detail-inner { grid-template-columns: 1fr; }
  .prop-sidebar { position: static; }
}
