/* ═══════════════════════════════════════════════════════════════
   Pinnacle Climate Systems — CONTACT PAGE CSS
   contact.html specific styles only
═══════════════════════════════════════════════════════════════ */

/* ─── CONTACT HERO ─── */
.contact-hero {
  background: var(--navy-deep);
  padding: calc(var(--nav-h) + var(--sp6)) 0 var(--sp7);
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute; inset: 0;

  pointer-events: none;
}
.contact-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp5);
  align-items: center;
}
.contact-hero-left { max-width: 100%; }
.contact-hero h1 { color: #fff; }
.contact-hero .subhead { color: rgba(255,255,255,.5); }

.contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp4);
}

/* ─── CONTACT MAIN ─── */
.contact-main { background: var(--gray-50); padding: var(--sp7) 0 var(--sp8); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp5);
  align-items: start;
}

/* ─── FORM CARD ─── */
.form-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--rxxl);
  padding: var(--sp5);
  box-shadow: none;
  height: 100%;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.form-card-header { margin-bottom: var(--sp5); }
.form-card-header h2 { font-size: clamp(1.4rem, 2.5vw, 1.9rem); margin-bottom: var(--sp1); }
.form-card-header p  { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--sp3);
}
@media (min-width: 769px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ─── SIDEBAR ─── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp3);
  position: sticky;
  top: calc(var(--nav-h) + var(--sp3));
  min-width: 0;
  width: 100%;
}

/* Contact method card */
.contact-method {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: var(--sp4);
  display: flex;
  gap: var(--sp3);
  align-items: flex-start;
  transition: border-color var(--tb), box-shadow var(--tb), transform var(--tb);
}
.contact-method:hover {
  border-color: var(--orange);
  box-shadow: var(--sh-sm);
  transform: translateY(-1px);
}
.cm-icon {
  width: 48px; height: 48px;
  border-radius: var(--rm);
  background: var(--orange-soft);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--tb);
}
.contact-method:hover .cm-icon { background: var(--orange); color: #fff; }
.cm-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 3px;
}
.cm-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 3px;
}
.cm-value a { color: inherit; transition: color var(--tf); }
.cm-value a:hover { color: var(--orange); }
.cm-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Emergency card */
.emergency-card {
  background: var(--navy);
  border-radius: var(--rl);
  padding: var(--sp4);
  position: relative;
  overflow: hidden;
}
.emergency-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--orange);
  opacity: .06;
  pointer-events: none;
}
.ec-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--sp2);
}
.ec-phone {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #fff;
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: var(--sp2);
}
.ec-phone a { color: inherit; transition: color var(--tf); }
.ec-phone a:hover { color: var(--orange); }
.ec-note {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  margin-bottom: var(--sp3);
}
.ec-avail {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
}

/* Hours card */
.hours-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--rl);
  padding: var(--sp4);
}
.hours-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: var(--sp3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-title svg { color: var(--orange); }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.84rem;
}
.hours-row:last-child { border-bottom: none; padding-bottom: 0; }
.hours-day  { color: var(--text-mid); font-weight: 500; }
.hours-time { color: var(--navy); font-weight: 700; font-family: 'Manrope', sans-serif; font-size: 0.82rem; }
.hours-time--orange { color: var(--orange); }

/* ─── SERVICE AREA SECTION ─── */
.contact-area { background: var(--white); padding: var(--sp8) 0; border-top: 1px solid var(--border); }
.contact-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp6);
  align-items: center;
}
.area-city-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: var(--sp4);
}
.area-city-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px var(--sp2);
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: border-color var(--tb), color var(--tb);
  /* Equal height — all same */
  height: 44px;
  box-sizing: border-box;
}
.area-city-tag svg { color: var(--orange); flex-shrink: 0; }
.area-city-tag:hover { border-color: var(--orange); color: var(--navy); }

.area-map-placeholder {
  background: var(--navy);
  border-radius: var(--rxxl);
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--sp5);
  height: 100%;
}
.amp-icon  { opacity: .12; color: #fff; margin: 0 auto var(--sp3); }
.amp-text  { font-size: 0.84rem; color: rgba(255,255,255,.25); line-height: 1.65; }
.amp-text a { color: var(--orange); font-weight: 600; }

/* ─── RESPONSIVE ─── */
@media (min-width: 769px) {
  .contact-hero-inner   { grid-template-columns: 1fr 1fr; gap: var(--sp6); }
  .contact-layout       { grid-template-columns: 1fr 1fr; }
  .contact-area-grid    { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .form-card            { box-shadow: var(--sh-md); }
}

@media (max-width: 768px) {
  .form-card {
    box-shadow: none;
    padding: var(--sp3);
    border-radius: var(--rl);
  }
  .contact-hero, .contact-main, .contact-area, .contact-layout { overflow-x: hidden; }
  .emergency-card { min-width: 0; width: 100%; box-sizing: border-box; }
  .contact-method { min-width: 0; width: 100%; box-sizing: border-box; }
  .contact-hero-inner { grid-template-columns: 1fr; }
  .cm-value { font-size: 0.92rem; word-break: break-word; }
  .cm-sub { word-break: break-word; }
  .ec-phone { font-size: 1.5rem; }
  .ec-note { font-size: 0.92rem; }
  .hours-card { min-width: 0; width: 100%; box-sizing: border-box; }
}


/* ── Contact hero right panel ── */
.contact-hero-right {
  display: none;
  flex-direction: column;
  gap: var(--sp2);
}
@media (min-width: 769px) {
  .contact-hero-right { display: flex; }
}
.chr-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rl);
  padding: var(--sp4);
}
.chr-card--cta {
  background: rgba(249,115,22,.15);
  border-color: rgba(249,115,22,.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.chr-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: var(--sp1);
}
.chr-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.5); }
.chr-phone { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 1.7rem; color: #fff; letter-spacing: -.03em; }
.chr-phone:hover { color: var(--orange); }
.chr-sub { font-size: 0.8rem; color: rgba(255,255,255,.4); }
.chr-row { display: flex; align-items: center; gap: var(--sp2); }
.chr-dot { width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2); flex-shrink: 0; }
.chr-row-title { display: block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.9rem; color: #fff; }
.chr-row-val { display: block; font-size: 0.8rem; color: rgba(255,255,255,.45); margin-top: 2px; }

/* ── Service area equal heights ── */
.contact-area-section .container > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp5);
  align-items: stretch;
}
@media (min-width: 769px) {
  .contact-area-section .container > div { grid-template-columns: 1fr 1fr; }
}
.area-map-placeholder {
  min-height: 100%;
  height: 100%;
}