:root {
  color-scheme: light;
  --bg: #fff8ef;
  --panel: #ffffff;
  --text: #26313d;
  --muted: #66717d;
  --orange: #ff8c42;
  --orange-dark: #b9472c;
  --orange-soft: #fff0e4;
  --green: #4f9d63;
  --green-soft: #eaf6ec;
  --red: #b84b3e;
  --red-soft: #fae7e3;
  --line: #efdccc;
  --shadow: 0 22px 55px rgba(105, 70, 38, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: ui-rounded, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.65;
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #ffab5e 0%, #ff8c42 58%, #e8722a 100%);
  padding: 74px 20px 38px;
  text-align: center;
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.brand-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: 0 16px 32px rgba(111, 54, 20, 0.16);
  overflow: hidden;
}

.brand-icon img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.brand-copy { text-align: left; }
[dir="rtl"] .brand-copy { text-align: right; }

.brand-copy strong {
  display: block;
  font-size: 30px;
  line-height: 1.05;
  font-weight: 850;
}

.brand-copy span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.84;
}

[dir="rtl"] .brand-copy span {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 7vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
}

.badge-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-row { margin-top: 22px; }

.badge {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.language-menu {
  position: absolute;
  z-index: 5;
  top: 18px;
  right: 20px;
  display: block;
  margin-top: 0;
  text-align: left;
}

.language-menu[open] {
  margin-bottom: 0;
}

[dir="rtl"] .language-menu {
  right: auto;
  left: 20px;
  text-align: right;
}

.language-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: #fff;
  color: var(--orange-dark);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 800;
  min-width: 178px;
  box-shadow: 0 10px 24px rgba(105, 70, 38, 0.12);
}

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

.language-menu summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
  flex: 0 0 auto;
}

.language-menu[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.language-options {
  position: absolute;
  z-index: 2;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(105, 70, 38, 0.18);
}

.language-options a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}

.language-options a:hover,
.language-options a[aria-current="page"] {
  color: var(--orange-dark);
}

.language-options a[aria-current="page"] {
  background: var(--orange-soft);
}

main {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 72px;
}

.summary,
.meta,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.summary {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-color: #b8d9a0;
  background: var(--green-soft);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.summary-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
}

.summary h2 {
  margin: 0 0 5px;
  font-size: 18px;
  line-height: 1.25;
  color: #2e6b3e;
}

.summary p {
  margin: 0;
  color: #3e6d48;
  font-size: 15px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  padding: 14px;
  margin-bottom: 28px;
}

.meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 12px 14px;
}

.meta strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.meta span { color: var(--muted); }
.panel { padding: clamp(22px, 5vw, 40px); }
section + section { margin-top: 30px; }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--line);
}

[dir="rtl"] .section-title {
  flex-direction: row-reverse;
}

.section-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  flex: 0 0 auto;
}

h2,
h3 {
  margin: 0;
  line-height: 1.24;
}

h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

h3 { font-size: 21px; }
p, li { font-size: 16px; }
p { margin: 0 0 13px; }
p:last-child { margin-bottom: 0; }

ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid var(--line);
}

[dir="rtl"] li {
  padding: 8px 32px 8px 0;
}

li:last-child { border-bottom: 0; }

li::before {
  content: "OK";
  position: absolute;
  left: 0;
  top: 9px;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 900;
}

[dir="rtl"] li::before {
  left: auto;
  right: 0;
}

.no-list li { color: var(--muted); }
.no-list li::before { content: "NO"; background: var(--red-soft); color: var(--red); }

.contact-box {
  border: 1px solid #ffd0aa;
  border-radius: 8px;
  background: var(--orange-soft);
  padding: 18px 20px;
  margin-top: 12px;
}

.contact-box strong { color: #7a4010; }
a { color: var(--orange-dark); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: 3px; }
footer { margin-top: 32px; color: var(--muted); text-align: center; font-size: 14px; }

@media (max-width: 620px) {
  .hero { padding-top: 82px; }
  .language-menu {
    top: 14px;
    right: 14px;
  }
  [dir="rtl"] .language-menu {
    right: auto;
    left: 14px;
  }
  .language-menu summary {
    min-width: 154px;
    padding: 7px 13px;
    font-size: 13px;
  }
  .brand-icon { width: 64px; height: 64px; border-radius: 19px; }
  .brand-icon img { width: 56px; height: 56px; border-radius: 16px; }
  .brand-copy strong { font-size: 25px; }
  .summary { padding: 16px; }
}
