/* =========================================================
   OPEECK.COM — single-page reconstruction
   Reference viewport: 1170px (desktop). RTL / Persian.
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* colors sampled from the references */
  --navy-900: #0a1838;
  --navy-800: #0d1f45;
  --navy-700: #14254d;
  --navy-600: #1c3063;
  --ink: #14234b;
  --ink-soft: #2a3556;
  --white: #ffffff;
  --cream-50: #fffcf5;
  --cream-100: #fcf6e9;
  --cream-200: #f8edd3;
  --cream-300: #f1e2bf;
  --line: #e9dcbd;
  --gold-100: #fff3c4;
  --gold-200: #fbe39a;
  --gold-300: #f3cf73;
  --gold-400: #e6b94f;
  --gold-500: #d4a23e;
  --gold-600: #b8842a;
  --gold-700: #94661a;

  --grad-gold: linear-gradient(
    180deg,
    #fbe39a 0%,
    #efc965 38%,
    #d9a640 72%,
    #c18c2e 100%
  );
  --grad-gold-btn: linear-gradient(
    180deg,
    #fce7a2 0%,
    #f0cb68 35%,
    #dca945 70%,
    #c4902f 100%
  );
  --grad-gold-line: linear-gradient(
    90deg,
    rgba(212, 162, 62, 0) 0%,
    #d9a640 30%,
    #f6d97f 60%,
    #c8952f 100%
  );
  --grad-gold-vline: linear-gradient(
    180deg,
    rgba(212, 162, 62, 0) 0%,
    #e6b94f 30%,
    #f6d97f 55%,
    rgba(212, 162, 62, 0) 100%
  );
  --grad-navy: linear-gradient(180deg, #14275a 0%, #0d1f45 55%, #0a1838 100%);
  --grad-pill: linear-gradient(180deg, #1f3466 0%, #13254f 50%, #0c1c40 100%);
  --grad-cream-head: linear-gradient(180deg, #fbefd2 0%, #fdf7ea 100%);

  /* typography */
  --font-fa: "Vazirmatn", "Vazir", Tahoma, "Segoe UI", sans-serif;
  --font-logo: "Montserrat", "Arial Black", Arial, sans-serif;

  --fs-hero: 44px;
  --fs-pill: 52px;
  --fs-banner-sub: 27px;
  --fs-h2: 39px;
  --fs-h2-band: 32px;
  --fs-h2-sm: 26px;
  --fs-lead: 19px;
  --fs-h3: 22px;
  --fs-body: 16px;
  --fs-small: 14px;

  /* layout */
  --container: 1126px;
  --gutter: 22px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 14px;

  --shadow-card:
    0 3px 10px rgba(20, 35, 75, 0.14), 0 1px 2px rgba(20, 35, 75, 0.08);
  --shadow-soft: 0 2px 8px rgba(120, 90, 30, 0.12);
  --shadow-btn:
    0 4px 10px rgba(120, 82, 16, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -2px 0 rgba(140, 95, 20, 0.35);
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-fa);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  border-radius: 999px;
  white-space: nowrap;
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}
.btn--gold {
  background: var(--grad-gold-btn);
  box-shadow: var(--shadow-btn);
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.btn--lg {
  min-width: 186px;
  height: 58px;
  padding: 0 30px;
  font-size: 19px;
}
.btn__mail {
  width: 28px;
  height: 20px;
}

/* ---------- 4. Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--white);
}
.site-header__inner {
  display: flex;
  flex-direction: row-reverse; /* logo on the left, nav on the right (as in reference) */
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 104px;
  max-width: 1170px;
  padding-inline: 30px 62px;
}

.brand {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.brand__drop {
  width: 66px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(120, 80, 10, 0.25));
}
.brand__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand__name {
  font-family: var(--font-logo);
  font-weight: 800;
  font-size: 50px;
  line-height: 1;
  letter-spacing: -0.6px;
  background: linear-gradient(
    180deg,
    #f7d980 0%,
    #e2b14b 45%,
    #b98326 75%,
    #d9a640 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(120, 80, 10, 0.35));
}
.brand__tagline {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav__list > li {
  position: relative;
}
.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 45px;
  padding: 0 11px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  border-radius: 10px;
  white-space: nowrap;
}
.main-nav__link_2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 45px;
  padding: 0 17px;
  font-size: 16.5px;
  font-weight: 800;
  color: var(--ink);
  border-radius: 10px;
  white-space: nowrap;
}
.main-nav__link:hover {
  color: var(--gold-600);
}
.main-nav__link--active {
  min-width: 38px;
  justify-content: center;
  background: var(--grad-gold-btn);
  box-shadow: var(--shadow-btn);
  margin-inline-end: 8px;
}
.main-nav__link--active:hover {
  color: var(--ink);
}
.main-nav__chev {
  width: 12px;
  height: 12px;
}

.main-nav__item--dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;

  z-index: 1000;

  min-width: 190px;
  padding: 8px;

  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(6px);

  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}

.dropdown a {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.dropdown a:hover {
  background: var(--cream-100);
  color: var(--gold-600);
}

.main-nav__item--dropdown:hover .dropdown,
.main-nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- 5. Decorative ribbons ---------- */
.ribbon {
  position: absolute;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
}
.ribbon--top {
  top: -1px;
  height: 58px;
}
.ribbon--bottom {
  bottom: -1px;
  height: 132px;
}

/* ---------- 6. Banners (home hero + product banners) ---------- */
.banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 408px;
  overflow: hidden;
  background: #bfd0e4;
}
.banner__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  z-index: -2;
}
.banner::before {
  /* soft light haze behind the text, as in the reference */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse 34% 55% at 24% 50%,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.25) 55%,
    rgba(255, 255, 255, 0) 100%
  );
}
.banner__inner {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: flex-end; /* RTL: content sits on the left */
  max-width: 1170px;
  padding-inline: 30px;
}
.banner__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 520px;
  text-align: center;
  padding: 40px 0 52px;
}
.banner__heading {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: 1.32;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.55);
}
.banner__subtitle {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.6);
}
.banner__subtitle--lg {
  margin-top: 18px;
  font-size: var(--fs-banner-sub);
  font-weight: 800;
  line-height: 1.6;
}
.banner__btn {
  align-self: flex-start;
  margin-top: 26px;
  margin-inline-end: 0;
  height: 54px;
  min-width: 182px;
  padding: 0 28px;
  font-size: 18px;
}
.banner--home .banner__content {
  width: 600px;
}
.banner--home .banner__heading {
  white-space: nowrap;
}
.banner--home .banner__inner {
  padding-inline: 30px 0;
}
.banner--home .banner__btn {
  align-self: flex-end;
  margin-inline-start: 0;
}

