/* ============================================
   tfrooms.com — New Leaf Properties Design System
   Modern, mobile-first, accessible
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Blueground-inspired professional navy/teal palette */
  --color-primary: ##KEEP#var(--color-primary);
  --color-primary-light: ##KEEP#var(--color-accent);
  --color-primary-dark: ##KEEP#var(--color-primary-dark);
  --color-secondary: ##KEEP#var(--color-secondary);
  --color-secondary-light: ##KEEP#var(--color-secondary-light);
  --color-secondary-dark: ##KEEP#var(--color-secondary-dark);
  --color-accent: ##KEEP#var(--color-accent);
  --color-accent-light: #9fc6e0;
  --color-bg: #f8f8f7;
  --color-bg-alt: #f3f7fc;
  --color-surface: #ffffff;
  --color-text: #1e2d3d;
  --color-text-muted: #5a7085;
  --color-text-light: #8596a6;
  --color-border: #d6e6f2;
  --color-success: ##KEEP#var(--color-secondary);
  --color-error: #c84337;
  --color-warning: #673b04;
  --shadow-sm: 0 1px 3px rgba(39,54,86,0.06);
  --shadow-md: 0 4px 16px rgba(39,54,86,0.1);
  --shadow-lg: 0 8px 30px rgba(39,54,86,0.12);
  --shadow-xl: 0 16px 48px rgba(39,54,86,0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* High contrast mode - consolidated */
body.high-contrast {
  --color-bg: #ffffff;
  --color-bg-alt: #f0f0f0;
  --color-surface: #ffffff;
  --color-text: #000000;
  --color-text-muted: #1a1a1a;
  --color-text-light: #333333;
  --color-primary: #000080;
  --color-primary-light: #0000cc;
  --color-accent: #8B0000;
  --color-border: #000000;
  --shadow-sm: 0 0 0 1px #000;
  --shadow-md: 0 0 0 1px #000;
  --shadow-lg: 0 0 0 2px #000;
}
body.high-contrast .hero { background: #000080; }
body.high-contrast .btn { border-width: 3px; }
body.high-contrast .card { border-width: 2px; border-color: #000; }
body.high-contrast .feature-item { border-width: 2px; border-color: #000; }
body.high-contrast .notification-bar { background: #000; color: #fff; }
body.high-contrast .site-footer { background: #000; }
body.high-contrast a { text-decoration: underline; }
body.high-contrast .form-input, body.high-contrast .form-select, body.high-contrast .form-textarea {
  border-width: 2px; border-color: #000;
}

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

[data-reduce-motion="true"] *,
[data-reduce-motion="true"] *::before,
[data-reduce-motion="true"] *::after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
html[data-text-size="small"] { font-size: 14px; }
html[data-text-size="large"] { font-size: 18px; }
html[data-text-size="xlarge"] { font-size: 20px; }

body {
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-light); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--color-bg-alt);
}
.section--dark {
  background: var(--color-primary-dark);
  color: #fff;
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .text-muted { color: rgba(255,255,255,0.7); }
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 800;
}
.logo span { color: var(--color-accent); }
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a, .main-nav .nav-dropdown > button {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d5468;
  border-radius: 0;
  transition: all var(--transition);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav .nav-dropdown > button:hover,
.main-nav a.active {
  background: none;
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.nav-dropdown { position: relative; }
.nav-dropdown > button {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  padding: 0.6rem 1rem;
}
.nav-dropdown:hover > button,
.nav-dropdown:focus-within > button {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}
.nav-dropdown > button svg {
  transition: transform var(--transition);
  margin-left: 2px;
}
.nav-dropdown:hover > button svg,
.nav-dropdown:focus-within > button svg {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.nav-dropdown-menu a:hover {
  background: var(--color-bg);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.25rem;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  text-decoration: none;
  border: 2px solid var(--color-accent);
}
.header-cta:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.92rem;
  margin-left: 0.5rem;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}
.header-phone:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.header-phone svg {
  color: var(--color-accent);
  flex-shrink: 0;
}
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: all var(--transition);
  border-radius: 2px;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-surface);
  z-index: 999;
  overflow-y: auto;
  padding: 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #3d5468;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--color-primary);
  background: var(--color-bg);
}
.mobile-nav .sub-links a {
  padding-left: 2rem;
  font-size: 0.95rem;
  color: #5a7085;
}
.mobile-nav-cta {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 600;
  border-radius: var(--radius-md);
  font-size: 1.1rem;
}

@media (max-width: 1024px) {
  .main-nav, .header-phone, .header-cta { display: none; }
  .mobile-toggle { display: block; }
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  background: linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 45%, var(--color-accent) 100%);
  color: #fff;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(70,116,164,0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(56,118,113,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); margin-bottom: 1rem; color: #fff; }
.hero p { font-size: 1.15rem; max-width: 600px; opacity: 0.9; margin-bottom: 2rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
}
.hero-badge--link {
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}
.hero-badge--link:hover {
  background: rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-1px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
}
.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}
.btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn--green {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}
.btn--green:hover {
  background: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--sm { padding: 0.5rem 1.2rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* --- Cards --- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
}
.card-img span {
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.card-body { padding: 1.5rem; }
.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}
.card-title a { color: var(--color-primary); }
.card-title a:hover { color: var(--color-accent); }
.card-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.card-text { font-size: 0.95rem; color: var(--color-text-muted); }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--color-bg);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 50px;
  border: 1px solid var(--color-border);
}
.card-badge--available {
  background: #e8f5e9;
  color: var(--color-success);
  border-color: #c8e6c9;
}
.card-badge--waitlist {
  background: #fff3e0;
  color: var(--color-warning);
  border-color: #ffe0b2;
}
.card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
}
.card-price small {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

/* Card description and tags */
.card-description {
  font-size: 0.92rem;
  color: #5a7085;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.amenity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
/* Card price layout */
.card-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.price-nightly, .price-weekly {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}
.price-nightly small, .price-weekly small {
  font-size: 0.75rem;
  font-weight: 400;
  color: #8596a6;
}
/* Hero CTA group */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
  padding: 2.5rem 0;
}
/* Section header pattern */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
/* Gallery placeholder items */
.gallery-item {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.gallery-item span {
  padding: 0.4rem 0.75rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
}

/* Property card specifics */
.property-card .card-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}
.amenity-tag {
  padding: 0.2rem 0.55rem;
  background: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
  color: var(--color-text-muted);
}

/* --- Stats/Value Props --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem 1rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.section--dark .stat-number { color: #9fc6e0; }
.stat-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
}
.section--dark .stat-label { color: rgba(255,255,255,0.7); }

/* --- Features Grid --- */
.feature-item {
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}
.feature-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #fff;
}
.feature-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--color-primary); }
.feature-item p { font-size: 0.9rem; color: #5a7085; margin: 0; line-height: 1.6; }

/* --- Amenities Icons (Professional) --- */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.amenity-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all var(--transition);
}
.amenity-item:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.amenity-item .icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, rgba(70,116,164,0.08), rgba(56,118,113,0.08));
  border: 1px solid rgba(70,116,164,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: var(--color-accent);
}
/* SVG icon inside amenity */
.amenity-item .icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- FAQ Accordion --- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--color-surface);
}
/* Support both <button> and <h3> as question triggers */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--color-primary);
  transition: all var(--transition);
  margin: 0;
  font-family: var(--font-main);
  line-height: 1.4;
}
h3.faq-question { font-family: var(--font-main); }
.faq-question:hover { color: var(--color-accent); }
.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
/* Inner wrapper (used on some pages) */
.faq-answer-inner {
  padding: 0 1.25rem 1.1rem;
  color: #5a7085;
  font-size: 0.95rem;
  line-height: 1.7;
}
/* Direct content in faq-answer (pages without inner wrapper) */
.faq-answer > p,
.faq-answer > ul,
.faq-answer > ol {
  padding: 0 1.25rem 1.1rem;
  color: #5a7085;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.faq-answer > p a { color: var(--color-accent); text-decoration: underline; }

/* --- Payment Methods (Professional) --- */
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.payment-grid .payment-card { height: 100%; }
.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 2rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
}
.payment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0;
  transition: opacity var(--transition);
}
.payment-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: var(--color-text);
}
.payment-card:hover::before { opacity: 1; }
.payment-card .payment-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(70,116,164,0.1), rgba(56,118,113,0.1));
  border: 1px solid rgba(70,116,164,0.15);
  color: var(--color-accent);
}
.payment-card .payment-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.75;
}
.payment-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; color: var(--color-primary); }
.payment-card p { font-size: 0.85rem; color: #5a7085; margin: 0; line-height: 1.5; flex: 1; }
/* Recommended payment card highlight */
.payment-card--primary {
  border-color: var(--color-accent);
  border-width: 2px;
}
.payment-card--primary::before { opacity: 1; }
.payment-card--primary .payment-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  border: none;
}
.payment-card--primary .payment-icon svg { stroke: #fff; }

/* --- Forms (Professional) --- */
.form-group { margin-bottom: 1.35rem; }
.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #3d5468;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.form-label span[aria-label="required"],
.form-label .required {
  color: #c84337;
  font-weight: 700;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(70,116,164,0.12);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--color-text-light);
  font-weight: 400;
}
.form-select {
  appearance: none;
  -webkit-appearance: none;
  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='%23486688' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint {
  font-size: 0.78rem;
  color: var(--color-text-light);
  margin-top: 0.35rem;
  font-style: italic;
}
/* Form card wrapper */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.contact-form-card > p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}
/* Contact info card */
.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-detail {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-detail:last-of-type { border-bottom: none; }
.contact-detail strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.contact-detail a, .contact-detail p, .contact-detail address {
  font-size: 0.95rem;
  font-style: normal;
  color: #3d5468;
  margin: 0;
}
.contact-detail a { color: var(--color-accent); }
.contact-detail--highlight {
  background: linear-gradient(135deg, rgba(70,116,164,0.06), rgba(56,118,113,0.06));
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(70,116,164,0.15);
  border-bottom: 1px solid rgba(70,116,164,0.15);
}
/* Map embed in contact */
.map-embed {
  margin-top: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-embed iframe {
  display: block;
  width: 100%;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
}
.breadcrumbs ol, .breadcrumbs .breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: var(--color-text-light);
  font-weight: 400;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-primary); }
