/* BEE TWO — IT company site */
:root {
  --bg: #fafbfc;
  --bg-2: #f0f1f3;
  --bg-dark: #0f1419;
  --card: #ffffff;
  --border: #e2e4e8;
  --text: #1a1d21;
  --muted: #5c6168;
  --muted-light: #7a7f87;
  --accent: #e6b820;
  --accent-hover: #c9a018;
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'DM Sans', system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
  --shadow-accent: 0 8px 24px rgba(230, 184, 32, 0.25);
  --width: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(230, 184, 32, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 60% at 100% 20%, rgba(230, 184, 32, 0.03) 0%, transparent 45%);
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--width);
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand { display: block; text-decoration: none; }
.brand:hover { opacity: 0.9; }
.brand-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
  transition: transform 0.25s ease;
}
.brand:hover .brand-logo { transform: scale(1.02); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--bg-2);
}
.nav-links a.active { color: var(--accent); }
.nav-cta {
  margin-left: 8px;
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: rgba(230, 184, 32, 0.12) !important;
  color: var(--accent-hover) !important;
}

/* —— Main —— */
main { flex: 1; position: relative; z-index: 1; }

/* —— Hero —— */
.hero {
  padding: 80px 28px 100px;
  text-align: center;
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  margin: 0 0 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-2);
  border-radius: 999px;
  animation: fadeUp 0.6s ease backwards;
}
.hero-title {
  margin: 0 0 24px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  animation: fadeUp 0.6s ease 0.08s backwards;
}
.hero-title .accent { color: var(--accent); }
.hero-lead {
  margin: 0 0 36px;
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
  animation: fadeUp 0.6s ease 0.14s backwards;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.2s backwards;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 10px rgba(230, 184, 32, 0.35);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-secondary {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  background: var(--bg-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-block { width: 100%; }

/* —— Sections —— */
.section {
  padding: 72px 28px;
}
.section-inner {
  max-width: var(--width);
  margin: 0 auto;
}
.section-inner--narrow {
  max-width: 480px;
}
.section-title {
  margin: 0 0 12px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-align: center;
}
.section-sub {
  margin: 0 0 48px;
  font-size: 1.05rem;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* —— Services —— */
.section-services { background: var(--card); border-top: 1px solid var(--border); }
.section-services .section-sub { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  padding: 32px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: fadeUp 0.6s ease backwards;
}
.service-card:nth-child(1) { animation-delay: 0.05s; }
.service-card:nth-child(2) { animation-delay: 0.12s; }
.service-card:nth-child(3) { animation-delay: 0.19s; }
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #d4d8de;
}
.service-icon {
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* —— Approach —— */
.section-approach { background: var(--bg); }
.approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin: 0 auto;
}
.approach-list li {
  padding: 24px 28px;
  margin-bottom: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.5s ease backwards;
}
.approach-list li:nth-child(1) { animation-delay: 0.1s; }
.approach-list li:nth-child(2) { animation-delay: 0.2s; }
.approach-list li:nth-child(3) { animation-delay: 0.3s; }
.approach-list li:hover { border-color: #d4d8de; box-shadow: var(--shadow-md); }
.approach-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  color: var(--text);
}

/* —— Login section —— */
.section-login { padding: 64px 28px; background: var(--card); border-top: 1px solid var(--border); }
.login-card {
  margin: 0 auto;
  padding: 40px 40px 36px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.login-header { margin-bottom: 28px; text-align: center; }
.login-header h2 { margin: 0 0 8px; font-size: 1.35rem; font-weight: 700; color: var(--text); }
.login-header p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.login-form .field { margin-bottom: 18px; }
.login-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.login-form input {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.login-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 184, 32, 0.2);
}
.login-form .btn { margin-top: 8px; }
.error-banner {
  display: none;
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #b91c1c;
  font-size: 0.9rem;
  font-weight: 500;
}
.error-banner.show { display: block; animation: fadeIn 0.2s ease; }

/* —— CTA section —— */
.section-cta {
  padding: 80px 28px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  text-align: center;
}
.cta-contact { margin: 0; font-size: 1.1rem; }
.link-email {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.link-email:hover { color: var(--accent-hover); }
.cta-address {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--bg-dark);
  color: #9ca3af;
  padding: 48px 28px 32px;
}
.footer-inner {
  max-width: var(--width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
}
.footer-logo {
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  opacity: 0.95;
}
.footer-tagline {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #6b7280;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  text-align: right;
}
.footer-meta p {
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

/* —— Animations —— */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* —— Legal pages (keep) —— */
.wrap {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 28px 56px;
  position: relative;
  z-index: 1;
}
.page-title {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.page-subtitle {
  margin: 0 0 32px;
  font-size: 1rem;
  color: var(--muted);
}
.legal-content {
  max-width: 680px;
}
.legal-content h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-content ul { margin: 0 0 16px; padding-left: 1.4em; }
.legal-content a { color: var(--accent); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* —— Legal page nav (same as header but inside .wrap) —— */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer {
  margin-top: 56px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer .footer-links a:hover { color: var(--accent); }
.footer-copy { color: var(--muted); font-size: 0.875rem; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 768px) {
  .hero { padding: 56px 20px 72px; }
  .section { padding: 56px 20px; }
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    margin-top: 8px;
  }
  .header-inner { flex-wrap: wrap; padding: 16px 20px; }
  .brand-logo { height: 56px; max-width: 200px; }
}

@media (max-width: 640px) {
  .hero-cta { flex-direction: column; }
  .btn { width: 100%; }
  .footer-links { flex-direction: column; gap: 12px; }
}
