/* ==========================================================================
   Socio Care International — Contact Page Styles
   ========================================================================== */

/* ==========================================================================
   2. Contact Details Section (bento layout)
   ========================================================================== */

.contact-bento {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: stretch;
  min-width: 0;
}

.contact-bento-primary {
  background: linear-gradient(155deg, var(--primary) 0%, #2C0A16 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  min-width: 0;
}
.contact-bento-primary-head h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.contact-bento-primary-head p { color: #CBD5E1; font-size: 14.5px; line-height: 1.6; margin: 0; }

.contact-bento-rows { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.contact-bento-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  min-width: 0;
}
.contact-bento-row:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.28);
  transform: translateX(4px);
}
.contact-bento-row-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.14);
}
.contact-bento-row-text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.contact-bento-row-text strong { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #94A3B8; }
.contact-bento-row-text span { font-size: 15.5px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.contact-bento-row-arrow { color: rgba(255,255,255,0.45); flex-shrink: 0; transition: transform 0.2s ease, color 0.2s ease; }
.contact-bento-row:hover .contact-bento-row-arrow { transform: translateX(3px); color: #fff; }

.contact-bento-social { display: flex; gap: 10px; margin-top: auto; }
.contact-bento-social .contact-social-icon { border-color: rgba(255,255,255,0.18); color: #E2E8F0; }

.contact-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--primary);
  transition: all 0.25s ease;
}
.contact-social-icon:hover,
.contact-social-icon:focus-visible {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
  transform: translateY(-3px);
}

.contact-bento-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.contact-bento-address {
  flex: 1;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-bento-address:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-bento-address-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 12px;
  background: var(--tag-muted-bg);
  color: var(--primary);
}
.contact-bento-address h3 { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.contact-bento-address p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

@media (max-width: 960px) {
  .contact-bento { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .contact-bento-primary { padding: 28px 22px; }
  .contact-bento-primary-head h3 { font-size: 19px; }
  .contact-bento-row-text span { font-size: 14.5px; }
  .contact-bento-address { padding: 22px 20px; }
  .contact-bento-address h3 { font-size: 18px; }
}

/* ==========================================================================
   3. Contact Form + Map Section
   ========================================================================== */

.contact-cta-section {
  background: var(--primary);
  padding: 96px 0;
  position: relative;
}
.contact-cta-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 20% 30%, black 10%, transparent 70%);
}
.contact-cta-container {
  position: relative;
  background: linear-gradient(155deg, var(--primary) 0%, #2C0A16 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  min-width: 0;
}
.contact-cta-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-width: 0; }
.contact-cta-title { font-size: 42px; font-weight: 700; color: #fff; margin: 16px 0; letter-spacing: -0.02em; }
.contact-cta-desc { font-size: 17px; color: #94A3B8; line-height: 1.75; margin-bottom: 32px; max-width: 440px; }

.contact-map-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.4);
}
.contact-map-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-map-card-header-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--secondary);
}
.contact-map-card-header strong { display: block; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.contact-map-card-header span { font-size: 12.5px; color: #94A3B8; }
.contact-map-frame { position: relative; height: 240px; }
.contact-map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-map-directions {
  position: absolute;
  bottom: 14px; left: 14px;
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 13px; font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, background 0.25s ease;
}
.contact-map-directions:hover { transform: translateY(-2px); background: #fff; }
.contact-map-directions svg { transition: transform 0.25s ease; }
.contact-map-directions:hover svg { transform: translateX(2px); }

.contact-response-badge {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: #CBD5E1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
}

.contact-form-card {
  background: #fff;
  min-width: 0;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 960px) {
  .contact-cta-container { grid-template-columns: 1fr; gap: 40px; padding: 48px 36px; }
}
@media (max-width: 500px) {
  .contact-cta-section { padding: 56px 0; }
  .contact-cta-container { padding: 36px 22px; border-radius: var(--radius-md); }
  .contact-cta-title { font-size: 28px; margin: 12px 0 14px; }
  .contact-cta-desc { font-size: 15px; margin-bottom: 24px; }
  .contact-form-card { padding: 26px 22px; }
}

/* ---- Form fields (self-contained for this page) ---- */
.form-row { margin-bottom: 18px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-row-split .form-row { margin-bottom: 0; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); margin-bottom: 6px; }
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--primary);
  background: #fff;
  min-height: 46px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-row textarea { min-height: auto; resize: vertical; }
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(98, 169, 54, 0.18);
  outline: none;
}
.form-row input.has-error,
.form-row textarea.has-error { border-color: #DC2626; }
.form-error { display: block; font-size: 12.5px; color: #DC2626; margin-top: 6px; min-height: 1px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 0;
  text-align: center;
  min-height: 1px;
}
.form-status.is-success { color: var(--accent); }
.form-status.is-error { color: #DC2626; }

@media (max-width: 560px) {
  .form-row-split { grid-template-columns: 1fr; gap: 18px; }
}