.breadcrumbs span:not(.current) { color: var(--color-text-light); margin: 0 0.4rem; }
.breadcrumbs .current,
.breadcrumbs li[aria-current="page"] { color: var(--color-text); font-weight: 500; }

/* --- Footer --- */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}
.footer-brand .logo {
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand .logo span { color: var(--color-accent); }
.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 300px;
  line-height: 1.7;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  transition: all var(--transition);
  font-size: 0;
}
.footer-social a svg {
  width: 22px;
  height: 22px;
}
.footer-social a:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  padding: 0.35rem 0;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: all var(--transition);
}
.footer-address {
  margin-top: 0.5rem;
}
.footer-address p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.footer-hours {
  font-size: 0.82rem;
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}
.footer-col a:hover {
  color: #9fc6e0;
  padding-left: 0.25rem;
}
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #9fc6e0; }
.footer-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.05);
  transition: all var(--transition);
}
.footer-lang:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.12);
  color: #fff !important;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 420px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Bottom Action Bar (Mobile) --- */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 0.5rem;
}
.bottom-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  max-width: 500px;
  margin: 0 auto;
}
.bottom-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition);
}
.bottom-bar a:hover, .bottom-bar a:active {
  background: var(--color-bg);
  color: var(--color-primary);
}
.bottom-bar .bar-icon { font-size: 1.3rem; }

