/* ============================================
   MILDA SAMOYLINA — Career Consultant
   ============================================ */

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

html { scroll-behavior: smooth; }

.site { font-family: 'Courier New', Courier, monospace; background: #EFEAE2; color: #1C1A17; }
.site * { box-sizing: border-box; }

/* ---- NAV ---- */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 64px;
  height: 64px;
  background: #EFEAE2;
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 0.5px solid transparent;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled { border-color: #C5BFAF; box-shadow: 0 2px 24px rgba(28,26,23,0.06); }
.nav.hidden { transform: translateY(-110%); }
.nav-logo { font-size: 16px; font-weight: 500; letter-spacing: 0.02em; color: #1C1A17; text-decoration: none; }
.nav-links { display: flex; gap: 36px; font-size: 15px; }
.nav-links a { color: #8A8680; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: #1C1A17; }

/* ---- HERO ---- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 92vh; padding-top: 64px; }
.hero-content { padding: 80px 64px 80px; display: flex; flex-direction: column; justify-content: center; }
.hero-meta { display: flex; gap: 40px; font-size: 13px; color: #8A8680; margin-bottom: 56px; }
.hero-name { font-size: clamp(52px, 7vw, 96px); font-weight: 500; line-height: 1.0; margin-bottom: 24px; font-family: 'Courier New', monospace; }
.hero-sub { font-size: 22px; color: #8A8680; margin-bottom: 16px; }
.hero-tagline { font-size: 20px; color: #1C1A17; max-width: 480px; line-height: 1.6; margin-bottom: 48px; }
.btn { display: inline-block; background: #7A1C2E; color: #fff; font-family: 'Courier New', monospace; font-size: 15px; padding: 16px 32px; border-radius: 99px; text-decoration: none; align-self: flex-start; }
.hero-bottom { font-size: 13px; color: #3D3A36; margin-top: 32px; display: flex; flex-direction: column; gap: 6px; }
.hero-photo-wrap { overflow: hidden; background: #C5BFAF; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* ---- DIVIDER ---- */
.divider-section { display: flex; justify-content: space-between; padding: 0 64px 80px; }
.div-col { font-size: clamp(32px, 5vw, 56px); font-weight: 500; color: #8A8680; }

/* ---- DARK SECTION ---- */
.dark-section { background: #1C1A17; color: #EFEAE2; padding: 96px 64px; }
.dark-section .label { font-size: 13px; color: #8A8680; margin-bottom: 32px; letter-spacing: 0.08em; text-transform: uppercase; }
.dark-tagline { font-size: clamp(28px, 3.5vw, 40px); font-weight: 500; line-height: 1.4; max-width: 640px; margin-bottom: 40px; }
.dark-tagline span { color: #7A1C2E; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; border-top: 0.5px solid #2B2420; padding-top: 48px; }
.stat-num { font-size: clamp(36px, 4vw, 52px); font-weight: 500; color: #EFEAE2; }
.stat-label { font-size: 14px; color: #8A8680; margin-top: 8px; line-height: 1.6; }

/* ---- SERVICES ---- */
.services-section { padding: 96px 64px; background: #1C1A17; }
.section-title-spread { display: flex; justify-content: space-between; font-size: 22px; font-weight: 500; color: #8A8680; margin-bottom: 48px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card { border: 0.5px solid #EFEAE2; border-radius: 16px; padding: 36px; background: transparent; }
.service-num { font-size: 13px; color: #8A8680; margin-bottom: 16px; }
.service-name { font-size: 20px; font-weight: 500; margin-bottom: 12px; color: #EFEAE2; }
.service-desc { font-size: 15px; color: #8A8680; line-height: 1.7; }
.service-price { font-size: 17px; color: #EFEAE2; margin-top: 24px; }

/* ---- ABOUT ---- */
.about-section { padding: 96px 64px; background: #EFEAE2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; border-top: 0.5px solid #C5BFAF; }
.about-photo { width: 100%; height: 480px; object-fit: cover; object-position: top center; border-radius: 16px; display: block; }
.about-label { font-size: 13px; color: #8A8680; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.08em; }
.about-text { font-size: 17px; line-height: 1.9; color: #1C1A17; margin-bottom: 20px; }
.about-quote { font-size: 24px; font-weight: 500; line-height: 1.5; border-left: 2px solid #7A1C2E; padding-left: 20px; margin: 32px 0; color: #1C1A17; }

/* ---- CASES ---- */
.cases-section { background: #1C1A17; color: #EFEAE2; padding: 96px 64px; }
.cases-header { margin-bottom: 56px; }
.cases-label { font-size: 13px; color: #8A8680; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.cases-sub { font-size: clamp(22px, 3vw, 32px); font-weight: 500; color: #EFEAE2; }
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case-card { border: 0.5px solid #2B2420; border-radius: 16px; padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.case-num { font-size: 13px; color: #8A8680; }
.case-result { font-size: clamp(22px, 2.5vw, 30px); font-weight: 500; line-height: 1.2; color: #7A1C2E; }
.case-text { font-size: 15px; color: rgba(239,234,226,0.6); line-height: 1.8; flex: 1; }
.case-tag { font-size: 12px; color: #8A8680; border: 0.5px solid #2B2420; border-radius: 99px; padding: 6px 16px; align-self: flex-start; margin-top: 8px; }

/* ---- HOW IT WORKS ---- */
.how-section { background: #EFEAE2; color: #1C1A17; padding: 96px 64px; }
.how-header { margin-bottom: 64px; }
.how-label { font-size: 13px; color: #8A8680; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.how-title { font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.1; color: #1C1A17; }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 0.5px solid #C5BFAF; }
.how-step { padding: 40px 32px 40px 0; border-right: 0.5px solid #C5BFAF; }
.how-step:last-child { border-right: none; padding-right: 0; }
.how-step:not(:first-child) { padding-left: 32px; }
.how-num { font-size: 13px; color: #7A1C2E; margin-bottom: 24px; letter-spacing: 0.05em; }
.how-step-title { font-size: 18px; font-weight: 500; color: #7A1C2E; margin-bottom: 12px; line-height: 1.3; }
.how-step-desc { font-size: 14px; color: #8A8680; line-height: 1.8; }

/* ---- FAQ ---- */
.faq-section { background: #EFEAE2; padding: 96px 64px; }
.faq-header { margin-bottom: 56px; }
.faq-label { font-size: 13px; color: #8A8680; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.faq-title { font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.1; color: #1C1A17; }
.faq-list { max-width: 820px; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: #fff; border-radius: 12px; border: 0.5px solid #C5BFAF; overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: #7A1C2E; }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font-size: 17px; font-weight: 500; color: #1C1A17; cursor: pointer; user-select: none; transition: color 0.2s; }
.faq-item.open .faq-q { color: #7A1C2E; }
.faq-icon { flex-shrink: 0; font-size: 22px; font-weight: 300; color: #C5BFAF; transition: transform 0.3s ease, color 0.2s; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: #7A1C2E; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { font-size: 15px; line-height: 1.9; color: #8A8680; padding: 0 28px 24px; border-top: 0.5px solid #EDE7DD; }
.faq-a-inner a { color: #7A1C2E; text-decoration: underline; }

/* ---- CTA ---- */
.cta-section { background: #1C1A17; padding: 120px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.cta-eyebrow { font-size: 13px; color: #8A8680; letter-spacing: 0.1em; text-transform: uppercase; }
.cta-title { font-size: clamp(36px, 5vw, 64px); font-weight: 500; line-height: 1.1; color: #EFEAE2; }
.cta-sub { font-size: 18px; color: #8A8680; line-height: 1.7; }
.cta-btn { margin-top: 16px; display: inline-block; background: #7A1C2E; color: #fff; font-family: 'Courier New', monospace; font-size: 16px; padding: 18px 40px; border-radius: 99px; text-decoration: none; transition: opacity 0.2s, transform 0.2s; }
.cta-btn:hover { opacity: 0.88; transform: translateY(-2px); }

/* ---- FOOTER ---- */
.footer { padding: 40px 64px; border-top: 0.5px solid #C5BFAF; display: flex; justify-content: space-between; align-items: center; }
.footer-name { font-size: 15px; color: #8A8680; }
.footer-link { font-size: 15px; color: #7A1C2E; text-decoration: none; }

/* ---- BURGER ---- */
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 101;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px; background: #1C1A17;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none; flex-direction: column;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: #EFEAE2; border-bottom: 0.5px solid #C5BFAF;
  padding: 24px 24px 28px;
  opacity: 0; transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-mobile a { font-size: 18px; color: #1C1A17; text-decoration: none; padding: 12px 0; border-bottom: 0.5px solid #C5BFAF; }
.nav-mobile a:last-child { border-bottom: none; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile { display: flex; }

  /* Hero */
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .hero-content { padding: 40px 24px 48px; order: 2; }
  .hero-photo-wrap { order: 1; height: 420px; }
  .hero-meta { flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
  .hero-sub { font-size: 17px; }
  .hero-tagline { font-size: 17px; margin-bottom: 32px; }

  /* Dark section */
  .dark-section { padding: 64px 24px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* About */
  .about-section { grid-template-columns: 1fr; gap: 32px; padding: 64px 24px; }
  .about-photo { height: 320px; }
  .about-quote { font-size: 20px; }

  /* Services */
  .services-section { padding: 64px 24px; }
  .service-grid { grid-template-columns: 1fr; }

  /* How */
  .how-section { padding: 64px 24px; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-step { border-right: none !important; padding: 28px 0 !important; border-bottom: 0.5px solid #C5BFAF; }
  .how-step:nth-child(odd) { padding-right: 16px !important; border-right: 0.5px solid #C5BFAF !important; }
  .how-step:nth-child(even) { padding-left: 16px !important; }
  .how-step:nth-last-child(-n+2) { border-bottom: none; }

  /* Cases */
  .cases-section { padding: 64px 24px; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { padding: 28px; }

  /* FAQ */
  .faq-section { padding: 64px 24px; }
  .faq-q { font-size: 15px; padding: 20px 20px; }
  .faq-a-inner { padding: 0 20px 20px; }

  /* CTA */
  .cta-section { padding: 80px 24px; }
  .cta-sub { font-size: 16px; }

  /* Footer */
  .footer { padding: 28px 24px; flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .stats { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .how-step { border-right: none !important; padding: 24px 0 !important; border-bottom: 0.5px solid #C5BFAF; }
  .how-step:last-child { border-bottom: none; }
  .hero-photo-wrap { height: 320px; }
}
