/* =============================================
   VERTEX WELLNESS SUPPLY — CONTACT PAGE STYLES
   ============================================= */

/* ─── Hero ─── */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 50%, #1a2e3a 100%);
  padding: 80px 0 72px;
  overflow: hidden;
  color: var(--white);
}
.contact-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ch-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}
.ch-shape-1 {
  width: 500px; height: 500px;
  background: var(--green-400);
  top: -180px; right: -120px;
}
.ch-shape-2 {
  width: 300px; height: 300px;
  background: var(--blue-400);
  bottom: -100px; left: -60px;
}

.contact-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.contact-hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--white);
}
.contact-hero-inner h1 em {
  font-style: normal;
  color: var(--green-300);
  font-family: 'Playfair Display', serif;
}
.contact-hero-inner > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 560px;
}
.contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-hero-badges span {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ─── Info Cards ─── */
.contact-cards-section {
  padding: 56px 0 0;
  background: var(--cream);
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  line-height: 1;
}
.contact-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ─── Main Section ─── */
.contact-main-section {
  padding: 64px 0 96px;
  background: var(--cream);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

/* ─── Left Info ─── */
.contact-info h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--dark);
  margin: 8px 0 12px;
  line-height: 1.2;
}
.contact-info-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-600);
}
.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}
.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-detail-value:hover { color: var(--green-600); }

.contact-response-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 0.83rem;
  color: var(--green-700);
  font-weight: 500;
  margin-top: 8px;
}
.response-dot {
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(46,125,69,.2);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(46,125,69,.2); }
  50%       { box-shadow: 0 0 0 6px rgba(46,125,69,.1); }
}

/* ─── Form ─── */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,.05);
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cf-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23607060' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.required { color: #c0392b; font-size: 0.8rem; }
.optional  { color: var(--text-muted); font-size: 0.78rem; font-weight: 400; }

.cf-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.cf-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* ─── Success state ─── */
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 24px;
  gap: 16px;
}
.contact-success-icon {
  width: 64px;
  height: 64px;
  background: var(--green-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.contact-success h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0;
}
.contact-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 32px; }
}
@media (max-width: 640px) {
  .contact-cards-grid { grid-template-columns: 1fr 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
  .contact-hero { padding: 56px 0 48px; }
}
@media (max-width: 420px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
}