@media (max-width: 768px) {
  .bottom-bar { display: block; }
  body { padding-bottom: 72px; }
}

/* --- Logo Image --- */
.logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: #fff;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Footer logo slightly smaller */
.footer-brand .logo-img {
  width: 38px;
  height: 38px;
}
.footer-brand .logo {
  margin-bottom: 1rem;
}

/* --- Accessibility Dialog (yoseth.com-style slide-in panel) --- */
.a11y-dialog {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  border: none;
  background: transparent;
  padding: 0;
  max-width: 100%;
  max-height: 100%;
}
.a11y-dialog::backdrop {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.a11y-dialog-inner {
  position: absolute;
  right: 0; top: 0;
  width: 380px;
  max-width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-left: 1px solid var(--color-border);
  overflow-y: auto;
  padding: 2rem 1.5rem;
  color: var(--color-text);
}
.a11y-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}
.a11y-dialog-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0;
}
.a11y-dialog-close {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}
.a11y-dialog-close:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.a11y-control-group {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.a11y-control-group:last-child { border-bottom: none; }
.a11y-control-label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
  display: block;
}
.a11y-size-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.a11y-size-btn {
  padding: 0.5rem 1rem;
  min-height: 44px;
  min-width: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
}
.a11y-size-btn.active, .a11y-size-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(70,116,164,0.06);
}
.a11y-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.a11y-toggle-row span {
  font-size: 0.92rem;
  color: var(--color-text);
  font-weight: 500;
}
/* Toggle switch (CSS-only, yoseth-style) */
.a11y-toggle {
  width: 50px; height: 28px; min-width: 50px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.a11y-toggle::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  background: var(--color-text-muted);
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: all 0.3s;
}
.a11y-toggle[aria-checked="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
}
.a11y-toggle[aria-checked="true"]::after {
  left: 24px;
  background: #fff;
}
.a11y-statement-block {
  margin-top: 0.5rem;
}
.a11y-statement-block p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.a11y-statement-block a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* --- Floating Button Stack (bottom-right) --- */
.floating-stack {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 991;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.65rem;
  align-items: center;
}
.float-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-md);
  padding: 0;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 800;
}
.float-btn:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #fff;
  transform: scale(1.08);
}
.float-btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
.float-btn svg { width: 20px; height: 20px; }
.back-to-top { font-size: 1.2rem; font-weight: 400; }
.a11y-open-btn { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.a11y-open-btn:hover { background: var(--color-primary-light); border-color: var(--color-primary-light); }
body.high-contrast .contrast-toggle {
  background: var(--color-accent, var(--color-accent));
  border-color: var(--color-accent, var(--color-accent));
  color: #fff;
}

/* --- Reading Guide (follows mouse) --- */
.reading-guide {
  position: fixed;
  left: 0; right: 0;
  height: 40px;
  pointer-events: none;
  z-index: 9998;
  border-top: 2px solid rgba(70,116,164,0.5);
  border-bottom: 2px solid rgba(70,116,164,0.5);
  background: rgba(70,116,164,0.06);
  display: none;
}
body.reading-guide-active .reading-guide { display: block; }

/* --- Link Highlighting --- */
body.highlight-links a {
  outline: 2px solid var(--color-accent) !important;
  outline-offset: 2px !important;
  text-decoration: underline !important;
}
body.highlight-links .main-nav a,
body.highlight-links .logo,
body.highlight-links .footer-social a,
body.highlight-links .bottom-bar a { outline: none !important; }

/* --- Reduce Motion (body class) --- */
body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* --- Mobile floating stack + chat alignment --- */
@media (max-width: 768px) {
  .floating-stack { bottom: 80px; right: 1rem; }
  .float-btn { width: 44px; height: 44px; }
  .chat-widget { bottom: 80px; right: 4.5rem; z-index: 990; }
  .chat-panel { width: calc(100vw - 32px); right: -2rem; bottom: 56px; }
}
@media (min-width: 769px) {
  .floating-stack { bottom: 1.5rem; right: 1.5rem; }
  .chat-widget { bottom: 1.5rem; right: 5.5rem; z-index: 990; }
  .chat-panel { bottom: 68px; }
}

/* --- Property Detail Page --- */
.property-hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
}
.property-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.property-hero .location { opacity: 0.85; font-size: 1.05rem; }
.property-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: -2rem;
  position: relative;
  z-index: 1;
}
.property-main {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 1.5rem;
  align-self: start;
}
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.rate-table {
  width: 100%;
}
.rate-table tr { border-bottom: 1px solid var(--color-border); }
.rate-table td { padding: 0.6rem 0; font-size: 0.95rem; }
.rate-table td:last-child { text-align: right; font-weight: 700; color: var(--color-primary); }

