/* ============================================================
   AY CAFE — Contact page
   ============================================================ */

.contact-grid {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-cards { display: grid; gap: 14px; }

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 22px 22px 8px 22px;
  padding: 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.contact-card .cc-icon {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  color: var(--amber-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-card .cc-icon svg { width: 24px; height: 24px; }

.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p { font-size: 0.92rem; color: var(--ink-500); }
.contact-card a { color: var(--green-700); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.contact-card .cc-hours { display: grid; gap: 3px; font-size: 0.88rem; color: var(--ink-500); }
.contact-card .cc-hours b { color: var(--ink-700); }
.contact-card .cc-hours .today { color: var(--green-badge); font-weight: 700; }

/* Map placeholder */
.map-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(400px 240px at 30% 20%, rgba(125, 151, 113, 0.35), transparent 65%),
    linear-gradient(160deg, var(--cream-100), #eef2e6);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(46, 84, 60, 0.14) 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(46, 84, 60, 0.14) 1.5px, transparent 1.5px);
  background-size: 46px 46px;
}

.map-road {
  position: absolute;
  height: 26px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(36, 28, 20, 0.08);
  left: 0; right: 0;
  top: 58%;
  transform: rotate(-6deg) scaleY(1.2);
}

.map-road.road-v {
  width: 26px; height: auto;
  left: 64%; top: 0; bottom: 0;
  transform: rotate(12deg) scaleX(1.2);
  rotate: 12deg;
}

.map-pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-pin .pin-bounce {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  color: var(--amber-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 26px rgba(20, 39, 30, 0.4);
  animation: pin-bounce 2.4s ease-in-out infinite;
}

.map-pin .pin-bounce svg { width: 26px; height: 26px; }

@keyframes pin-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.map-pin .pin-tag {
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-800);
  box-shadow: var(--shadow-md);
}

.map-actions {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
  width: max-content;
  max-width: 92%;
}

/* Contact form */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: 30px 30px 12px 30px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.contact-form-card > p { color: var(--ink-500); font-size: 0.95rem; margin-bottom: 24px; }

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }

.form-msg-box {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 600;
}

.form-msg-box.is-visible { display: block; animation: step-in 0.4s var(--ease); }
.form-msg-box.ok { background: #E3EFE4; color: var(--green-badge); }
.form-msg-box.err { background: #FBE3DD; color: #A33A24; }

@media (min-width: 600px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .full { grid-column: span 2; }
}

@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.92fr 1.08fr; }
}
