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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Montserrat', Arial, sans-serif;
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.72)),
    url("../png/fonmain.PNG") center top / 100% auto no-repeat,
    #080808;
  color: #f5f5f5;
}

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

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

/* HEADER */

.header {
  width: 100%;
  padding: 28px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-logo img {
  width: 170px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  transition: 0.25s ease;
}

.nav a:hover {
  color: #b8955f;
}

.header-actions {
  display: flex;
  gap: 14px;
}

.header-actions a {
  width: 44px;
  height: 44px;
  border-radius: 14px; /* вместо круга */
  background: #111;
  color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.25s ease;
  border: 1px solid rgba(184, 149, 95, 0.3);
}

.header-actions a:hover {
  transform: translateY(-2px);
  background: #b8955f;
  color: #fff;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding: 140px 6% 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: transparent;
}

.hero h1 {
  font-size: clamp(64px, 8vw, 126px);
  line-height: 0.92;
  letter-spacing: -4px;
  font-weight: 800;
  margin-bottom: 34px;
}

.hero-content > p {
  max-width: 500px;
  color: #cfcfcf;
  font-size: 24px;
  line-height: 1.5;
  margin-bottom: 38px;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 70px;
}

.primary-button,
.secondary-button {
  min-height: 68px;
  padding: 0 34px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 800;
  transition: 0.25s ease;
}

.primary-button {
  background: #b8955f;
  color: #fff;
  text-transform: uppercase;
}

.secondary-button {
  background: #f5f5f5;
  border: 1px solid #f5f5f5;
  color: #111;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-3px);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 760px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature i {
  color: #b8955f;
  font-size: 30px;
  margin-top: 3px;
}

.feature h3 {
  color: #b8955f;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.feature p {
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.5;
}

.hero-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.hero-image > img {
  max-height: 760px;
  object-fit: contain;
  filter: drop-shadow(0 40px 80px rgba(0, 0, 0, 0.22));
}

/* CATEGORIES */

.categories-section {
  padding: 58px 6% 70px;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.78) 0%,
    rgba(8, 8, 8, 0.95) 35%,
    #080808 100%
  );
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: #b8955f;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 14px;
  font-weight: 800;
}

.section-head {
  margin-bottom: 34px;
}

.section-head h2 {
  color: #f5f5f5;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border-radius: 18px;
  background: #151515;
  border: 1px solid rgba(184, 149, 95, 0.42);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: 0.28s ease;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 78%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  opacity: 0.96;
  transition: 0.35s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(21, 21, 21, 0.98) 0%,
    rgba(21, 21, 21, 0.78) 30%,
    rgba(21, 21, 21, 0.22) 62%,
    rgba(21, 21, 21, 0) 100%
  );
}

.card-content,
.category-card h3,
.category-card span {
  position: relative;
  z-index: 3;
}

