/* ============================================ */
/* CONTACT PAGE                                 */
/* ============================================ */

/* ── Two-Column Contact Grid ─────────────────── */
.ccon-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: start;
}

/* ── Left Column: Contact Info ───────────────── */
.ccon-info-inner {
  position: sticky;
  top: 100px;
}

.ccon-biz-name {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #af6661;
}

.ccon-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.ccon-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4fbff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #375472;
}

.ccon-info-item p {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #375472;
  margin: 0;
  line-height: 1.6;
}

.ccon-phone-link,
.ccon-email-link {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #121b25;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ccon-address-1 {
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #121b25 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ccon-phone-link:hover,
.ccon-email-link:hover {
  color: #af6661;
}

/* ── Hours ────────────────────────────────────── */
.ccon-hours {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.ccon-hours p {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  color: #375472;
  margin: 0;
  line-height: 1.7;
}

.ccon-hours-label {
  font-weight: 700 !important;
  color: #121b25 !important;
  margin-bottom: 4px !important;
}

/* ── Map ──────────────────────────────────────── */
.ccon-map {
  margin-top: 28px;
  width: 100%;
}
@media (max-width: 450px) {
  .ccon-map {
    max-width: 350px;
  }
}

.ccon-map-image {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease;
}

.ccon-map a:hover .ccon-map-image {
  opacity: 0.9;
}

/* ── Right Column: Form ──────────────────────── */
.ccon-form-wrap {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #dce5ed;
}

.ccon-form-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #121b25;
  margin: 0 0 24px;
}

/* ── CF7 Form Field Styling ──────────────────── */
.ccon-form-wrap .wpcf7 input[type="text"],
.ccon-form-wrap .wpcf7 input[type="email"],
.ccon-form-wrap .wpcf7 input[type="tel"],
.ccon-form-wrap .wpcf7 input[type="url"],
.ccon-form-wrap .wpcf7 input[type="number"],
.ccon-form-wrap .wpcf7 select,
.ccon-form-wrap .wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.ccon-form-wrap .wpcf7 input:focus,
.ccon-form-wrap .wpcf7 select:focus,
.ccon-form-wrap .wpcf7 textarea:focus {
  outline: none;
  border-color: #af6661;
}

.ccon-form-wrap .wpcf7 input[type="submit"] {
  width: 100%;
  padding: 16px;
  background-color: #af6661;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ccon-form-wrap .wpcf7 input[type="submit"]:hover {
  background-color: #944f4a;
}

.ccon-form-wrap .wpcf7 p {
  margin: 0 0 4px;
}

.ccon-form-wrap .wpcf7-form-control-wrap {
  display: block;
}

/* ============================================ */
/* ESTIMATOR SECTION (Dark)                     */
/* ============================================ */
.ccon-estimate-section {
  background: #121b25;
  padding: 80px 0;
}

.ccon-estimate-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.ccon-estimate-info-inner {
  position: sticky;
  top: 100px;
}

.ccon-estimate-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.2;
}

.ccon-estimate-text {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin: 0 0 28px;
}

/* ── Trust Items ─────────────────────────────── */
.ccon-estimate-trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.ccon-estimate-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ccon-estimate-trust-item svg {
  flex-shrink: 0;
}

.ccon-estimate-trust-item span {
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

/* ── Disclaimer ──────────────────────────────── */
.ccon-estimate-disclaimer {
  margin-top: 20px;
  padding: 12px 16px;
  border-left: 3px solid #485260;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 0 6px 6px 0;
}

.ccon-estimate-disclaimer p {
  margin: 0;
  color: #9ca3af;
  line-height: 1.4;
  font-style: italic;
}

/* ── Estimator Form Container ────────────────── */
.ccon-estimate-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.ccon-estimate-form #cqg-quote-app {
  max-width: 100%;
}

.ccon-info-item:has(.ccon-phone-link),
.ccon-info-item:has(.ccon-email-link) {
  align-items: center;
}

/* ============================================ */
/* RESPONSIVE                                   */
/* ============================================ */
@media (max-width: 960px) {
  .ccon-grid,
  .ccon-estimate-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ccon-info-inner,
  .ccon-estimate-info-inner {
    position: static;
  }
}

@media (max-width: 768px) {
  .ccon-form-wrap {
    padding: 24px;
  }

  .ccon-estimate-section {
    padding: 60px 0;
  }

  .ccon-estimate-form {
    padding: 20px;
  }

  .ccon-biz-name {
    font-size: 22px;
  }
}

/* ============================================ */
/* GENERATEPRESS FULL-WIDTH OVERRIDE            */
/* ============================================ */
.page-template-templates-page-contact-php .site-content,
.page-template-page-contact .site-content {
  display: block !important;
}
.page-template-templates-page-contact-php .inside-article,
.page-template-page-contact .inside-article {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-contact-php #primary,
.page-template-page-contact #primary {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
.page-template-templates-page-contact-php .entry-content,
.page-template-page-contact .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
.page-template-templates-page-contact-php #right-sidebar,
.page-template-templates-page-contact-php #left-sidebar,
.page-template-page-contact #right-sidebar,
.page-template-page-contact #left-sidebar {
  display: none !important;
}

/* ── Map Expand Hint ─────────────────────────── */
.ccon-map-modal-trigger {
  display: block;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}
.ccon-map-expand-hint {
  display: block;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #af6661;
  margin-top: 8px;
  transition: color 0.2s ease;
}
.ccon-map-modal-trigger:hover .ccon-map-expand-hint {
  color: #121b25;
}
.ccon-map-modal-trigger:hover .ccon-map-image {
  opacity: 0.85;
}

/* ── Map Modal ───────────────────────────────── */
.ccon-map-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
}
.ccon-map-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ccon-map-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 27, 37, 0.85);
}
.ccon-map-modal-content {
  position: relative;
  width: 92vw;
  height: 88vh;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  z-index: 1000000;
}
.ccon-map-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ccon-map-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 1000001;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 27, 37, 0.7);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.ccon-map-modal-close:hover {
  background: #af6661;
}
