:root {
  --bg: #f7f2eb;
  --surface: #fffdf9;
  --text: #201b16;
  --muted: #5f534a;
  --primary: #8b5e3c;
  --primary-dark: #6a432a;
  --accent: #d8b08c;
  --accent-strong: #b98758;
  --border: #e8dbcc;
  --shadow: 0 18px 45px rgba(32, 27, 22, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(216, 176, 140, 0.22), transparent 24%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  background: var(--surface);
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.2), transparent 45%);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(16.5rem, 28.5vw, 22.5rem);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

@media (max-width: 700px) {
  .brand {
    gap: 0.6rem;
  }

  .admin-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: clamp(6.4rem, 24vw, 8.2rem);
  }

  .brand-text strong {
    font-size: 0.8rem;
  }

  .brand-text small {
    font-size: 0.62rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

.brand-text strong {
  font-size: 0.95rem;
}

.brand-text small {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  color: var(--muted);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.8rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 20px rgba(139, 94, 60, 0.18);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}

.hero-highlights {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--muted);
}

.hero-card,
.info-card,
.listing-card,
.stats > div,
blockquote,
.property-filter-panel,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.5rem;
}

.card-item + .card-item {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border);
}

.card-item strong,
.listing-content span {
  display: block;
  margin-bottom: 0.25rem;
}

.card-item span,
.info-card p,
.listing-content p,
.about p,
.footer p,
blockquote footer {
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: #f3e7dc;
}

.section-heading {
  margin-bottom: 2rem;
}

.card-grid,
.listing-grid {
  display: grid;
  gap: 1.25rem;
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.info-card {
  padding: 1.5rem;
}

.card-image {
  width: 100%;
  height: 200px;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  overflow: hidden;
  border-radius: 0.75rem 0.75rem 0 0;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.info-card:hover .card-image img {
  transform: scale(1.05);
}

.listing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.listing-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(32, 27, 22, 0.12);
}

.listing-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.listing-image-upload {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.one {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url("https://images.unsplash.com/photo-1512918728675-ed5a9ecdebfd?auto=format&fit=crop&w=900&q=80");
}

.two {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url("https://images.unsplash.com/photo-1502672260266-1c1ef2d93688?auto=format&fit=crop&w=900&q=80");
}

.three {
  background-image: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.2)), url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=900&q=80");
}

.listing-content {
  padding: 1.1rem 1.2rem 1.3rem;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  width: 100%;
  height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(32, 27, 22, 0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats {
  display: grid;
  gap: 1rem;
}

.stats > div {
  padding: 1rem 1.2rem;
}

.stats strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-dark);
}

.testimonial-wrap {
  max-width: 1120px;
  margin: 0 auto;
  width: min(1120px, calc(100% - 2rem));
}

blockquote {
  padding: 1.5rem;
  font-size: 1.05rem;
}

.testimonial-slider {
  margin-top: 2rem;
  width: 100%;
  height: fit-content;
  overflow: hidden;
}

