/* ================================================
   SHARED INNER PAGE STYLES (contact + quote)
   pages.css v1
================================================ */

/* ---- PAGE HERO ---- */
.pg-hero {
  position: relative;
  padding: 110px 0 70px;
  background: var(--dark);
  overflow: hidden;
}
.pg-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 60%, rgba(0,128,202,0.2) 0%, transparent 55%),
    linear-gradient(150deg, #0a1f35 0%, var(--dark) 60%, #0d1a2a 100%);
}
.pg-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.pg-hero-orange .pg-hero-bg {
  background:
    radial-gradient(ellipse 60% 80% at 15% 60%, rgba(221,76,6,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 85% 20%, rgba(0,128,202,0.12) 0%, transparent 55%),
    linear-gradient(150deg, #0a1f35 0%, var(--dark) 60%, #0d1a2a 100%);
}
.pg-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.pg-hero-inner .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.pg-hero-inner .breadcrumb a { color: rgba(255,255,255,0.5); }
.pg-hero-inner .breadcrumb a:hover { color: var(--white); }
.pg-hero-inner .breadcrumb i { font-size: 0.6rem; }
.pg-hero-inner h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.pg-hero-inner p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 28px;
}
.pg-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pg-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  font-size: 0.83rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
}
.pg-badge i { color: var(--secondary); font-size: 0.78rem; }

/* shared form fields */
.req { color: var(--secondary); font-weight: 700; }

/* =============================================
   CONTACT PAGE
============================================= */
.ct-section {
  padding: 80px 0 100px;
  background: var(--off-white);
}
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

/* Info cards */
.ct-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 24px 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.ct-card:last-child { margin-bottom: 0; }
.ct-card:hover { border-color: rgba(0,128,202,0.25); box-shadow: var(--shadow-md); }
.ct-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ct-card-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
}
.ct-card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.ct-link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
  transition: color var(--ease);
}
.ct-link:hover { color: var(--primary-dark); }
.ct-note {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.ct-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.ct-areas span {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
}
.ct-hours { width: 100%; }
.ct-hour-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.87rem;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.ct-hour-row span:first-child { color: var(--text-muted); }
.ct-hour-row:last-of-type { border-bottom: none; }
.ct-hour-emg {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--secondary);
  background: var(--secondary-light);
  padding: 8px 14px;
  border-radius: 8px;
}

/* Contact form card */
.ct-form-wrap { position: sticky; top: 90px; }
.ct-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ct-form-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 28px 32px;
}
.ct-form-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.ct-form-header p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
}
.ct-form {
  padding: 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Map */
.ct-map-section {
  padding: 0 0 80px;
  background: var(--off-white);
}
.ct-map-inner {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ct-map-label {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-map-label i { color: var(--primary); }
.ct-map { height: 380px; }
.ct-map iframe { display: block; }

/* Emergency strip */
.ct-emergency {
  padding: 56px 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
}
.ct-emg-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ct-emg-left {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ct-emg-pulse {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--secondary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
  animation: emergencyPulse 2s ease infinite;
  box-shadow: 0 0 0 0 rgba(221,76,6,0.6);
}
.ct-emg-left h3 { font-size: 1.25rem; font-weight: 800; color: var(--white); margin-bottom: 5px; }
.ct-emg-left p  { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.ct-emergency .btn-white { color: var(--secondary); }
.ct-emergency .btn-white:hover { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

/* =============================================
   QUOTE PAGE
============================================= */
.qt-section {
  padding: 80px 0 100px;
  background: var(--off-white);
}
.qt-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Form card */
.qt-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.qt-form-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  padding: 28px 36px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.qt-form-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--secondary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.qt-form-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--white); margin-bottom: 5px; }
.qt-form-header p  { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.qt-form {
  padding: 32px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.qt-section-label {
  font-family: var(--font-h);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary);
  padding: 4px 0 0;
  border-top: 2px solid var(--primary-light);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.qt-section-label:first-child { border-top: none; margin-top: 0; }
.qt-section-label::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

/* Radio group */
.qt-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.qt-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: var(--white);
  border: 1.5px solid #d1dbe8;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
  font-family: var(--font-h);
}
.qt-radio input { display: none; }
.qt-radio:has(input:checked),
.qt-radio:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }

/* Sidebar */
.qt-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }
.qt-sb-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 22px 20px;
}
.qt-sb-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; margin-bottom: 14px;
}
.qt-sb-card h4 { font-size: 0.97rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.qt-sb-card p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.65; }
.qt-sb-call {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-color: rgba(255,255,255,0.08);
}
.qt-sb-call h4 { color: var(--white); }
.qt-sb-call p  { color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.qt-sb-hours {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  margin-top: 10px;
}
.qt-sb-hours i { color: var(--primary); }
.qt-sb-services { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 22px 20px; }
.qt-sb-services h4 { font-size: 0.97rem; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.qt-sb-services ul { display: flex; flex-direction: column; gap: 8px; }
.qt-sb-services li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.84rem;
}
.qt-sb-services li i { color: var(--primary); font-size: 0.68rem; }
.qt-sb-services a { color: var(--text); transition: color var(--ease); }
.qt-sb-services a:hover { color: var(--primary); }

/* Trust strip */
.qt-trust {
  padding: 40px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.qt-trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.qt-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.qt-trust-item i { color: var(--primary); font-size: 1rem; }
.qt-trust-div { width: 1px; height: 28px; background: rgba(255,255,255,0.12); }

/* nav active button highlight */
.nav-active-btn {
  box-shadow: 0 0 0 3px rgba(221,76,6,0.3) !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .ct-grid  { grid-template-columns: 1fr; }
  .ct-form-wrap { position: static; }
  .qt-grid  { grid-template-columns: 1fr; }
  .qt-sidebar { position: static; }
}
@media (max-width: 768px) {
  .ct-emergency .ct-emg-inner { flex-direction: column; text-align: center; }
  .ct-emg-left { flex-direction: column; text-align: center; }
  .ct-emergency .btn { width: 100%; justify-content: center; }
  .qt-trust-inner { gap: 14px; }
  .qt-trust-div  { display: none; }
  .qt-form { padding: 24px 20px 28px; }
  .ct-form { padding: 24px 20px 24px; }
  .qt-form-header { padding: 22px 20px; }
  .ct-form-header { padding: 22px 20px; }
}
