:root {
  --ink: #102d23;
  --ink-light: #1b4537;
  --sage: #d9e9df;
  --paper: #f7f8f6;
  --muted: #5a6661;
  --line: #e5e9e5;
  --danger: #b42318;
  --danger-bg: #fee4e2;
  --warning: #b54708;
  --warning-bg: #fef0c7;
  --success: #027a48;
  --success-bg: #ecfdf3;
  --info: #026aa2;
  --info-bg: #f0f9ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: #19211e;
  font-family: Vazirmatn, Tahoma, sans-serif;
  line-height: 1.85;
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav, main > section, .page, footer {
  max-width: 1240px;
  margin: auto;
  padding-right: 28px;
  padding-left: 28px;
}

/* Navbar */
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  max-width: none;
  padding: 0 calc((100% - 1184px) / 2);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #eef0ee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  display: grid;
  line-height: 1.3;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
}

.nav nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.nav nav a {
  color: #2b3632;
  transition: color 0.15s;
}

.nav nav a:hover {
  color: var(--ink);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: #fff;
  color: #19211e;
  font-family: inherit;
}

.btn:hover {
  opacity: 0.92;
}

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

.btn-dark:hover {
  background: var(--ink-light);
  border-color: var(--ink-light);
  color: white;
}

.btn-light {
  background: #fff;
  border-color: var(--line);
  color: #19211e;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

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

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

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

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-xs {
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 6px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
}

.badge-muted {
  background: #f2f4f3;
  color: var(--muted);
}

.badge-status-pending {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-status-approved {
  background: var(--info-bg);
  color: var(--info);
}

.badge-status-completed {
  background: var(--success-bg);
  color: var(--success);
}

.badge-status-cancelled {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge-status-contacted {
  background: var(--info-bg);
  color: var(--info);
}

.badge-status-closed {
  background: #eef0ee;
  color: var(--muted);
}

/* Flash Messages */
.messages-container {
  max-width: 1184px;
  margin: 16px auto 0;
  padding: 0 28px;
}

.notice {
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #dff1e6;
  color: var(--ink);
  border-radius: 8px;
  font-weight: 500;
  border-right: 4px solid var(--ink);
}

.notice-success {
  background: var(--success-bg);
  color: var(--success);
  border-right-color: var(--success);
}

.notice-error {
  background: var(--danger-bg);
  color: var(--danger);
  border-right-color: var(--danger);
}

.notice-info {
  background: var(--info-bg);
  color: var(--info);
  border-right-color: var(--info);
}

/* Form Errors */
.form-errors {
  background: var(--danger-bg);
  color: var(--danger);
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 13px;
}

.form-errors ul {
  margin: 6px 0 0;
  padding-right: 20px;
}

.field-error {
  color: var(--danger);
  font-size: 11px;
  display: block;
  margin-top: 4px;
}

.help-text {
  color: var(--muted);
  font-size: 11px;
  display: block;
  margin-top: 4px;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 58px;
}

.hero h1, .page h1 {
  font-size: 44px;
  line-height: 1.5;
  margin: 14px 0;
  color: #0c241b;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.eyebrow, .section-head span, .request-strip > div > span, .consultant span {
  color: #456b58;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero figure {
  margin: 0;
  position: relative;
}

.hero figure img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.hero figcaption {
  position: absolute;
  bottom: 18px;
  right: 18px;
  left: 18px;
  padding: 12px 16px;
  background: rgba(16, 45, 35, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
}

.trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trust span {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: #2b3632;
}

/* Strips & Sections */
.request-strip {
  margin: 0 auto 58px !important;
  background: #eef2ee;
  max-width: 1184px !important;
  padding: 28px 36px !important;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.request-strip h2 {
  margin: 4px 0;
  font-size: 24px;
}

.request-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.section-head h2, section h2 {
  margin: 4px 0;
  font-size: 28px;
  color: var(--ink);
}

.view-all-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

/* Property Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 64px;
}

.property-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(18, 50, 27, 0.1);
}

.image {
  height: 220px;
  position: relative;
  background: #eef0ee;
}

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

.image span {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
}

.image .img-count {
  right: auto;
  left: 12px;
  background: rgba(16, 45, 35, 0.85);
  color: white;
}

.card-body {
  padding: 16px;
}

.card-body small {
  color: var(--muted);
  font-size: 12px;
}

.card-body h3 {
  font-size: 16px;
  margin: 6px 0 10px;
  line-height: 1.5;
}

.card-body strong {
  font-size: 16px;
  color: var(--ink);
  display: block;
}

.specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

/* Consultant Section */
.consultant {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  padding: 28px !important;
  margin-bottom: 55px !important;
}

.consultant > img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.consultant p {
  color: var(--muted);
  max-width: 680px;
}

.stats {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.stats b {
  display: grid;
  background: #f1f4f1;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 22px;
  color: var(--ink);
}

.stats small {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
}

/* CTA */
.cta {
  max-width: 1184px !important;
  margin-bottom: 60px !important;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 34px 42px !important;
}

.cta h2 {
  color: #fff;
  font-size: 24px;
  margin: 4px 0;
}

.cta p {
  color: #d4e5da;
  font-size: 13px;
  margin: 0;
}

/* Page Container */
.page {
  padding-top: 48px;
  padding-bottom: 64px;
  min-height: 75vh;
}

.page-header {
  margin-bottom: 36px;
}

.text-center {
  text-align: center;
}

/* Forms & Inputs */
input, select, textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: #fafcfb;
  padding: 11px 14px;
  border-radius: 8px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--ink);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(16, 45, 35, 0.08);
}

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

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #2b3632;
}

/* Filters bar */
.filters {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  gap: 12px;
  margin: 20px 0 36px;
  align-items: center;
}

.filters input {
  flex: 2;
}

.filters select {
  flex: 1;
}

/* Detail Page & Gallery */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
}

.gallery-container {
  margin-bottom: 24px;
}

.main-image-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  background: #eef0ee;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(16, 45, 35, 0.9);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.gallery-thumbnails {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.gallery-thumbnails img {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.gallery-thumbnails img.active, .gallery-thumbnails img:hover {
  border-color: var(--ink);
  transform: scale(1.04);
}

.property-desc {
  font-size: 15px;
  color: #3b4742;
  line-height: 1.9;
  margin: 18px 0 28px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 20px 0 32px;
}

.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  padding: 12px 14px;
  border-radius: 10px;
}

