:root {
  --ink: #1e1a17;
  --muted: #6c6259;
  --teal: #0f6a6a;
  --teal-dark: #0a4d4d;
  --salt: #d8ede6;
  --mud: #7b6a58;
  --scrub: #b58d4d;
  --soap: #9a8a7d;
  --paper: #fffdfa;
  --shell: #f7f1ea;
  --line: #e6dcd1;
  --white: #ffffff;
  --shadow: 0 26px 70px rgba(43, 34, 26, 0.13);
  --display: "Literata", Georgia, serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
}

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

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

.page {
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 72px;
}

.shell {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.topbar {
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topbar .shell {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 220, 209, 0.8);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-family: "Marcellus", Georgia, serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.18em;
  font-weight: 400;
}

.brand span {
  font-family: var(--body);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links,
.lang {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 10px 0;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

.lang {
  position: relative;
}

.lang details {
  position: relative;
}

.lang summary {
  min-width: 74px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(15, 106, 106, 0.22);
  background: rgba(255, 253, 250, 0.78);
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease;
}

.lang summary:hover,
.lang summary:focus-visible {
  border-color: rgba(15, 106, 106, 0.5);
  background: rgba(255, 253, 250, 0.96);
}

.lang summary::-webkit-details-marker {
  display: none;
}

.lang summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.lang details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.flag {
  width: 19px;
  height: 13px;
  display: inline-block;
  border: 1px solid rgba(43, 34, 26, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 253, 250, 0.18);
}

.flag-en {
  background:
    linear-gradient(90deg, transparent 43%, #f7f1ea 43% 57%, transparent 57%),
    linear-gradient(transparent 39%, #f7f1ea 39% 61%, transparent 61%),
    linear-gradient(90deg, transparent 47%, #c8102e 47% 53%, transparent 53%),
    linear-gradient(transparent 44%, #c8102e 44% 56%, transparent 56%),
    #012169;
}

.flag-cs {
  background:
    linear-gradient(135deg, #11457e 0 34%, transparent 34%),
    linear-gradient(#f7f1ea 0 50%, #d7141a 50%);
}

.flag-ru {
  background: linear-gradient(#f7f1ea 0 33%, #1c57a7 33% 66%, #c43b3b 66%);
}

.flag-de {
  background: linear-gradient(#1e1a17 0 33%, #c43b3b 33% 66%, #d6a43a 66%);
}

.flag-fr {
  background: linear-gradient(90deg, #244a9b 0 33%, #f7f1ea 33% 66%, #c43b3b 66%);
}

.flag-es {
  background: linear-gradient(#c43b3b 0 25%, #e0b94c 25% 75%, #c43b3b 75%);
}

.flag-it {
  background: linear-gradient(90deg, #1c8b57 0 33%, #f7f1ea 33% 66%, #c43b3b 66%);
}

.flag-pl {
  background: linear-gradient(#f7f1ea 0 50%, #c43b3b 50%);
}

.flag-ar {
  background:
    linear-gradient(145deg, #c8102e 0 34%, transparent 34%),
    linear-gradient(#1e1a17 0 33%, #f7f1ea 33% 66%, #007a3d 66%);
}

.lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 196px;
  padding: 8px;
  border: 1px solid rgba(230, 220, 209, 0.95);
  background: rgba(255, 253, 250, 0.98);
  box-shadow: 0 18px 42px rgba(43, 34, 26, 0.14);
}

.lang-list a {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.lang-list a:hover,
.lang-list a:focus-visible,
.lang-list a[aria-current="page"] {
  background: rgba(15, 106, 106, 0.07);
  color: var(--teal-dark);
}

.lang-code {
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang a[aria-current="page"] {
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: 760px;
  height: calc(100svh - 72px);
  max-height: 900px;
  display: grid;
  align-items: center;
  padding: 0 0 42px;
  background: var(--shell);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("design/unora_homepage_family_hero_fullbleed_v1.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: right bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.78) 25%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0) 12%, rgba(0, 0, 0, 0.78) 25%, #000 36%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 253, 250, 0.82) 24%, rgba(255, 253, 250, 0.2) 34%, rgba(255, 253, 250, 0) 46%);
}

.hero .shell {
  position: relative;
  z-index: 2;
}

.hero-copy {
  width: min(610px, 100%);
  padding: 24px 0 20px;
  transform: translateY(-82px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 610px;
  font-size: clamp(44px, 5vw, 70px);
}

.lead {
  max-width: 540px;
  margin: 24px 0 0;
  color: #3c342e;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.origin-tags {
  margin: 14px 0 0;
  display: grid;
  gap: 6px;
  justify-items: start;
}

.origin-tags span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid rgba(15, 106, 106, 0.16);
  background: rgba(255, 253, 250, 0.58);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  transform: translateY(82px);
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button.secondary {
  background: rgba(255, 253, 250, 0.82);
  color: var(--teal);
}

.proof {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.proof-item {
  min-height: 82px;
  padding: 14px;
  border: 1px solid rgba(15, 106, 106, 0.22);
  background: rgba(255, 253, 250, 0.78);
}

.proof-item b {
  display: block;
  color: var(--teal-dark);
  font-size: 13px;
  line-height: 1.25;
}

.proof-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--shell);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 34px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 720px;
  font-size: clamp(34px, 4.8vw, 58px);
}

.section-head p {
  max-width: 410px;
  margin: 0;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--white);
}

.product {
  min-height: 360px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 13px;
}

.product-mark {
  width: 46px;
  height: 6px;
  background: var(--teal);
}

.product[data-tone="mud"] .product-mark {
  background: var(--mud);
}

.product[data-tone="scrub"] .product-mark {
  background: var(--scrub);
}

.product[data-tone="salt"] .product-mark {
  background: var(--salt);
  border: 1px solid #b7d6cb;
}

.product[data-tone="soap"] .product-mark {
  background: var(--soap);
}

.product h3 {
  font-size: 31px;
  line-height: 1.08;
}

.size {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-role {
  color: #8b7d70;
  font-family: var(--display);
  font-size: 17px;
  font-style: italic;
  line-height: 1.28;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: #5a4c42;
  font-size: 12px;
  line-height: 1.2;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price strong {
  font-size: 30px;
  line-height: 1;
}

.partner-line {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.partner-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(15, 106, 106, 0.16);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.ritual-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.ritual-text {
  display: grid;
  gap: 22px;
}

.ritual-text p {
  max-width: 640px;
  margin: 0;
  color: #4c433c;
  font-size: 19px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.benefit {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
}

.ritual-steps {
  counter-reset: ritual;
}

.ritual-steps .benefit {
  position: relative;
  padding-left: 76px;
  min-height: 150px;
}

.ritual-steps .benefit::before {
  counter-increment: ritual;
  content: counter(ritual, decimal-leading-zero);
  position: absolute;
  top: 23px;
  left: 22px;
  color: rgba(15, 106, 106, 0.22);
  font-family: var(--display);
  font-size: 36px;
  line-height: 1;
}

.benefit b {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
}

.benefit span {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.material-section {
  background: var(--paper);
  padding-top: 0;
}

.material-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}

.material-copy {
  display: grid;
  align-content: center;
  gap: 18px;
}

.material-copy h2 {
  font-size: clamp(34px, 4.5vw, 56px);
}

.material-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.material-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.material-image {
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
  background: var(--shell);
}

.material-image:nth-child(2) {
  margin-top: 34px;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: center;
}

.contact h2 {
  font-size: clamp(34px, 4vw, 55px);
}

.contact p {
  margin: 18px 0 0;
  color: var(--muted);
}

.contact-card {
  padding: 24px 26px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(43, 34, 26, 0.1);
}

.mail-link {
  display: block;
  color: var(--teal);
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.mail-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form label.full {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffaf5;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.form textarea {
  min-height: 126px;
  resize: vertical;
}

.form button {
  grid-column: 1 / -1;
  cursor: pointer;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

html[dir="rtl"] {
  --display: "Noto Naskh Arabic", Georgia, serif;
  --body: "Noto Sans Arabic", "Segoe UI", sans-serif;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .brand {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .lang,
html[dir="rtl"] .lang-list,
html[dir="rtl"] .product,
html[dir="rtl"] .benefit,
html[dir="rtl"] .contact-card {
  direction: rtl;
}

html[dir="rtl"] .lang-list {
  left: 0;
  right: auto;
}

html[dir="rtl"] .hero-copy {
  margin-left: 0;
  margin-right: auto;
  text-align: right;
}

html[dir="rtl"] .origin-tags {
  justify-items: end;
}

html[dir="rtl"] .hero-actions {
  justify-content: flex-end;
}

html[dir="rtl"] .section-head,
html[dir="rtl"] .price,
html[dir="rtl"] .footer .shell {
  direction: rtl;
}

html[dir="rtl"] .size {
  text-transform: none;
}

html[dir="rtl"] .ritual-steps .benefit {
  padding-left: 24px;
  padding-right: 76px;
}

html[dir="rtl"] .ritual-steps .benefit::before {
  left: auto;
  right: 22px;
}

@media (max-width: 980px) {
  .page {
    padding-top: 66px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 720px;
    height: calc(100svh - 66px);
    max-height: 860px;
    padding: 0 0 42px;
  }

  .hero::before {
    background-size: cover;
    background-position: center bottom;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(255, 253, 250, 0.9) 48%, rgba(255, 253, 250, 0.08) 68%, rgba(255, 253, 250, 0) 100%);
  }

  .hero-copy {
    padding-bottom: 240px;
    transform: translateY(-52px);
  }

  .hero-actions {
    transform: translateY(52px);
  }

  .proof,
  .products,
  .benefit-grid,
  .material-panel,
  .ritual-grid,
  .contact {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    display: grid;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .topbar .shell {
    justify-content: center;
    text-align: center;
  }

  .topbar span:last-child {
    display: none;
  }

  .brand strong {
    font-size: 25px;
  }

  .lang {
    gap: 0;
  }

  .lang summary {
    min-width: 66px;
    height: 36px;
  }

  .lang-list {
    width: min(196px, calc(100vw - 28px));
  }

  .hero {
    min-height: 680px;
    height: calc(100svh - 66px);
    max-height: 820px;
    padding-top: 0;
  }

  .hero-copy {
    padding-bottom: 190px;
  }

  h1 {
    font-size: 38px;
  }

  .lead {
    font-size: 18px;
  }

  .proof,
  .benefit-grid,
  .material-panel,
  .ritual-grid,
  .contact,
  .form {
    grid-template-columns: 1fr;
  }

  .material-images {
    grid-template-columns: 1fr;
  }

  .material-image,
  .material-image:nth-child(2) {
    aspect-ratio: 16 / 11;
    min-height: 0;
    margin-top: 0;
  }

  .ritual-steps .benefit {
    padding-left: 64px;
  }

  .ritual-steps .benefit::before {
    left: 18px;
    font-size: 30px;
  }

  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .proof-item {
    min-height: 70px;
    padding: 11px;
  }

  .proof-item b {
    font-size: 12px;
  }

  .proof-item span {
    font-size: 11px;
  }

  .products {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .product {
    min-height: 0;
  }

  .footer .shell {
    display: grid;
  }
}
