/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:   #1a1a2e;
  --navy2:  #16213e;
  --gold:   #c9a96e;
  --gold2:  #b8914e;
  --cream:  #f5f0eb;
  --cream2: #ede6dc;
  --text:   #2d2d2d;
  --text2:  #5a5a5a;
  --white:  #ffffff;
  --border: #e5ddd4;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,26,46,.10);
  --shadow-lg: 0 8px 48px rgba(26,26,46,.15);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --max-w: 1180px;
  --section-py: 96px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== CONTAINERS ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== TYPOGRAPHY ===== */
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 8px;
}

.section-sub {
  margin-top: 16px;
  color: var(--text2);
  font-size: 17px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all .22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold2); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,169,110,.35); }

.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }

.btn-full { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s;
}
.header.scrolled { box-shadow: var(--shadow); }

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: flex; flex-direction: column; gap: 1px; }
.logo-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.1; }
.logo-title { font-size: 11px; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--navy); background: var(--cream); }

.nav-btn {
  margin-left: 8px;
  padding: 9px 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.nav-btn:hover { background: var(--navy2); transform: translateY(-1px); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero-pretitle {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 700;
  color: var(--navy);
  line-height: .95;
  margin-bottom: 20px;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-photo { position: relative; flex-shrink: 0; }
.photo-frame {
  width: 360px;
  height: 540px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--navy);
  color: var(--gold);
  padding: 10px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  box-shadow: var(--shadow);
}

/* ===== ABOUT ===== */
.about {
  padding: var(--section-py) 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  margin-bottom: 64px;
}

.about-lead {
  font-size: 18px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text p { color: var(--text2); margin-bottom: 16px; font-size: 16px; }

.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.feature { display: flex; align-items: flex-start; gap: 16px; }
.feature-icon {
  font-size: 20px;
  width: 44px;
  height: 44px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 2px; }
.feature p { color: var(--text2); font-size: 14px; margin: 0; }

.education-card, .companies-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 20px;
}
.education-card h3, .companies-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.edu-item { margin-bottom: 16px; }
.edu-year { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.edu-place { font-size: 14px; color: var(--text2); line-height: 1.5; }

.companies-list li {
  font-size: 14px;
  color: var(--text2);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.companies-list li:last-child { border-bottom: none; }
.companies-list li::before { content: "—  "; color: var(--gold); }

.conferences h3 {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 28px;
  text-align: center;
}

.conf-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.conf-item {
  background: var(--cream);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.conf-year {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
}
.conf-text { font-size: 14px; color: var(--text2); line-height: 1.5; }

/* ===== CLIENTS ===== */
.clients {
  padding: var(--section-py) 0;
  background: var(--navy);
}
.clients .section-tag { color: var(--gold); }
.clients .section-title { color: var(--white); }

.clients-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 11px 24px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  border: 2px solid rgba(255,255,255,.15);
  transition: all .2s;
}
.tab-btn:hover { color: var(--white); border-color: rgba(255,255,255,.4); }
.tab-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.tab-inner {
  background: rgba(255,255,255,.05);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(255,255,255,.1);
}

.tab-intro p {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  text-align: center;
}

.issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.issue-item {
  background: rgba(255,255,255,.06);
  border-radius: 10px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.1);
}
.issue-item h4 { font-size: 15px; font-weight: 600; color: var(--gold); margin-bottom: 8px; }
.issue-item p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; margin: 0; }

.tab-cta { text-align: center; }
.tab-promise {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 17px;
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.service-num {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--cream2);
  line-height: 1;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 0; }

/* ===== PRICES ===== */
.prices {
  padding: var(--section-py) 0;
  background: var(--white);
}

.prices-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.price-tab {
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  color: var(--text2);
  border: 2px solid var(--border);
  transition: all .2s;
}
.price-tab:hover { color: var(--navy); border-color: var(--navy); }
.price-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.price-content { display: none; }
.price-content.active { display: block; }

.price-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  transition: background .15s;
}
.price-row:last-child { border-bottom: none; }
.price-row:not(.header):hover { background: var(--cream); }
.price-row.header {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.price-row span:first-child { flex: 1; color: var(--text); }
.price-row.header span { color: var(--white); }
.price-val { font-weight: 700; color: var(--navy); white-space: nowrap; }

/* Subscription */
.subscription-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 24px;
}

.sub-card {
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform .2s, box-shadow .2s;
}
.sub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sub-card.featured {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--white);
}

