/* =========================================================
   Samparkasetu — Contact Us Page
   ========================================================= */

/* ---- Hero ---- */
.contact-hero {
  padding: 130px 0 80px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.contact-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-hero-copy .kicker { margin-bottom: 20px; }
.contact-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px); line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink); margin-bottom: 18px;
}
.contact-sub {
  font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 36px;
}

/* ---- Channel Cards ---- */
.contact-channels { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
  box-shadow: var(--shadow-sm); color: var(--ink);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s;
}
.channel-card:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--green); }
.ch-icon { font-size: 26px; flex-shrink: 0; }
.channel-card strong { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.channel-card span { font-size: 14px; color: var(--muted); }

/* ---- Contact Form Card ---- */
.contact-form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 36px 32px;
  box-shadow: var(--shadow);
}
.contact-form-card h2 {
  font-family: var(--font-head); font-weight: 800; font-size: 22px;
  color: var(--ink); margin-bottom: 8px;
}
.contact-form-card > p {
  font-size: 14px; color: var(--muted); margin-bottom: 28px;
}

/* ---- Form Fields ---- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field label {
  font-size: 13px; font-weight: 600; color: var(--ink); font-family: var(--font-head);
}
.req { color: var(--green); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 16px;
  transition: border-color .2s, box-shadow .2s;
  outline: none; width: 100%; resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #94A3B8; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22,163,74,.12);
}
.form-field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-error { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important; }

.contact-submit { margin-top: 6px; }
.form-note { font-size: 14px; margin-top: 12px; min-height: 20px; }
.form-note.success { color: var(--green); font-weight: 600; }
.form-note.error { color: #EF4444; }

/* ---- Info Cards ---- */
.info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.info-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 28px 22px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-icon { font-size: 32px; display: block; margin-bottom: 14px; }
.info-card h3 {
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--ink); margin-bottom: 8px;
}
.info-card p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---- Enquiry Grid ---- */
.enquiry-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.enquiry-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.enquiry-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.eq-num {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: 13px; color: var(--green); background: var(--green-soft);
  padding: 5px 10px; border-radius: 100px; margin-bottom: 16px;
}
.enquiry-card h3 {
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  color: var(--ink); margin-bottom: 10px;
}
.enquiry-card p {
  font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .contact-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact-hero { padding: 110px 0 56px; }
  .contact-title { font-size: clamp(28px, 9vw, 40px); }
  .form-row { grid-template-columns: 1fr; }
  .enquiry-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-card { padding: 24px 18px; box-shadow: 0 16px 40px -24px rgba(15,23,42,.35); }

  /* channel cards: bigger tap targets + press feedback */
  .channel-card { padding: 16px 18px; }
  .channel-card:active { transform: scale(.98); }
  .info-card:active, .enquiry-card:active { transform: scale(.98); }
  .info-card, .enquiry-card { box-shadow: 0 8px 24px -16px rgba(15,23,42,.25); }

  /* form fields: comfy height, no iOS zoom */
  .form-field input, .form-field select, .form-field textarea {
    padding: 14px 16px; font-size: 16px;
  }
  .contact-submit { min-height: 52px; }
  .section-head { padding: 0 4px; }
}
@media (max-width: 400px) {
  .info-grid { grid-template-columns: 1fr; }
  .contact-channels { gap: 10px; }
}
