/* ==========================================================================
   LAMSET NOOR STUDIO — pages/contact.css
   ========================================================================== */

/* ---------- Contact ways ---------- */
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.2vw, 1.6rem); }

.way {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: var(--surface);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-mid) var(--ease-lux), border-color var(--t-mid), box-shadow var(--t-mid);
}
.way::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gold-grad-soft);
  opacity: 0;
  transition: opacity var(--t-mid);
}
.way:hover { transform: translateY(-8px); border-color: var(--gold-400); box-shadow: var(--shadow-m); }
.way:hover::before { opacity: 1; }

.way__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--gold-text);
  margin-block-end: .5rem;
  transition: all var(--t-mid) var(--ease-back);
}
.way:hover .way__icon {
  background: var(--gold-grad);
  color: #0A0810;
  border-color: transparent;
  transform: rotate(-8deg) scale(1.06);
}
.way__icon svg { width: 19px; height: 19px; }

.way__title { font-size: 1.25rem; }
.way__value { font-size: .95rem; color: var(--gold-text); word-break: break-word; }
.way__desc { font-size: .85rem; color: var(--text-3); line-height: 1.65; }

@media (max-width: 980px) { .ways { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }

/* ---------- Form + map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

.map-panel { display: flex; flex-direction: column; gap: 1.2rem; }

.map-frame {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  box-shadow: var(--shadow-m);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

html[data-theme='dark'] .map-frame iframe { filter: invert(.92) hue-rotate(180deg) saturate(.55) brightness(.92); }

.map-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.map-card__row { display: flex; gap: .85rem; font-size: .93rem; color: var(--text-2); line-height: 1.7; }
.map-card__row svg { width: 17px; height: 17px; color: var(--gold-400); flex-shrink: 0; margin-block-start: 4px; }

.hours-list { display: flex; flex-direction: column; gap: .5rem; }
.hours-list__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .9rem;
  color: var(--text-2);
  padding-block-end: .5rem;
  border-block-end: 1px dashed var(--line-soft);
}
.hours-list__row span:last-child { color: var(--gold-text); white-space: nowrap; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