.testimonials-container {
  position: relative;
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: auto;
  min-height: 350px;
  flex-wrap: nowrap;
  overflow: visible;
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
  max-width: 100%;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin: 1rem 0;
  line-height: 1.7;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.testimonial-author {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 1rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.slider-button {
  background: var(--primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slider-button:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.slider-button:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

#contact-section-container {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}

#contact-section-container > div {
  max-width: 1120px;
  margin: 0 auto;
  width: min(1120px, calc(100% - 2rem));
}

#contact-section-container .contact-card {
  max-width: 100%;
  width: 100%;
}

.footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0;
}

.footer-page {
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.privacy-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5e7eb;
}

.privacy-section h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.privacy-section p {
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.privacy-section a {
  color: #f3e7dc;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #4b5563;
  flex-wrap: wrap;
}

.consent-row input {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.privacy-link {
  font-weight: 600;
  text-decoration: underline;
}

.privacy-page .privacy-card {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.privacy-page h2 {
  font-size: 1.2rem;
  margin-top: 1.2rem;
}

.footer-contact {
  max-width: none;
}

.footer-details {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  gap: 0;
  color: #e5e7eb;
  flex-wrap: wrap;
  align-items: center;
}

.footer-details li {
  display: flex;
  align-items: center;
}

.footer-details li:not(:last-child)::after {
  content: " • ";
  margin: 0 0.75rem;
  color: #e5e7eb;
}

.footer-details a {
  color: #f3e7dc;
}

.footer-socials {
  margin-top: 1rem;
  display: flex;
  gap: 1.25rem;
}

.footer-socials a {
  color: #f3e7dc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-socials a:hover {
  color: #8b5e3c;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.admin-form,
.admin-list-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.admin-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: white;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.saved-listings {
  display: grid;
  gap: 1rem;
}

.saved-listing {
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  background: #fffdf9;
}

.saved-listing h3 {
  margin-bottom: 0.3rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.team-member-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.team-member-actions .btn {
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.auth-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.auth-form label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.auth-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.admin-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.auth-card,
.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.25rem;
  padding: 1.25rem;
  width: min(100%, 420px);
}

.inquiry-form {
  display: grid;
  gap: 0.75rem;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-status {
  margin: 0;
  min-height: 1.25rem;
  color: #f7d9b8;
  font-size: 0.95rem;
}

.page-header {
  background: linear-gradient(135deg, #f8efe7 0%, #efe0cf 100%);
  padding: 1.25rem 0;
}

.page-content {
  padding: 3rem 0 4rem;
}

.page-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.property-filter-panel {
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr 1fr;
  gap: 1rem;
}

.filter-control {
  display: grid;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.filter-control span {
  font-weight: 600;
  color: var(--primary-dark);
}

.filter-control input,
.filter-control select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fff;
}

.property-results {
  margin: 0.9rem 0 0;
  color: var(--muted);
}

.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 1.25rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.contact-form-grid {
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
}

@media (max-width: 860px) {
  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .contact-form-section {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

.contact-page-card {
  width: 100%;
  background: var(--surface);
  color: var(--text);
}

.contact-detail-card {
  padding: 1.25rem 1.2rem;
  margin-top: 1rem;
  border-radius: 1rem;
  background: #f7efe7;
  border: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.8;
}

.contact-detail-card h3 {
  margin-bottom: 0.45rem;
  color: var(--primary-dark);
}

.contact-detail-card a {
  color: var(--primary-dark);
  font-weight: 600;
}

.contact-subtext {
  margin: 0 0 1rem;
  color: var(--muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.team-role {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
}

.team-contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.team-contact-list li + li {
  margin-top: 0.4rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--primary-dark);
  font-weight: 600;
}

.map-card {
  margin-top: 1.25rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  display: block;
}

.contact-support-card p {
  color: #e5e7eb;
}

/* ============================================================ */
/* THEME CONSISTENCY CLASSES */
/* ============================================================ */

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.5rem;
}

.testimonial-header h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.testimonial-rating {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.testimonial-meta {
  margin: 0;
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
}

.section-intro-text {
  color: var(--muted);
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.section-intro-text p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.mls-heading {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1rem;
}

.mls-iframe-wrapper {
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: var(--surface);
}

.mls-help-text {
  margin-top: 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.mls-help-text a {
  color: var(--primary-dark);
  font-weight: 600;
  transition: color 0.2s ease;
}

.mls-help-text a:hover {
  color: var(--primary);
}

.page-content {
  width: 100%;
  padding: 0;
}

.mls-search-section {
  width: 100%;
  padding: 3rem 0;
  background: var(--surface);
}

/* Calculator Styles */
.calculator-container {
  margin-top: 2rem;
}

.calculator-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  background: var(--surface);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.calculator-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.calculator-form .form-group:nth-child(odd):last-child {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: white;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 94, 60, 0.1);
}

.toggle-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.toggle-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  background: white;
  color: var(--muted);
  border-radius: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.toggle-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.calculator-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-content: start;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg);
  border-radius: 0.5rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.result-item.highlight {
  background: var(--accent);
  border-left-color: var(--primary);
}

.result-label {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.result-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.result-value.large {
  font-size: 1.75rem;
}

.calculator-disclaimer {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bg);
  border-left: 3px solid var(--primary);
  color: var(--muted);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.calculator-explanation {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: rgba(139, 94, 60, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: 0.5rem;
}

.calculator-explanation h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.calculator-explanation p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.rent-vs-buy-container {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.rent-vs-buy-card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.rent-vs-buy-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--text);
}

.rent-vs-buy-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 1rem 0;
}

.rent-vs-buy-card .btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rent-vs-buy-card .btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.3);
}

/* FAQ Styles */
.faq-container {
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.faq-question {
  margin: 0 0 0.75rem 0;
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-answer {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Resource List Styles */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.resource-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}

.resource-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* ============================================================ */

@media (max-width: 860px) {
  .hero-content,
  .about,
  .card-grid,
  .listing-grid,
  .info-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card {
    width: 100%;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
  }

  .calculator-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .calculator-form {
    grid-template-columns: 1fr;
  }

  .calculator-results {
    grid-template-columns: 1fr;
  }

  .toggle-buttons {
    flex-direction: column;
  }

  .toggle-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* TABLET RESPONSIVE (768px and below) */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  h3 {
    font-size: 1.1rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    padding-bottom: 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0 0;
  }

  .hero-card {
    padding: 1.25rem;
  }

  .hero-highlights {
    gap: 0.75rem;
    font-size: 0.95rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .listing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .listing-image {
    height: 180px;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-image {
    height: 280px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .info-card {
    padding: 1.25rem;
  }

  .card-image {
    height: 150px;
    margin: -1.25rem -1.25rem 0.75rem -1.25rem;
  }

  .about-image {
    height: 250px;
  }

  blockquote {
    padding: 1.25rem;
    font-size: 1rem;
  }

  .testimonial-card {
    padding: 1.5rem;
    height: auto;
    min-height: 320px;
  }

  .testimonial-text {
    font-size: 1rem;
    margin: 0.75rem 0;
  }

  .slider-controls {
    gap: 1.5rem;
    margin-top: 1rem;
  }

  .slider-button {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .filter-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-details {
    flex-wrap: wrap;
    font-size: 0.95rem;
  }

  .footer-socials {
    gap: 1rem;
    font-size: 0.95rem;
  }
}

/* MOBILE RESPONSIVE (480px and below) */
@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1rem;
  }

  .eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }

  .lead {
    font-size: 0.95rem;
  }

  .section {
    padding: 2rem 0;
  }

  .section-heading {
    margin-bottom: 1.5rem;
  }

  .hero {
    padding-bottom: 1.5rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0 0;
  }

  .hero-card {
    padding: 1rem;
  }

  .card-item {
    font-size: 0.95rem;
  }

  .card-item strong {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin: 1rem 0;
  }

  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    width: 100%;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .listing-image {
    height: 150px;
  }

  .listing-content {
    padding: 1rem 1rem 1.1rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stats > div {
    padding: 0.85rem 1rem;
  }

  .stats strong {
    font-size: 1.25rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .info-card {
    padding: 1rem;
  }

  blockquote {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .testimonial-wrap {
    width: min(100%, calc(100% - 1.5rem));
    margin: 0 auto;
  }

  .testimonials-container {
    height: auto;
  }

  .testimonial-card {
    padding: 1rem;
    height: auto;
    min-height: 300px;
  }

  .testimonial-text {
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.6;
  }

  .testimonial-author {
    font-size: 0.9rem;
    margin-top: 0.75rem;
  }

  .testimonial-stars {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .slider-controls {
    gap: 1rem;
    margin-top: 0.75rem;
  }

  .slider-button {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .slider-dots {
    gap: 0.4rem;
  }

  .dot {
    width: 8px;
    height: 8px;
  }

  .dot.active {
    width: 24px;
  }

  #contact-section-container {
    padding: 2rem 0;
  }

  #contact-section-container > div {
    width: min(100%, calc(100% - 1.5rem));
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .filter-control {
    gap: 0.3rem;
    font-size: 0.9rem;
  }

  .filter-control input,
  .filter-control select {
    padding: 0.65rem 0.75rem;
    font-size: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: 1rem;
  }

  .team-photo {
    margin-bottom: 0.75rem;
  }

  .team-role {
    font-size: 0.75rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .admin-form,
  .admin-list-panel {
    padding: 1rem;
  }

  .admin-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .admin-form input,
  .admin-form select,
  .admin-form textarea {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
  }

  .auth-card {
    padding: 1.5rem;
    max-width: 100%;
  }

  .auth-form input {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
  }

  .contact-card {
    width: 100%;
    padding: 1rem;
  }

  .inquiry-form input,
  .inquiry-form textarea {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
  }

  .inquiry-form textarea {
    min-height: 80px;
  }

  .consent-row {
    font-size: 0.85rem;
    gap: 0.5rem;
  }

  .page-header {
    padding: 2rem 0;
  }

  .page-content {
    padding: 2rem 0 2.5rem;
  }

  .page-intro {
    margin-bottom: 1.5rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-detail-card {
    padding: 1rem;
    margin-top: 0.75rem;
  }

  .contact-detail-card h3 {
    font-size: 1rem;
  }

  .map-card iframe {
    min-height: 220px;
  }

  .footer {
    padding: 2rem 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-contact {
    width: 100%;
  }

  .footer-contact h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .footer-contact > p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }

  .footer-details {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    align-items: flex-start;
  }

  .footer-details li:not(:last-child)::after {
    content: "";
    margin: 0;
  }

  .footer-details li {
    display: block;
  }

  .footer-socials {
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
  }

  .privacy-section {
    margin-top: 1rem;
    padding-top: 1rem;
  }

  .privacy-section h3 {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .privacy-section p {
    font-size: 0.9rem;
  }

  .footer-copyright p {
    font-size: 0.85rem;
  }
}