.sub-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.sub-price {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.sub-card.featured .sub-price { color: var(--white); }
.sub-price span { font-size: 16px; font-weight: 400; }

.sub-desc {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 24px;
  line-height: 1.5;
  min-height: 42px;
}
.sub-card.featured .sub-desc { color: rgba(255,255,255,.65); }

.sub-features {
  flex: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-features li {
  font-size: 14px;
  color: var(--text2);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.sub-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.sub-card.featured .sub-features li { color: rgba(255,255,255,.8); }

.sub-card .btn-outline { border-color: var(--navy); }
.sub-card.featured .btn-outline { border-color: rgba(255,255,255,.4); color: var(--white); }
.sub-card.featured .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.sub-note {
  text-align: center;
  font-size: 13px;
  color: var(--text2);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== WHY ===== */
.why {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-item {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  border: 1px solid var(--border);
}
.why-icon {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.why-item h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.why-item p { font-size: 14px; color: var(--text2); line-height: 1.65; margin: 0; }

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-py) 0;
  background: var(--navy);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-text .section-tag { color: var(--gold); }
.contact-title {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 12px 0 20px;
}
.contact-text p { color: rgba(255,255,255,.7); font-size: 16px; line-height: 1.7; margin-bottom: 36px; }

.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.8);
  font-size: 16px;
  font-weight: 500;
  transition: color .2s;
  padding: 4px 0;
}
.contact-link:hover { color: var(--gold); }
.contact-link svg { flex-shrink: 0; opacity: .7; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 8px; letter-spacing: .02em; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color .2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

.form-note { font-size: 12px; color: var(--text2); text-align: center; margin-top: 12px; }

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}
.form-success.show { display: block; }
.form-success h3 { font-family: var(--font-head); font-size: 24px; color: var(--navy); margin-bottom: 12px; }
.form-success p { color: var(--text2); font-size: 16px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .logo-name { color: var(--white); }
.footer-sub { font-size: 12px; color: rgba(255,255,255,.4); }

.footer-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.footer-nav a:hover { color: var(--white); background: rgba(255,255,255,.07); }

.footer-right { text-align: right; }
.footer-right p { font-size: 13px; color: rgba(255,255,255,.45); }
.footer-copy { margin-top: 4px; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp .6s ease forwards; }
.fade-up:nth-child(2) { animation-delay: .1s; }
.fade-up:nth-child(3) { animation-delay: .2s; }
.fade-up:nth-child(4) { animation-delay: .3s; }
.fade-up:nth-child(5) { animation-delay: .4s; }
.fade-up:nth-child(6) { animation-delay: .5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .hero-inner { gap: 40px; }
  .photo-frame { width: 300px; height: 450px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .education-card, .companies-card { margin-bottom: 0; }

  .conf-list { grid-template-columns: repeat(2, 1fr); }

  .issues-grid { grid-template-columns: repeat(2, 1fr); }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid { grid-template-columns: repeat(2, 1fr); }

  .subscription-cards { grid-template-columns: 1fr; max-width: 400px; }

  .contact-inner { gap: 48px; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }

  /* Header */
  .nav {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav-link { padding: 12px 16px; font-size: 16px; }
  .nav-btn { margin: 8px 0 0; padding: 13px 20px; text-align: center; }
  .burger { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }
  .hero-title { font-size: clamp(48px, 12vw, 72px); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-photo { order: -1; }
  .photo-frame { width: 260px; height: 390px; }
  .hero-badge { left: 0; bottom: 12px; }

  /* About */
  .about-aside { grid-template-columns: 1fr; }
  .conf-list { grid-template-columns: 1fr; }

  /* Clients */
  .clients-tabs { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
  .tab-inner { padding: 24px; }
  .issues-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Prices */
  .prices-tabs { flex-direction: column; align-items: stretch; max-width: 300px; margin-left: auto; margin-right: auto; }
  .price-row { font-size: 14px; padding: 14px 16px; }
  .subscription-cards { max-width: 100%; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-right { text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 44px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 28px; }
  .photo-frame { width: 220px; height: 330px; }
}
