/* ===================================
   Theli Tech – Contact Us page
   Mobile-first, clean layout
====================================== */

/* ----- Mobile: tighter spacing (screens under 768px) ----- */
@media (max-width: 767px) {
  .contact-page .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .contact-page section {
    padding-left: 0;
    padding-right: 0;
  }
  /* Mobile typography – slightly smaller margins */
  .contact-page h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .contact-page p {
    font-size: 16px;
    line-height: 1.55;
  }
  /* Main section – less vertical padding */
  .contact-main {
    padding: 1.5rem 0 2rem;
  }
  .contact-heading { margin-bottom: 0.6rem; }
  .contact-body { margin-bottom: 1rem; }
  .contact-list-block { margin-bottom: 0.65rem; }
  .contact-list-title { margin-bottom: 0.35rem; }
  .contact-info-two-col {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 0.75rem 0.35rem;
    margin-top: 0.5rem;
  }
  .contact-info-two-col .contact-list-block {
    margin-bottom: 0;
    padding-right: 0.15rem;
  }
  .contact-info-two-col .contact-list-title {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
  }
  .contact-info-two-col .contact-list {
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .contact-info-two-col .contact-direct-item {
    margin-top: 0.25rem;
  }
  .contact-info-two-col .contact-direct-item .contact-link {
    font-size: 0.9rem;
    margin-top: 0;
  }
  .contact-info-col { margin-bottom: 1.25rem !important; }
  /* Form – tighter gaps and padding */
  .contact-form-card {
    padding: 18px;
    border-radius: 10px;
  }
  .contact-form-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  .contact-form { gap: 0.85rem; }
  .contact-form-group label { margin-bottom: 0; }
  .contact-form-card input,
  .contact-form-card select,
  .contact-form-card textarea {
    height: 46px;
    margin-bottom: 0;
    min-height: 46px;
  }
  .contact-form-card textarea {
    height: 100px;
    min-height: 100px;
  }
  .contact-form-card button { height: 48px; }
  .contact-form-submit { margin-top: 0.25rem; }
  /* Trust bar */
  .contact-trust-bar { padding: 0.75rem 0; }
  .contact-trust-list { margin-top: 8px; }
  .contact-trust-list li { margin-bottom: 10px; }
  /* Why section */
  .contact-why { padding: 2rem 0; }
  .contact-why-title { margin-bottom: 1.25rem; }
  .contact-why-row [class*="col-"] { margin-bottom: 0.75rem; }
  .contact-why-card { padding: 1.15rem; }
  /* CTA strip */
  .contact-cta-strip { padding: 2rem 1rem; }
  .contact-cta-strip .contact-cta-text,
  .contact-cta-strip p { margin-bottom: 1.25rem; }
}

/* ----- 1. Hero (medium height, dark overlay, centered) ----- */
.contact-hero {
  position: relative;
  min-height: 36vh;
  max-height: 380px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}
.contact-hero .container {
  position: relative;
  z-index: 2;
}
.contact-hero h1,
.contact-hero .contact-hero-sub,
.contact-hero p {
  color: #fff !important;
}
.contact-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  text-transform: none;
}
.contact-hero-sub,
.contact-hero .contact-hero-sub,
.contact-hero p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 1.25rem;
}
.contact-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.contact-btn-primary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: #ffb347;
  color: #1a1a1a !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.contact-btn-primary:hover {
  background: #ffc068;
  color: #1a1a1a;
  transform: translateY(-1px);
}
.contact-btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.contact-btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

@media (max-width: 767px) {
  .contact-hero {
    min-height: 32vh;
    max-height: 340px;
    padding: 2rem 0;
  }
  .contact-hero h1 { font-size: 1.5rem; }
  .contact-hero-sub { font-size: 0.95rem; margin-bottom: 1rem; }
  .contact-hero-ctas { flex-direction: column; }
  .contact-hero-ctas .contact-btn-primary,
  .contact-hero-ctas .contact-btn-secondary { min-width: 180px; text-align: center; }
}