.banner--product {
  min-height: 340px;
}
.banner--product .banner__content {
  width: 400px;
  padding: 44px 0 70px;
}
.banner--product .banner__btn {
  align-self: flex-end;
  margin-top: 18px;
  height: 48px;
  min-width: 156px;
  font-size: 17px;
}
.banner--short {
  min-height: 300px;
}

.title-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 70px;
  font-size: var(--fs-pill);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  background: var(--grad-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 6px 14px rgba(10, 24, 56, 0.35);
}

/* ---------- 7. Generic section + headings ---------- */
.section {
  padding: 6px 0 28px;
}
.section-head {
  margin-bottom: 14px;
  text-align: center;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.35;
  color: var(--ink);
}
.section-title::before,
.section-title::after {
  content: "";
  flex: 1 1 0;
  max-width: 330px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold-line);
}
.section-title::after {
  transform: scaleX(-1);
}
.section-title > span {
  flex: none;
}
.section-title--light {
  color: var(--white);
  font-size: var(--fs-h2-band);
}
.section-title--sm {
  font-size: var(--fs-h2-sm);
}

.section-lead {
  margin-top: 4px;
  font-size: var(--fs-lead);
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
}
.section-lead--small {
  margin-top: 2px;
  font-size: 18px;
}

/* ---------- 8. Product cards (home) ---------- */
.section--products {
  padding: 12px 0 30px;
}
.section--products .section-head {
  margin-bottom: 18px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 17px;
}
.product-card {
  display: flex;
  flex-direction: column;
  height: 212px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-800);
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(20, 35, 75, 0.22);
}
.product-card img {
  width: 100%;
  height: 166px;
  object-fit: cover;
}
.product-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  padding: 0 16px 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  background: var(--grad-navy);
}
.arrow-badge {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--grad-gold-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.arrow-badge svg {
  width: 17px;
  height: 17px;
}

/* ---------- 9. Navy bands + feature rows ---------- */
.band {
  position: relative;
  padding: 18px 0 20px;
  color: var(--white);
  background: var(--grad-navy);
  overflow: hidden;
}
.band > .container {
  position: relative;
  z-index: 1;
}
.band--map::before {
  /* faint dotted world-map texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(140, 170, 230, 0.22) 1px,
    transparent 1.4px
  );
  background-size: 7px 7px;
  -webkit-mask-image:
    radial-gradient(ellipse 30% 60% at 12% 55%, #000 0%, transparent 75%),
    radial-gradient(ellipse 28% 55% at 88% 50%, #000 0%, transparent 75%),
    radial-gradient(
      ellipse 22% 40% at 50% 70%,
      rgba(0, 0, 0, 0.6) 0%,
      transparent 80%
    );
  mask-image:
    radial-gradient(ellipse 30% 60% at 12% 55%, #000 0%, transparent 75%),
    radial-gradient(ellipse 28% 55% at 88% 50%, #000 0%, transparent 75%),
    radial-gradient(
      ellipse 22% 40% at 50% 70%,
      rgba(0, 0, 0, 0.6) 0%,
      transparent 80%
    );
}
.band--edge-top {
  padding-top: 36px;
}
.band--edge-bottom {
  padding-bottom: 40px;
}
.band__edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 34px;
  pointer-events: none;
  z-index: 2;
}
.band__edge--top {
  top: -1px;
}
.band__edge--bottom {
  bottom: -1px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}
.feature-row--five {
  grid-template-columns: repeat(5, 1fr);
  margin-top: 14px;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 108px;
  padding: 2px 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--white);
}
.feature + .feature::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grad-gold-vline);
}
.feature__icon {
  width: 62px;
  height: 62px;
  flex: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}
.feature__icon--wide {
  width: 80px;
}
.feature-row--five .feature {
  font-size: 17px;
}
.feature-row--five .feature__icon {
  width: 50px;
  height: 50px;
}
.feature-row--five .feature__icon--wide {
  width: 66px;
}

.feature-row--box {
  margin-top: 22px;
  padding: 14px 0;
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  box-shadow: var(--shadow-card);
}
.feature-row--box .feature {
  min-height: 98px;
  gap: 10px;
}
.feature-row--box .feature + .feature::before {
  top: 12%;
  bottom: 12%;
}

/* ---------- 10. Crude oil — origin cards ---------- */
.origin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 22px;
}
.origin-card {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 252px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fdf9ef 0%, #f9f0dc 100%);
  box-shadow: var(--shadow-soft);
}
.origin-card__img {
  width: 100%;
  height: 100%;
  max-height: 252px;
  min-height: 252px;
  object-fit: cover;
}
.origin-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-align: center;
}
.flag {
  width: 58px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.flag--lg {
  width: 96px;
  height: 64px;
  border-radius: 4px;
}
.origin-card__title {
  position: relative;
  margin-top: 8px;
  padding-bottom: 8px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.3;
}
.origin-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 150px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(212, 162, 62, 0),
    #d9a640 25%,
    #d9a640 75%,
    rgba(212, 162, 62, 0)
  );
}
.origin-card__label {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
}
.origin-card__grades {
  margin-top: 0;
  font-size: 19.5px;
  font-weight: 600;
  line-height: 1.5;
}