.feature-item small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.feature-item b {
  font-size: 14px;
  color: var(--ink);
}

.expert-note {
  background: #eef4ef;
  border-right: 4px solid var(--ink);
  padding: 16px 20px;
  border-radius: 10px;
  margin: 20px 0;
  font-size: 13px;
}

/* Sidebar Box */
.sidebar-box {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.price-box, .visit-form-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
}

.price-box strong {
  font-size: 22px;
  display: block;
  margin: 6px 0 10px;
  color: var(--ink);
}

.price-meta {
  color: var(--muted);
  font-size: 13px;
  display: block;
  margin-bottom: 16px;
}

.consultant-mini {
  background: #eef4ef;
  padding: 14px;
  border-radius: 10px;
  margin-top: 14px;
}

.consultant-mini b {
  font-size: 12px;
  color: #364840;
}

.consultant-mini p {
  margin: 4px 0 2px;
  font-weight: 700;
  color: var(--ink);
}

.consultant-mini small {
  color: var(--muted);
}

.visit-form-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}

.visit-form-card p {
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}

/* Consultation & Contact Standard Forms */
.request-title {
  text-align: center;
  max-width: 680px;
  margin: auto;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 32px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}

.wide {
  grid-column: 1 / -1;
}

.form-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

/* Dashboard */
.dash-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dashboard .metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.metric-card {
  background: white;
  border: 1px solid var(--line);
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.metric-card small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.metric-card b {
  display: block;
  font-size: 32px;
  color: var(--ink);
  margin: 4px 0;
}

.metric-desc {
  font-size: 11px;
  color: #7d8a85;
}

.dash-section {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 30px;
}

.dash-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f0;
}