/* Rate highlight badge */
.rate-badge {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 0.25rem;
}
.rate-badge .rate-amount {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: block;
  line-height: 1.2;
}
.rate-badge .rate-label {
  font-size: 0.82rem;
  opacity: 0.85;
  margin-top: 0.15rem;
}

/* Get Directions button */
.btn--directions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  text-align: center;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.88rem;
}

/* Back to properties link */
.back-to-properties {
  text-align: center;
  padding: 2rem 0;
}

/* Sidebar property map */
.sidebar-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 200px;
  border: 1px solid var(--color-border);
}
.sidebar-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Rates comparison table */
.rates-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.rates-compare-table th {
  text-align: left;
  padding: 0.75rem 0.5rem;
  border-bottom: 2px solid var(--color-primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}
.rates-compare-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.rates-compare-table tr:hover { background: var(--color-bg-alt); }
.rates-compare-table a { font-weight: 600; }

/* Mobile call banner */
.mobile-call-banner {
  display: none;
  position: fixed;
  bottom: 72px;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #16a34a, #15803d);
  text-align: center;
}
.mobile-call-banner a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.6rem;
}
@media (max-width: 768px) {
  .mobile-call-banner { display: block; }
  body { padding-bottom: 120px; }
}

@media (max-width: 768px) {
  .property-info-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
  }
  .property-sidebar {
    position: static;
  }
}

/* --- Image Gallery Placeholder --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.gallery-grid .gallery-item:first-child {
  grid-row: 1 / -1;
}
.gallery-item {
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 250px;
  }
  .gallery-grid .gallery-item:not(:first-child) { display: none; }
  .gallery-grid .gallery-item:first-child { grid-row: auto; }
}

/* --- Map Embed --- */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.9); max-width: 600px; margin: 0 auto 1.5rem; }
.cta-banner a:not(.btn) { color: #fff; text-decoration: underline; }
.cta-banner a:not(.btn):hover { color: rgba(255,255,255,0.8); }
.cta-banner strong { color: #fff; }

/* --- Tabs --- */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
  overflow-x: auto;
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* --- Tables --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.data-table th, .data-table td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}
.data-table th {
  background: var(--color-bg-alt);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-text-muted);
}
.data-table td { border-top: 1px solid var(--color-border); }
.data-table tr:hover td { background: var(--color-bg); }

/* --- Careers Page --- */
.job-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
  overflow: hidden;
}
.job-card:hover { border-color: var(--color-accent); box-shadow: var(--shadow-md); }
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.75rem;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.job-card-header h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.job-card-body {
  padding: 1.5rem 1.75rem;
}
.job-card-body p { font-size: 0.93rem; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 1rem; }
.job-card-body h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 0.5rem; }
.job-card-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.job-card-body li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.25rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.job-card-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
@media (max-width: 600px) {
  .job-card-header { flex-direction: column; }
  .job-card-header .btn { align-self: flex-start; }
}

/* --- Notification Bar --- */
.notification-bar {
  background: var(--color-primary);
  color: rgba(255,255,255,0.9);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.notification-bar a {
  color: #9fc6e0;
  font-weight: 700;
  text-decoration: underline;
}
.notif-lang {
  display: inline-flex;
  align-items: center;
  margin-left: 0.75rem;
  padding: 0.15rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none !important;
  vertical-align: middle;
}
.notif-lang:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  color: #fff !important;
}
.mobile-nav-lang {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--color-accent) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

