/* ── FONTS ── */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('../fonts/lora-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* ── VARIABLES ── */
:root {
  --color-slate:      rgb(73, 88, 103);
  --color-slate-dark: rgb(48, 63, 78);
  --color-teal:       rgb(86, 199, 193);
  --color-white:      #fff;
  --font:             'Lora', serif;
}

/* ── BASE ── */
body {
  font-family: var(--font);
  color: var(--color-slate);
  background: var(--color-white);
}

/* ── BRANDS SECTION ── */
.brands {
  min-height: 764px;
  background: var(--color-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 60px 80px;
  max-width: 1224px;
  margin: 0 auto;
}

.brands__image {
  width: 100%;
  max-width: 496px;
  aspect-ratio: 496 / 634;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.brands__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.brands__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-slate);
}

.brands__intro {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-slate);
}

.brands__intro a {
  color: var(--color-slate);
  text-decoration: underline;
}

.brand-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-align: center;
}

.btn--brand {
  background-color: var(--color-slate);
  color: var(--color-white);
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
}

.btn--brand:hover {
  background-color: var(--color-teal);
  color: var(--color-slate);
}

.btn--submit {
  background-color: var(--color-teal);
  color: var(--color-white);
  border-radius: 4px;
  font-size: 16px;
  padding: 14px 32px;
  align-self: flex-start;
}

.btn--submit:hover {
  background-color: var(--color-slate-dark);
  color: var(--color-teal);
}

.btn--submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── CONTACT SECTION ── */
.contact {
  background: var(--color-slate);
  min-height: 850px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 16px;
}

.contact__inner {
  width: 100%;
  max-width: 606px;
}

.contact__title {
  font-size: 48px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 32px;
}

/* ── FORM ── */
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 14px;
  color: var(--color-white);
  font-family: var(--font);
}

.form__input,
.form__textarea {
  background: rgb(241, 241, 241);
  color: rgb(136, 136, 136);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 2px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 16px;
  height: 48px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--color-teal);
  color: var(--color-slate-dark);
}

.form__textarea {
  height: 140px;
  resize: vertical;
}

.form__message {
  font-size: 14px;
  padding: 4px 0;
  display: none;
}

.form__message--success { color: var(--color-teal); }
.form__message--error   { color: #fc5185; }

/* ── HONEYPOT ── */
.form__honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── FOOTER ── */
footer {
  background: var(--color-slate-dark);
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px 16px;
  font-size: 13px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .brands {
    grid-template-columns: 1fr;
    padding: 56px 16px 40px;
    min-height: unset;
    gap: 24px;
  }

  .brands__image {
    max-width: 100%;
    order: 2;
  }

  .brands__content {
    order: 1;
  }

  .brands__title {
    font-size: 40px;
  }

  .btn--brand {
    max-width: 100%;
  }

  .contact {
    min-height: unset;
    padding: 56px 16px;
  }

  .contact__title {
    font-size: 32px;
  }
}
