/* ══════════════════════════════════════════════════════════════
   SMRITI INDUSTRIES — Contact Page Stylesheet (SIB Theme)
   Fonts: Fraunces (serif display) · Instrument Sans (body) · Outfit (brand)
══════════════════════════════════════════════════════════════ */

:root {
  --bg: #F7FAFF;
  --surface: #FFFFFF;
  --surface2: #EEF4FF;
  --line: #DCE7F9;
  --ink: #0F1D3D;
  --text: #16264A;
  --muted: #5C6B85;
  --dim: #8593AC;
  --accent: #1E56C7;
  --accent-deep: #123C93;
  --sky: #4C86F0;
  --sky-soft: #DCEAFF;
  --green: #1E9E63;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 14px rgba(11, 23, 54, 0.04);
  --shadow: 0 14px 36px rgba(11, 23, 54, 0.08);
  --shadow-lg: 0 22px 48px rgba(15, 29, 61, .16);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.flash-wrap {
  max-width: 1140px;
  margin: 20px auto 0;
  padding: 0 20px;
}

.flash {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 12px;
  animation: flashIn 0.38s ease;
}

@keyframes flashIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.flash--success {
  background: #DCFCE7;
  border: 1px solid #86EFAC;
  color: #166534;
}

.flash--error {
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
}

.flash i {
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── CONTACT SECTION ─────────────────────────────────────── */
.contact-section {
  padding: 64px 20px;
  background: var(--bg);
}

.contact-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.contact-heading {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-subtext {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--sky-soft);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 12px;
  border: 1px solid var(--line);
}

/* ── INFO CARDS ──────────────────────────────────────────── */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.info-card:hover {
  border-color: var(--sky);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
  background: var(--sky-soft);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.05rem;
}

.info-card h3 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #56627A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.info-card p,
.info-card p a {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.5;
}

.info-card p a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ── SOCIAL PILLS ────────────────────────────────────────── */
.contact-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.csocial {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.csocial:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.csocial.whatsapp {
  background: #DCFCE7;
  color: #166534;
  border-color: #86EFAC;
}

.csocial.instagram {
  background: #FCE7F3;
  color: #9D174D;
  border-color: #F9A8D4;
}

.csocial.youtube {
  background: #FEE2E2;
  color: #991B1B;
  border-color: #FCA5A5;
}

/* ── FORM CARD ───────────────────────────────────────────── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.form-card-header {
  background: var(--ink);
  color: #ffffff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-card-header i {
  color: var(--sky);
  font-size: 1.15rem;
}

.form-card-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-form {
  padding: 28px;
}

.cf-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.cf-row.two {
  flex-direction: row;
  gap: 16px;
}

.cf-row.two .cf-group {
  flex: 1;
}

.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cf-group label i {
  color: var(--accent);
  font-size: 12px;
}

.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--surface2);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.cf-group input::placeholder,
.cf-group textarea::placeholder {
  color: #5D6A82;
  opacity: 1;
}

.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(30, 86, 199, 0.12);
}

.cf-group textarea {
  min-height: 120px;
}

.cf-group select {
  cursor: pointer;
}

.cf-submit {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #ffffff;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 22px rgba(11, 23, 54, 0.22);
  transition: var(--transition);
  margin-top: 8px;
}

.cf-submit:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.cf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* ── FLOATING SOCIAL FAB ──────────────────────────────────── */
.social-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 60;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 10px;
}

.social-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(11, 23, 54, 0.3);
  transition: transform .3s, background .2s;
}

.social-toggle-btn:hover {
  background: var(--accent-deep);
}

.social-fab.open .social-toggle-btn {
  transform: rotate(135deg);
}

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .38s ease, opacity .3s ease;
  margin: 0;
}

.social-fab.open .social-list {
  max-height: 360px;
  opacity: 1;
}

.social-list a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(11, 23, 54, 0.12);
  transition: background .2s, color .2s, transform .2s;
}

.social-list a:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.social-list svg {
  width: 22px;
  height: 22px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .contact-container { grid-template-columns: 1fr; gap: 36px; }
  .contact-section { padding: 48px 20px; }
}

@media (max-width: 480px) {
  .cf-row.two { flex-direction: column; }
  .contact-form { padding: 20px 18px; }
  .social-fab { right: 16px; bottom: 82px; }
  .social-toggle-btn { width: 52px; height: 52px; }
}