/* ==========================================================================
   RE/MAX Incompass — Global Styles
   Brand: Bold Red · Pure White · Deep Navy
   ========================================================================== */

:root {
  /* Brand colors */
  --red: #E11B22;
  --red-dark: #C4161C;
  --red-light: #FDE8E9;
  --navy: #0A1628;
  --navy-mid: #132337;
  --navy-light: #1E3A5F;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-50: #F3F4F6;
  --gray-100: #E5E7EB;
  --gray-200: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing & layout */
  --container: 1200px;
  --header-h: 80px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.12);
  --shadow-hover: 0 16px 48px rgba(10, 22, 40, 0.16);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* IDX-ready hooks (for future integration) */
  --idx-search-bg: var(--white);
  --idx-card-radius: var(--radius);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--red-dark);
}

ul, ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Utility */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-red { color: var(--red); }
.text-muted { color: var(--gray-500); }

/* Placeholder content callouts — easy to find & replace later */
.editable-placeholder {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--off-white);
  padding: 1.5rem 1.75rem;
  position: relative;
}

.editable-placeholder::before {
  content: attr(data-label);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.editable-placeholder p {
  color: var(--gray-600);
  margin-bottom: 0.75rem;
}

.editable-placeholder p:last-child {
  margin-bottom: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }
h4 { font-size: 1.05rem; }

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

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(225, 27, 34, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.875rem;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

/* Logo mark — replace with real RE/MAX Incompass logo later */
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.logo-mark::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid var(--white);
  border-radius: 50%;
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-45deg);
  margin-top: 2px;
}

.logo-mark::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 14px;
  height: 3px;
  background: var(--white);
  border-radius: 1px;
}

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

.logo-text .brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-text .brand span {
  color: var(--red);
}

.logo-text .tagline {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--red);
  background: var(--red-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.header-phone:hover {
  color: var(--red);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
}

.menu-toggle:hover {
  background: var(--gray-50);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: min(85vh, 720px);
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.7) 45%,
    rgba(10, 22, 40, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0 5rem;
  max-width: 700px;
}

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

.hero-content .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 540px;
}

/* Property search bar — IDX-ready structure */
.property-search {
  background: var(--idx-search-bg);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  /* data-idx-ready: true — swap this component for live IDX widget later */
}

.property-search-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .search-grid {
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: end;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236B7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.12);
}

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

.search-grid .btn {
  height: 46px;
  align-self: end;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 50%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(225, 27, 34, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.65rem;
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

/* ========== SECTIONS ========== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header.centered {
  text-align: center;
}

/* Featured listings / property cards */
.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  /* data-idx-ready: property card — replace with live MLS data later */
}

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

.property-card-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

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

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

.property-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.property-badge.status-pending {
  background: var(--navy-light);
}

.property-card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.property-address {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.property-meta svg {
  width: 16px;
  height: 16px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 1.75;
}

/* Why choose / features */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  color: var(--red);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
  line-height: 1.55;
}

/* Areas cards */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 480px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.area-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.area-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.25rem;
}

.area-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.area-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.area-card .arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate(4px, -4px);
  transition: all var(--transition);
}

.area-card:hover .arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.area-card .arrow svg {
  width: 16px;
  height: 16px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem 3.5rem;
  }
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(225, 27, 34, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.65rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
}

.cta-banner-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Agents grid */
.agents-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 560px) {
  .agents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .agents-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.agent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: inherit;
}

.agent-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 4px 24px rgba(225, 27, 34, 0.15);
}

.agent-card-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gray-100);
  position: relative;
}

.agent-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.agent-card:hover .agent-card-photo img {
  transform: scale(1.04);
}

.agent-card-photo .featured-badge {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
}

.agent-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  text-align: center;
}

.agent-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.agent-card-body .title {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.agent-card-body .meta {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.agent-card-body .link-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
}

/* Agent profile page */
.agent-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .agent-profile {
    grid-template-columns: 340px 1fr;
    gap: 3rem;
  }
}

.agent-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.agent-photo-lg {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.agent-photo-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-contact-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
}

.agent-contact-card h4 {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.925rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.75;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-row a {
  color: var(--navy);
  font-weight: 500;
}

.contact-row a:hover {
  color: var(--red);
}

.agent-main h1 {
  margin-bottom: 0.35rem;
}

.agent-main .title {
  font-size: 1.1rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.agent-main .bio {
  margin-bottom: 2rem;
}

.agent-main .bio p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Values / mission */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.value-card:hover {
  border-color: var(--red-light);
  box-shadow: var(--shadow);
}

.value-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.925rem;
  color: var(--gray-500);
}

/* About highlight box */
.about-highlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .about-highlight {
    grid-template-columns: 280px 1fr;
  }
}

