@font-face {
  font-family: 'Open Sans';
  src: url('../assets/font/OpenSans.woff2') format('woff2');
  src: url('../assets/font/OpenSans.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
}

:root {
  --bg: #f6f1ea;
  --text: #1d1d1d;
  --muted: #706a62;
  --line: #ded5ca;
  --panel: #fffaf3;
  --accent: #111111;
  --accent-soft: #e8dccd;
  --error: #b42318;
  --blue: #335e9b;
  --green: #009640;
  --gold: #ae9735;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
}

body {
  min-height: 100vh;
  font-family: 'Open Sans', sans-serif;
  background-color: #e1e1e1;
  color: var(--text);
  padding: 32px;
}

.d-none {
  display: none;
}
.d-block {
  display: block;
}

.invalid-feedback {
  color: red;
  font-size: 14px;
  margin-top: 8px;
}

.page {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
/*   overflow: hidden; */
  box-shadow: 0 30px 80px rgba(57, 45, 33, 0.13);
}

.intro {
  position: relative;
  padding: 56px;
  color: var(--gold);
  display: flex;
  flex-direction: column;
/*   justify-content: space-between; */
  overflow: visible;
  border-right: 1px solid var(--green);
}

/* .intro::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.intro::after {
  content: "";
  position: absolute;
  top: -90px;
  left: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
} */

.intro .go-back {
  display: block; 
  padding: 20px; 
  font-size: 16px; 
  color: #fff;
  background-color: var(--blue);
  border: 1px solid var(--blue); 
  text-decoration: none;
  margin-bottom: 24px;
  border-radius: 100px;
  width: fit-content;
  transition: all 0.5s ease;
}

.intro .go-back:hover {
  background-color: #fff;
  color: var(--blue);
}

.intro .logo {
  width: 250px;
  margin-bottom: 40px;
}

.kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

.intro-main {
  position: relative;
  z-index: 1;
  margin-top: 80px;
}

.intro h1 {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.92;
  margin-bottom: 26px;
  max-width: 520px;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
}

.intro p {
  max-width: 440px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
}

.intro-footer {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--muted)
}

.form-area {
  padding: 56px;
  display: flex;
  align-items: center;
}

.form-inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.form-title {
  margin-bottom: 34px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.form-title h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  color: var(--blue);
}

.form-title p {
  max-width: 280px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.registration-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 60px;
}

.field {
  position: relative;
}

.field.full {
  grid-column: 1 / -1;
}

.d-flex {
  display: flex;
}
.align-items-center {
  align-items: center;
}
.flex-nowrap {
  flex-wrap: nowrap;
}

label {
  display: block;
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
  color: #3d3832;
}

input,
select {
  width: 100%;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  padding: 0 2px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  border-width: 0 0 1px 0;
}

input::placeholder {
  color: #a39a90;
}

input:focus,
select:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.35);
}

select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #111 50%),
    linear-gradient(135deg, #111 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.privacy {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: flex-start;
}
textarea {
  width: 100%;
  height: 75px;
  resize: vertical;
  appearance: none;
  padding: 16px;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
}

.light-lunch input[type="radio"] {
  width: fit-content;
  margin-right: 16px;
}
.light-lunch input[type="radio"] + label {
  margin-right: 40px;
}

.privacy input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #111;
}

.privacy label {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--muted);
}

.privacy a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.actions {
  grid-column: 1 / -1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

button[type="submit"] {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font-family: "Open Sans", sans-serif;
  padding: 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.5s ease, color 0.5s ease, transform 0.5s ease;
}

button[type="submit"]:hover {
  background: transparent;
  color: var(--blue);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  body {
    padding: 16px;
  }

  .page {
    min-height: auto;
    grid-template-columns: 1fr;
    border-radius: 10px;
  }

  .intro {
    padding: 38px 28px;
  }

  .intro .logo {
    width: 70%;
    margin: 0 auto 24px;
  }

  .intro-main {
    margin-top: 52px;
  }

  .intro-footer {
    margin-top: 46px;
  }

  .form-area {
    padding: 34px 24px;
  }

  .form-title {
    display: block;
  }

  .form-title p {
    margin-top: 12px;
    max-width: none;
  }
}

@media (max-width: 680px) {
  .registration-form {
    grid-template-columns: 1fr;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  button {
    width: 100%;
  }

  .intro h1 {
    font-size: 42px;
  }
}

.language-switcher {
  position: fixed;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
  border-radius: 0px 0px 10px 10px;
  background-color: #fff;
}

.language-switcher span {
  font-size: 14px;
  color: var(--blue);
}

.language-switcher button {
  border: 0;
  appearance: none;
  background-color: transparent;
}
.language-switcher button:hover {
  cursor: pointer;
}