/* ============================================================
   RABIA MOTORS — Contact Page Redesign
   ============================================================ */

body.contact-page {
  margin: 0;
  padding: 0;
  font-family: 'DM Sans', var(--font);
  background: #f0f2f6;
}

body.contact-page .topbar {
  background: #12182b;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.contact-page .header {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 24px rgba(22, 33, 62, 0.06);
}

.cnt {
  --cnt-dark: #12182b;
  --cnt-dark2: #1a2744;
  --cnt-mid: #243352;
  --cnt-muted: #64748b;
  --cnt-line: rgba(15, 23, 42, 0.08);
  --cnt-radius: 16px;
  --cnt-radius-lg: 22px;
  --cnt-shadow: 0 20px 50px rgba(22, 33, 62, 0.12);
}

/* ── Shared ──────────────────────────────────────────────────── */
.cnt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #f5b4ad;
  background: rgba(192, 57, 43, 0.18);
  border: 1px solid rgba(240, 168, 160, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.cnt-eyebrow-dark {
  color: var(--primary);
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.18);
}

.cnt-eyebrow-light {
  color: #f0a8a0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.cnt-section {
  padding: 80px 0;
  background: #fff;
}

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

.cnt-section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.cnt-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cnt-dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.cnt-section-head p {
  margin: 0;
  color: var(--cnt-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

/* ── Hero ────────────────────────────────────────────────────── */
body.contact-page .cnt-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #12182b 0%, #1a2744 48%, #243352 100%);
  color: #fff;
  padding: 28px 0 64px;
}

.cnt-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 90% 15%, rgba(192, 57, 43, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 5% 90%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

body.contact-page .cnt-hero .container {
  position: relative;
  z-index: 1;
}

.cnt-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.82rem;
  color: #94a3b8;
}

.cnt-breadcrumb a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.cnt-breadcrumb a:hover {
  color: #fff;
}

.cnt-breadcrumb i {
  font-size: 0.62rem;
  opacity: 0.6;
}

.cnt-breadcrumb span {
  color: #fff;
  font-weight: 600;
}

.cnt-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.cnt-hero-copy h1 {
  font-size: clamp(2rem, 3.8vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 16px;
}

.cnt-hero-lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 22px;
}

.cnt-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.cnt-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 14px;
  border-radius: 999px;
}

.cnt-hero-meta i {
  color: #f0a8a0;
  font-size: 0.75rem;
}

.cnt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cnt-hero-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
}

.cnt-hero-panel {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--cnt-radius-lg);
  padding: 22px 24px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cnt-hero-panel-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cnt-hero-panel-head i {
  color: #f0a8a0;
}

.cnt-hero-channel {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cnt-hero-channel:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cnt-hero-channel > i {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #f0a8a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cnt-hero-channel strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.cnt-hero-channel span,
.cnt-hero-channel a {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.cnt-hero-channel a:hover {
  color: #fff;
}

/* ── Pillars ─────────────────────────────────────────────────── */
.cnt-pillars {
  margin-top: -28px;
  padding-bottom: 32px;
  position: relative;
  z-index: 2;
}

.cnt-pillar-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--cnt-line);
  border-radius: var(--cnt-radius-lg);
  box-shadow: var(--cnt-shadow);
  overflow: hidden;
}

.cnt-pillar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-right: 1px solid var(--cnt-line);
  transition: background 0.2s;
}

.cnt-pillar:last-child {
  border-right: none;
}

.cnt-pillar:hover {
  background: #fafbfc;
}

.cnt-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fdf0ef, #fff);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
  border: 1px solid rgba(192, 57, 43, 0.1);
}

.cnt-pillar-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cnt-pillar-text strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--cnt-dark);
}

.cnt-pillar-text em {
  font-style: normal;
  font-size: 0.74rem;
  color: var(--cnt-muted);
}

/* ── Main form area ──────────────────────────────────────────── */
.cnt-main {
  padding: 48px 0 64px;
}

.cnt-flash {
  margin-bottom: 20px;
}

body.contact-page .cnt-main .flash-stack {
  margin-bottom: 20px;
}

.cnt-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

.cnt-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 96px;
}

.cnt-channel {
  background: #fff;
  border: 1px solid var(--cnt-line);
  border-radius: var(--cnt-radius);
  padding: 22px 20px;
  box-shadow: 0 4px 16px rgba(22, 33, 62, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cnt-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 33, 62, 0.08);
}

.cnt-channel-wa {
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
  border-color: rgba(37, 211, 102, 0.25);
}

.cnt-channel-wa .cnt-channel-icon {
  background: rgba(37, 211, 102, 0.15);
  color: #16a34a;
}

.cnt-channel-accent {
  background: linear-gradient(135deg, #fdf6f5 0%, #fff 100%);
  border-color: rgba(192, 57, 43, 0.18);
}

.cnt-channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #fdf0ef;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.cnt-channel h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cnt-dark);
}

.cnt-channel p {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: var(--cnt-muted);
  line-height: 1.65;
}

.cnt-channel-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
}

.cnt-hours {
  background: var(--cnt-dark2);
  color: #fff;
  border-radius: var(--cnt-radius);
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cnt-hours-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 10px;
}

.cnt-hours-head i {
  color: #f0a8a0;
}

.cnt-hours p {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.cnt-hours span {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Form panel */
.cnt-form-panel {
  background: #fff;
  border: 1px solid var(--cnt-line);
  border-radius: var(--cnt-radius-lg);
  padding: 36px 40px 40px;
  box-shadow: var(--cnt-shadow);
}

.cnt-form-header {
  margin-bottom: 28px;
}

.cnt-form-header h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--cnt-dark);
  letter-spacing: -0.02em;
}

