/* ============================================================
   SMARTOUCH — CONTACT CSS
   Page layout, info cards, contact form, map section
   ============================================================ */

/* ----------------------------------------------------------
   PAGE WRAPPER
   ---------------------------------------------------------- */
.page {
  padding: calc(var(--nav) + 60px) 0 88px;
  position: relative;
  overflow: hidden;
}
.page::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}
.a1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(240,35,79,.12) 0%, transparent 70%);
  top: -180px; right: -100px;
  animation: ab 13s ease-in-out infinite;
}
.a2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,47,255,.08) 0%, transparent 70%);
  bottom: -80px; left: -60px;
  animation: ab 17s ease-in-out infinite reverse;
}
.page-in { position: relative; z-index: 2; }

/* ----------------------------------------------------------
   PAGE HEADER
   ---------------------------------------------------------- */
.pg-head { margin-bottom: 52px; }
.pg-title {
  font-family: var(--fd);
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: .95;
  margin-bottom: 14px;
}
.pg-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--w60);
  max-width: 480px;
  line-height: 1.75;
}

/* ----------------------------------------------------------
   TWO-COLUMN LAYOUT
   ---------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ----------------------------------------------------------
   LEFT: INFO CARDS
   ---------------------------------------------------------- */
.info-card {
  border-radius: var(--r2);
  border: 1px solid var(--b);
  background: var(--card);
  padding: 24px;
  margin-bottom: 16px;
  transition: .18s;
}
.info-card:hover {
  background: var(--card2);
  border-color: var(--b2);
}
.ic-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ic-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(240,35,79,.3);
}
.ic-label {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--w40);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.ic-val { font-size: 14px; color: var(--w80); font-weight: 500; }
.ic-val a { transition: .15s; }
.ic-val a:hover { color: var(--pink); }

/* Social buttons */
.soc-row { display: flex; gap: 10px; margin-top: 20px; }
.soc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--b);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--w60);
  cursor: pointer;
  transition: .18s;
  text-decoration: none;
}
.soc-btn:hover {
  background: var(--card2);
  border-color: var(--b2);
  color: var(--w80);
}

/* Quick links */
.quick-links { margin-top: 28px; }
.ql-title {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--w40);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ql-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.ql-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--card);
  border: 1px solid var(--b);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--w60);
  cursor: pointer;
  transition: .15s;
  text-decoration: none;
}
.ql-item:hover {
  background: var(--card2);
  border-color: var(--b2);
  color: var(--w80);
}
.ql-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* ----------------------------------------------------------
   RIGHT: CONTACT FORM
   ---------------------------------------------------------- */
.form-card {
  border-radius: var(--r3);
  border: 1px solid rgba(240,35,79,.18);
  background: linear-gradient(135deg, rgba(240,35,79,.06), rgba(123,47,255,.04));
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
}
.form-title {
  font-family: var(--fd);
  font-size: 20px;
  font-weight: 800;
  color: var(--w);
  margin-bottom: 6px;
}
.form-sub   { font-size: 13px; color: var(--w40); margin-bottom: 28px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.form-field { margin-bottom: 14px; }

.field-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--w40);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.field-required { color: var(--pink); }

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--b);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: var(--fb);
  font-size: 14px;
  color: var(--w);
  outline: none;
  transition: .18s;
  -webkit-appearance: none;
  appearance: none;
}
.field-input::placeholder,
.field-textarea::placeholder { color: var(--w20); }
.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: rgba(240,35,79,.5);
  background: rgba(240,35,79,.05);
  box-shadow: 0 0 0 3px rgba(240,35,79,.1);
}
.field-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6L8 10L12 6' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field-select option { background: #07091C; color: #fff; }
.field-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* reCAPTCHA notice */
.recaptcha-notice { font-size: 11px; color: var(--w20); line-height: 1.5; margin-bottom: 18px; }
.recaptcha-notice a { color: rgba(240,35,79,.6); text-decoration: underline; }

/* Submit */
.submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-family: var(--fb);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 22px rgba(240,35,79,.35);
  transition: .18s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(240,35,79,.55); }
.submit-btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

/* Success state */
.form-success { display: none; text-align: center; padding: 32px 20px; }
.success-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(0,226,102,.1);
  border: 2px solid rgba(0,226,102,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}
.success-title { font-family: var(--fd); font-size: 20px; font-weight: 800; color: #00E266; margin-bottom: 8px; }
.success-sub   { font-size: 14px; color: var(--w60); }

/* ----------------------------------------------------------
   MAP SECTION
   ---------------------------------------------------------- */
.map-sec { padding: 0 0 80px; }
.map-wrap {
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--b);
  background: var(--s1);
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-inner { text-align: center; z-index: 2; position: relative; }
.map-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map-pin {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(240,35,79,.12);
  border: 2px solid rgba(240,35,79,.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  animation: pp 3s ease-in-out infinite;
}
@keyframes pp {
  0%,100% { box-shadow: 0 0 0 0 rgba(240,35,79,.3); }
  50%      { box-shadow: 0 0 0 20px rgba(240,35,79,0); }
}
.map-label  { font-family: var(--fd); font-size: 16px; font-weight: 700; color: var(--w); margin-bottom: 5px; }
.map-sub    { font-size: 13px; color: var(--w40); }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(240,35,79,.3);
  transition: .18s;
}
.map-link:hover { transform: translateY(-1px); }

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .form-row  { grid-template-columns: 1fr; }
  .ql-grid   { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .form-card { padding: 24px 20px; }
}
