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

:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #888;
  --font: 'Inter', sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font);
  background: #222;
  color: var(--white);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu__header {
  display: flex;
  align-items: center;
  padding: 16px 24px;
}

.mobile-menu__close {
  color: var(--black);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  gap: 0;
}

.mobile-menu__link {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  transition: opacity 0.2s;
}
.mobile-menu__link:first-child { border-top: 1px solid #eee; }
.mobile-menu__link:hover { opacity: 0.6; }
.mobile-menu__link--disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* === HEADER === */
.header {
  padding: 16px 24px;
  background: var(--white);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__menu-btn {
  color: var(--black);
}

.header__menu-btn {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}

.lang-switch__btn {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.4;
  color: var(--black);
  transition: opacity 0.2s;
}
.lang-switch__btn.active { opacity: 1; }
.lang-switch__sep { opacity: 0.4; color: var(--black); }

/* === LOGO SECTION === */
.logo-section {
  text-align: center;
  padding: 32px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.logo-section__img {
  width: 460px;
  max-width: 80%;
}

.logo-section__sub-img {
  width: 460px;
  max-width: 80%;
}

/* === BRANDS === */
.brands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 24px 16px;
}

.brand-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.brand-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-card__img--mobile { display: none; }

.brand-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}

.brand-card__overlay--earnshaw {
  background: none;
  right: 50%;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 28px;
}
.brand-card__overlay--earnshaw .brand-card__btn {
  align-self: center;
}

.brand-card__btn {
  align-self: flex-start;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 16px;
}
.brand-card__btn:hover { background: #eee; }


.brand-card__name {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 10px;
  color: var(--white);
}

/* === SEARCH SECTION === */
.search-section {
  padding: 40px 24px 48px;
  text-align: center;
  background: var(--black);
  border-radius: 0;
  margin: 0;
}

.search-section__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 6px;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-style: italic;
}

.search-section__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 3px;
  padding: 16px 48px;
  border-radius: 4px;
  transition: all 0.2s;
  text-transform: uppercase;
}

.search-btn--outline {
  background: var(--white);
  color: var(--black);
  border: none;
  min-width: 180px;
}
.search-btn--outline:hover {
  background: #e0e0e0;
}

.search-btn--filled {
  background: rgba(255,255,255,0.25);
  color: var(--white);
  border: none;
  padding: 16px 40px;
  border-radius: 4px;
}
.search-btn--filled:hover {
  background: rgba(255,255,255,0.35);
}

/* ===================== */
/* === MOBILE STYLES === */
/* ===================== */
@media (max-width: 768px) {
  .logo-section { padding: 24px 20px 16px; }
  .logo-section__img { width: 70%; }
  .logo-section__sub-img { width: 70%; }

  .brands {
    grid-template-columns: 1fr;
    padding: 0 16px 12px;
    gap: 12px;
  }

  .brand-card__img--desktop { display: none; }
  .brand-card__img--mobile { display: block; }

  .brand-card__name {
    font-size: 20px;
    letter-spacing: 6px;
  }

  .brand-card__overlay { padding: 20px; }
  .brand-card__btn { margin-bottom: 12px; }

  .search-section {
    margin: 0 16px 16px;
    padding: 32px 20px 36px;
    border-radius: 8px;
  }

  .search-section__title { font-size: 16px; }

  .search-btn { padding: 12px 28px; font-size: 13px; }
  .search-btn--outline { min-width: 130px; }
}
