/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100%;
  background-color: #0D0D0D;
  display: flex;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #ffffff;
}

/* ── Screen ── */
.screen {
  position: relative;
  width: 100%;
  max-width: 400px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 60px;
  background: #0D0D0D;
}

/* ── Topbar ── */
.topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #2A2A2A;
  z-index: 100;
}

.topbar-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: #888888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 10px;
  transition: color 0.2s ease;
}

.topbar-btn:active {
  color: #ffffff;
}

.topbar-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.page-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* ── Sidebar Overlay ── */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 300;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Sidebar ── */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background: #1A1A1A;
  border-right: 1px solid rgba(245, 166, 35, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 301;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid #2A2A2A;
}

.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.sidebar-close {
  width: 32px;
  height: 32px;
  background: #2a2a2a;
  border: none;
  border-radius: 50%;
  color: #888888;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}

.sidebar-close:hover {
  background: #3a3a3a;
  color: #ffffff;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  border-left: 3px solid transparent;
}

.sidebar-link:hover {
  color: #F5A623;
  background: rgba(245, 166, 35, 0.06);
}

.sidebar-link--active {
  color: #F5A623;
  border-left-color: #F5A623;
  background: rgba(245, 166, 35, 0.08);
}

.sidebar-link svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.sidebar-link--active svg,
.sidebar-link:hover svg {
  opacity: 1;
}

/* ── Contacts Content ── */
.contacts-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 16px 36px;
}

/* ── Brand Header ── */
.brand-header {
  text-align: center;
  padding: 0;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 13px;
  color: #888888;
  margin-top: 5px;
}

/* ── Contact Cards ── */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1A1A1A;
  border: 1px solid #2A2A2A;
  border-radius: 20px;
  padding: 16px 18px;
  transition: border-color 0.2s ease;
}

.contact-card:active {
  border-color: rgba(245, 166, 35, 0.25);
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: rgba(245, 166, 35, 0.10);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info {
  flex: 1;
}

.contact-label {
  font-size: 11px;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* ── Action Buttons ── */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.btn-call {
  width: 100%;
  padding: 16px 0;
  background: #ffffff;
  color: #000000;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-call:hover {
  box-shadow: 0 4px 28px rgba(245, 166, 35, 0.35);
}

.btn-call:active {
  opacity: 0.85;
  transform: scale(0.97);
}

.btn-telegram {
  width: 100%;
  padding: 16px 0;
  background: transparent;
  color: #F5A623;
  font-size: 16px;
  font-weight: 600;
  border: 1.5px solid rgba(245, 166, 35, 0.40);
  border-radius: 20px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn-telegram:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: #F5A623;
}

.btn-telegram:active {
  opacity: 0.85;
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 22px;
  }
  .contact-card {
    padding: 14px 14px;
  }
  .contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
  .contact-value {
    font-size: 14px;
  }
  .btn-call,
  .btn-telegram {
    font-size: 15px;
    padding: 14px 0;
  }
}