/* --- Partners Section --- */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
.partner-logo {
  opacity: 0.5;
  transition: opacity var(--transition);
  height: 40px;
}
.partner-logo:hover { opacity: 1; }

/* --- Skip Link (A11y) --- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- Utilities --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

/* --- Team Cards --- */
.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); }
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.team-photo-initials {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
}
.team-info { width: 100%; }
.team-info h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.team-role {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.92rem;
  color: #5a7085;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 0.75rem;
}
.team-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1rem 0;
}
.team-contact a {
  font-size: 0.88rem;
  font-weight: 500;
}
.team-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}
.team-badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- Team Grid (compact cards) --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.team-card--compact {
  padding: 1.25rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.team-card--compact h4 {
  font-size: 0.95rem;
  margin: 0;
}
.team-photo--sm {
  width: 64px;
  height: 64px;
  margin-bottom: 0.5rem;
}
.team-photo--sm .team-photo-initials {
  font-size: 1.2rem;
}
.team-bio-sm {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin: 0;
}
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Signature Pad --- */
.signature-pad-wrapper {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
.signature-pad {
  width: 100%;
  height: 160px;
  cursor: crosshair;
  touch-action: none;
  display: block;
}
.signature-actions {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
  display: flex;
  justify-content: flex-end;
}

/* --- Agreement Box --- */
.agreement-box {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
}
.agreement-box ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.75rem;
}
.agreement-box li { margin-bottom: 0.4rem; }

/* --- Form Fieldset --- */
.form-fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--color-surface);
}
.form-fieldset legend h3 {
  font-size: 1.1rem;
  padding: 0 0.5rem;
}

/* --- Floating Chat Widget --- */
.chat-widget {
  position: fixed;
  bottom: 1.5rem;
  right: 5.5rem;
  z-index: 996;
}
.chat-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition);
}
.chat-toggle:hover { background: var(--color-primary-light); transform: scale(1.08); }
.chat-toggle:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 2px;
}
.chat-panel {
  display: none;
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  max-height: 440px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  flex-direction: column;
}
.chat-panel.open { display: flex; }
.chat-header {
  padding: 1rem 1.25rem;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header h4 { margin: 0; font-size: 1rem; color: #fff; }
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}
.chat-close:hover { color: #fff; }
.chat-body {
  padding: 1.25rem;
  flex: 1;
  overflow-y: auto;
}
.chat-body p { font-size: 0.92rem; color: var(--color-text-muted); line-height: 1.6; }
.chat-body .quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.chat-body .quick-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}
.chat-body .quick-links a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
/* Card address line */
.card-address {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin: 0.15rem 0 0.5rem;
}

/* Property hero address */
.location-address {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* Clickable address links (Google Maps directions) */
.address-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
  transition: color var(--transition), border-color var(--transition);
}
.address-link:hover {
  color: var(--color-primary);
  border-bottom-style: solid;
}
.address-link::after {
  content: ' \2197';
  font-size: 0.75em;
  opacity: 0.6;
}

/* Chat tabs */
.chat-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}
.chat-tab {
  flex: 1;
  padding: 0.6rem 0.5rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.chat-tab:hover { color: var(--color-primary); }
.chat-tab.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}
.chat-tab-content { display: none; }
.chat-tab-content.active { display: block; }

/* Chat form */
.chat-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.chat-form input,
.chat-form textarea {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm, 6px);
  font-size: 0.88rem;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition);
  box-sizing: border-box;
}
.chat-form input:focus,
.chat-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb, 59, 130, 246), 0.15);
}
.chat-form textarea { resize: vertical; min-height: 60px; }
.chat-form .btn { width: 100%; }

