:root {
  --ink: #202124;
  --muted: #6b6f76;
  --line: #e8e2df;
  --paper: #ffffff;
  --soft: #f7f4f2;
  --maroon: #7a1826;
  --maroon-dark: #56101a;
  --maroon-soft: #f6e9eb;
  --steel: #4a5560;
  --shadow: 0 18px 50px rgba(68, 49, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans Thai", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(232, 226, 223, 0.8);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(86, 16, 26, 0.18);
}

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

.brand strong {
  font-size: 1.02rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.main-nav a {
  padding: 9px 14px;
  color: var(--steel);
  border-radius: 8px;
  font-weight: 600;
}

.main-nav a:hover {
  background: var(--maroon-soft);
  color: var(--maroon);
}

.header-call {
  color: #fff;
  background: var(--maroon);
  border: 1px solid var(--maroon);
}

.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.social-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--maroon);
  background: #fff;
  border: 1px solid rgba(122, 24, 38, 0.22);
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.icon-button:hover,
.social-icon:hover {
  color: #fff;
  background: var(--maroon);
  box-shadow: 0 12px 24px rgba(86, 16, 26, 0.18);
  transform: translateY(-1px);
}

.icon-button svg,
.social-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon svg {
  fill: currentColor;
  stroke: none;
}

.line-text-button,
.line-link {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 46px;
  padding: 0 12px;
  color: #fff;
  background: var(--maroon);
  border: 1px solid var(--maroon);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.line-text-button:hover,
.line-link:hover {
  background: var(--maroon-dark);
  box-shadow: 0 12px 24px rgba(86, 16, 26, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 32px));
  overflow: hidden;
  background: #111;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 15, 0.82), rgba(14, 14, 15, 0.48) 42%, rgba(255, 255, 255, 0.02)),
    url("assets/warehouse-hero.png");
  background-position: center center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  position: relative;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 72px) 150px;
}

.hero-content {
  width: min(760px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--maroon);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1ccd2;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  line-height: 1.35;
}

.hero-copy {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.03rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--maroon);
  box-shadow: 0 12px 24px rgba(86, 16, 26, 0.25);
}

.button.primary:hover {
  background: var(--maroon-dark);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.button.outline {
  color: var(--maroon);
  border-color: rgba(122, 24, 38, 0.25);
  background: #fff;
}

.quick-info {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: -86px auto 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quick-info div {
  padding: 24px;
  background: #fff;
}

.quick-info span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-info strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 9vw, 112px) 0;
}

.section-heading {
  width: min(720px, 100%);
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
}

.intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.product-band {
  width: 100%;
  padding-inline: clamp(20px, 5vw, 72px);
  background: var(--soft);
}

.product-band .section-heading,
.product-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.product-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(68, 49, 45, 0.07);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #fff;
}

.product-card div {
  padding: 20px;
}

.product-card p,
.service-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(34px, 6vw, 84px);
}

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

.service-list div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.service-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--maroon);
  background: var(--maroon-soft);
  border-radius: 8px;
  font-weight: 800;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(86, 16, 26, 0.94), rgba(122, 24, 38, 0.84)),
    url("assets/storefront-materials.svg");
  background-position: center;
  background-size: cover;
}

.cta-section .eyebrow {
  color: #f1ccd2;
}

.cta-section h2 {
  max-width: 800px;
}

.brands {
  padding-bottom: clamp(54px, 7vw, 88px);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.brand-card {
  display: grid;
  place-items: center;
  min-height: 132px;
  margin: 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(68, 49, 45, 0.06);
}

.brand-card img {
  width: 100%;
  max-width: 220px;
  max-height: 82px;
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  margin-top: 34px;
  align-items: stretch;
}

.contact-details,
.map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-details {
  padding: clamp(22px, 4vw, 34px);
}

dl {
  margin: 0;
}

dl div + div {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 600;
}

dd a {
  color: var(--maroon);
}

.contact-details dd .social-icon {
  color: #fff;
  background: var(--maroon);
}

.contact-details dd .social-icon:hover {
  background: var(--maroon-dark);
}

.social-icon.pending {
  cursor: default;
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.social-icon.pending:hover {
  background: var(--maroon);
  transform: none;
  box-shadow: none;
}

.contact-call {
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
  box-shadow: 0 12px 24px rgba(86, 16, 26, 0.22);
}

.contact-call:hover {
  background: var(--maroon-dark);
}

.contact-actions {
  align-items: center;
  flex-wrap: nowrap;
}

.contact-actions .icon-button,
.contact-actions .social-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.contact-actions .line-link {
  width: auto;
  min-width: 70px;
  height: 54px;
  flex: 0 0 auto;
}

.contact-actions .icon-button:hover,
.contact-actions .social-icon:hover {
  color: #fff;
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
}

.map-link {
  color: #fff;
  background: var(--maroon);
  border-color: var(--maroon);
}

.map-link:hover {
  background: var(--maroon-dark);
}

.map-panel {
  overflow: hidden;
  min-height: 440px;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--maroon);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .quick-info,
  .intro,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 10px 16px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    max-width: calc(100vw - 88px);
    font-size: 0.96rem;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: 690px;
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-overlay {
    align-items: flex-end;
    padding: 82px 20px 142px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .quick-info {
    width: calc(100% - 24px);
    margin-top: -92px;
  }

  .quick-info div {
    padding: 18px;
  }

  .section {
    width: calc(100% - 32px);
  }

  .product-band {
    padding-inline: 16px;
  }

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

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .brand-card {
    min-height: 104px;
    padding: 16px;
  }

  .contact-actions {
    margin-top: 24px;
    justify-content: flex-start;
  }

  .map-panel,
  .map-panel iframe {
    min-height: 340px;
  }

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