.cnt-form-header p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--cnt-muted);
  line-height: 1.65;
}

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

.cnt-field {
  margin-bottom: 18px;
}

.cnt-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--cnt-muted);
  margin-bottom: 8px;
}

.cnt-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--cnt-dark);
  background-color: #f8fafc;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.cnt-input:focus {
  background-color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

.cnt-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px auto;
}

.cnt-select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c0392b' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.cnt-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.cnt-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.28);
  margin-top: 4px;
}

.cnt-form-note {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--cnt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cnt-form-note i {
  color: var(--primary);
  font-size: 0.72rem;
}

/* ── Location ────────────────────────────────────────────────── */
.cnt-location {
  padding: 0 0 80px;
}

.cnt-location-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: linear-gradient(135deg, var(--cnt-dark) 0%, var(--cnt-dark2) 55%, var(--cnt-mid) 100%);
  border-radius: var(--cnt-radius-lg);
  overflow: hidden;
  box-shadow: var(--cnt-shadow);
}

.cnt-location-copy {
  padding: 48px 44px;
  color: #fff;
}

.cnt-location-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.cnt-location-copy > p {
  margin: 0 0 24px;
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.7;
  max-width: 420px;
}

.cnt-location-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cnt-location-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.cnt-location-list i {
  color: #f0a8a0;
  margin-top: 3px;
  flex-shrink: 0;
}

.cnt-location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cnt-loc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
}

.cnt-location-map {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 320px;
}

.cnt-map-placeholder {
  text-align: center;
  max-width: 280px;
}

.cnt-map-placeholder i {
  font-size: 2.5rem;
  color: #f0a8a0;
  margin-bottom: 16px;
}

.cnt-map-placeholder strong {
  display: block;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 6px;
}

.cnt-map-placeholder span {
  display: block;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 18px;
}

.cnt-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f0a8a0;
  padding: 10px 18px;
  border: 1px solid rgba(240, 168, 160, 0.3);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.cnt-map-link:hover {
  background: rgba(192, 57, 43, 0.2);
  color: #fff;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.cnt-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto;
}

.cnt-faq-item {
  background: #f8fafc;
  border: 1px solid var(--cnt-line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cnt-faq-item[open] {
  background: #fff;
  border-color: rgba(192, 57, 43, 0.25);
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.08);
}

.cnt-faq-item summary {
  list-style: none;
}

.cnt-faq-item summary::-webkit-details-marker {
  display: none;
}

.cnt-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--cnt-dark);
  cursor: pointer;
  user-select: none;
}

.cnt-faq-q i {
  color: var(--primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.cnt-faq-item[open] .cnt-faq-q i {
  transform: rotate(180deg);
}

.cnt-faq-a {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--cnt-muted);
  line-height: 1.7;
}

/* ── CTA ───────────────────────────────────────────────────────── */
.cnt-cta {
  padding: 56px 0 80px;
}

.cnt-cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: stretch;
}

.cnt-cta-main {
  background: linear-gradient(135deg, var(--primary) 0%, #d64535 55%, #e74c3c 100%);
  color: #fff;
  padding: 52px 56px;
  border-radius: var(--cnt-radius-lg);
  box-shadow: var(--cnt-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cnt-cta-main h2 {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.cnt-cta-main p {
  margin: 0 0 32px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  max-width: 480px;
}

.cnt-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cnt-cta-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
}

.cnt-cta-side {
  background: var(--cnt-dark2);
  padding: 52px 48px;
  border-radius: var(--cnt-radius-lg);
  box-shadow: var(--cnt-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.cnt-cta-contact {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  min-height: 76px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.cnt-cta-contact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.cnt-cta-contact i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.25);
  color: #ffb4ac;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.cnt-cta-wa i {
  background: rgba(37, 211, 102, 0.2);
  color: #4ade80;
}

.cnt-cta-contact span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cnt-cta-contact strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.cnt-cta-contact em {
  font-style: normal;
  font-size: 0.86rem;
  color: #cbd5e1;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cnt-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cnt-pillar-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .cnt-pillar:nth-child(2) {
    border-right: none;
  }

  .cnt-pillar:nth-child(odd) {
    border-bottom: 1px solid var(--cnt-line);
  }

  .cnt-layout {
    grid-template-columns: 1fr;
  }

  .cnt-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .cnt-hours {
    grid-column: span 2;
  }

  .cnt-location-card {
    grid-template-columns: 1fr;
  }

  .cnt-location-map {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 240px;
  }

  .cnt-faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cnt-cta-grid {
    grid-template-columns: 1fr;
  }

  .cnt-form-panel {
    padding: 28px 24px 32px;
  }
}

@media (max-width: 640px) {
  body.contact-page .cnt-hero {
    padding: 22px 0 44px;
  }

  .cnt-pillars {
    margin-top: -14px;
    padding-bottom: 24px;
  }

  .cnt-pillar-bar {
    grid-template-columns: 1fr;
  }

  .cnt-pillar {
    border-right: none;
    border-bottom: 1px solid var(--cnt-line);
  }

  .cnt-pillar:last-child {
    border-bottom: none;
  }

  .cnt-sidebar {
    grid-template-columns: 1fr;
  }

  .cnt-hours {
    grid-column: auto;
  }

  .cnt-form-row {
    grid-template-columns: 1fr;
  }

  .cnt-location-copy {
    padding: 32px 24px;
  }

  .cnt-location-map {
    padding: 28px 24px;
  }

  .cnt-cta-main,
  .cnt-cta-side {
    padding: 36px 28px;
  }
}