.dash-section-header h2 {
  font-size: 20px;
  margin: 0;
}

.table-responsive {
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: right;
}

.dash-table th {
  padding: 12px 14px;
  background: #f8faf8;
  color: #4a5752;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.dash-table td {
  padding: 14px;
  border-bottom: 1px solid #f0f2f0;
  vertical-align: middle;
}

.table-thumb {
  width: 54px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.table-link {
  color: var(--ink);
  font-weight: 700;
}

.table-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dash-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.dash-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.workflow-card {
  background: #fbfdfc;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 12px;
}

.workflow-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.workflow-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.workflow-note {
  margin: 10px 0;
  padding: 8px 12px;
  background: #eef2ee;
  border-radius: 8px;
  font-size: 12px;
  color: #3b4742;
}

.status-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.status-form label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.status-form select {
  width: auto;
  padding: 5px 8px;
  font-size: 12px;
}

/* Property Form & Manager */
.property-form-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.editor-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}

.form-section {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf0ed;
}

.form-section h3 {
  font-size: 18px;
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 18px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.form-row-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.checkbox-group {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  cursor: pointer;
}

.existing-images-manager {
  margin-bottom: 20px;
  padding: 16px;
  background: #fbfdfc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.existing-images-manager h4 {
  margin: 0 0 12px;
  font-size: 14px;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.image-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
}

.image-box img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}

.image-actions {
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-actions-bottom {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Auth Page */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 65vh;
}

.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-header h1 {
  font-size: 26px;
  margin: 8px 0;
}

.auth-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--muted);
}

/* Delete confirmation page */
.delete-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.delete-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  max-width: 520px;
  text-align: center;
}

.warning-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.delete-target-info {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  padding: 16px;
  border-radius: 10px;
  text-align: right;
  margin: 20px 0;
  font-size: 13px;
}

.delete-target-info p {
  margin: 6px 0;
}

.delete-form-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* About & Contact pages */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.rounded-image {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
}

.shadow {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
}

.value-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.value-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
  color: var(--ink);
}

.value-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  font-size: 26px;
}

.info-card b {
  font-size: 14px;
  color: var(--ink);
  display: block;
}

.info-card p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.contact-form-wrapper {
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: 16px;
}

.contact-form-wrapper h2 {
  font-size: 22px;
  margin-top: 0;
}

.contact-form-wrapper p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 20px;
}

/* Footer */
footer {
  max-width: none !important;
  background: #112d23;
  color: #f4f7f4;
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.5fr;
  gap: 45px;
  padding: 48px calc((100% - 1184px) / 2) !important;
  margin-top: 60px;
}

.footer-col b {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
  color: #fff;
}

footer p, footer a {
  display: block;
  color: #c5d2ca;
  font-size: 13px;
  margin: 7px 0;
  transition: color 0.15s;
}

footer a:hover {
  color: #fff;
}

footer small {
  color: #8fa398;
  font-size: 11px;
  display: block;
  margin-top: 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-grid-two {
    grid-template-columns: 1fr;
  }
  .dashboard .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-3, .form-row-4 {
    grid-template-columns: 1fr;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .nav {
    padding: 0 16px;
    height: 68px;
  }
  .nav nav {
    display: none;
  }
  .hero, .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero {
    padding-top: 25px;
  }
  .hero h1, .page h1 {
    font-size: 30px;
  }
  .hero figure img {
    height: 270px;
  }
  .request-strip, .cta {
    display: block;
    padding: 22px !important;
  }
  .request-strip .btn, .cta .btn {
    margin-top: 14px;
  }
  .cards, .values-grid {
    grid-template-columns: 1fr;
  }
  .consultant {
    grid-template-columns: 1fr;
  }
  .consultant > img {
    height: 260px;
  }
  .request-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .dashboard .metrics {
    grid-template-columns: 1fr;
  }
  .main-image-wrapper {
    height: 300px;
  }
  .filters {
    flex-direction: column;
    align-items: stretch;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 36px 20px !important;
  }
}
