/* ============ CONTACT HERO ============ */
.contact-hero {
  position: relative;
  height: 400px;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1600&q=80') center/cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.contact-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.04) 2px, rgba(0,0,0,0.04) 4px);
  pointer-events: none; z-index: 2;
}
.contact-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.94) 0%, rgba(140,0,0,0.55) 60%, rgba(0,0,0,0.88) 100%);
  z-index: 1;
}
.contact-hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.contact-hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(to right, #ffffff 20%, #ff9999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 24px rgba(229,0,0,0.35));
}
.contact-hero-sub {
  font-size: 0.9rem;
  color: #888;
  max-width: 480px;
  line-height: 1.7;
}
.contact-hero-sub strong { color: #fff; }

/* ============ RESPONSE BAR ============ */
.response-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #0b0b0b, #111 50%, #0b0b0b);
  border-bottom: 1px solid #1a1a1a;
  position: relative;
}
.response-bar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.response-item {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  font-size: 0.8rem; color: #666;
}
.response-item i { color: var(--red); font-size: 0.9rem; }
.response-item strong { color: #ccc; }
.response-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #333;
}
.response-dot.active {
  background: #22cc55;
  box-shadow: 0 0 8px rgba(34,204,85,0.6);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(34,204,85,0.6); }
  50%       { box-shadow: 0 0 14px rgba(34,204,85,0.9); }
}
.response-divider {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, #222, transparent);
}