.about-highlight-photo {
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
}

@media (min-width: 768px) {
  .about-highlight-photo {
    aspect-ratio: auto;
    height: 100%;
    min-height: 320px;
  }
}

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

.about-highlight-content {
  padding: 2rem 2rem 2rem 0;
}

@media (max-width: 767px) {
  .about-highlight-content {
    padding: 0 1.5rem 1.75rem;
  }
}

@media (min-width: 768px) {
  .about-highlight-content {
    padding: 2.25rem 2.5rem 2.25rem 0.5rem;
  }
}

.about-highlight-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.about-highlight-content .role {
  color: var(--red);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Listings filters */
.filters-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 2rem;
  /* data-idx-ready: filters — wire to live IDX search later */
}

.filters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .filters-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr auto;
    align-items: end;
  }
}

.filters-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filters-note svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.listings-count {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.25rem;
}

.listings-count strong {
  color: var(--navy);
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.contact-info-block h3 {
  margin-bottom: 1.25rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item-icon {
  width: 44px;
  height: 44px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
}

.info-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

.info-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.info-item p,
.info-item a {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.info-item a:hover {
  color: var(--red);
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.contact-form-card h3 {
  margin-bottom: 0.35rem;
}

.contact-form-card .form-intro {
  color: var(--gray-500);
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 500px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-actions {
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.85rem;
}

.map-placeholder {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-500);
  border: 2px dashed var(--gray-200);
  margin-top: 2rem;
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--gray-400);
  fill: none;
  stroke-width: 1.5;
}

.map-placeholder p {
  font-size: 0.9rem;
  text-align: center;
  padding: 0 1rem;
}

.map-placeholder strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

/* Office info strip */
.office-strip {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  border: 1px solid var(--gray-100);
}

@media (min-width: 640px) {
  .office-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.office-strip-item h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  margin-bottom: 0.4rem;
}

.office-strip-item p,
.office-strip-item a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Area detail page */
.area-detail-hero {
  position: relative;
  height: 320px;
  background: var(--navy);
  overflow: hidden;
}

.area-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.area-detail-hero .overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.area-detail-hero h1 {
  color: var(--white);
}

.area-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .area-content-grid {
    grid-template-columns: 1fr 340px;
  }
}

.area-sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--gray-100);
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.area-sidebar-card h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.area-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.area-stat {
  background: var(--white);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.area-stat .num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
}

.area-stat .label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1.15rem;
}

.footer-brand .logo-text .brand {
  color: var(--white);
}

.footer-brand .logo-text .tagline {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.925rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.75;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom a:hover {
  color: var(--white);
}

.remax-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  max-width: 480px;
  line-height: 1.5;
}

/* Form success toast */
.form-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 1rem 1.35rem;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 2000;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.35s ease;
  max-width: 340px;
  border-left: 4px solid var(--red);
}

.form-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile nav */
@media (max-width: 899px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  .header-cta .btn {
    display: none;
  }

  .header-phone {
    display: none;
  }
}

