/* Contact & Enquiry Routing — dark Netrent theme */

.contact-body {
  background: #0b0b1a;
}

.ct-page {
  --ct-bg: #090a0f;
  --ct-panel: #131520;
  --ct-panel-2: #191c2b;
  --ct-line: rgba(255, 255, 255, 0.1);
  --ct-muted: #a8a4bc;
  --ct-text: #f4f2ff;
  --ct-primary: #b88628;
  --ct-primary-2: #c99b3b;
  color: var(--ct-text);
  background: var(--ct-bg);
}

.ct-page a {
  color: inherit;
}

/* Keep site chrome readable above the dark contact canvas */
/* —— Hero —— */
.ct-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 420px at 12% -10%, rgba(198, 156, 78, 0.35), transparent 60%),
    radial-gradient(700px 360px at 90% 20%, rgba(221, 182, 109, 0.18), transparent 55%),
    linear-gradient(180deg, #12122a 0%, #0b0b1a 100%);
}

.ct-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.ct-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(198, 156, 78, 0.22);
  color: #cbbdff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ct-hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #fff;
}

.ct-hero-copy > p {
  margin: 0 0 22px;
  max-width: 520px;
  color: var(--ct-muted);
  font-size: 16px;
  line-height: 1.65;
}

.ct-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.ct-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e8e4ff;
  font-size: 14px;
  font-weight: 600;
}

.ct-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  flex-shrink: 0;
}

.ct-check svg {
  width: 13px;
  height: 13px;
}

.ct-hero-cards {
  display: grid;
  gap: 14px;
}

.ct-quick-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ct-line);
  backdrop-filter: blur(8px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ct-quick-card:hover {
  border-color: rgba(198, 156, 78, 0.55);
  background: rgba(198, 156, 78, 0.12);
  transform: translateY(-1px);
}

.ct-quick-ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--ct-primary), var(--ct-primary-2));
  color: #fff;
  flex-shrink: 0;
}

.ct-quick-ico svg {
  width: 22px;
  height: 22px;
}

.ct-quick-card span:not(.ct-quick-ico) {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ct-muted);
  margin-bottom: 4px;
}

.ct-quick-card strong {
  display: block;
  font-size: 17px;
  color: #fff;
  letter-spacing: -0.02em;
}

.ct-quick-card small {
  display: block;
  margin-top: 4px;
  color: #8f8aa8;
  font-size: 12px;
}

/* —— Topics —— */
.ct-topics {
  padding: 42px 0 36px;
  background: var(--bg-page, #090a0f);
  color: var(--ink, #f4f5f8);
  border-top: 1px solid var(--ct-line);
  border-bottom: 1px solid var(--ct-line);
}

.ct-topics-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.ct-topics-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.ct-topics-head p {
  margin: 0;
  color: var(--ct-muted);
  font-size: 15px;
  line-height: 1.55;
}

.ct-topic-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.ct-topic-card {
  appearance: none;
  border: 1px solid var(--ct-line);
  background: #11131c;
  border-radius: 16px;
  padding: 18px 14px 16px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  color: inherit;
  font: inherit;
}

.ct-topic-card:hover,
.ct-topic-card.is-active {
  border-color: rgba(184, 134, 40, 0.45);
  box-shadow: 0 12px 28px rgba(184, 134, 40, 0.15);
  transform: translateY(-2px);
}

.ct-topic-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #161928;
  color: var(--ct-primary-2);
  border: 1px solid var(--gold-border, rgba(184, 134, 40, 0.25));
}

.ct-topic-ico svg {
  width: 22px;
  height: 22px;
}

.ct-topic-card strong {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: #ffffff;
}

.ct-topic-card > span:last-child {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ct-muted);
}

/* —— Main —— */
.ct-main {
  padding: 48px 0 24px;
  background:
    radial-gradient(700px 360px at 80% 0%, rgba(198, 156, 78, 0.18), transparent 55%),
    var(--ct-bg);
  scroll-margin-top: 96px;
}

.ct-main-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 0.95fr;
  gap: 18px;
  align-items: stretch;
}

.ct-panel {
  background: var(--ct-panel);
  border: 1px solid var(--ct-line);
  border-radius: 20px;
  padding: 24px;
  min-width: 0;
}

.ct-form-panel,
.ct-branches-panel {
  height: 100%;
}

.ct-panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #fff;
}

.ct-panel > p {
  margin: 0 0 20px;
  color: var(--ct-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ct-mid {
  display: grid;
  gap: 16px;
}

/* Form */
.ct-form {
  display: grid;
  gap: 14px;
}

.ct-field {
  display: grid;
  gap: 6px;
}

.ct-field > span:first-child {
  font-size: 12px;
  font-weight: 700;
  color: #c5c0d8;
}

.ct-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--ct-line);
  background: rgba(255, 255, 255, 0.03);
}

.ct-input svg {
  width: 18px;
  height: 18px;
  color: #8b86a5;
  flex-shrink: 0;
}

.ct-input input,
.ct-input select,
.ct-field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
}

.ct-input select {
  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 d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23a8a4bc' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 22px;
}

.ct-input select option {
  color: #12102f;
}

.ct-field textarea {
  min-height: 120px;
  resize: vertical;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--ct-line);
  background: rgba(255, 255, 255, 0.03);
  line-height: 1.5;
}

.ct-input:focus-within,
.ct-field textarea:focus {
  border-color: rgba(198, 156, 78, 0.7);
  box-shadow: 0 0 0 3px rgba(198, 156, 78, 0.18);
}

.ct-error {
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
}

.ct-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ct-muted);
  line-height: 1.45;
  cursor: pointer;
}