/* ============ CONTACT CARDS ============ */
.contact-cards-section {
  background: #070707;
  padding: 60px 60px 0;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: #0c0c0c;
  border: 1px solid #181818;
  border-radius: 16px;
  padding: 32px 28px 28px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 14px;
  position: relative;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229,0,0,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.contact-card.featured {
  border-color: rgba(229,0,0,0.3);
  background: linear-gradient(160deg, #100000, #0c0c0c);
}
.contact-card-featured-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--red), #900000);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(229,0,0,0.35);
}
.contact-card-icon {
  width: 68px; height: 68px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--cc) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--cc) 30%, transparent);
  font-size: 1.9rem;
  color: var(--cc);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--cc) 20%, transparent);
  transition: transform 0.25s;
}
.contact-card:hover .contact-card-icon { transform: scale(1.08); }
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.3px;
}
.contact-card p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.7;
  flex: 1;
}
.contact-card-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 26px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: #fff;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}
.contact-card-btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn-whatsapp { background: linear-gradient(135deg, #1da851, #128a3e); box-shadow: 0 6px 20px rgba(37,211,102,0.25); }
.btn-email    { background: linear-gradient(135deg, var(--red), #900000); box-shadow: 0 6px 20px rgba(229,0,0,0.28); }
.btn-telegram { background: linear-gradient(135deg, #229ed9, #0e6fa0); box-shadow: 0 6px 20px rgba(34,158,217,0.25); }
.contact-card-note {
  font-size: 0.68rem;
  color: #333;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* ============ MAIN GRID ============ */
.contact-main {
  background: #070707;
  padding: 50px 60px 90px;
  max-width: 900px;
  margin: 0 auto;
}

/* ============ CONTACT FORM ============ */
.contact-form-wrap {
  background: #0c0c0c;
  border: 1px solid #181818;
  border-radius: 16px;
  padding: 36px 36px 40px;
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.contact-form-header {
  margin-bottom: 30px;
}
.contact-form-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}
.contact-form-header p { font-size: 0.8rem; color: #555; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
}
.input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.input-wrap > i {
  position: absolute; left: 14px;
  color: #333;
  font-size: 0.82rem;
  pointer-events: none;
}
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  background: #080808;
  border: 1px solid #1c1c1c;
  border-radius: 9px;
  color: #ccc;
  padding: 12px 14px 12px 40px;
  font-size: 0.83rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.input-wrap select { cursor: pointer; }
.textarea-wrap { align-items: flex-start; }
.textarea-wrap > i { top: 14px; }
.input-wrap textarea { resize: vertical; padding-left: 40px; min-height: 130px; }
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: rgba(229,0,0,0.45);
  box-shadow: 0 0 0 3px rgba(229,0,0,0.07);
}
.input-wrap input:focus ~ i,
.input-wrap select:focus ~ i { color: var(--red); }
.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--red), #900000);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 8px 24px rgba(229,0,0,0.3);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(229,0,0,0.45);
  background: linear-gradient(135deg, #ff1a1a, var(--red));
}
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(34,204,85,0.08);
  border: 1px solid rgba(34,204,85,0.25);
  border-radius: 10px;
  font-size: 0.82rem;
  color: #22cc55;
}
.form-success i { font-size: 1.2rem; }
.form-success strong { color: #33ee66; }

/* ============ CONTACT INFO ============ */
.contact-info-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-info-block {
  background: #0c0c0c;
  border: 1px solid #181818;
  border-radius: 14px;
  padding: 24px 24px;
}
.contact-info-block h3 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 9px;
}
.contact-info-block h3 i { color: var(--red); font-size: 0.9rem; }
.contact-info-block > p {
  font-size: 0.79rem;
  color: #555;
  line-height: 1.75;
}

/* Mini FAQ */
.contact-faq { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.cfaq-btn {
  width: 100%;
  background: #080808;
  border: 1px solid #161616;
  border-radius: 8px;
  color: #888;
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left;
  transition: all 0.2s;
}
.cfaq-btn:hover { background: #0e0e0e; color: #ccc; border-color: #222; }
.cfaq-btn i { font-size: 0.6rem; transition: transform 0.25s; flex-shrink: 0; }
.cfaq-body {
  display: none;
  font-size: 0.75rem;
  color: #555;
  line-height: 1.7;
  padding: 10px 14px;
  background: #060606;
  border: 1px solid #111;
  border-top: none;
  border-radius: 0 0 8px 8px;
  margin-top: -6px;
}
.cfaq-body.open { display: block; }

/* Trust block */
.trust-block { border-color: rgba(229,0,0,0.12) !important; background: linear-gradient(135deg, #0d0000, #0c0c0c) !important; }
.trust-row {
  display: flex; gap: 0;
}
.trust-item {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 4px;
  padding: 6px 8px;
  border-right: 1px solid #1a1a1a;
}
.trust-item:last-child { border-right: none; }
.trust-item i { color: var(--red); font-size: 1.1rem; margin-bottom: 4px; }
.trust-item strong { font-size: 1.1rem; font-weight: 900; color: #fff; }
.trust-item span { font-size: 0.62rem; color: #444; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }

/* ============ FOOTER ============ */
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 30px 60px;
  background: #000;
  border-top: 1px solid #111;
}
.footer-copy { font-size: 0.78rem; color: #333; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.78rem; color: #444; transition: color 0.2s; text-decoration: none; }
.footer-links a:hover { color: var(--red); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1000px) {
  .contact-main { padding: 40px 30px 60px; }
  .contact-info-wrap { grid-template-columns: 1fr; gap: 24px; }
  .contact-cards-section { padding: 40px 30px 0; }
  .contact-cards { grid-template-columns: 1fr; max-width: 100%; gap: 20px; }
  .contact-hero { height: 350px; padding-top: 60px; }
}
@media (max-width: 800px) {
  .contact-main { padding: 30px 24px 50px; }
  .contact-cards { grid-template-columns: 1fr; gap: 16px; }
  .cfaq { max-width: 100%; }
  .response-bar { padding: 14px 20px; flex-wrap: wrap; }
  .response-item { padding: 10px 14px; font-size: 0.8rem; }
}
@media (max-width: 700px) {
  .contact-hero { height: 300px; padding-top: 50px; }
  .contact-hero-content h1 { font-size: 2rem; }
  .response-bar { padding: 12px 16px; }
  .response-item { padding: 8px 12px; font-size: 0.75rem; }
  .response-divider { display: none; }
  .contact-cards { gap: 14px; }
  .contact-info-wrap { gap: 20px; }
  .cfaq { padding: 14px; }
  .cfaq-head { padding: 8px 0; font-size: 0.9rem; }
  .cfaq-body { padding: 8px 0; font-size: 0.8rem; }
}
@media (max-width: 600px) {
  .contact-hero { height: 280px; padding-top: 45px; }
  .contact-main { padding: 20px 16px 40px; }
  .response-bar { padding: 10px 12px; gap: 8px; }
  .response-item { padding: 6px 10px; font-size: 0.7rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card { padding: 20px 16px; }
  .contact-card h3 { font-size: 1rem; }
  .footer-inner { padding: 20px 16px; flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .contact-hero { height: 240px; padding-top: 40px; }
  .contact-hero-content h1 { font-size: 1.5rem; }
  .response-bar { padding: 8px 10px; font-size: 0.7rem; }
  .response-item { padding: 5px 8px; font-size: 0.65rem; }
  .contact-main { padding: 15px 12px 30px; }
  .contact-card { padding: 16px 12px; }
  .contact-card h3 { font-size: 0.95rem; }
}
