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

html {
  scroll-behavior: smooth; 
}

body {
  margin: 0;
}

ul {
  list-style: none;
}

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

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

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #415167; 
  --color-accent: #c7a17a;  
  --color-dark: #151d28;
  --color-light: #edf0f5;
  --color-bg: #f9f5e8;

  --radius-base: 12px;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
}

.page {
  min-height: 100vh;
}


.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 16px;
}

.section {
  padding-block: 56px;
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-primary);
  text-align: left;
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-base);
  padding: 20px 24px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.card__text {
  font-size: 15px;
}

.header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
  gap: 32px;
}

.header__logo img {
  height: 40px;
}

.nav__list {
  display: flex;
  gap: 20px;
}

.nav__item--active .nav__link {
  color: var(--color-accent);
}

.nav__link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-dark);
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.nav__link:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  transform: translateY(-1px);
}

.nav__link:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.hero {
  padding-block: 64px 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 50%, #f9f5e8 100%);
}

.hero__inner {
  max-width: 640px;
}

.hero__title {
  font-size: 40px;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.hero__text {
  font-size: 16px;
  margin-bottom: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--color-accent);
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  background-color: #b38f67;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.base__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.favorite__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.combo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact__info p {
  margin-bottom: 8px;
}

.footer {
  padding-block: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 14px;
  color: #777;
}
@media (max-width: 768px) {
  /* Показываем гамбургер */
  .menu-toggle {
    display: flex; 
  }

  /* Навигация */
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  /* Когда меню открыто */
  .nav.active {
    right: 0;
  }

  /* Стили для списка меню */
  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
  }

  .scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    color: white;
    font-size: 22px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .header__inner {
    padding: 15px 0;
  }

  .nav__list {
    gap: 20px;
  }

  .header__cta {
    display: none; 
  }
}
