/* Delta Solar Contact page */

.solar-contact-hero {
  padding: 52px 80px 40px;
  text-align: center;
  border-bottom: 1px solid var(--solar-border);
  background: radial-gradient(circle at 50% 0%, rgba(246, 163, 41, 0.12), transparent 55%);
}

.solar-contact-hero .eyebrow {
  color: var(--solar-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}

.solar-contact-hero h1 {
  margin: 10px 0 14px;
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.solar-contact-hero h1 span {
  color: var(--solar-orange);
}

.solar-contact-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--solar-muted);
  line-height: 1.65;
  font-size: 16px;
}

.solar-contact-body {
  padding: 48px 80px 72px;
  max-width: 1200px;
  margin: 0 auto;
}

.solar-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.solar-contact-info h2 {
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 800;
}

.solar-contact-info > p {
  color: var(--solar-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
}

/* Iraq branches map — Leaflet */
.solar-map-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid var(--solar-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(246, 163, 41, 0.08);
}

.solar-iraq-leaflet {
  width: 100%;
  height: 420px;
  background: #eef0f3;
  z-index: 1;
}

.solar-iraq-leaflet.leaflet-container {
  font-family: Montserrat, Arial, sans-serif;
}

.solar-iraq-leaflet .leaflet-control-zoom a {
  background: rgba(255, 255, 255, 0.92);
  color: var(--solar-orange);
  border-color: rgba(246, 163, 41, 0.35);
}

.solar-iraq-leaflet .leaflet-control-zoom a:hover {
  background: rgba(246, 163, 41, 0.15);
  color: #000;
}

.solar-iraq-leaflet .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.75);
  color: rgba(0, 0, 0, 0.55);
  font-size: 10px;
}

.solar-iraq-leaflet .leaflet-control-attribution a {
  color: rgba(246, 163, 41, 0.75);
}

.solar-leaflet-pin-wrap {
  background: transparent;
  border: none;
}

.solar-leaflet-pin {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px;
  border-radius: 50%;
  background: var(--solar-orange);
  border: 3px solid #1a1208;
  box-shadow: 0 0 0 2px rgba(246, 163, 41, 0.5), 0 4px 14px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solar-leaflet-pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  background: rgba(246, 163, 41, 0.22);
  animation: solar-pin-pulse 2s ease-out infinite;
  z-index: 1;
}

.solar-leaflet-pin-wrap.is-active .solar-leaflet-pin {
  transform: scale(1.2);
  background: #ffc04d;
  box-shadow: 0 0 0 4px rgba(246, 163, 41, 0.4), 0 0 22px rgba(246, 163, 41, 0.65);
}

.solar-leaflet-pin-wrap.is-active .solar-leaflet-pulse {
  animation-duration: 1.2s;
  background: rgba(246, 163, 41, 0.35);
}

.solar-leaflet-tooltip {
  background: rgba(8, 8, 8, 0.94) !important;
  border: 1px solid rgba(246, 163, 41, 0.5) !important;
  color: var(--solar-orange) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45) !important;
}

.solar-leaflet-tooltip.leaflet-tooltip-top:before {
  border-top-color: rgba(246, 163, 41, 0.5) !important;
}

@keyframes solar-pin-pulse {
  0% {
    transform: scale(0.35);
    opacity: 0.8;
  }
  70% {
    transform: scale(1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Branch detail panel */
.branch-detail-panel {
  margin-bottom: 22px;
}

.branch-detail-panel[hidden] {
  display: none;
}

.branch-detail-card {
  padding: 20px 18px;
  border: 1px solid var(--solar-border);
  border-radius: 10px;
  background: var(--solar-card-bg);
  animation: branch-detail-in 0.25s ease both;
}

.branch-detail-kicker {
  margin: 0 0 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--solar-orange);
  font-weight: 800;
}

.branch-detail-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.branch-detail-row {
  margin-bottom: 14px;
}

.branch-detail-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--solar-muted);
  margin-bottom: 4px;
  font-weight: 700;
}

.branch-detail-phones {
  display: block;
}

.branch-detail-phone {
  margin: 0 0 6px;
}

.branch-detail-phone:last-child {
  margin-bottom: 0;
}

.branch-detail-row > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #e8e8e8;
}

.branch-detail-phone a {
  display: block;
  color: var(--solar-orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
}

.branch-detail-phone a:hover {
  text-decoration: underline;
}

.branch-call-btn {
  display: inline-flex;
  margin-top: 8px;
  font-size: 14px;
  padding: 12px 22px;
}

@keyframes branch-detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.solar-quick-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solar-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 1px solid var(--solar-border);
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  background: rgba(246, 163, 41, 0.06);
  transition: border-color 0.2s, background 0.2s;
}

.solar-quick-link:hover {
  border-color: var(--solar-orange);
  background: rgba(246, 163, 41, 0.12);
}

.solar-quick-link span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--solar-muted);
}

.solar-quick-link strong {
  color: var(--solar-orange);
  font-size: 15px;
}

.solar-form-panel {
  padding: 32px 28px;
  border: 1px solid var(--solar-border);
  border-radius: 12px;
  background: var(--solar-card-bg);
}

.solar-form-panel h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.solar-form-panel > p {
  margin: 0 0 28px;
  color: var(--solar-muted);
  font-size: 14px;
  line-height: 1.6;
}

.solar-form-errors {
  background: rgba(220, 60, 60, 0.15);
  border: 1px solid rgba(220, 60, 60, 0.4);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.solar-form-errors p {
  margin: 0;
  color: #ff8a8a;
  font-size: 14px;
}

.solar-form-success {
  text-align: center;
  padding: 48px 24px;
}

.solar-form-success .solar-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.solar-form-success h3 {
  margin: 0 0 12px;
  font-size: 24px;
  color: var(--solar-orange);
}

.solar-form-success p {
  margin: 0;
  color: var(--solar-muted);
  line-height: 1.65;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.solar-form-actions {
  margin-top: 28px;
}

.solar-form-actions .solar-btn.primary {
  width: 100%;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.solar-form-actions .solar-btn.primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.calc-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.solar-owned-footer {
  padding: 32px 80px 48px;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  border-top: 1px solid var(--solar-border);
}

.solar-owned-footer strong {
  color: var(--solar-orange);
}

@media (max-width: 1180px) {
  .solar-contact-hero,
  .solar-contact-body,
  .solar-owned-footer {
    padding-left: 34px;
    padding-right: 34px;
  }

  .solar-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .solar-contact-hero h1 {
    font-size: 28px;
  }

  .solar-iraq-leaflet {
    height: 340px;
  }
}

@media (max-width: 480px) {
  .solar-contact-hero,
  .solar-contact-body,
  .solar-owned-footer {
    padding-left: 22px;
    padding-right: 22px;
  }
}
