/* ===== Condor Digital Agency — styles ===== */
:root {
  --navy: #0c1e3c;
  --navy-2: #12294f;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --accent: #f59e0b;
  --text: #23324a;
  --muted: #5b6b84;
  --bg: #f7f9fc;
  --line: #e3e9f3;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(12, 30, 60, .10);
  --font: 'Manrope', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

img, svg { display: inline-block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; color: var(--navy); font-weight: 800; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(37, 99, 235, .08);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 14px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font);
  font-size: .98rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(37, 99, 235, .28); }
.btn--primary:hover { background: var(--blue-2); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 30, 60, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: box-shadow .2s ease;
}
.header--scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo__mark { color: var(--accent); display: inline-flex; }
.logo__text b { color: var(--accent); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  color: rgba(255, 255, 255, .82);
  font-weight: 600;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); text-decoration: none; }

.header__cta { margin-left: 8px; padding: 10px 18px; font-size: .9rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(37, 99, 235, .35), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(245, 158, 11, .16), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #142c55 100%);
  color: #fff;
  padding: 92px 0 76px;
}
.hero__inner { position: relative; }
.hero__content { max-width: 760px; }
.hero__subtitle {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero__accent { color: var(--accent); }
.hero__text { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 640px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 54px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: 760px;
}
.hero__stats b { display: block; font-size: 1.7rem; font-weight: 800; color: #fff; }
.hero__stats span { font-size: .9rem; color: rgba(255, 255, 255, .72); }
/* ===== About ===== */
.about { padding: 96px 0; background: var(--bg); scroll-margin-top: 72px; }
.about__inner {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 56px;
  align-items: start;
}
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__text h2 { margin-bottom: 18px; }
.about__list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.about__list li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
  color: var(--text);
}
.about__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
.about__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}
.about__card dl { display: grid; gap: 16px; margin-top: 20px; }
.about__card dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.about__card dd { font-weight: 600; color: var(--navy); font-size: .98rem; }

/* ===== Services ===== */
.services { padding: 96px 0; scroll-margin-top: 72px; }
.section-head { max-width: 560px; margin-bottom: 46px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p:not(.kicker) { color: var(--muted); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(37, 99, 235, .35); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(37, 99, 235, .1);
  color: var(--blue);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ===== Contacts ===== */
.contacts { padding: 96px 0; background: var(--bg); scroll-margin-top: 72px; }
.contacts__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contacts__info h2 { margin-bottom: 14px; }
.contacts__info > p { color: var(--muted); }
.contacts__list { margin-top: 28px; display: grid; gap: 20px; }
.contacts__list dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.contacts__list dd { font-weight: 600; color: var(--navy); }
.contacts__note { margin-top: 24px; font-size: .92rem; color: var(--muted); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 30px;
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field input,
.field textarea {
  font-family: var(--font);
  font-size: .98rem;
  color: var(--text);
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfcfe;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
  background: #fff;
}
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__submit { margin-top: 4px; }
.form__status { min-height: 24px; font-size: .92rem; font-weight: 600; }
.form__status--success { color: #15803d; }
.form__status--error { color: #b91c1c; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .82); padding: 64px 0 30px; }
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand { max-width: 340px; }
.footer__about { margin-top: 16px; font-size: .94rem; color: rgba(255, 255, 255, .66); }
.footer__nav { display: grid; gap: 12px; align-content: start; }
.footer__nav a { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; }
.footer__nav a:hover { color: var(--accent); text-decoration: none; }
.footer__legal {
  margin-top: 28px;
  font-size: .88rem;
  line-height: 1.6;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  padding: 16px 18px;
  font-weight: 600;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
}
.footer__bottom a { color: rgba(255, 255, 255, .66); }

/* ===== Legal pages ===== */
.legal { padding: 64px 0 96px; background: var(--bg); min-height: calc(100vh - 366px); }
.legal .container { max-width: 860px; }
.legal h1 { margin-bottom: 8px; }
.legal__meta { color: var(--muted); font-size: .9rem; margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 10px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal a { word-break: break-all; }
.legal__page .header { position: static; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 72px 0 60px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--navy);
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(-120%);
    transition: transform .25s ease;
    margin-left: 0;
  }
  .menu-open .nav { transform: translateY(0); }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px 28px; }
  .footer__top { flex-direction: column; }
  .form { padding: 26px 20px; }
  .about, .services, .contacts { padding: 72px 0; }
}