/* =====================================================
   Contact Page — Premium Styles
   Sunshine Home Painting Service · 2026
   ====================================================== */

/* ---------- Quick Action Buttons ---------- */
.contact-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 12px;
}
.contact-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 16px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  text-decoration: none;
  color: #1a202c;
  transition: all .35s cubic-bezier(.22,1,.36,1);
  position: relative;
  overflow: hidden;
}
.contact-action-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(96,195,173,.06), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.contact-action-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(96,195,173,.15);
}
.contact-action-btn:hover::before { opacity: 1; }
.contact-action-btn .action-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s;
}
.contact-action-btn:hover .action-icon { transform: scale(1.1); }
.contact-action-btn .action-icon.call-icon {
  background: linear-gradient(135deg, #60c3ad, #3a8f76);
}
.contact-action-btn .action-icon.whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}
.contact-action-btn .action-icon.email-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.contact-action-btn .action-icon.location-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
.contact-action-btn .action-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}
.contact-action-btn .action-title {
  font-size: .95rem;
  font-weight: 600;
}
.contact-action-btn .action-desc {
  font-size: .82rem;
  color: #64748b;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .contact-actions { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contact-action-btn { padding: 20px 12px; }
}
@media (max-width: 480px) {
  .contact-actions { grid-template-columns: 1fr 1fr; }
}

/* ---------- Contact Form + Info Layout ---------- */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-main-grid { grid-template-columns: 1fr; }
}

/* Form Card — Premium */
.contact-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 36px rgba(0,0,0,.06);
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #60c3ad, #3ee3d8, #f59e0b);
}
.contact-form-card .form-header {
  margin-bottom: 24px;
}
.contact-form-card .form-header h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 6px;
}
.contact-form-card .form-header p {
  color: #64748b;
  font-size: .95rem;
  line-height: 1.5;
}
.contact-form-card .form-header .response-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: .78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid #bbf7d0;
}
.contact-form-card .form-header .response-badge svg {
  width: 14px;
  height: 14px;
  fill: #16a34a;
}

/* ---------- Side Details Column ---------- */
.contact-details-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Office address card */
.office-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .3s;
}
.office-card:hover { transform: translateY(-2px); }
.office-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-card h3 svg { width: 20px; height: 20px; fill: #60c3ad; }
.office-address {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #f8fffe;
  border-radius: 12px;
  margin-bottom: 12px;
  border-left: 3px solid #60c3ad;
}
.office-address:last-child { margin-bottom: 0; }
.office-address .addr-badge {
  background: linear-gradient(135deg, #60c3ad, #3ee3d8);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  height: fit-content;
}
.office-address p {
  font-size: .9rem;
  color: #475569;
  line-height: 1.55;
}

/* Business hours card */
.hours-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.hours-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hours-card h3 svg { width: 20px; height: 20px; fill: #60c3ad; }
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: .9rem;
  color: #475569;
  border-bottom: 1px dashed #e8f5f2;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 600; color: #334155; }
.hours-row .time { font-weight: 500; }
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
  font-weight: 700;
  font-size: .82rem;
}
.open-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: pulse-ring 2s infinite;
}

/* Social card */
.social-card {
  background: linear-gradient(135deg, #f3faf9, #fff);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  text-align: center;
}
.social-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
}
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  text-decoration: none;
  transition: all .3s;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.social-link svg { width: 20px; height: 20px; }
.social-link.fb { background: #1877f2; }
.social-link.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-link.yt { background: #ff0000; }
.social-link.goog { background: #4285f4; }
.social-link:hover { transform: translateY(-3px) scale(1.08); box-shadow: 0 6px 16px rgba(0,0,0,.12); }

/* ---------- Why Contact Section ---------- */
.why-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-contact-card {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.why-contact-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #60c3ad, #3ee3d8);
  transform: scaleX(0);
  transition: transform .3s;
}
.why-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}
.why-contact-card:hover::after { transform: scaleX(1); }
.why-contact-card .wc-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f3faf9, #e0f5f0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.why-contact-card .wc-icon svg {
  width: 28px;
  height: 28px;
  fill: #60c3ad;
}
.why-contact-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 6px;
}
.why-contact-card p {
  font-size: .88rem;
  color: #64748b;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-contact-grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ Decorative ---------- */
.contact-faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Map with overlay ---------- */
.map-section-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,.08);
}
.map-section-card iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}
.map-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  max-width: 300px;
}
.map-overlay-info h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 4px;
}
.map-overlay-info p {
  font-size: .82rem;
  color: #64748b;
  line-height: 1.5;
}
.map-overlay-info a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #60c3ad;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 6px;
}
@media (max-width: 600px) {
  .map-overlay-info { position: relative; bottom: 0; left: 0; max-width: 100%; border-radius: 0 0 20px 20px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-form-card { padding: 24px 18px; }
}
