/* ============================================================
   UTAH HERITAGE HVAC — Contact Page
   contact.css
   ============================================================ */

/* ── GeneratePress overrides ────────────────────────────── */
.site-content, .content-area, #primary,
.inside-article, .entry-content, .post, .page {
  padding: 0 !important; margin: 0 !important;
  width: 100% !important; max-width: 100% !important;
}
.site-main, .site, #page {
  padding: 0 !important; margin: 0 !important;
  width: 100% !important; max-width: 100% !important;
}
.entry-header, .page-header, .entry-title { display: none !important; }
.site-header, .site-footer, .site-info    { display: none !important; }

#uhh-contact {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 0;
}


/* ── Hero ───────────────────────────────────────────────── */
.ct-hero {
  background-color: var(--navy);
  padding: 56px 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.ct-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ct-badge {
  display: inline-block;
  background-color: var(--teal);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.ct-hero-left h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.ct-hero-left h1 span { color: var(--orange); }

.ct-hero-left > p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.ct-hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ct-hero-logo {
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}


/* ── Main Contact Grid ──────────────────────────────────── */
.ct-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}


/* ── Contact Cards ──────────────────────────────────────── */
.ct-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.ct-contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.ct-contact-card:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transform: translateY(-1px);
  color: var(--navy);
}

.ct-card-static { cursor: default; }
.ct-card-static:hover { transform: none; box-shadow: none; border-color: var(--border); }

.ct-card-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-card-icon i { font-size: 22px; color: var(--teal); }

.ct-contact-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  line-height: 1.2;
}

.ct-contact-card span {
  font-size: 15px;
  color: var(--teal);
  font-weight: 500;
}

.ct-card-arrow {
  font-size: 18px;
  color: var(--border);
  margin-left: auto;
  flex-shrink: 0;
}


/* ── Business Hours ─────────────────────────────────────── */
.ct-hours {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  border: 1px solid var(--border);
}

.ct-hours h3 {
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--sand);
}

.ct-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ct-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--sand);
  font-size: 14px;
}

.ct-hours-list li:last-child { border-bottom: none; }

.ct-day  { color: var(--navy); font-weight: 600; }
.ct-time { color: var(--text); }
.ct-closed .ct-time { color: #aaa; font-style: italic; }


/* ── Contact Form ───────────────────────────────────────── */
.ct-form-col > p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 24px;
}

.ct-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

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

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.ct-form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.ct-required { color: var(--orange); }

.ct-form-group input,
.ct-form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.ct-form-group input:focus,
.ct-form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
}

.ct-submit-btn {
  width: 100%;
  justify-content: center;
  gap: 8px;
}

.ct-form-success {
  align-items: center;
  gap: 12px;
  background: #e8f7f1;
  border: 1px solid #a3d9c3;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 16px;
}

.ct-form-success i { font-size: 24px; color: #2a9d6e; flex-shrink: 0; }
.ct-form-success p { font-size: 15px; color: #1a6b4a; margin: 0; font-weight: 500; }


/* ── Not Sure Box ───────────────────────────────────────── */
.ct-not-sure {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.ct-not-sure h4 {
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}

.ct-not-sure p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 0;
}


/* ── Service Area ───────────────────────────────────────── */
.ct-area-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.ct-area-text p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 16px;
}

.ct-cities {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 12px;
}

.ct-area-note {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-style: italic;
}

.ct-area-note i { color: var(--teal); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.ct-area-note a { color: var(--teal); }

.ct-area-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.ct-area-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}


/* ============================================================
   MOBILE
   ============================================================ */
@media (max-width: 768px) {

  .ct-hero         { grid-template-columns: 1fr; padding: 40px 20px; gap: 28px; }
  .ct-hero-right   { order: -1; }
  .ct-hero-logo    { width: 200px !important; height: 200px !important; }

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

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

  .ct-area-inner   { grid-template-columns: 1fr; gap: 28px; }
  .ct-area-image img { height: 260px; }
}


/* ── Tablet ─────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

  .ct-hero         { grid-template-columns: 1fr; gap: 32px; }
  .ct-hero-right   { order: -1; }
  .ct-main-grid    { grid-template-columns: 1fr; gap: 36px; }
  .ct-area-inner   { grid-template-columns: 1fr; gap: 32px; }
}