.chat-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.chat-footer a {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Floating positioning handled in floating-stack section below */

/* --- Dark Mode (navy-toned) --- */
[data-theme="dark"] {
  --color-bg: var(--color-primary-dark);
  --color-bg-alt: var(--color-dm-bg);
  --color-surface: var(--color-dm-surface);
  --color-text: #d6e6f2;
  --color-text-muted: #9fc6e0;
  --color-text-light: #486688;
  --color-border: var(--color-primary);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.6);
}
[data-theme="dark"] .site-header {
  background: rgba(11,18,35,0.97);
  border-bottom-color: var(--color-primary);
}
[data-theme="dark"] .notification-bar {
  background: var(--color-dm-bg);
  color: #d6e6f2;
}
[data-theme="dark"] .notification-bar a { color: #9fc6e0; }
[data-theme="dark"] .logo { color: #d6e6f2; }
[data-theme="dark"] .logo span { color: var(--color-accent); }
[data-theme="dark"] .main-nav a,
[data-theme="dark"] .main-nav .nav-dropdown > button {
  color: #d6e6f2;
}
[data-theme="dark"] .main-nav a:hover,
[data-theme="dark"] .main-nav a.active {
  background: var(--color-dm-surface);
  color: #9fc6e0;
}
[data-theme="dark"] .nav-dropdown-menu { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .hero {
  background: linear-gradient(160deg, var(--color-dm-deep) 0%, var(--color-primary-dark) 45%, var(--color-primary) 100%);
}
[data-theme="dark"] .mobile-toggle span { background: #d6e6f2; }
[data-theme="dark"] .mobile-nav { background: var(--color-primary-dark); }
[data-theme="dark"] .mobile-nav a { color: #d6e6f2; border-bottom-color: var(--color-primary); }
[data-theme="dark"] .bottom-bar { background: var(--color-dm-surface); border-top-color: var(--color-primary); }
[data-theme="dark"] .bottom-bar a { color: #9fc6e0; }
[data-theme="dark"] .bottom-bar a:hover { background: var(--color-primary); color: #d6e6f2; }
[data-theme="dark"] .chat-panel { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .chat-body .quick-links a { background: var(--color-dm-bg); border-color: var(--color-primary); color: #d6e6f2; }
[data-theme="dark"] .chat-tabs { border-bottom-color: var(--color-primary); }
[data-theme="dark"] .chat-tab { color: #9fc6e0; }
[data-theme="dark"] .chat-form input,
[data-theme="dark"] .chat-form textarea { background: var(--color-dm-bg); border-color: var(--color-primary); color: #d6e6f2; }
[data-theme="dark"] .a11y-panel { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .a11y-btns button { background: var(--color-dm-bg); border-color: var(--color-primary); color: #d6e6f2; }
[data-theme="dark"] .card { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .feature-item { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .faq-item { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .form-input, [data-theme="dark"] .form-select, [data-theme="dark"] .form-textarea {
  background: var(--color-dm-bg); border-color: var(--color-primary); color: #d6e6f2;
}
[data-theme="dark"] .signature-pad { background: var(--color-dm-bg); }
[data-theme="dark"] .signature-actions { background: var(--color-dm-surface); border-top-color: var(--color-primary); }
[data-theme="dark"] .form-fieldset { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .agreement-box { background: var(--color-dm-bg); border-color: var(--color-primary); }
[data-theme="dark"] .sidebar-card { background: var(--color-dm-surface); border-color: var(--color-primary); }
[data-theme="dark"] .data-table th { background: var(--color-dm-bg); }
[data-theme="dark"] .data-table td { border-top-color: var(--color-primary); }
[data-theme="dark"] .site-footer { background: var(--color-dm-deep); }
[data-theme="dark"] .cta-banner { background: linear-gradient(135deg, var(--color-dm-bg) 0%, var(--color-primary) 100%); }
[data-theme="dark"] .a11y-dialog-inner { background: var(--color-dm-surface); border-left-color: var(--color-primary); }
[data-theme="dark"] .a11y-dialog-header h2 { color: #9fc6e0; }
[data-theme="dark"] .a11y-size-btn { border-color: var(--color-primary); color: #9fc6e0; }
[data-theme="dark"] .a11y-size-btn.active { border-color: var(--color-accent); color: var(--color-accent); background: rgba(70,116,164,0.15); }
[data-theme="dark"] .a11y-toggle { background: var(--color-dm-bg); border-color: var(--color-primary); }
[data-theme="dark"] .a11y-toggle::after { background: #486688; }
[data-theme="dark"] .a11y-control-group { border-bottom-color: var(--color-primary); }
[data-theme="dark"] .float-btn { background: var(--color-dm-surface); border-color: var(--color-primary); color: #9fc6e0; }
[data-theme="dark"] .float-btn:hover { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
[data-theme="dark"] .a11y-open-btn { background: var(--color-primary); border-color: var(--color-primary); color: #9fc6e0; }
[data-theme="dark"] .reading-guide { border-color: rgba(159,198,224,0.5); background: rgba(70,116,164,0.08); }

/* --- WCAG 2.1/2.2 AA Full Compliance --- */

/* SC 2.4.7 Focus Visible - clear focus indicators */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}
a:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
button:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 1px;
  box-shadow: 0 0 0 1px rgba(70,116,164,0.3);
}
[data-theme="dark"] :focus-visible { outline-color: #9fc6e0; }
[data-theme="dark"] input:focus-visible, [data-theme="dark"] select:focus-visible, [data-theme="dark"] textarea:focus-visible {
  outline-color: var(--color-accent);
}
body.high-contrast :focus-visible { outline-color: #000; outline-width: 4px; }

/* SC 2.5.8 Target Size (Minimum) - 24x24px minimum, 44x44 for primary */
.bottom-bar a { min-height: 44px; min-width: 44px; }
.a11y-toggle { min-height: 44px; min-width: 44px; }
.chat-toggle { min-height: 56px; min-width: 56px; }
.mobile-toggle { min-height: 44px; min-width: 44px; padding: 10px; }
.main-nav a, .main-nav .nav-dropdown > button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-col a { min-height: 32px; display: flex; align-items: center; }
.faq-question { min-height: 48px; }
.btn { min-height: 44px; }
.tab-btn { min-height: 44px; }

/* SC 1.4.11 Non-text Contrast - ensure borders/icons have 3:1 ratio */
.form-input, .form-select, .form-textarea {
  border-width: 1.5px;
}
.card { border-width: 1px; }

/* SC 2.4.11 Focus Not Obscured (Minimum) - ensure sticky elements don't cover focus */
.site-header { z-index: 1000; }
*:focus-visible { z-index: 1; position: relative; }

/* SC 4.1.3 Status Messages - live regions */
[role="status"] { position: relative; }
[role="alert"] { position: relative; }
.form-success, .form-error { role: status; }

/* SC 1.4.12 Text Spacing override support */
body {
  word-spacing: normal;
  letter-spacing: normal;
}

/* SC 2.4.13 Focus Appearance */
:focus-visible {
  outline-style: solid;
}

/* SC 1.4.13 Content on Hover or Focus */
.nav-dropdown-menu {
  transition: opacity 0.15s ease, visibility 0.15s ease;
}
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

/* SC 3.2.6 Consistent Help - help link always in footer */
/* Ensured by footer containing FAQ and Contact links */

/* (High contrast rules consolidated above) */

/* --- Quick Links Grid --- */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.quick-links-grid .feature-item {
  padding: 1.5rem 1rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
}
.quick-links-grid .feature-item h3 {
  font-size: 0.95rem;
  margin: 0;
}
.quick-links-grid .feature-item p {
  font-size: 0.82rem;
  margin: 0;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .quick-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .quick-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .quick-links-grid .feature-item {
    min-height: 120px;
    padding: 1.25rem 0.75rem;
  }
}

/* --- Credit Card Icons --- */
.cc-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
}
.cc-icons img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.2);
  transition: filter var(--transition), transform var(--transition);
}
.cc-icons img:hover {
  filter: grayscale(0);
  transform: scale(1.08);
}
@media (max-width: 480px) {
  .cc-icons img { height: 28px; }
  .cc-icons { gap: 0.75rem; }
}

/* --- Missing utility classes --- */
.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}
.card-area {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.hero-subtitle {
  font-size: 1.15rem;
  max-width: 600px;
  opacity: 0.9;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.9);
}
.property-hero .hero-subtitle {
  color: rgba(255,255,255,0.85);
}
.location-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
}
.property-hero.section {
  padding: 3rem 0;
}

/* --- Property Directory List --- */
.directory-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.directory-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
  border-radius: 0;
}
.directory-item:first-child {
  border-top: 1px solid var(--color-border);
}
.directory-item:hover {
  background: var(--color-bg-alt);
  padding-left: 1.25rem;
}
.directory-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
}
.directory-item span {
  font-size: 0.82rem;
  color: #5a7085;
  line-height: 1.4;
}

/* --- Room page gallery placeholder --- */
.gallery-placeholder {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery-placeholder::after {
  content: 'Photo Coming Soon';
  padding: 0.3rem 0.6rem;
  background: rgba(0,0,0,0.2);
  border-radius: var(--radius-sm);
}

/* --- Room page detail layout --- */
.property-details { padding: 3rem 0; }
.property-info-main h2 { margin-bottom: 1rem; }
.property-info-main p { color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1rem; }
.property-info-main h3 { margin: 2rem 0 1rem; font-size: 1.15rem; }
.gallery-section { padding: 2rem 0 0; }

/* --- Partner Cards --- */
.partner-card {
  height: 100%;
}
.partner-card .card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.partner-card .card-text {
  flex: 1;
}
.partner-card .btn {
  align-self: flex-start;
}

/* --- Lightbox / Photo Gallery --- */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}
.lightbox-overlay.open {
  display: flex;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-top: 1rem;
  text-align: center;
}
.lightbox-counter {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}
/* Gallery thumbnail grid (for property pages) */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.photo-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.photo-gallery-item:hover img {
  transform: scale(1.05);
}
.photo-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.3s;
}
.photo-gallery-item:hover::after {
  opacity: 1;
}

/* --- Calendly Embed --- */
.calendly-section {
  padding: 3rem 0;
}
.calendly-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 650px;
}
.calendly-inline-widget {
  min-width: 320px;
  width: 100%;
  height: 700px;
}
@media (max-width: 768px) {
  .calendly-inline-widget { height: 800px; }
}

/* --- Print --- */
@media print {
  .site-header, .site-footer, .bottom-bar, .a11y-toggle, .a11y-panel, .chat-widget { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .hero { background: #eee; color: #000; }
}


/* ============================================
   jonestf.com — Jones Motel Theme: Classic Navy
   ============================================ */
:root {
  --color-primary: #1b2a4a;
  --color-primary-light: #34507a;
  --color-primary-dark: #0e1525;
  --color-secondary: #607d8b;
  --color-secondary-light: #34507a;
  --color-secondary-dark: #3a4b53;
  --color-accent: #34507a;
  --color-dm-surface: #0c1321;
  --color-dm-bg: #080d16;
  --color-dm-deep: #04060b;
}

/* Direct overrides for any remaining hardcoded elements */
a { color: #34507a; }
a:hover { color: #34507a; }
h1, h2, h3, h4, h5, h6 { color: #1b2a4a; }
.site-header { border-bottom-color: #1b2a4a; }
.notification-bar { background: #1b2a4a; }
/* Buttons — explicit color + font for every state */
.btn--primary, .btn-primary {
  background: #1b2a4a; border-color: #1b2a4a;
  color: #fff; font-weight: 700; letter-spacing: 0.01em;
}
.btn--primary:hover, .btn-primary:hover {
  background: #34507a; border-color: #34507a;
  color: #fff;
}
.btn--secondary, .btn-secondary {
  background: #607d8b; border-color: #607d8b;
  color: #fff; font-weight: 700;
}
.btn--secondary:hover, .btn-secondary:hover {
  background: #435861; border-color: #435861;
  color: #fff;
}
.btn--outline, .btn-outline {
  background: transparent; border-color: #34507a; color: #34507a; font-weight: 700;
}
.btn--outline:hover, .btn-outline:hover {
  background: #34507a; border-color: #34507a; color: #fff;
}
.btn--green { background: #607d8b; border-color: #607d8b; color: #fff; font-weight: 700; }
.btn--green:hover { background: #435861; border-color: #435861; color: #fff; }
.btn--sm { font-weight: 700; }
.btn--lg { font-weight: 700; font-size: 1.1rem; }
/* Dark section buttons stay white text */
.section--dark .btn--primary { background: #fff; color: #1b2a4a; border-color: #fff; font-weight: 700; }
.section--dark .btn--primary:hover { background: rgba(255,255,255,0.9); color: #1b2a4a; }
.section--dark .btn--secondary, .section--dark .btn-secondary {
  background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); font-weight: 700;
}
.section--dark .btn--secondary:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }
/* Header CTA button */
.header-cta { background: #607d8b; border-color: #607d8b; color: #fff !important; font-weight: 700; }
.header-cta:hover { background: #435861; border-color: #435861; color: #fff !important; }
.section--dark { background: #1b2a4a; }
.section--dark h2 { color: #fff; }
.card-badge--available { background: #607d8b; }
.amenity-item { border-color: #34507a; color: #1b2a4a; }
.sidebar-card h4 { color: #1b2a4a; }
.footer-col h4 { color: #607d8b; }
.header-cta { background: #607d8b; }
.header-phone { color: #1b2a4a; }
.logo span { color: #34507a; }
.main-nav a.active { color: #34507a; border-bottom-color: #34507a; }
.main-nav a:hover { color: #34507a; }
.float-btn { background: #1b2a4a; color: #fff; }
.float-btn:hover { background: #34507a; }
.a11y-dialog-header { background: #1b2a4a; color: #fff; }
.faq-question:hover { color: #34507a; }
.card-title a { color: #1b2a4a; }
.card-title a:hover { color: #34507a; }
.property-hero { border-bottom: 3px solid #607d8b; }
.breadcrumbs a { color: #34507a; }
.footer-brand .logo span { color: #34507a; }
.tab-btn.active { color: #34507a; border-bottom-color: #34507a; }
.chat-header { background: #1b2a4a; color: #fff; }
.chat-tab.active { color: #34507a; border-bottom-color: #34507a; }
.rate-table tr td:last-child { color: #1b2a4a; }
/* Address text - lightened for readability on themed backgrounds */
.location-address { color: var(--color-text-light); }
.location-address a { color: var(--color-text-light); }
.location-address a:hover { color: #34507a; }
.location-subtitle { color: var(--color-text-light); }
.card-address { color: var(--color-text-light); }
/* Address links - clickable Google Maps directions */
.address-link, .location-address a, .footer-address a, .sidebar-card a[href*="google.com/maps"] {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color var(--transition);
}
.address-link:hover, .location-address a:hover, .footer-address a:hover {
  color: #34507a;
  text-decoration-style: solid;
}
.footer-address a { color: inherit; display: block; line-height: 1.5; }
.footer-address a:hover { color: #607d8b; }
/* Bottom bar - ensure legible on all theme backgrounds */
.bottom-bar { background: #fff; border-top: 2px solid #1b2a4a; }
.bottom-bar a { color: #1b2a4a; }
.bottom-bar a:hover, .bottom-bar a:active { background: #1b2a4a; color: #fff; }
.bottom-bar .bar-icon { color: #34507a; }
[data-theme="dark"] .bottom-bar { background: #0c1321; border-top-color: #34507a; }
[data-theme="dark"] .bottom-bar a { color: #e0e0e0; }
[data-theme="dark"] .bottom-bar a:hover { background: #1b2a4a; color: #fff; }
