/**
 * Contact Page — Livine Holistic Wellness
 * ONLY page-specific overrides. All shared styles from home.css.
 */

/* ════════════════════════════════════════════════
   HERO — override home.css .hero background
   ════════════════════════════════════════════════ */
.hero.contact-hero {
  background-image: url('../../images/contact-hero-bg.jpg') !important;
  background-position: center 40% !important;
  min-height: 50svh !important;
}

/* ════════════════════════════════════════════════
   CONTACT INFO CARDS
   ════════════════════════════════════════════════ */
.section-contact-info {
  padding: 80px 0 64px;
  background: var(--warm-bg);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ci-icon {
  width: 58px; height: 58px; margin: 0 auto 16px;
  background: var(--brand-lt); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.ci-icon i { color: var(--brand); font-size: 1.3rem; }
.contact-info-card h4 { font-size: 0.95rem; color: var(--charcoal); margin-bottom: 8px; font-weight: 700; }
.contact-info-card p,
.contact-info-card a {
  font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0;
  text-decoration: none; display: block;
}
.contact-info-card a:hover { color: var(--brand); }

@media (max-width: 1024px) { .contact-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .section-contact-info { padding: 56px 0 40px; }
}

/* ════════════════════════════════════════════════
   CONTACT FORM + MAP SECTION
   ════════════════════════════════════════════════ */
.section-contact-form {
  padding: 0 0 96px;
  background: var(--warm-bg);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Form card */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
}
.contact-form-card h3 {
  font-family: var(--heading-font);
  font-size: 1.4rem; color: var(--charcoal); margin-bottom: 6px;
}
.contact-form-card > p {
  font-size: 13.5px; color: var(--muted); margin-bottom: 28px; line-height: 1.65;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-field { margin-bottom: 16px; }
.cf-field label {
  display: block; font-size: 12.5px; font-weight: 600;
  color: var(--charcoal); margin-bottom: 6px;
}
.cf-input-wrap { position: relative; }
.cf-input-wrap i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); font-size: 12px; pointer-events: none;
}
.cf-input-wrap.with-icon input,
.cf-input-wrap.with-icon select,
.cf-input-wrap.with-icon textarea { padding-left: 36px; }
.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 13px; font-family: var(--body-font);
  color: var(--text); outline: none; background: var(--warm-bg);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(211,138,80,0.1);
  background: #fff;
}
.cf-field textarea { min-height: 120px; resize: vertical; }
.cf-field select { appearance: none; cursor: pointer; }
.cf-submit {
  width: 100%; padding: 13px;
  background: var(--brand); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; font-family: var(--body-font);
  cursor: pointer; transition: background 0.22s, transform 0.15s;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  margin-bottom: 10px;
}
.cf-submit:hover { background: var(--brand-dk); transform: translateY(-1px); }
.cf-or {
  text-align: center; font-size: 12.5px; color: var(--muted);
  margin: 14px 0; position: relative;
}
.cf-or::before, .cf-or::after {
  content: ''; position: absolute; top: 50%;
  width: 42%; height: 1px; background: var(--border);
}
.cf-or::before { left: 0; }
.cf-or::after { right: 0; }
.cf-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; color: #fff;
  padding: 11px 18px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.22s; font-family: var(--body-font);
}
.cf-wa-btn:hover { background: #1aad55; }

/* Map card */
.contact-map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.contact-map-card iframe {
  width: 100%; height: 340px;
  border: none; display: block; flex-shrink: 0;
}
.map-details {
  padding: 24px 26px;
  background: var(--white);
  flex: 1;
}
.map-details h4 { font-size: 1rem; color: var(--charcoal); margin-bottom: 12px; font-weight: 700; }
.map-detail-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 9px; line-height: 1.5;
}
.map-detail-row i { color: var(--brand); font-size: 12px; margin-top: 2px; flex-shrink: 0; }
.map-detail-row a { color: var(--muted); text-decoration: none; }
.map-detail-row a:hover { color: var(--brand); }
.map-social {
  display: flex; gap: 10px; margin-top: 18px;
}
.map-social a {
  width: 38px; height: 38px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px; text-decoration: none;
  transition: all 0.22s;
}
.map-social a:hover { border-color: var(--brand); color: var(--brand); }

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; }
  .section-contact-form { padding: 0 0 64px; }
}
@media (max-width: 560px) {
  .contact-form-card { padding: 28px 20px; }
  .cf-row { grid-template-columns: 1fr; gap: 0; }
  .contact-map-card iframe { height: 260px; }
}
