/* ─── Alpha-PDD.kz — Shared Styles ─── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

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

:root {
  --navy:    #0C2340;
  --blue:    #15589A;
  --accent:  #15589A;
  --light:   #E4EDF8;
  --lighter: #F4F7FB;
  --dark:    #1A2B3C;
  --text:    #2E3D50;
  --muted:   #64748B;
  --border:  #DCE4EE;
  --white:   #FFFFFF;
  --green:   #1A7A4A;
  --yellow:  #B8871A;
  --red:     #C42020;
  --radius:  8px;
}

body { font-family: 'Inter', sans-serif; color: var(--dark); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 80px 0; }
.section-alt { background: var(--lighter); }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { font-size: 19px; font-weight: 800; color: var(--navy); display: flex; align-items: center; gap: 0; white-space: nowrap; flex-shrink: 0; letter-spacing: -0.3px; }
.logo span { color: var(--accent); }
.logo-badge { background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.2px; }
nav { display: flex; align-items: center; gap: 2px; flex: 1; }
nav a { font-size: 14px; font-weight: 500; color: var(--text); padding: 6px 12px; border-radius: var(--radius); transition: color .15s, background .15s; white-space: nowrap; }
nav a:hover { color: var(--navy); background: var(--lighter); }
nav a.active { color: var(--navy); font-weight: 700; background: var(--lighter); }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-btn { font-size: 13px; font-weight: 600; color: var(--muted); background: transparent; border: 1px solid var(--border); cursor: pointer; padding: 5px 12px; border-radius: var(--radius); font-family: inherit; transition: all .15s; }
.lang-btn:hover { color: var(--navy); border-color: var(--navy); background: var(--lighter); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .2s; }
.mobile-nav { display: none; background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 16px; }
.mobile-nav a { display: block; padding: 10px 0; font-size: 15px; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border: none; }
.mobile-nav.open { display: block; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer; border: none; border-radius: var(--radius); padding: 9px 18px; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; text-decoration: none; }
.btn-ghost   { background: transparent; color: var(--text); }
.btn-ghost:hover { background: var(--lighter); color: var(--navy); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0F4588; }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-yellow  { background: var(--yellow); color: #fff; }
.btn-yellow:hover { background: #9C7215; }
.btn-sm  { font-size: 13px; padding: 6px 14px; }
.btn-lg  { font-size: 15px; padding: 12px 26px; }
.btn-xl  { font-size: 16px; padding: 14px 32px; }
.btn-block { width: 100%; justify-content: center; }

/* ── SECTION TITLE ── */
.section-title { text-align: center; margin-bottom: 48px; }
.section-title h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.section-title p { font-size: 16px; color: var(--muted); max-width: 520px; margin: 0 auto; }
.tag { display: inline-block; background: var(--light); color: var(--blue); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .6px; }

/* ── CHIPS ── */
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--light); color: var(--blue); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.chip.green  { background: #D4EDE0; color: var(--green); }
.chip.yellow { background: #F5EDDA; color: var(--yellow); }
.chip.red    { background: #FAE0E0; color: var(--red); }

/* ── CARDS ── */
.card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.card-header { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); }
.card-title  { font-size: 14px; font-weight: 700; color: var(--navy); }
.card-body   { padding: 18px 20px; }

/* ── FOOTER ── */
footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-logo { font-size: 19px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: #8EB8DE; }
.footer-about { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer-social { display: flex; gap: 8px; }
.social-btn { width: 36px; height: 36px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.6); transition: all .15s; cursor: pointer; text-decoration: none; }
.social-btn:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.25); }
.footer-col h4 { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .8px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 12px; }
.footer-langs { display: flex; gap: 8px; }
.footer-langs button { background: transparent; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.5); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 6px; cursor: pointer; font-family: inherit; transition: all .15s; }
.footer-langs button:hover, .footer-langs button.active { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }

/* ── FLOATING BUTTONS ── */
#wa-float { position: fixed; bottom: 80px; right: 28px; z-index: 99; width: 48px; height: 48px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(37,211,102,.35); transition: transform .15s; text-decoration: none; }
#wa-float:hover { transform: scale(1.06); }
#scroll-top { position: fixed; bottom: 28px; right: 28px; z-index: 99; width: 40px; height: 40px; border-radius: var(--radius); background: var(--navy); color: #fff; border: none; cursor: pointer; font-size: 17px; display: none; align-items: center; justify-content: center; transition: background .15s; font-family: inherit; }
#scroll-top:hover { background: var(--accent); }
#scroll-top.show { display: flex; }

/* ── MODAL ── */
#modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 200; align-items: center; justify-content: center; padding: 20px; }
#modal-overlay.open { display: flex; }
#modal-box { background: #fff; border-radius: 12px; padding: 36px; max-width: 440px; width: 100%; position: relative; max-height: 90vh; overflow-y: auto; }
#modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 20px; cursor: pointer; color: var(--muted); line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; }
#modal-close:hover { background: var(--lighter); color: var(--dark); }

/* ── FORMS ── */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: inherit; font-size: 14px; color: var(--dark);
  outline: none; transition: border-color .15s;
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(21,88,154,.1);
}
.field input::placeholder, .field textarea::placeholder { color: #A8B5C4; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── PASSWORD TOGGLE ── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-eye { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--muted); padding: 4px; font-size: 16px; line-height: 1; user-select: none; }
.pw-eye:hover { color: var(--navy); }

/* ── BREADCRUMB ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 0; }
  .section-title h2 { font-size: 24px; }
  .btn-xl { font-size: 15px; padding: 12px 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .section { padding: 44px 0; }
  #wa-float { bottom: 72px; right: 14px; width: 44px; height: 44px; }
  #scroll-top { right: 14px; bottom: 22px; }
  .header-inner { height: 56px; gap: 8px; }
  .logo { font-size: 16px; }
  .logo-badge { display: none; }
  .header-actions { gap: 4px; }
  .btn-ghost { padding: 6px 10px; font-size: 13px; }
  .btn-primary { padding: 7px 14px; font-size: 13px; }
  .btn-lg { font-size: 14px; padding: 11px 20px; }
  .field input, .field select, .field textarea { font-size: 16px; } /* iOS zoom fix */
}
@media (max-width: 400px) {
  .container { padding: 0 12px; }
  .section { padding: 36px 0; }
}