/* ---------- 11. Notice box ---------- */
.notice {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 24px;
  min-height: 92px;
  padding: 12px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fbf0d6 0%, #f7e8c6 100%);
}
.notice__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  background: radial-gradient(
    circle at 40% 30%,
    #f5d27a 0%,
    #d9a640 55%,
    #b98326 100%
  );
  box-shadow: 0 2px 6px rgba(140, 95, 20, 0.4);
}
.notice p {
  font-size: 20.5px;
  font-weight: 700;
  line-height: 1.65;
}

/* ---------- 12. Info cards (gasoil / gasoline) ---------- */
.trio {
  display: grid;
  grid-template-columns: 1fr 0.88fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.trio__img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.trio--tall {
  grid-template-columns: 1fr 0.78fr 1fr;
  gap: 18px;
}
.trio--tall .trio__img {
  height: 207px;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}

.info-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf8 0%, #fdf8ec 100%);
  box-shadow: var(--shadow-soft);
}
.info-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 46px;
  font-size: var(--fs-h3);
  font-weight: 900;
  color: var(--ink);
  background: var(--grad-cream-head);
}
.info-card__icon {
  width: 38px;
  height: 38px;
  flex: none;
}
.info-card__icon--drop {
  width: 30px;
  height: 40px;
}
.info-card__icon--wide {
  width: 50px;
}

.info-card--navy .info-card__head {
  height: 44px;
  color: var(--white);
  background: var(--grad-navy);
}
.info-card--tab {
  border: 0;
  background: linear-gradient(180deg, #fffaf0 0%, #fbf2de 100%);
}
.info-card__head--tab {
  width: 88%;
  margin-inline: auto;
  height: 48px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--grad-gold-btn);
  box-shadow: 0 2px 4px rgba(140, 95, 20, 0.25);
}