.category-card h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.category-card span {
  color: #b8955f;
  font-size: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.category-card:hover {
  transform: translateY(-6px);
  background: #1d1d1d;
  border-color: rgba(184, 149, 95, 0.75);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.category-card:hover img {
  transform: scale(1.04);
}

/* INFO */

.info-strip {
  margin: 44px 6% 44px;
  padding: 34px 36px;
  border-radius: 22px;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.info-item {
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.info-item:last-child {
  border-right: none;
}

.info-item i {
  color: #b8955f;
  font-size: 28px;
  margin-bottom: 18px;
}

.info-item h3 {
  color: #f5f5f5;
  font-size: 15px;
  margin-bottom: 8px;
}

.info-item p {
  color: #b8b8b8;
  line-height: 1.45;
}

/* FOOTER */

.footer {
  background: #080808;
  margin-top: 50px;
  padding: 0 6% 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #8a8a8a;
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

.footer p {
  margin: 0;
}

/* ADAPTIVE */

@media (max-width: 980px) {
  .header {
    position: sticky;
    top: 12px;
    left: auto;
    width: calc(100% - 32px);
    margin: 12px auto 0;
    padding: 12px 14px;
    border-radius: 22px;
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(184, 149, 95, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    z-index: 100;
  }

  .header-actions {
  display: flex;
  gap: 10px;
}

.header-actions a {
  font-size: 14px;
  color: #f5f5f5;
  text-decoration: none;
}

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 56px 20px 50px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-content > p {
    font-size: 19px;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 10px;
  }

  .hero-image img {
    max-height: 440px;
  }

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

  .info-strip {
    grid-template-columns: repeat(2, 1fr);
    margin: 44px 20px 44px;
  }

  .info-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 560px) {
  body {
    background:
      linear-gradient(rgba(0,0,0,0.66), rgba(0,0,0,0.78)),
      url("../png/fonmain-mobile.jpg") center top / auto 100vh no-repeat,
      #080808;
  }

  .header-logo img {
    width: 120px;
  }

  .header-actions a {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .hero {
    padding: 44px 16px 42px;
  }

  .hero h1 {
    font-size: 54px;
    letter-spacing: -2px;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .hero-buttons {
    margin-bottom: 42px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
  }

  .categories-section {
    padding: 42px 16px 48px;
  }

  .category-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    min-height: 190px;
    padding: 14px;
    border-radius: 16px;
  }

  .category-card img {
    height: 100%;
    z-index: 1;
    object-fit: cover;
    object-position: center;
  }

  .category-card::after {
    background: linear-gradient(
      to top,
      rgba(8, 8, 8, 0.96) 0%,
      rgba(8, 8, 8, 0.78) 28%,
      rgba(8, 8, 8, 0.22) 68%,
      rgba(8, 8, 8, 0) 100%
    );
  }

  .category-card h3 {
    font-size: 14px;
    line-height: 1.15;
    margin-bottom: 6px;
  }

  .category-card span {
    font-size: 12px;
  }

  .info-strip {
    grid-template-columns: 1fr;
    padding: 26px;
    margin: 44px 20px 38px;
  }

  .info-item {
    border-right: none;
    padding-right: 0;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    line-height: 1.5;
    padding-bottom: 32px;
  }
}
@media (min-width: 981px) {
  .header-time {
    display: none;
  }
}

.hero-new-stack {
  display: none;
}

.new-stack {
  position: relative;
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-item {
  position: absolute;
  width: 135px;
  height: 175px;
  border-radius: 22px;
  cursor: pointer;
  transition: 0.35s ease;
}

.new-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.6));
}

.item-1 {
  transform: translateX(-70px) rotate(-10deg);
  z-index: 1;
}

.item-2 {
  transform: translateY(-8px);
  z-index: 3;
}

.item-3 {
  transform: translateX(70px) rotate(10deg);
  z-index: 2;
}

.item-1.active {
  transform: translateX(-70px) translateY(-18px) rotate(-10deg) scale(1.06);
  z-index: 10;
}

.item-2.active {
  transform: translateY(-26px) scale(1.06);
  z-index: 10;
}

.item-3.active {
  transform: translateX(70px) translateY(-18px) rotate(10deg) scale(1.06);
  z-index: 10;
}

.new-info {
  position: absolute;
  left: 50%;
  bottom: -78px;
  width: 210px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(15, 15, 15, 0.94);
  border: 1px solid rgba(184, 149, 95, 0.28);
  color: #f5f5f5;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(10px);
  transition: 0.25s ease;
}

.new-item.active .new-info {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.new-info h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.new-info p {
  font-size: 12px;
  line-height: 1.4;
  color: #b8b8b8;
}

@media (max-width: 980px) {
  .hero-story.hero-hookah {
    display: none;
  }

  .hero-new-stack {
    display: flex;
    margin-top: 12px;
  }
}

@media (max-width: 560px) {

  .hero {
    padding-bottom: 18px;
  }

  .categories-section {
    padding: 54px 16px 48px;
    margin-top: -24px;

    background: linear-gradient(
      to bottom,
      rgba(8, 8, 8, 0) 0%,
      rgba(8, 8, 8, 0.35) 18%,
      rgba(8, 8, 8, 0.72) 42%,
      rgba(8, 8, 8, 0.95) 72%,
      #080808 100%
    );
  }
  .new-stack {
    height: 210px;
    margin-top: -40px;
  }

  .new-item {
    width: 150px;
    height: 200px;
  }

  .item-1 {
  transform: translateX(-75px) rotate(-9deg);
}

.item-2 {
  transform: translateY(-8px);
}

.item-3 {
  transform: translateX(75px) rotate(9deg);
}

  .item-1.active {
  transform: translateX(-75px) translateY(-18px) rotate(-9deg) scale(1.06);
}

.item-2.active {
  transform: translateY(-24px) scale(1.06);
}

.item-3.active {
  transform: translateX(75px) translateY(-18px) rotate(9deg) scale(1.06);
}
}

.map-section {
  margin: 40px 6% 50px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(184, 149, 95, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.map-section iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
}

@media (max-width: 560px) {
  .map-section {
    margin: 32px 20px 40px;
    border-radius: 18px;
  }

  .map-section iframe {
    height: 320px;
  }
}

.map-head {
  text-align: center;
  margin: 60px 0 24px;
}

.map-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #f5f5f5;
  margin-bottom: 10px;
}

.map-sub {
  display: block;
  color: #b8955f;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-weight: 700;
}

.hero-new-stack {
  display: none;
}

@media (max-width: 980px) {
  .hero-new-stack {
    display: flex;
  }
}

.locations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.location span {
  font-weight: 600;
  color: #f5f5f5;
  font-size: 14px;
}

.location p {
  color: #b8b8b8;
  font-size: 13px;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact span {
  display: block;
  font-size: 12px;
  color: #8a8a8a;
}

.contact a {
  color: #b8955f;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s;
}

.contact a:hover {
  color: #fff;
}

.map-switch {
  display: flex;
  justify-content: center;
  gap: 10px;

  margin-top: 8px;   /* сверху нормальный воздух */
  margin-bottom: 8px; /* снизу компактно */
}

.map-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 149, 95, 0.42);
  background: #111;
  color: #f5f5f5;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.map-btn.active,
.map-btn:hover {
  background: #b8955f;
  color: #fff;
}

.header-actions {
  display: none;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex: 1;
}

@media (max-width: 980px) {
  .header .nav {
    display: none !important;
  }

  .header .header-actions {
    display: flex !important;
  }
}

#contacts {
  scroll-margin-top: 120px;
}

.hero-story {
  position: relative;
  width: min(560px, 100%);
  height: 680px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  transform: translateY(-35px);
  z-index: 2;
}

.hero::after {
  z-index: 1;
}

.story-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.16);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.story-slide.active {
  opacity: 1;
}

.story-progress {
  position: absolute;
  left: 50%;
  bottom: 65px;
  transform: translateX(-50%);

  width: 34%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  z-index: 3;
}

.story-bar {
  height: 2.5px; 
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.story-bar::before {
  content: "";
  display: block;
  width: 0%;
  height: 100%;
  background: #ffffff;
}

.story-bar.active::before {
  animation: storyProgress 4s linear forwards;
}

@keyframes storyProgress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.hero-story img,
.hero-story .story-slide {
  filter: none !important;
}

.footer a {
  color: #b8955f;
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
}


/* legal footer card on the main page */
.footer.legal-footer-card {
  width: min(1240px, calc(100% - 48px));
  margin: 44px auto 0;
  padding: 22px clamp(18px, 4vw, 34px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.84), rgba(10, 10, 10, 0.9));
  border: 1px solid rgba(184, 149, 95, 0.24);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
  display: grid;
  gap: 10px;
  color: #cfcfcf;
  text-align: center;
  text-transform: none;
  letter-spacing: 0;
}

.footer.legal-footer-card span {
  color: #b8955f;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.footer.legal-footer-card p {
  max-width: 980px;
  margin: 0 auto;
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.footer.legal-footer-card nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 2px;
}

.footer.legal-footer-card a {
  color: #b8955f;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

.footer.legal-footer-card a:hover {
  color: #d1ad72;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .footer.legal-footer-card {
    width: calc(100% - 28px);
    margin-top: 30px;
    padding: 18px 14px;
    border-radius: 20px;
  }

  .footer.legal-footer-card p,
  .footer.legal-footer-card a {
    font-size: 11.5px;
  }

  .footer.legal-footer-card nav {
    gap: 8px 14px;
  }
}
