:root {
  --ember: #d94716;
  --ember-dark: #7e1f12;
  --copper: #c2793d;
  --gold: #f0b35a;
  --ink: #160e0b;
  --charcoal: #251918;
  --paper: #fff7ef;
  --muted: #8e776f;
  --line: rgba(217, 71, 22, 0.24);
  --shadow: 0 24px 70px rgba(73, 20, 7, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 247, 239, 0.95), rgba(255, 244, 232, 0.9)),
    #fff5ea;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fffaf4;
  background: rgba(32, 15, 12, 0.92);
  border-bottom: 1px solid rgba(240, 179, 90, 0.24);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-wrap {
  display: grid;
  flex: 0 0 52px;
  place-items: center;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border: 1px solid rgba(240, 179, 90, 0.7);
  background: #120704;
  box-shadow: 0 12px 30px rgba(217, 71, 22, 0.35);
}

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

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: rgba(255, 250, 244, 0.68);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 244, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.language-select select {
  min-height: 38px;
  max-width: 150px;
  border: 1px solid rgba(240, 179, 90, 0.42);
  padding: 0 34px 0 12px;
  color: #fffaf4;
  background: rgba(255, 249, 239, 0.08);
  font: inherit;
  letter-spacing: 0;
}

.language-select select:focus {
  outline: 2px solid rgba(240, 179, 90, 0.75);
  outline-offset: 2px;
}

.language-select option {
  color: var(--ink);
  background: #fff7ef;
}

.site-nav a {
  padding: 10px 13px;
  color: rgba(255, 250, 244, 0.76);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #fff;
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(240, 179, 90, 0.45);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff7ed;
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100svh - 76px);
  overflow: hidden;
  color: #fffaf4;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(22, 9, 6, 0.86), rgba(22, 9, 6, 0.42), rgba(22, 9, 6, 0.22)),
    linear-gradient(0deg, rgba(22, 9, 6, 0.55), transparent 46%);
}

.hero-content {
  position: relative;
  align-self: center;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 72px 0 110px;
}

.hero-logo {
  position: relative;
  display: block;
  width: clamp(120px, 16vw, 190px);
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 24px;
  object-fit: cover;
  border: 1px solid rgba(240, 179, 90, 0.66);
  background: #120704;
  box-shadow:
    0 22px 60px rgba(217, 71, 22, 0.32),
    0 0 0 8px rgba(255, 248, 239, 0.06);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 8vw, 6.7rem);
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 250, 244, 0.84);
  font-size: clamp(1rem, 2.1vw, 1.22rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  color: #fff9ef;
  background: linear-gradient(135deg, var(--ember), #af2f13);
  box-shadow: 0 14px 32px rgba(217, 71, 22, 0.35);
}

.button.secondary {
  color: #fff9ef;
  border-color: rgba(255, 249, 239, 0.42);
  background: rgba(255, 249, 239, 0.08);
}

.section,
.page-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.section h2,
.page-hero h1 {
  color: var(--ember-dark);
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.lead,
.about-copy p,
.section-heading p,
.page-hero p,
.product-card p,
.rules-list p,
.document-details p,
.muted {
  color: #6f5a52;
  line-height: 1.75;
}

.about-copy p {
  margin: 18px 0 0;
}

.about-copy .lead {
  color: #523d35;
  font-size: 1.05rem;
}

.office-panel,
.contact-panel,
.contact-form {
  padding: clamp(26px, 4vw, 42px);
  color: #fff7ed;
  background:
    linear-gradient(150deg, rgba(217, 71, 22, 0.9), rgba(70, 19, 12, 0.96)),
    var(--ember-dark);
  box-shadow: var(--shadow);
}

.office-panel span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 248, 237, 0.72);
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.office-panel strong {
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.45;
}

.documents-section {
  border-top: 1px solid var(--line);
}

.seal-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 440px);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 46px);
  color: #fffaf4;
  background:
    radial-gradient(circle at 18% 20%, rgba(240, 179, 90, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(44, 13, 42, 0.96), rgba(126, 31, 18, 0.94)),
    #231019;
  border: 1px solid rgba(240, 179, 90, 0.34);
  box-shadow: var(--shadow);
}

.page-hero + .product-showcase {
  margin-top: 0;
}

.product-showcase-diamond {
  background:
    radial-gradient(circle at 18% 20%, rgba(67, 210, 255, 0.25), transparent 34%),
    linear-gradient(145deg, rgba(10, 22, 62, 0.97), rgba(64, 31, 126, 0.94)),
    #081331;
  border-color: rgba(116, 214, 255, 0.42);
}