/* sources list */
.source-list {
  padding: 2px 20px 6px;
}
.source-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 34px 7px 26px;
}
.source-list li + li {
  border-top: 1px solid var(--line);
}
.source-list strong {
  display: block;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
}
.source-list small {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.source-list span {
  text-align: right;
}

/* check lists */
.check-list {
  padding: 10px 26px 12px;
}
.check-list li {
  position: relative;
  padding: 3px 32px 3px 0;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
}
.check-list li::before {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  margin-top: -9px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f6d77e'/%3E%3Cstop offset='1' stop-color='%23c18c2e'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='url(%23g)' stroke-width='3.8' stroke-linecap='round' stroke-linejoin='round' d='m4 13 5 5L20 6'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.check-list--ruled li {
  padding-block: 5px;
}
.check-list--ruled li + li {
  border-top: 1px solid var(--line);
}
.check-list--ltr {
  padding-inline: 22px 30px;
}
.check-list--ltr li {
  font-weight: 600;
}
.check-list--ltr li {
  text-align: left;
}
.check-list--ltr li span {
  display: block;
}
.info-card--tab .check-list {
  padding: 8px 34px;
}
.info-card--navy .check-list {
  padding: 12px 28px;
}
.info-card--navy .check-list li {
  padding-block: 4px;
}

/* spec table */
.spec-table {
  padding: 6px 22px 8px;
}
.spec-table div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 4px;
  border-bottom: 1px solid var(--line);
}
.spec-table div:last-child {
  border-bottom: 0;
}
.spec-table dt {
  font-size: 15px;
  font-weight: 800;
}
.spec-table dd {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.spec-table__strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
}

/* ---------- 13. Bitumen grade cards ---------- */
.grade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.grade-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fffaf0 0%, #fbf1dc 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.grade-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.grade-card__title {
  height: 44px;
  line-height: 44px;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink);
  background: var(--grad-gold-btn);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.grade-card p {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 8px 10px 12px;
  font-size: 18.5px;
  font-weight: 700;
  line-height: 1.6;
}