@media (min-width: 900px) {
  .header-phone {
    display: flex;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== WordPress-specific ========== */
.custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
}
.custom-logo {
  max-height: 52px;
  width: auto;
  height: auto;
}
.site-branding .logo,
.site-branding .custom-logo-link {
  text-decoration: none;
}
.nav .nav-menu,
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav .nav-menu a,
.nav-menu a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: all var(--transition);
  display: block;
  text-decoration: none;
}
.nav .nav-menu a:hover,
.nav .nav-menu .current-menu-item > a,
.nav .nav-menu .current_page_item > a {
  color: var(--red);
  background: var(--red-light);
}
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-menu li { margin-bottom: 0.55rem; }
.footer-brand .custom-logo { max-height: 48px; }
.footer-brand .custom-logo-link { margin-bottom: 1.15rem; display: inline-block; }
.hero-label { color: #FDE8E9 !important; }
.narrow-content { max-width: 760px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin-bottom: 1rem; color: var(--gray-600); line-height: 1.7; }
.entry-content h2 { margin: 1.75rem 0 0.85rem; }
.entry-content h3 { margin: 1.35rem 0 0.65rem; }
.entry-content ul, .entry-content ol { margin: 0 0 1rem 1.25rem; color: var(--gray-600); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content a { font-weight: 500; }
.alignwide { max-width: 100%; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--radius); }
.agents-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.agent-search-input {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-size: 0.95rem;
}
.agent-search-input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.12);
}
.agents-count { font-size: 0.9rem; color: var(--gray-500); margin: 0; }
.agents-count strong { color: var(--navy); }
.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-pill {
  display: inline-block;
  background: var(--red-light);
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}
.agent-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
}
.agent-social a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.agent-social a:hover { color: var(--red); }
.agent-name-desktop { margin-bottom: 0.35rem; }
@media (min-width: 800px) {
  .agent-main > .agent-name-desktop { display: block; }
}
.map-embed {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}
.editable-notice {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-200);
}
.idx-live { margin: 1rem 0; }
.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--red);
  color: white;
  border-radius: 6px;
}
.posts-list .post-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}
.posts-list .post-card h2 { margin-bottom: 0.5rem; font-size: 1.35rem; }
.posts-list .post-card h2 a { color: var(--navy); }
.posts-list .post-card h2 a:hover { color: var(--red); }
@media (max-width: 899px) {
  .nav .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }
  .nav .nav-menu a { padding: 0.85rem 1rem; font-size: 1rem; }
}
/* Logo text fallback when no custom logo */
.logo-text-fallback .brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.footer-brand .logo-text-fallback .brand { color: var(--white); }
.footer-brand .logo-text-fallback .tagline { color: rgba(255,255,255,0.5); }
.footer-contact-item svg { color: var(--red); }

/* ========== Locations / Offices ========== */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.location-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.location-card.is-main {
  border-color: rgba(225, 27, 34, 0.35);
  box-shadow: 0 4px 24px rgba(225, 27, 34, 0.12);
}
.location-card-top {
  padding: 1.35rem 1.35rem 0.75rem;
}
.location-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}
.location-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.location-card-title a {
  color: var(--navy);
  text-decoration: none;
}
.location-card-title a:hover {
  color: var(--red);
}
.location-card-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}
.location-card-body {
  padding: 0.5rem 1.35rem 1rem;
  flex: 1;
}
.location-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.925rem;
  color: var(--gray-700);
}
.location-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--red);
}
.location-detail p {
  margin: 0;
  line-height: 1.45;
}
.location-detail a {
  color: var(--navy);
  font-weight: 600;
}
.location-detail a:hover {
  color: var(--red);
}
.detail-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.15rem;
}
.location-service-areas {
  margin-top: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
}
.service-area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}
.service-area-tags li {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.service-area-tags.large li {
  font-size: 0.875rem;
  padding: 0.4rem 0.85rem;
}
.location-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1rem 1.35rem 1.35rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}
.location-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .location-single-grid {
    grid-template-columns: 1fr 360px;
    gap: 3rem;
  }
}
.location-service-block {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
}
.location-service-block h3 {
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}
.location-info-card h4 {
  margin-bottom: 1rem;
}
.header-phone-wrap {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  line-height: 1.2;
}
.header-offices-link {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.header-offices-link:hover {
  color: var(--red);
}
@media (min-width: 900px) {
  .header-phone-wrap {
    display: flex;
  }
  .header-cta > .header-phone {
    display: none;
  }
}
/* Footer multi-location */
.footer-grid-locations {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid-locations {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
@media (min-width: 1000px) {
  .footer-grid-locations {
    grid-template-columns: 1.4fr 1fr 1fr 1.5fr;
  }
}
.footer-main-phone {
  margin-top: 0.75rem;
}
.footer-main-phone .footer-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.2rem;
}
.footer-main-phone a {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}
.footer-main-phone a:hover {
  color: #FDE8E9;
}
.footer-locations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-location-item {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-location-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.footer-location-name {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.925rem;
  margin-bottom: 0.25rem;
}
.footer-location-name:hover {
  color: #FDE8E9 !important;
}
.footer-main-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--red);
  color: var(--white);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
}
.footer-location-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
  margin: 0 0 0.25rem;
}
.footer-location-phone {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85) !important;
}
.footer-location-phone:hover {
  color: var(--white) !important;
}
.contact-locations {
  margin-bottom: 0.5rem;
}
.editable-placeholder {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  background: var(--off-white);
  padding: 1.5rem 1.75rem;
}
.editable-placeholder::before {
  content: attr(data-label);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}
