:root {
  --color-yellow: #ffcc00;
  --color-yellow-dark: #f6b800;
  --color-text: #1a1a1a;
  --color-text-secondary: #333333;
  --color-link: #0066a1;
  --color-link-hover: #004d7a;
  --color-bg-light: #f5f5f5;
  --color-white: #ffffff;
  --color-border: #e6e6e6;
  --color-footer-text: #555555;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container-max: 1200px;
  --container-padding: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-white);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--color-text);
}

h1 {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 24px;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 32px;
}

h3 {
  font-size: 20px;
  line-height: 1.3;
}

h4 {
  font-size: 14px;
  line-height: 1.4;
}

.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  flex: 1;
}

.nav__list a {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.nav__list a:hover {
  border-bottom: 3px solid var(--color-yellow);
  padding-bottom: 22px;
}

.nav__actions {
  display: flex;
  align-items: center;
  height: 100%;
  margin-right: -24px;
}

.nav__search {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  background: none;
  border: none;
  border-left: 1px solid var(--color-border);
  color: var(--color-text);
}

.nav__search i,
.nav__search svg {
  width: 22px;
  height: 22px;
}

.nav__login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 70px;
  padding: 0 24px;
  background: var(--color-yellow);
  color: var(--color-text);
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s ease;
}

.nav__login:hover {
  background: var(--color-yellow-dark);
}

.nav__login i,
.nav__login svg {
  width: 20px;
  height: 20px;
}

.hero {
  background: var(--color-bg-light);
  padding: 72px 0 80px;
}

.footer {
  background: var(--color-white);
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 48px 0;
}

.footer__col h4 {
  margin-bottom: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer__col ul {
  list-style: none;
}

.footer__col li {
  margin-bottom: 14px;
}

.footer__col a {
  color: var(--color-text-secondary);
  font-size: 15px;
  transition: color 0.2s ease;
}

.footer__col a:hover {
  color: var(--color-link);
}

.footer__bottom {
  background: var(--color-bg-light);
  padding: 32px 0;
  color: var(--color-footer-text);
  font-size: 14px;
  line-height: 1.6;
}

.footer__bottom p {
  margin-bottom: 16px;
}

.footer__bottom p:last-child {
  margin-bottom: 0;
}

.footer__bottom a {
  color: var(--color-footer-text);
  text-decoration: underline;
}

.footer__bottom a:hover {
  color: var(--color-text);
}

@media (max-width: 900px) {
  .nav__list {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  .nav {
    padding: 0 16px;
  }

  .nav__login span {
    display: none;
  }

  .nav__actions {
    margin-right: -16px;
  }
}
