/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #1a0a0a;
  color: #fef3c7;
  line-height: 1.7;
  min-height: 100vh;
}
a { color: #d4a04a; text-decoration: none; transition: color 0.2s; }
a:hover { color: #fef3c7; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== Container ===== */
.container { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
.site-header {
  background: #2d0f0f;
  border-bottom: 2px solid #d4a04a;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #d4a04a;
}
.logo:hover { color: #fef3c7; }
.logo-icon { flex-shrink: 0; }
.main-nav {
  display: flex;
  gap: 4px;
}
.main-nav a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: #fef3c7;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.main-nav a:hover { background: rgba(212,160,74,0.15); color: #d4a04a; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #d4a04a;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #2d0f0f;
    flex-direction: column;
    padding: 10px 20px 20px;
    border-bottom: 2px solid #d4a04a;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; font-size: 1rem; }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #7f1d1d 0%, #3b0d0d 60%, #1a0a0a 100%);
  padding: 80px 0 70px;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  color: #d4a04a;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px;
  color: #fef3c7;
  opacity: 0.9;
}
@media (max-width: 600px) {
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: 2rem; }
  .hero-text { font-size: 1.05rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s;
  min-height: 48px;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-hero {
  background: #d4a04a;
  color: #1a0a0a;
}
.btn-hero:hover { background: #e8b85c; color: #1a0a0a; box-shadow: 0 4px 20px rgba(212,160,74,0.4); }
.btn-primary {
  background: #7f1d1d;
  color: #fef3c7;
  width: 100%;
}
.btn-primary:hover { background: #991b1b; box-shadow: 0 4px 16px rgba(127,29,29,0.5); }

/* ===== Page Content ===== */
.page-content {
  padding: 50px 0;
}
.page-content h1 {
  font-size: 2.2rem;
  color: #d4a04a;
  margin-bottom: 24px;
}
.page-content h2 {
  font-size: 1.6rem;
  color: #d4a04a;
  margin: 36px 0 16px;
}
.page-content h3 {
  font-size: 1.25rem;
  color: #e8b85c;
  margin: 28px 0 12px;
}
.page-content p {
  margin-bottom: 16px;
  color: #fef3c7;
  opacity: 0.92;
}

/* CTA Cards */
.cta-card {
  border: 2px solid #d4a04a;
  border-radius: 12px;
  padding: 28px;
  margin: 32px 0;
  text-align: center;
  background: rgba(212,160,74,0.06);
}
.cta-card p {
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.cta-card .btn {
  display: inline-block;
}
.cta-inline {
  background: #7f1d1d;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  color: #fef3c7;
  font-weight: 600;
  margin: 8px 0 20px;
  min-height: 48px;
  line-height: 24px;
}
.cta-inline:hover { background: #991b1b; color: #fef3c7; }

.cta-bottom {
  background: linear-gradient(135deg, #7f1d1d 0%, #5a1515 100%);
  border-radius: 12px;
  padding: 40px 28px;
  margin: 40px 0 0;
  text-align: center;
}
.cta-bottom h3 { color: #d4a04a; margin-bottom: 12px; }
.cta-bottom p { margin-bottom: 20px; }
.cta-bottom .btn { background: #d4a04a; color: #1a0a0a; }
.cta-bottom .btn:hover { background: #e8b85c; }

/* List items (for mesta hub) */
.list-item {
  border: 1px solid rgba(212,160,74,0.25);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s;
}
.list-item:hover { border-color: #d4a04a; }
.list-item h2 { margin: 0 0 8px; font-size: 1.3rem; }
.list-item p { margin: 0; opacity: 0.8; }

/* ===== Signup Section ===== */
.signup-section {
  background: linear-gradient(180deg, #1a0a0a 0%, #2d0f0f 100%);
  padding: 60px 0;
}
.signup-section h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #d4a04a;
  margin-bottom: 8px;
}
.signup-subtitle {
  text-align: center;
  margin-bottom: 32px;
  opacity: 0.85;
}
.signup-form {
  max-width: 480px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #d4a04a;
  font-size: 0.95rem;
}
.required { color: #dc2626; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: #3b1515;
  border: 1px solid rgba(212,160,74,0.3);
  border-radius: 8px;
  color: #fef3c7;
  font-size: 1rem;
  min-height: 48px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #d4a04a;
  box-shadow: 0 0 0 3px rgba(212,160,74,0.15);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23d4a04a' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Photo upload */
.photo-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.photo-icon { flex-shrink: 0; }
.photo-input {
  width: 100%;
  padding: 10px;
  background: #3b1515;
  border: 1px dashed rgba(212,160,74,0.4);
  border-radius: 8px;
  color: #fef3c7;
  cursor: pointer;
  min-height: 48px;
  margin-top: 8px;
}
.photo-input::file-selector-button {
  background: #7f1d1d;
  color: #fef3c7;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 12px;
}
.photo-preview {
  margin-top: 12px;
}
.photo-preview img {
  max-width: 200px;
  border-radius: 8px;
  border: 2px solid #d4a04a;
}
.photo-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #d4a04a;
  opacity: 0.8;
}

/* Form status */
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
}
.form-status.success {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}
.form-status.error {
  background: rgba(220,38,38,0.15);
  color: #f87171;
  border: 1px solid rgba(220,38,38,0.3);
}

/* ===== Footer ===== */
.site-footer {
  background: #2d0f0f;
  border-top: 2px solid #d4a04a;
  padding: 40px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col h4 {
  color: #d4a04a;
  margin-bottom: 12px;
  font-size: 1rem;
}
.footer-col p {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: #fef3c7;
  opacity: 0.75;
}
.footer-col ul li a:hover { opacity: 1; color: #d4a04a; }
.footer-bottom {
  border-top: 1px solid rgba(212,160,74,0.2);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
}