/* ----- 2. Trust bar ----- */
.contact-trust-bar {
  padding: 1.25rem 0;
  background: #f8f8f8;
  border-bottom: 1px solid #eee;
}
.contact-trust-list {
  margin-top: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.contact-trust-list li {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 16px;
  color: #333;
}
.contact-trust-list li:last-child {
  margin-bottom: 0;
}
.contact-trust-list i {
  margin-right: 10px;
  font-size: 18px;
  color: #f5a623;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .contact-trust-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 2rem;
    margin-top: 20px;
  }
  .contact-trust-list li { margin-bottom: 0; }
}

@media (max-width: 767px) {
  .contact-trust-bar { padding: 1rem 0; }
  .contact-trust-list { margin-top: 12px; }
  .contact-trust-list li { justify-content: flex-start; }
}

/* ----- 3. Main contact section (2-col, stacked on mobile) ----- */
.contact-main {
  padding: 3rem 0 4rem;
}
.contact-main-row {
  align-items: flex-start;
}
.contact-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
}
.contact-body {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin-bottom: 1.5rem;
}
.contact-info-two-col {
  /* Mobile 2-col layout applied in @media below */
}
.contact-direct-item {
  margin-top: 0.5rem;
}
.contact-direct-item .contact-link {
  margin-top: 0;
}
.contact-list-block {
  margin-bottom: 1.25rem;
}
.contact-list-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
}
.contact-list li::before {
  content: "· ";
  color: #ffb347;
  font-weight: bold;
}
.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.contact-direct-item .contact-link {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}
.contact-direct-item .contact-link:first-child { margin-top: 0; }
.contact-link {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact-link:hover { color: #ffb347; }
.contact-direct .contact-link:first-child { margin-top: 0; }
.contact-direct .contact-link + .contact-link { margin-top: 12px; }

@media (max-width: 991px) {
  .contact-info-col { margin-bottom: 2rem; }
}

/* ----- 4. Form card ----- */
.contact-form-col {
  padding-left: 1rem;
}
.contact-form-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  border: 1px solid #eee;
}
.contact-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1.25rem 0;
  letter-spacing: 0.02em;
  text-transform: none;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}
.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}
.contact-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-input:focus {
  outline: none;
  border-color: #ffb347;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
}
.contact-input::placeholder {
  color: #999;
}
.contact-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23555' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.contact-textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.contact-form-submit { margin-top: 0.5rem; }
.contact-submit-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  background: #ffb347;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}
.contact-submit-btn:hover {
  background: #ffc068;
  transform: translateY(-1px);
}
.contact-submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.35);
}

@media (max-width: 767px) {
  .contact-main-row { flex-direction: column; }
  .contact-form-col { padding-left: 0; }
  .contact-form-row { grid-template-columns: 1fr; }
  .contact-input { padding: 0.65rem 0.85rem; font-size: 16px; }
}

/* ----- 5. Why Contact reassurance cards ----- */
.contact-why {
  padding: 3.5rem 0;
  background: #f8f8f8;
}
.contact-why-title {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-why-row {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.contact-why-row [class*="col-"] {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
}
.contact-why-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  text-align: center;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}
.contact-why-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.contact-why-card i {
  color: #ffb347;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  display: block;
}
.contact-why-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.4;
  text-transform: none;
}

@media (max-width: 767px) {
  .contact-why { padding: 2.5rem 0; }
  .contact-why-title { margin-bottom: 1.5rem; }
}

/* ----- 6. Final CTA strip ----- */
.contact-cta-strip {
  padding: 3rem 1.5rem;
  text-align: center;
  background: #252525;
  color: #fff !important;
}
.contact-cta-strip .contact-cta-heading,
.contact-cta-strip h2 {
  color: #fff !important;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: none;
}
.contact-cta-strip .contact-cta-text,
.contact-cta-strip p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.contact-cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #ffb347;
  color: #1a1a1a !important;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.25s ease, transform 0.2s ease;
}
.contact-cta-btn:hover {
  background: #ffc068;
  color: #1a1a1a;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .contact-cta-strip { padding: 2.5rem 1rem; }
}