.product-logo-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: clamp(16px, 3vw, 30px);
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 218, 90, 0.16), transparent 48%),
    rgba(10, 3, 18, 0.58);
  border: 1px solid rgba(240, 179, 90, 0.28);
}

.product-logo-panel-diamond {
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 223, 255, 0.24), transparent 48%),
    rgba(4, 9, 30, 0.68);
  border-color: rgba(116, 214, 255, 0.32);
}

.product-logo-panel img {
  display: block;
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.34));
}

.product-info-panel {
  max-width: 620px;
}

.product-type {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 8px 12px;
  color: #180b09;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffe37f, #f0b35a);
}

.product-info-panel h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1;
}

.product-info-panel p:not(.product-type) {
  margin: 22px 0 0;
  color: rgba(255, 250, 244, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.product-language-block {
  margin-top: 24px;
}

.product-language-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 250, 244, 0.62);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-language-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.language-tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  color: #fffaf4;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid rgba(255, 250, 244, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.language-tag-en {
  background: linear-gradient(135deg, #2563eb, #0f3f9e);
}

.language-tag-pt {
  background: linear-gradient(135deg, #16a34a, #0f766e);
}

.language-tag-vi {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}

.language-tag-tw {
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}

.language-tag-cn {
  color: #1c0b05;
  background: linear-gradient(135deg, #ffd166, #f59e0b);
}

.product-info-panel .button {
  margin-top: 28px;
}

.product-card,
.rules-list article {
  padding: 26px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(126, 31, 18, 0.08);
}

.document-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
}

.seal-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
}

.seal-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 560px) minmax(260px, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  color: #fffaf4;
  background:
    radial-gradient(circle at 30% 22%, rgba(240, 179, 90, 0.18), transparent 35%),
    linear-gradient(145deg, rgba(20, 9, 7, 0.98), rgba(84, 31, 13, 0.94)),
    #140906;
  border: 1px solid rgba(240, 179, 90, 0.36);
  box-shadow: var(--shadow);
}

.seal-preview {
  display: grid;
  place-items: center;
  margin: 0;
  padding: clamp(14px, 2.4vw, 26px);
  background: #050403;
  border: 1px solid rgba(240, 179, 90, 0.28);
}

.seal-preview img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.35));
}

.seal-details span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #1b0c06;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(135deg, #ffe37f, #f0b35a);
}

.seal-details h3 {
  margin: 0;
  color: #fffaf4;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.seal-details p {
  margin: 18px 0 0;
  color: rgba(255, 250, 244, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.seal-details a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 0 18px;
  color: #fff9ef;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ember), #af2f13);
  box-shadow: 0 14px 32px rgba(217, 71, 22, 0.25);
}

.document-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 680px) minmax(260px, 360px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 239, 0.76)),
    #fffaf4;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.document-frame {
  position: relative;
  padding: clamp(42px, 5.4vw, 72px);
  background:
    linear-gradient(#fff8ef, #fff8ef) padding-box,
    linear-gradient(145deg, rgba(240, 179, 90, 0.95), rgba(126, 31, 18, 0.62), rgba(240, 179, 90, 0.72)) border-box;
  border: 2px solid transparent;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.75),
    inset 0 0 0 8px rgba(126, 31, 18, 0.05),
    0 22px 48px rgba(73, 20, 7, 0.16);
}

.document-frame::before,
.document-frame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.document-frame::before {
  inset: 10px;
  z-index: 0;
  background: url("certificate-border.svg") center / 100% 100% no-repeat;
}

.document-frame::after {
  inset: 32px;
  z-index: 2;
  border: 1px solid rgba(126, 31, 18, 0.24);
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 239, 0.9),
    inset 0 0 0 4px rgba(240, 179, 90, 0.32);
}

.document-preview {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(126, 31, 18, 0.26);
  box-shadow:
    inset 0 0 0 10px rgba(255, 247, 239, 0.7),
    0 1px 0 rgba(255, 255, 255, 0.8);
}

.document-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.document-details {
  align-self: center;
}

