:root {
  --ink: #181417;
  --muted: #6d6469;
  --line: #e7e0e3;
  --paper: #fffdfb;
  --soft: #f6f1f4;
  --lavender: #bca2d9;
  --berry: #9b315b;
  --coral: #cc6c65;
  --metal: #c1a676;
  --green: #38776d;
  --shadow: 0 18px 48px rgba(24, 20, 23, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(231, 224, 227, 0.82);
  background: rgba(255, 253, 251, 0.93);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: #342d31;
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  padding: 8px 0;
}

.nav-cta {
  padding: 10px 15px !important;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  min-height: clamp(520px, calc(100vh - 154px), 760px);
  padding: clamp(42px, 7vw, 86px) clamp(20px, 6vw, 84px);
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 20, 23, 0.82), rgba(24, 20, 23, 0.38) 52%, rgba(24, 20, 23, 0.12)), url("assets/images/hero-office-adel.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d1df;
}

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

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(40px, 6.3vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--berry);
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
}

.hero-showcase,
.hero-collage,
.hero-rotator {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(38vw, 420px);
  aspect-ratio: 1 / 1.16;
}

.hero-rotator {
  width: min(40vw, 460px);
  aspect-ratio: 0.9 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.rotator-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  background: #fff;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 700ms ease, transform 1800ms ease;
}

.rotator-img.active {
  opacity: 1;
  transform: scale(1);
}

.motion-strip {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 5%;
  z-index: 3;
  display: flex;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(24, 20, 23, 0.74);
  backdrop-filter: blur(12px);
}

.motion-strip span {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 900;
  animation: drift 9s linear infinite;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-76px); }
}

.showcase-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition: opacity 700ms ease, transform 700ms ease;
}

.showcase-img.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-band div {
  min-height: 128px;
  padding: 26px clamp(18px, 3vw, 34px);
  background: #fff;
}

.stats-band strong {
  display: block;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.section,
.factory-section,
.brand-section,
.contact-section {
  padding: clamp(72px, 9vw, 124px) clamp(20px, 6vw, 84px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 84px);
  align-items: start;
}

.section-copy p:not(.eyebrow),
.section-heading p,
.factory-intro p,
.brand-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 17px;
}

.process-grid,
.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.process-section {
  background: #fff;
}

.flow-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.flow-map::before {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 43px;
  height: 2px;
  background: linear-gradient(90deg, var(--lavender), var(--berry), var(--coral));
}

.flow-step {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(24, 20, 23, 0.06);
}

.flow-step b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: var(--berry);
  font-size: 13px;
}

.flow-step span {
  font-size: 18px;
  font-weight: 900;
}

.flow-step small {
  color: var(--muted);
  font-size: 13px;
}

.catalog-reference {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  margin: 26px 0 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.catalog-reference img {
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(24, 20, 23, 0.1);
}

.catalog-reference figcaption {
  color: var(--muted);
  font-weight: 700;
}

.oem-section {
  background: var(--soft);
}

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

.category-card,
.detail-card,
.retail-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  font: inherit;
  text-align: left;
}

.category-card:hover,
.detail-card:hover,
.retail-card:hover,
.flow-step:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 49, 91, 0.45);
  box-shadow: var(--shadow);
}

.category-card {
  grid-template-columns: 190px minmax(0, 1fr);
}

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

.icon-card,
.compact-card {
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
}

.general-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  background: linear-gradient(135deg, #f7f1f4, #ffffff);
}