/* ---------- 14. Contact CTA / footer ---------- */
.cta {
  position: relative;
  isolation: isolate;
  min-height: 232px;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #fbf6ea 100%);
}
.cta__img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 60%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 55%,
    transparent 100%
  );
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}
.cta__ribbons {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 232px;
  max-width: 1170px;
  padding: 34px 30px 46px;
}
.cta__text {
  flex: 0 0 auto;
  width: 520px;
  max-width: 100%;
  margin-inline-start: 0;
  text-align: center;
}
.cta__title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.35;
}
.cta__lead {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.cta__meta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.cta__sep {
  margin: 0 10px;
  color: var(--ink);
}
.cta .btn {
  order: -1;
}

/* =========================================================
   15. Responsive
   ========================================================= */

/* Desktop ≥1440: scale the composition up slightly */
@media (min-width: 1440px) {
  :root {
    --container: 1240px;
  }
  .banner {
    min-height: 470px;
  }
  .banner--product {
    min-height: 390px;
  }
  .banner--short {
    min-height: 350px;
  }
  .site-header__inner,
  .banner__inner,
  .cta__inner {
    max-width: 1300px;
  }
  .product-card {
    height: 236px;
  }
  .product-card img {
    height: 188px;
  }
}

/* Laptop 1024–1439: reference layout is fluid; tighten header below 1120 */
@media (max-width: 1120px) {
  .site-header__inner {
    padding-inline: 24px;
  }
  .brand__name {
    font-size: 42px;
  }
  .brand__tagline {
    font-size: 16px;
  }
  .main-nav__link {
    padding: 0 12px;
    font-size: 14px;
  }
}

/* Tablet 640–1023 */
@media (max-width: 1023px) {
  :root {
    --fs-hero: 32px;
    --fs-pill: 42px;
    --fs-banner-sub: 20px;
    --fs-h2: 30px;
    --fs-h2-band: 26px;
    --fs-lead: 17px;
    --gutter: 20px;
  }
  .site-header__inner {
    flex-direction: column;
    justify-content: center;
    height: auto;
    gap: 8px;
    padding-block: 12px 18px;
  }
  .main-nav__list {
    flex-wrap: wrap;
    justify-content: center;
  }
  .brand__drop {
    width: 50px;
    height: 72px;
  }

  .banner,
  .banner--product,
  .banner--short {
    min-height: 340px;
  }
  .banner__inner {
    justify-content: center;
  }
  .banner__content,
  .banner--home .banner__content,
  .banner--product .banner__content {
    width: min(520px, 100%);
  }
  .banner::before {
    background: radial-gradient(
      ellipse 70% 62% at 50% 50%,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.45) 60%,
      rgba(255, 255, 255, 0.1) 100%
    );
  }
  .banner--home .banner__heading {
    white-space: normal;
  }
  .banner--home .banner__btn,
  .banner--product .banner__btn {
    align-self: center;
  }
  .title-pill {
    width: 290px;
    height: 62px;
  }

  .section-lead br,
  .notice br {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature-row,
  .feature-row--five {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 14px;
  }
  .feature-row--five {
    grid-template-columns: repeat(3, 1fr);
  }
  .feature + .feature::before {
    display: none;
  }
  .feature-row--box {
    padding: 18px 0;
  }

  .origin-grid {
    grid-template-columns: 1fr;
  }
  .trio,
  .trio--tall {
    grid-template-columns: 1fr 1fr;
  }
  .trio .info-card {
    grid-column: 1 / -1;
    order: -1;
  }
  .card-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .card-row > :last-child {
    grid-column: 1 / -1;
  }
  .grade-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta__img {
    width: 100%;
    opacity: 0.18;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .cta__inner {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }
  .cta .btn {
    order: 0;
  }
}

/* Mobile <640 */
@media (max-width: 639px) {
  :root {
    --fs-hero: 25px;
    --fs-pill: 36px;
    --fs-banner-sub: 18px;
    --fs-h2: 24px;
    --fs-h2-band: 22px;
    --fs-h2-sm: 19px;
    --fs-lead: 15.5px;
    --gutter: 16px;
  }
  .brand {
    gap: 10px;
  }
  .brand__drop {
    width: 40px;
    height: 58px;
  }
  .brand__name {
    font-size: 32px;
  }
  .brand__tagline {
    font-size: 12.5px;
    white-space: normal;
  }
  .main-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
  }
  .main-nav {
    position: relative;
    z-index: 100;
  }
  .main-nav__link {
    height: 36px;
    padding: 0 9px;
    font-size: 13.5px;
  }
  .main-nav__link--active {
    min-width: 0;
    margin-inline-end: 4px;
  }
  .dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 9999;
    min-width: 190px;
  }

  .banner,
  .banner--product,
  .banner--short {
    min-height: 300px;
  }
  .ribbon--top {
    height: 34px;
  }
  .ribbon--bottom {
    height: 64px;
  }
  .banner__content,
  .banner--product .banner__content {
    padding: 34px 0 60px;
  }
  .banner__subtitle {
    font-size: 16px;
  }
  .banner__btn {
    height: 46px;
    min-width: 150px;
    font-size: 16px;
  }
  .title-pill {
    width: 230px;
    height: 54px;
  }

  .section-title {
    gap: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .product-grid li:last-child {
    grid-column: 1 / -1;
  }
  .product-card {
    height: 180px;
  }
  .product-card img {
    height: 136px;
  }
  .product-card__label {
    font-size: 15px;
  }

  .feature-row,
  .feature-row--five {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature {
    font-size: 15px;
  }

  .origin-card {
    grid-template-columns: 1fr;
  }
  .origin-card__img {
    height: 190px;
    min-height: 0;
    max-height: none;
    order: -1;
  }
  .origin-card__info {
    padding: 18px 14px;
  }

  .notice {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    text-align: center;
  }
  .notice p {
    font-size: 16px;
  }

  .trio,
  .trio--tall,
  .card-row {
    grid-template-columns: 1fr;
  }
  .trio .info-card,
  .card-row > :last-child {
    grid-column: auto;
  }
  .trio__img,
  .trio--tall .trio__img {
    height: 190px;
  }
  .source-list li {
    padding-inline: 8px;
  }

  .grade-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .grade-card img {
    height: 130px;
  }
  .grade-card__title {
    font-size: 17px;
  }
  .grade-card p {
    font-size: 14.5px;
    min-height: 76px;
  }
  .grade-card p br {
    display: none;
  }

  .cta__title {
    font-size: 26px;
  }
  .cta__lead {
    font-size: 15px;
  }
  .cta__meta {
    font-size: 12.5px;
  }
}
.language-switcher {
  white-space: nowrap;
  transition: all 0.25s ease;
}

.language-switcher:hover {
  background: #d6b45e !important;
  color: #14234b !important;
}