.document-details h3 {
  margin: 0 0 12px;
  color: var(--charcoal);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.document-details a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 16px;
  padding: 0 18px;
  color: #fff9ef;
  font-weight: 800;
  text-decoration: none;
  background: linear-gradient(135deg, var(--ember), #af2f13);
  box-shadow: 0 14px 32px rgba(217, 71, 22, 0.25);
}

.product-icon,
.rules-list span {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  color: #fff8ee;
  font-size: 0.78rem;
  font-weight: 900;
  background: var(--ember);
}

.product-card h2,
.rules-list h2 {
  margin: 18px 0 10px;
  color: var(--charcoal);
  font-size: 1.2rem;
}

.product-card a {
  display: inline-block;
  margin-top: 8px;
  color: var(--ember-dark);
  font-weight: 800;
  text-decoration-color: rgba(217, 71, 22, 0.35);
  text-underline-offset: 4px;
}

.page-shell {
  padding: clamp(52px, 7vw, 88px) 0;
}

.page-hero {
  margin-bottom: 34px;
}

.page-hero.compact {
  max-width: 820px;
}

.product-card {
  min-height: 270px;
}

.legal-shell {
  max-width: 980px;
}

.legal-notice {
  margin-bottom: 24px;
  padding: clamp(22px, 3vw, 32px);
  color: #fffaf4;
  background:
    linear-gradient(145deg, rgba(217, 71, 22, 0.94), rgba(70, 19, 12, 0.98)),
    var(--ember-dark);
  border: 1px solid rgba(240, 179, 90, 0.34);
  box-shadow: var(--shadow);
}

.legal-notice h2 {
  margin: 0 0 10px;
  color: #fffaf4;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
}

.legal-notice p {
  margin: 0;
  color: rgba(255, 250, 244, 0.8);
  line-height: 1.75;
}

.legal-document {
  padding: clamp(24px, 4vw, 46px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(126, 31, 18, 0.08);
}

.legal-document section + section {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(217, 71, 22, 0.16);
}

.legal-document h2,
.legal-document h3 {
  margin: 0 0 12px;
  color: var(--ember-dark);
}

.legal-document h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.legal-document h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.42rem);
}

.legal-document p,
.legal-document li {
  color: #5f4a42;
  line-height: 1.75;
}

.legal-document p {
  margin: 12px 0 0;
}

.legal-document ul {
  margin: 14px 0 0;
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(300px, 1.2fr);
  gap: 22px;
  align-items: start;
}

.contact-panel h2,
.contact-form label {
  color: #fffaf4;
}

.contact-panel address {
  margin-top: 18px;
  font-size: 1.2rem;
  font-style: normal;
  line-height: 1.7;
}

.contact-method {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 239, 0.22);
}

.contact-method span {
  color: rgba(255, 250, 244, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.contact-method a {
  color: #fffaf4;
  font-size: 1.06rem;
  font-weight: 800;
  text-decoration-color: rgba(240, 179, 90, 0.5);
  text-underline-offset: 4px;
}

.contact-panel .muted {
  color: rgba(255, 250, 244, 0.72);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 249, 239, 0.24);
  padding: 14px 15px;
  color: #fffaf4;
  background: rgba(255, 249, 239, 0.09);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(240, 179, 90, 0.8);
  outline-offset: 2px;
}

.rules-list {
  display: grid;
  gap: 16px;
}

.rules-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  align-items: start;
}

.rules-list p {
  grid-column: 2;
  margin: 0;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 250, 244, 0.78);
  background: #170d0a;
  border-top: 1px solid rgba(240, 179, 90, 0.2);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fffaf4;
  font-weight: 800;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 1px solid rgba(240, 179, 90, 0.52);
  background: #120704;
}

.footer-contact {
  display: grid;
  gap: 5px;
  text-align: right;
}

.footer-contact a {
  color: #fffaf4;
  font-weight: 800;
  text-decoration-color: rgba(240, 179, 90, 0.45);
  text-underline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    gap: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(32, 15, 12, 0.98);
    border: 1px solid rgba(240, 179, 90, 0.28);
  }

  .site-nav.open {
    display: flex;
  }

  .company-grid,
  .section-heading,
  .contact-grid,
  .seal-showcase,
  .document-showcase,
  .product-showcase,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    width: min(640px, calc(100% - 36px));
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .brand strong {
    max-width: 170px;
  }

  .brand-logo-wrap {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .hero-logo {
    width: 112px;
  }

  .language-select span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .language-select select {
    max-width: 124px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: calc(94svh - 76px);
  }

  .document-frame {
    padding: 34px;
  }

  .document-frame::after {
    inset: 24px;
  }

  .button {
    width: 100%;
  }

  .product-logo-panel {
    min-height: 280px;
  }

  .rules-list article {
    grid-template-columns: 1fr;
  }

  .rules-list p {
    grid-column: 1;
  }

  .footer-contact {
    text-align: left;
  }
}
