html[data-theme="light"]{
  --bg:#f7f9fc; --card:#fff; --text:#111; --sub:#5b6472;
  --line:rgba(0,0,0,.1); --shadow:0 10px 28px rgba(0,0,0,.14);
}
html[data-theme="dark"]{
  --bg:#0b0f17; --card:#111827; --text:#f3f4f6; --sub:#a7b0c0;
  --line:rgba(255,255,255,.12); --shadow:0 10px 28px rgba(0,0,0,.55);
}
body{ background:var(--bg); color:var(--text); }

.contacts-page{
  max-width:1200px;
  margin:0 auto;
  padding:60px 16px 80px;
}

.contacts-hero{
  text-align:center;
  max-width:800px;
  margin:0 auto 32px;
}
.contacts-hero h1{
  font-size:clamp(32px,6vw,54px);
  font-weight:900;
}
.lead{
  margin-top:10px;
  color:var(--sub);
  font-weight:700;
}

.contacts-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
@media(max-width:900px){
  .contacts-grid{ grid-template-columns:1fr; }
}

.panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  box-shadow:var(--shadow);
}

.contact-row{
  display:flex;
  justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.contact-row a{
  color:#4169E1;
  font-weight:800;
  text-decoration:none;
}

.muted{
  margin-top:16px;
  color:var(--sub);
  font-weight:700;
}

.form{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.field label{ font-weight:800; }
.field input,
.field textarea,
.field select{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--bg);
  color:var(--text);
  font-weight:700;
}

.check{
  display:flex;
  gap:10px;
  color:var(--sub);
  font-weight:700;
}

.form-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.btn-primary{
  padding:12px 16px;
  border-radius:14px;
  border:none;
  background:#4169E1;
  color:#fff;
  font-weight:900;
  cursor:pointer;
}
.btn-outline{
  padding:12px 16px;
  border-radius:14px;
  background:var(--card);
  border:1px solid var(--line);
  font-weight:900;
  cursor:pointer;
}

.status{
  font-weight:900;
}
.status.ok{ color:#2ecc71; }
.status.err{ color:#e74c3c; }

/* honeypot */
.hp{
  position:absolute;
  left:-9999px;
  opacity:0;
  pointer-events:none;
}

/* =========================
   THEME TOGGLE (visible & clear)
========================= */
.theme-toggle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--text);
  font-weight:900;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.theme-toggle:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.14);
  opacity:.95;
}

.theme-toggle__icon{
  font-size:18px;
  width:22px;
  text-align:center;
}

html[data-theme="dark"] .theme-toggle{
  background:#111827;
  color:#f3f4f6;
  border-color:rgba(255,255,255,.15);
}

html[data-theme="dark"] .theme-toggle:hover{
  box-shadow:0 12px 24px rgba(0,0,0,.6);
}
