/* ==========================================================================
   Union Food — single-page company website
   Palette derived from assets/images/logo.png
   ========================================================================== */

:root {
  --red-900: #5e0503;
  --red-800: #7a0704;
  --red: #a00b01;
  --red-bright: #c31306;
  --orange: #ce4b05;
  --gold: #f9bb15;
  --gold-soft: #ffd766;
  --cream: #fffaf0;
  --cream-2: #fef8e7;
  --cream-3: #f5e7c8;
  --ink: #2a100a;
  --ink-soft: #5c4033;
  --muted: #806a5d;
  --dark: #160a07;
  --dark-2: #24100b;
  --white: #ffffff;

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 84px;
  --section-padding: clamp(4.5rem, 9vw, 7.5rem);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --shadow-card: 0 18px 45px -28px rgba(61, 10, 5, 0.45);
  --shadow-soft: 0 24px 60px -35px rgba(61, 10, 5, 0.4);

  --font-body: "Noto Sans Thai", "Sarabun", "Prompt", "Segoe UI", Tahoma, system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open,
body.dialog-open {
  overflow: hidden;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
address {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

[hidden] {
  display: none !important;
}

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

.section {
  position: relative;
  padding-block: var(--section-padding);
}

.section-title {
  margin-top: 0.85rem;
  color: inherit;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.text-accent {
  color: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
}

.eyebrow__line {
  width: 38px;
  height: 2px;
  background: currentColor;
}

.about .eyebrow,
.about .text-accent {
  color: var(--gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  vertical-align: -0.18em;
}

.no-script {
  position: relative;
  z-index: 210;
  margin-top: var(--header-h);
  padding: 0.85rem var(--gutter);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 12px 28px -16px rgba(160, 11, 1, 0.8);
}

.btn--primary:hover {
  background: var(--red-800);
  box-shadow: 0 16px 34px -16px rgba(160, 11, 1, 0.75);
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 12px 30px -18px rgba(249, 187, 21, 0.8);
}

.btn--gold:hover {
  background: var(--gold-soft);
}

.btn--ghost {
  border-color: rgba(160, 11, 1, 0.2);
  background: transparent;
  color: var(--red);
}

.btn--ghost:hover {
  border-color: rgba(160, 11, 1, 0.4);
  background: rgba(160, 11, 1, 0.05);
}

.btn--outline {
  border-color: var(--red);
  background: transparent;
  color: var(--red);
}

.btn--outline:hover {
  background: var(--red);
  color: var(--cream);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid rgba(249, 187, 21, 0.14);
  background: rgba(22, 10, 7, 0.94);
  transition:
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(249, 187, 21, 0.24);
  background: rgba(18, 7, 5, 0.98);
  box-shadow: 0 12px 32px -24px rgba(0, 0, 0, 0.8);
}

@supports (backdrop-filter: blur(12px)) {
  .site-header {
    background: rgba(22, 10, 7, 0.82);
    backdrop-filter: blur(14px);
  }

  .site-header.is-scrolled {
    background: rgba(18, 7, 5, 0.96);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: var(--cream);
}

.brand__logo {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid rgba(249, 187, 21, 0.7);
  border-radius: 50%;
  background: var(--cream);
  object-fit: contain;
}

.brand__text {
  display: grid;
  min-width: 0;
  line-height: 1.2;
}

.brand__name {
  overflow: hidden;
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand__tag {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.68rem 0.9rem;
  border-radius: 999px;
  color: rgba(255, 250, 240, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.nav__link:hover {
  background: rgba(249, 187, 21, 0.09);
  color: var(--cream);
}

.nav__link.is-active {
  color: var(--gold);
}

.nav__link--cta {
  margin-left: 0.35rem;
  padding-inline: 1.15rem;
  background: var(--gold);
  color: var(--dark);
}

.nav__link--cta:hover,
.nav__link--cta.is-active {
  background: var(--gold-soft);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(249, 187, 21, 0.3);
  border-radius: 50%;
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle__bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition:
    transform 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
  padding-bottom: clamp(7rem, 12vw, 11rem);
  background:
    radial-gradient(circle at 84% 17%, rgba(249, 187, 21, 0.3), transparent 34%),
    radial-gradient(circle at 7% 83%, rgba(206, 75, 5, 0.11), transparent 32%),
    linear-gradient(135deg, var(--cream) 0%, var(--cream-2) 58%, #fbedd0 100%);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  border: 1px solid rgba(160, 11, 1, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero::before {
  top: -280px;
  right: -180px;
  width: 680px;
  height: 680px;
}

.hero::after {
  top: -170px;
  right: -70px;
  width: 460px;
  height: 460px;
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__seed {
  position: absolute;
  display: block;
  width: 18px;
  height: 8px;
  border-radius: 50%;
  background: #8d4b12;
  opacity: 0.22;
}

.hero__seed--1 {
  top: 26%;
  left: 4%;
  transform: rotate(-28deg);
}

.hero__seed--2 {
  top: 74%;
  left: 8%;
  width: 14px;
  height: 6px;
  transform: rotate(34deg);
}

.hero__seed--3 {
  right: 5%;
  bottom: 21%;
  width: 22px;
  height: 10px;
  transform: rotate(18deg);
}

.hero__seed--4 {
  top: 16%;
  right: 42%;
  width: 12px;
  height: 5px;
  transform: rotate(62deg);
}

.hero__container {
  position: relative;
  z-index: 1;
}

.hero__slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.hero__copy {
  max-width: 650px;
}

.hero__fallback {
  max-width: 720px;
  padding-bottom: 1rem;
}

.hero__title {
  margin: 1rem 0 1.25rem;
  color: var(--ink);
  font-size: clamp(2.55rem, 5.7vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.07;
}



.hero__msg {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.5rem;
  margin-top: 2rem;
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__points .icon {
  color: var(--red);
  stroke-width: 2.6;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 455px);
  padding: 0 1.2rem 1.8rem 0;
}

.hero__blob {
  position: absolute;
  inset: 6% 0 0 7%;
  border-radius: 52% 48% 42% 58% / 58% 42% 58% 42%;
  background: linear-gradient(140deg, var(--red-bright) 0%, var(--red) 52%, var(--orange) 100%);
  opacity: 0.95;
  transform: rotate(-7deg);
}

.hero__visual::before {
  position: absolute;
  inset: 1.2rem 2.4rem 0.4rem 0;
  border: 1px solid rgba(249, 187, 21, 0.8);
  border-radius: 36px 140px 36px 36px;
  content: "";
  transform: translate(16px, 16px);
  pointer-events: none;
}

.hero__image-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 7px solid rgba(255, 250, 240, 0.45);
  border-radius: 36px 140px 36px 36px;
  background: var(--cream);
  box-shadow: 0 34px 75px -34px rgba(94, 5, 3, 0.65);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__badge {
  position: absolute;
  top: 9%;
  left: -0.9rem;
  z-index: 2;
  display: grid;
  width: 108px;
  height: 108px;
  place-content: center;
  border: 1px solid rgba(160, 11, 1, 0.12);
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  text-align: center;
  box-shadow: 0 18px 34px -20px rgba(94, 5, 3, 0.55);
  transform: rotate(-8deg);
}

.hero__badge span {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero__badge small {
  margin-top: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero__note {
  position: absolute;
  right: -0.3rem;
  bottom: 7%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(249, 187, 21, 0.25);
  border-radius: 16px;
  background: var(--dark);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
}

.hero__note .icon {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--gold);
}

.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid rgba(160, 11, 1, 0.14);
}

.hero__count {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.hero__count-divider {
  opacity: 0.35;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero__dot {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: width 0.25s var(--ease);
}

.hero__dot::after {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 999px;
  background: rgba(160, 11, 1, 0.18);
  content: "";
  transform: translateY(-50%);
  transition: background-color 0.25s var(--ease);
}

.hero__dot:hover::after {
  background: rgba(160, 11, 1, 0.38);
}

.hero__dot.is-active {
  width: 48px;
}

.hero__dot.is-active::after {
  background: var(--red);
}

.hero__arrows {
  display: flex;
  gap: 0.55rem;
}

.hero__autoplay {
  margin-right: 0.35rem;
}

.hero__arrow {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(160, 11, 1, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--red);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    border-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.hero__arrow:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--cream);
  transform: translateY(-2px);
}

.hero__slide.is-active .hero__copy > *,
.hero__slide.is-active .hero__visual {
  animation: hero-in 0.7s var(--ease) both;
}

.hero__slide.is-active .hero__copy > :nth-child(2) {
  animation-delay: 0.05s;
}

.hero__slide.is-active .hero__copy > :nth-child(3) {
  animation-delay: 0.1s;
}

.hero__slide.is-active .hero__copy > :nth-child(4) {
  animation-delay: 0.15s;
}

.hero__slide.is-active .hero__copy > :nth-child(5) {
  animation-delay: 0.2s;
}

.hero__slide.is-active .hero__visual {
  animation-delay: 0.12s;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */

.trust {
  position: relative;
  z-index: 2;
  margin-top: clamp(-5.5rem, -7vw, -3.25rem);
  padding-bottom: clamp(0.5rem, 2vw, 1.5rem);
}

.trust__panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  overflow: hidden;
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(249, 187, 21, 0.16);
  border-radius: var(--radius-md);
  background: var(--dark);
  color: var(--cream);
  box-shadow: 0 30px 65px -38px rgba(22, 10, 7, 0.85);
}

.trust__panel::before {
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0.65;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-left: clamp(0rem, 2vw, 1.5rem);
}

.trust__item + .trust__item {
  border-left: 1px solid rgba(249, 187, 21, 0.16);
}

.trust__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(249, 187, 21, 0.26);
  border-radius: 50%;
  background: rgba(249, 187, 21, 0.06);
  color: var(--gold);
}

.trust__icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.trust__title {
  color: var(--cream);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.5;
}

.trust__text {
  margin-top: 0.2rem;
  color: rgba(255, 250, 240, 0.58);
  font-size: 0.8rem;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 78%, rgba(206, 75, 5, 0.14), transparent 30%),
    radial-gradient(circle at 93% 12%, rgba(249, 187, 21, 0.08), transparent 28%),
    var(--dark);
  color: var(--cream);
}

.about::before {
  position: absolute;
  top: -240px;
  right: -220px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(249, 187, 21, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.about__visual {
  position: relative;
  max-width: 510px;
}

.about__image-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 8 / 9;
  overflow: hidden;
  border: 1px solid rgba(249, 187, 21, 0.2);
  border-radius: 34px 34px 150px 34px;
  background: var(--cream);
  box-shadow: 0 35px 80px -42px rgba(0, 0, 0, 0.95);
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__visual::before {
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid rgba(249, 187, 21, 0.35);
  border-radius: 34px 34px 150px 34px;
  content: "";
  pointer-events: none;
}

.about__stamp {
  position: absolute;
  right: -0.75rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem;
  border-radius: 16px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 18px 38px -22px rgba(0, 0, 0, 0.75);
  transform: rotate(-4deg);
}

.about__stamp .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.about__content {
  max-width: 620px;
}

.about__lead {
  margin-top: 1.5rem;
  color: rgba(255, 250, 240, 0.76);
  font-size: 1.02rem;
  line-height: 1.95;
}

.about__vision {
  display: flex;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(249, 187, 21, 0.16);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(255, 250, 240, 0.045);
}

.about__vision-icon {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(249, 187, 21, 0.12);
  color: var(--gold);
}

.about__vision h3 {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about__vision p {
  margin-top: 0.25rem;
  color: rgba(255, 250, 240, 0.68);
  font-size: 0.86rem;
  line-height: 1.75;
}

.about__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.25rem;
  margin: 1.6rem 0 2rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: rgba(255, 250, 240, 0.8);
  font-size: 0.85rem;
  line-height: 1.6;
}

.about__check {
  display: inline-grid;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-top: 0.12rem;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
}

.about__check .icon {
  width: 0.8rem;
  height: 0.8rem;
  stroke-width: 3;
}

/* --------------------------------------------------------------------------
   President message
   -------------------------------------------------------------------------- */

.president {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(249, 187, 21, 0.3), transparent 34%),
    radial-gradient(circle at 6% 92%, rgba(94, 5, 3, 0.34), transparent 36%),
    linear-gradient(120deg, #a83a03 0%, #bb4504 52%, var(--orange) 100%);
  color: var(--cream);
}

.president::before {
  position: absolute;
  top: -220px;
  left: -200px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.president .eyebrow {
  color: var(--cream);
}

.president .eyebrow__line {
  background: var(--gold);
}

.president .text-accent {
  color: var(--gold);
}

.president__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.president__content {
  max-width: 640px;
}

.president__quote {
  position: relative;
  margin-top: clamp(1.75rem, 3vw, 2.4rem);
  padding: clamp(0.5rem, 1vw, 0.9rem) 0 0 clamp(1.35rem, 3vw, 2.2rem);
  border-left: 3px solid var(--gold);
}

.president__mark {
  position: absolute;
  top: -2.7rem;
  right: 0.15rem;
  color: rgba(255, 250, 240, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5.5rem, 10vw, 8rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.president__body {
  position: relative;
  z-index: 1;
  margin: 0;
}

.president__lead {
  color: var(--cream);
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.president__messages {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.president__text {
  color: #ffeeda;
  font-size: 0.96rem;
  line-height: 1.95;
}

.president__signature {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.15rem;
  margin-top: 1.8rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 250, 240, 0.28);
}

.president__name {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.president__position {
  justify-self: start;
  margin-top: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.president__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  padding: 0 0 1.4rem 1.4rem;
}

.president__image-wrap {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 7px solid rgba(255, 250, 240, 0.9);
  border-radius: 220px 220px 32px 32px;
  background: var(--cream-2);
  box-shadow: 0 35px 75px -38px rgba(22, 10, 7, 0.55);
}

.president__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.president__visual::before {
  position: absolute;
  inset: 1.4rem 1.4rem 0 0;
  border: 1px solid rgba(249, 187, 21, 0.6);
  border-radius: 220px 220px 32px 32px;
  content: "";
  transform: translate(16px, 16px);
  pointer-events: none;
}

.president__seal {
  position: absolute;
  bottom: 3.4rem;
  left: -0.6rem;
  z-index: 2;
  display: grid;
  width: 110px;
  height: 110px;
  place-content: center;
  border: 2px solid rgba(249, 187, 21, 0.8);
  border-radius: 50%;
  background: var(--dark);
  color: var(--cream);
  text-align: center;
  box-shadow: 0 18px 36px -18px rgba(22, 10, 7, 0.65);
  transform: rotate(-6deg);
}

.president__seal .icon {
  width: 1.45rem;
  height: 1.45rem;
  margin: 0 auto 0.2rem;
  color: var(--gold);
}

.president__seal span {
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */

.products {
  background: var(--cream-2);
  overflow: hidden;
}

.products::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(160, 11, 1, 0.1) 1px, transparent 1px);
  background-size: 26px 26px;
  content: "";
  opacity: 0.42;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.products > .container {
  position: relative;
  z-index: 1;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head__main {
  max-width: 620px;
}

.section-head__aside {
  max-width: 390px;
  padding-bottom: 0.3rem;
}

.section-head__aside > p:first-child {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.products__count {
  margin-top: 0.85rem;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.products__count strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(160, 11, 1, 0.1);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.product-card:hover {
  border-color: rgba(160, 11, 1, 0.22);
  box-shadow: 0 28px 55px -30px rgba(61, 10, 5, 0.5);
  transform: translateY(-8px);
}

.product-card__media {
  position: relative;
  aspect-ratio: 255 / 350;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(249, 187, 21, 0.16), transparent 52%),
    var(--cream-2);
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.product-card:hover .product-card__image {
  transform: scale(1.045);
}

.product-card__index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: inline-grid;
  min-width: 38px;
  height: 30px;
  place-items: center;
  padding-inline: 0.55rem;
  border-radius: 999px;
  background: rgba(22, 10, 7, 0.86);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.1em;
}

.product-card__hover {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.6rem 1rem 1.05rem;
  background: linear-gradient(transparent, rgba(22, 10, 7, 0.74));
  color: var(--cream);
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.product-card:hover .product-card__hover,
.product-card:focus-within .product-card__hover {
  opacity: 1;
  transform: translateY(0);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.15rem 1.35rem 1.25rem;
}

.product-card__meta {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.5;
}

.product-card__title {
  margin-top: 0.3rem;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.product-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: auto;
  padding: 1.05rem 0 0;
  border: 0;
  border-top: 1px solid rgba(160, 11, 1, 0.1);
  background: transparent;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s var(--ease);
}

.product-card__cta .icon {
  transition: transform 0.25s var(--ease);
}

.product-card__cta:hover {
  color: var(--red-900);
}

.product-card__cta:hover .icon {
  transform: translateX(4px);
}

.products__more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.products__status {
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.products__empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  color: var(--muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(249, 187, 21, 0.1), transparent 28%),
    radial-gradient(circle at 13% 82%, rgba(160, 11, 1, 0.3), transparent 34%),
    var(--dark);
  color: var(--cream);
}

.contact::before {
  position: absolute;
  bottom: -260px;
  left: -200px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(249, 187, 21, 0.08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 42px 90px -45px rgba(0, 0, 0, 0.85);
}

.contact__main {
  padding: clamp(2rem, 5vw, 4.3rem);
}

.contact__intro {
  max-width: 52ch;
  margin-top: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.85;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(160, 11, 1, 0.1);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
}

.contact-card:first-child {
  grid-column: 1 / -1;
}

.contact-card__icon {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(160, 11, 1, 0.08);
  color: var(--red);
}

.contact-card__icon .icon {
  width: 1.05rem;
  height: 1.05rem;
}

.contact-card__label {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.contact-card address,
.contact-card a {
  display: block;
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.65;
  transition: color 0.2s var(--ease);
}

.contact-card a:hover {
  color: var(--red);
}

.contact__aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  overflow: hidden;
  padding: clamp(2rem, 4.5vw, 3.5rem);
  background:
    radial-gradient(circle at 82% 12%, rgba(249, 187, 21, 0.22), transparent 30%),
    linear-gradient(145deg, var(--red-bright) 0%, var(--red) 55%, var(--red-900) 100%);
  color: var(--cream);
}

.contact__aside::before {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(249, 187, 21, 0.25);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact__aside::after {
  position: absolute;
  right: -30px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(249, 187, 21, 0.2);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact__brand {
  position: relative;
  z-index: 1;
}

.contact__logo {
  width: 78px;
  height: 78px;
  padding: 6px;
  border: 2px solid rgba(249, 187, 21, 0.75);
  border-radius: 50%;
  background: var(--cream);
  object-fit: contain;
}

.contact__brand-name {
  margin-top: 1rem;
  color: var(--cream);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.contact__brand-sub {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.contact__tagline {
  position: relative;
  z-index: 1;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: rgba(255, 250, 240, 0.84);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.7;
}

.contact__social {
  position: relative;
  z-index: 1;
}

.contact__social-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact__social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.7rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  padding: 0.38rem 0.7rem 0.38rem 0.4rem;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.07);
  color: var(--cream);
  font-size: 0.76rem;
  font-weight: 600;
  transition:
    border-color 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

a.social-chip:hover {
  border-color: var(--gold);
  background: rgba(249, 187, 21, 0.12);
}

.social-chip__badge {
  display: inline-grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.social-chip__value {
  overflow: hidden;
  max-width: 8.5rem;
  color: rgba(255, 250, 240, 0.6);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-chip--placeholder {
  opacity: 0.82;
}

.social-empty {
  color: rgba(255, 250, 240, 0.65);
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding-top: clamp(3rem, 6vw, 5rem);
  background: #120705;
  color: rgba(255, 250, 240, 0.66);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.7fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.brand--footer {
  align-items: flex-start;
}

.brand--footer .brand__logo {
  width: 54px;
  height: 54px;
}

.footer__brand > p {
  max-width: 35ch;
  margin-top: 1.1rem;
  color: rgba(255, 250, 240, 0.55);
  font-size: 0.86rem;
  line-height: 1.8;
}

.footer__title {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer__nav ul {
  display: grid;
  gap: 0.55rem;
}

.footer__nav a,
.footer__contact a {
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.86rem;
  transition: color 0.2s var(--ease);
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: var(--gold);
}

.footer__contact address {
  margin-bottom: 0.55rem;
  color: rgba(255, 250, 240, 0.66);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.75;
}

.footer__contact > a {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 0.35rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(249, 187, 21, 0.12);
  color: rgba(255, 250, 240, 0.45);
  font-size: 0.76rem;
}

.footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 250, 240, 0.62);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.footer__top-link:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(249, 187, 21, 0.5);
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.65);
  transform: translateY(12px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Product dialog
   -------------------------------------------------------------------------- */

.product-dialog {
  width: min(900px, calc(100% - 2rem));
  max-width: 900px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.product-dialog::backdrop {
  background: rgba(22, 10, 7, 0.76);
  backdrop-filter: blur(5px);
}

.product-dialog__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 0.85fr) minmax(0, 1.15fr);
  max-height: min(88vh, 720px);
  overflow: hidden;
  border: 1px solid rgba(249, 187, 21, 0.22);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: 0 45px 100px -40px rgba(0, 0, 0, 0.95);
}

.product-dialog__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.25);
  border-radius: 50%;
  background: rgba(22, 10, 7, 0.78);
  color: var(--cream);
  cursor: pointer;
  transition:
    background-color 0.2s var(--ease),
    color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.product-dialog__close:hover {
  background: var(--red);
  transform: rotate(90deg);
}

.product-dialog__media {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 40%, rgba(249, 187, 21, 0.2), transparent 55%),
    var(--cream-2);
}

.product-dialog__media img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

.product-dialog__body {
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
}

.product-dialog__title {
  margin-top: 0.7rem;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.product-dialog__code {
  margin-top: 0.35rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.product-dialog__specs {
  display: grid;
  gap: 0.75rem;
  margin-block: 1.6rem;
}

.product-dialog__specs > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(160, 11, 1, 0.18);
}

.product-dialog__specs dt {
  color: var(--muted);
  font-size: 0.8rem;
}

.product-dialog__specs dd {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: right;
}

.product-dialog__empty {
  margin-block: 1.5rem;
  padding: 1rem;
  border: 1px dashed rgba(160, 11, 1, 0.2);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.will-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero__slide {
    gap: 2.5rem;
  }

  .hero__badge {
    width: 92px;
    height: 92px;
  }

  .hero__badge span {
    font-size: 1.3rem;
  }

  .about__grid {
    gap: 3.5rem;
  }

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

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 1rem var(--gutter) 2rem;
    background: rgba(18, 7, 5, 0.99);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s var(--ease),
      visibility 0.25s var(--ease),
      transform 0.25s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav__list {
    align-items: stretch;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.5rem;
  }

  .nav__link {
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
  }

  .nav__link--cta {
    justify-content: center;
    margin-top: 0.5rem;
    margin-left: 0;
  }

  .hero__slide {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero__copy {
    max-width: 720px;
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 430px);
  }

  .trust__panel {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .trust__item {
    padding-left: 0;
  }

  .trust__item + .trust__item {
    padding-top: 1.1rem;
    border-top: 1px solid rgba(249, 187, 21, 0.16);
    border-left: 0;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about__visual {
    width: min(100%, 520px);
    margin-inline: auto;
  }

  .about__content {
    max-width: 720px;
  }

  .president__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .president__content {
    max-width: 720px;
  }

  .president__visual {
    justify-self: center;
    width: min(100%, 420px);
    padding-left: 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .section-head__aside {
    max-width: 600px;
  }

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

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

  .contact__aside {
    min-height: 340px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__brand > p {
    max-width: 48ch;
  }
}

@media (max-width: 680px) {
  :root {
    --section-padding: clamp(3.75rem, 12vw, 5.5rem);
  }

  .brand__logo {
    width: 44px;
    height: 44px;
  }

  .brand__name {
    font-size: 0.98rem;
  }

  .brand__tag {
    font-size: 0.62rem;
  }

  .hero {
    padding-bottom: 7.5rem;
  }

  .hero__title {
    font-size: clamp(2.25rem, 10.5vw, 3.4rem);
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .hero__points {
    gap: 0.55rem 1rem;
    font-size: 0.8rem;
  }

  .hero__visual {
    padding-right: 0;
  }

  .hero__visual::before {
    inset: 1rem 0.5rem 0.4rem 0;
  }

  .hero__badge {
    top: 5%;
    left: -0.4rem;
    width: 82px;
    height: 82px;
  }

  .hero__badge span {
    font-size: 1.15rem;
  }

  .hero__badge small {
    font-size: 0.58rem;
  }

  .hero__note {
    right: -0.2rem;
    bottom: 4%;
    padding: 0.7rem 0.8rem;
    font-size: 0.7rem;
  }

  .hero__bar {
    gap: 0.75rem;
  }

  .hero__dot {
    width: 26px;
  }

  .hero__dot.is-active {
    width: 40px;
  }

  .hero__arrow {
    width: 40px;
    height: 40px;
  }

  .trust {
    margin-top: -4rem;
  }

  .about__visual::before {
    inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  }

  .about__stamp {
    right: 0.5rem;
    bottom: -1rem;
  }

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

  .president__quote {
    padding-left: 1.25rem;
  }

  .president__mark {
    top: -2rem;
    right: 0;
    font-size: 5rem;
  }

  .president__visual {
    padding: 0 0 1rem;
  }

  .president__visual::before {
    inset: 1rem 0 0 0;
  }

  .president__seal {
    bottom: 2.5rem;
    left: -0.25rem;
    width: 94px;
    height: 94px;
  }

  .president__seal span {
    font-size: 0.68rem;
  }

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

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

  .contact-card:first-child {
    grid-column: auto;
  }

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

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-dialog {
    width: calc(100% - 1rem);
  }

  .product-dialog__panel {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .product-dialog__media {
    min-height: 0;
    padding: 1.25rem;
    aspect-ratio: 16 / 11;
  }

  .product-dialog__media img {
    max-height: 100%;
  }

  .product-dialog__body {
    padding: 1.5rem;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 72px;
  }

  .header__inner {
    gap: 0.75rem;
  }

  .brand {
    gap: 0.6rem;
  }

  .brand__logo {
    width: 40px;
    height: 40px;
  }

  .brand__name {
    font-size: 0.9rem;
  }

  .brand__tag {
    letter-spacing: 0.14em;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero__count {
    font-size: 0.78rem;
  }

  .hero__note {
    display: none;
  }

  .contact__main,
  .contact__aside {
    padding: 1.5rem;
  }

  .contact__logo {
    width: 66px;
    height: 66px;
  }

  .contact__brand-name {
    font-size: 1.35rem;
  }
}

@media (max-width: 400px) {
  .hero__count {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .will-reveal {
    opacity: 1;
    transform: none;
  }

    #distribution {
    display: flex;
    justify-content: center; /* กึ่งกลางแนวนอน */
    align-items: center;     /* กึ่งกลางแนวตั้ง */
    min-height: 100vh;       /* ความสูงอย่างน้อยเต็มความสูงหน้าจอ */
    }

    #distribution img {
    max-width: 100%;
    height: auto;
    }

}