.general-icon::before,
.general-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.pen-icon::before,
.liner-icon::before,
.brow-icon::before,
.lip-icon::before {
  width: 18px;
  height: 138px;
  border-radius: 999px;
  background: linear-gradient(#1c171a 0 62%, var(--metal) 62% 100%);
  transform: rotate(28deg);
  box-shadow: 34px 10px 0 #2e292d;
}

.liner-icon::after {
  width: 4px;
  height: 42px;
  background: var(--berry);
  transform: translate(43px, 72px) rotate(28deg);
}

.brow-icon::before {
  background: linear-gradient(#2d282c 0 58%, #a9815d 58% 100%);
}

.lip-icon::before {
  background: linear-gradient(#8f3159 0 58%, #e9a0aa 58% 100%);
}

.cleanser-icon::before,
.skincare-icon::before {
  width: 58px;
  height: 122px;
  border-radius: 18px 18px 10px 10px;
  border: 3px solid var(--green);
  background: linear-gradient(#fff, #e8f2f0);
}

.cleanser-icon::after,
.skincare-icon::after {
  width: 36px;
  height: 16px;
  border-radius: 6px 6px 0 0;
  background: var(--green);
  transform: translateY(-72px);
}

.skincare-icon::before {
  border-color: var(--lavender);
}

.skincare-icon::after {
  background: var(--lavender);
}

.layer-view {
  display: none;
}

.layer-view.active {
  display: block;
}

.layer-title {
  margin: 6px 0 18px;
  font-size: clamp(26px, 3.4vw, 42px);
}

.back-link {
  min-height: 40px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.category-card.active {
  outline: 2px solid rgba(155, 49, 91, 0.24);
}

.category-card img,
.retail-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: contain;
  background: #fff;
}

.image-card img {
  aspect-ratio: 1.25 / 1;
  min-height: 170px;
  padding: 8px;
}

.category-card div,
.detail-card div,
.retail-card div {
  padding: 22px;
}

.category-card p,
.detail-card p,
.retail-card p {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-card span,
.detail-card span,
.retail-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.product-layer {
  display: none;
  margin-top: 26px;
}

.product-layer.active {
  display: block;
}

.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.subtab {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.subtab.active {
  color: #fff;
  border-color: var(--berry);
  background: var(--berry);
}

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

.subpanel.active {
  display: grid;
}

.detail-card img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: contain;
  background: #fff;
}

.wide-card {
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
}

.retail-section {
  background: #fff;
}

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

.retail-card img {
  aspect-ratio: 1.18 / 1;
}

.card-carousel {
  position: relative;
  width: 100%;
  min-height: 260px;
  overflow: hidden;
}

.card-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  opacity: 0;
  animation: cardFade 12s infinite;
}

.card-carousel img:nth-child(2) {
  animation-delay: 3s;
}

.card-carousel img:nth-child(3) {
  animation-delay: 6s;
}

.card-carousel img:nth-child(4) {
  animation-delay: 9s;
}

@keyframes cardFade {
  0%, 20% { opacity: 1; transform: scale(1); }
  30%, 100% { opacity: 0; transform: scale(1.04); }
}

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

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

.media-product-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.media-product-grid img,
.media-product-grid video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #111;
}

.media-product-grid video {
  aspect-ratio: 9 / 16;
}

.media-product-grid h3 {
  padding: 16px;
}

.retail-product-list {
  display: grid;
  gap: 22px;
}

.retail-product-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(170px, 0.45fr) minmax(320px, 1fr);
  gap: 16px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.retail-carousel {
  position: relative;
  min-height: 360px;
  background: #fff;
}

.retail-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  opacity: 0;
  animation: retailFade 15s infinite;
}

.retail-carousel img:nth-child(2) { animation-delay: 3s; }
.retail-carousel img:nth-child(3) { animation-delay: 6s; }
.retail-carousel img:nth-child(4) { animation-delay: 9s; }
.retail-carousel img:nth-child(5) { animation-delay: 12s; }

@keyframes retailFade {
  0%, 17% { opacity: 1; transform: scale(1); }
  24%, 100% { opacity: 0; transform: scale(0.985); }
}

.retail-row-copy {
  display: grid;
  align-content: center;
  padding: 22px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.retail-row-copy p {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.retail-row-copy span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.retail-videos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  background: #171417;
}

.retail-videos video {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  background: #000;
  border-radius: var(--radius);
}

.live-visit {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(155, 49, 91, 0.22);
  border-radius: var(--radius);
  background: #fff6f8;
}

.live-visit h3 {
  font-size: 18px;
}

.live-visit p {
  margin: 8px 0 0;
  font-size: 14px;
}

.process-grid article,
.quality-list article,
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.process-grid article,
.quality-list article {
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--metal);
  font-size: 13px;
  font-weight: 900;
}

.process-grid p,
.quality-list p,
.product-card span {
  color: var(--muted);
  font-size: 14px;
}

.products-section {
  background: var(--soft);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 980px;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.product-card div {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.product-card p {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 48px;
  margin-bottom: 10px;
}

.factory-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(28px, 5vw, 68px);
  background: #fff;
}

.factory-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.factory-gallery,
.factory-tour-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.factory-tour-map {
  counter-reset: tour;
  align-items: stretch;
}

.factory-tour-card {
  position: relative;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 150px;
  height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.modal-video-wrap,
.modal-poster-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7f1f3;
}

.modal-video-wrap video,
.modal-poster-wrap img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #f7f1f3;
}

.modal-poster-wrap {
  position: relative;
}

.modal-poster-wrap span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(40, 23, 29, 0.78);
  font-size: 12px;
  font-weight: 800;
}

.factory-tour-card:hover {
  transform: translateY(-2px);
  border-color: rgba(155, 49, 91, 0.45);
  box-shadow: var(--shadow);
}

.factory-tour-card span {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  background: var(--berry);
  font-size: 12px;
  font-weight: 900;
}

.factory-tour-card img {
  width: 132px;
  height: 112px;
  object-fit: cover;
  border-radius: var(--radius);
}

.factory-tour-card strong {
  display: block;
  font-size: 19px;
}

.factory-tour-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.orientation-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.orientation-panel > img {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}

.orientation-panel h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.orientation-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}

.orientation-panel video {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border-radius: var(--radius);
  background: #111;
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  margin-top: 18px;
  border: 1px dashed #cfc5ca;
  border-radius: var(--radius);
  color: var(--muted);
  background: #fbf8f9;
  font-weight: 800;
}

.factory-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.factory-gallery .large {
  grid-column: 1 / -1;
}

.factory-gallery img {
  width: 100%;
  aspect-ratio: 4 / 2.4;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04) brightness(1.03);
}