.ct-consent input {
  margin-top: 3px;
  accent-color: var(--ct-primary);
}

.ct-consent a {
  color: #cbbdff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-submit {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  border-radius: 12px;
  font-weight: 800;
}

.ct-secure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #8b86a5;
  font-size: 12px;
}

.ct-secure svg {
  width: 16px;
  height: 16px;
  color: #22c55e;
}

/* Details */
.ct-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.ct-details li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.ct-detail-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(198, 156, 78, 0.16);
  color: #cbbdff;
  flex-shrink: 0;
}

.ct-detail-ico svg {
  width: 18px;
  height: 18px;
}

.ct-details strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}

.ct-details p,
.ct-details a {
  margin: 0;
  color: var(--ct-muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.ct-details a:hover {
  color: #cbbdff;
}

.ct-hours {
  margin: 0;
  display: grid;
  gap: 4px;
}

.ct-hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--ct-muted);
}

.ct-hours dt {
  font-weight: 600;
  color: #d8d4ea;
}

.ct-hours dd {
  margin: 0;
}

.ct-social-panel h2 {
  margin-bottom: 16px;
}

.ct-socials {
  display: flex;
  gap: 12px;
}

.ct-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--ct-line);
  background: rgba(255, 255, 255, 0.03);
  color: #cbbdff;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ct-socials a:hover {
  background: rgba(198, 156, 78, 0.25);
  border-color: rgba(198, 156, 78, 0.55);
  transform: translateY(-1px);
}

.ct-socials svg {
  width: 18px;
  height: 18px;
}

/* Branches */
.ct-map {
  position: relative;
  z-index: 0;
  isolation: isolate;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--ct-line);
  margin-bottom: 16px;
  background: #101022;
}

.ct-map .leaflet-container {
  width: 100%;
  height: 100%;
  background: #101022;
  font: inherit;
}

.ct-map-tiles {
  filter: brightness(1.08) contrast(1.05) saturate(1.08);
}

.ct-leaflet-marker {
  background: transparent;
  border: 0;
}

.ct-leaflet-pin {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--ct-primary);
  box-shadow: 0 0 0 4px rgba(198, 156, 78, 0.35), 0 0 12px rgba(198, 156, 78, 0.7);
}

.ct-branch-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ct-branch-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
}

.ct-branch-pin {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--ct-primary);
  box-shadow: 0 0 0 3px rgba(198, 156, 78, 0.25);
  flex-shrink: 0;
}

.ct-branch-list strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.ct-branch-list a {
  font-size: 12px;
  color: var(--ct-muted);
  text-decoration: none;
}

.ct-branch-list a:hover {
  color: #cbbdff;
}

.ct-branches-link {
  display: inline-flex;
  color: #cbbdff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.ct-branches-link:hover {
  text-decoration: underline;
}

/* —— CTA —— */
.ct-cta-wrap {
  padding: 28px 0 72px;
  background: var(--ct-bg);
}

.ct-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 36px;
  border-radius: 20px;
  background:
    radial-gradient(520px 200px at 0% 50%, rgba(255, 255, 255, 0.14), transparent 62%),
    linear-gradient(115deg, #c69c4e 0%, #a88035 45%, #ddb66d 100%);
  box-shadow: 0 18px 40px rgba(198, 156, 78, 0.35);
}

.ct-cta-copy {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.ct-cta-ico {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ct-cta-ico svg {
  width: 28px;
  height: 28px;
}

.ct-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}

.ct-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.55;
  max-width: 480px;
}

.ct-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Beat `.ct-page a { color: inherit }` so solid button stays readable */
.ct-page .ct-cta a.ct-cta-outline,
.ct-page .ct-cta a.ct-cta-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  box-shadow: none;
  white-space: nowrap;
}

.ct-page .ct-cta a.ct-cta-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
}

.ct-page .ct-cta a.ct-cta-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.ct-page .ct-cta a.ct-cta-solid {
  border: 0;
  background: #fff;
  color: #c69c4e;
  box-shadow: 0 8px 20px rgba(26, 10, 80, 0.18);
}

.ct-page .ct-cta a.ct-cta-solid:hover {
  background: rgba(198, 156, 78, 0.10);
  color: #4a2bc9;
  transform: translateY(-1px);
}

.ct-page .ct-cta a.ct-cta-outline svg,
.ct-page .ct-cta a.ct-cta-solid svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: inherit;
}

.ct-page .leaflet-control-zoom a {
  background: #1a1a30;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
}

.ct-page .leaflet-control-zoom a:hover {
  background: #252545;
  color: #fff;
}

.ct-page .leaflet-popup-content-wrapper {
  background: #1a1a30;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.ct-page .leaflet-popup-tip {
  background: #1a1a30;
}

.ct-page .leaflet-popup-content {
  margin: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1100px) {
  .ct-topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ct-main-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ct-branches-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .ct-hero-grid,
  .ct-main-grid {
    grid-template-columns: 1fr;
  }

  .ct-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-cta {
    flex-direction: column;
    align-items: stretch;
    padding: 28px;
  }

  .ct-cta-actions {
    width: 100%;
  }

  .ct-page .ct-cta a.ct-cta-outline,
  .ct-page .ct-cta a.ct-cta-solid {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .ct-topic-grid {
    grid-template-columns: 1fr;
  }

  .ct-trust {
    flex-direction: column;
    align-items: flex-start;
  }

  .ct-cta-actions {
    flex-direction: column;
  }

  .ct-page .ct-cta a.ct-cta-outline,
  .ct-page .ct-cta a.ct-cta-solid {
    width: 100%;
  }
}