.factory-gallery figcaption {
  padding: 12px 14px;
  color: #433a3f;
  font-size: 13px;
  font-weight: 800;
}

.quality-section {
  background: #f9f8f5;
}

.quality-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.brand-section {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 760px);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
  background: #221d21;
  color: #fff;
}

.brand-visual img {
  width: min(100%, 360px);
  border-radius: var(--radius);
}

.brand-copy .eyebrow {
  color: #dbc5f0;
}

.brand-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.brand-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 750;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  background: var(--paper);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  color: #342d31;
  font-weight: 700;
}

.contact-details span {
  color: var(--muted);
  font-weight: 500;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(24, 20, 23, 0.07);
}

label {
  display: grid;
  gap: 8px;
  color: #4d444a;
  font-size: 13px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 84px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 900;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 20, 23, 0.58);
}

.modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1080px, calc(100vw - 28px));
  max-height: min(86vh, 860px);
  overflow: auto;
  transform: translate(-50%, -50%);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 84px);
  z-index: 2;
  margin: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.modal-inner {
  padding: 8px clamp(18px, 4vw, 42px) clamp(24px, 4vw, 42px);
}

.modal-inner h2 {
  max-width: 780px;
  font-size: clamp(28px, 4vw, 46px);
}

.modal-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.modal-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.modal-gallery img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.modal-list {
  display: grid;
  gap: 12px;
  align-content: start;
}

.modal-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.modal-list h3 {
  font-size: 17px;
}

.modal-list p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.modal-process-icon {
  display: grid;
  place-items: center;
  min-height: 330px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff, #f8eef4);
}

.modal-process-icon img {
  width: min(92%, 520px);
  max-height: 330px;
  object-fit: contain;
  border-radius: var(--radius);
}

.process-icon {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--line), var(--shadow);
}

.process-icon::before,
.process-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.process-icon.prototype::before {
  left: 42px;
  top: 28px;
  width: 56px;
  height: 84px;
  border: 4px solid var(--berry);
  border-radius: 10px;
}

.process-icon.material::before {
  left: 38px;
  top: 32px;
  width: 64px;
  height: 78px;
  border-radius: 16px;
  background: linear-gradient(var(--green), #d7ece7);
}

.process-icon.color::before {
  left: 32px;
  top: 38px;
  width: 34px;
  height: 64px;
  border-radius: 999px;
  background: var(--berry);
  box-shadow: 38px -12px 0 var(--coral), 62px 18px 0 var(--lavender);
}

.process-icon.printing::before {
  left: 30px;
  top: 38px;
  width: 80px;
  height: 46px;
  border: 4px solid var(--ink);
}

.process-icon.printing::after {
  left: 46px;
  top: 92px;
  width: 50px;
  height: 10px;
  background: var(--metal);
}

.process-icon.addon::before {
  left: 58px;
  top: 25px;
  width: 18px;
  height: 92px;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(35deg);
}

.process-icon.addon::after {
  left: 45px;
  top: 42px;
  width: 52px;
  height: 52px;
  border: 4px solid var(--berry);
  border-radius: 50%;
}

.process-icon.package::before {
  left: 32px;
  top: 38px;
  width: 76px;
  height: 64px;
  border: 4px solid var(--metal);
  transform: skewY(-8deg);
}

.modal-wide-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.modal-wide-gallery img {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

@media (max-width: 1120px) {
  .product-grid,
  .quality-list,
  .flow-map,
  .subpanel,
  .retail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-map::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 12px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
  }

  .hero-showcase {
    justify-self: start;
    width: min(72vw, 360px);
  }

  .hero-rotator {
    justify-self: start;
    width: min(82vw, 420px);
  }

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

  .split-section,
  .factory-section,
  .brand-section,
  .contact-section,
  .category-grid,
  .category-grid.three,
  .wide-card,
  .modal-grid,
  .retail-product-row,
  .orientation-panel {
    grid-template-columns: 1fr;
  }

  .retail-row-copy {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .retail-videos {
    grid-template-columns: 1fr 1fr;
  }

  .factory-intro {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .brand small {
    display: none;
  }

  h1 {
    font-size: 38px;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stats-band,
  .process-grid,
  .product-grid,
  .factory-gallery,
  .factory-tour-map,
  .quality-list,
  .inquiry-form,
  .flow-map,
  .subpanel,
  .retail-grid,
  .category-card,
  .icon-card,
  .compact-card,
  .media-product-grid,
  .media-product-grid.two,
  .modal-gallery,
  .modal-wide-gallery,
  .catalog-reference {
    grid-template-columns: 1fr;
  }

  .hero-rotator {
    width: 100%;
  }

  .category-card img {
    min-height: 190px;
  }

  .factory-tour-card {
    grid-template-columns: 1fr;
  }

  .factory-tour-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.45 / 1;
  }

  .retail-videos {
    grid-template-columns: 1fr;
  }

  .factory-gallery .large {
    grid-column: auto;
  }

  .site-footer {
    display: grid;
  }
}
