:root {
  --ink: #17201b;
  --muted: #627067;
  --paper: #fbfaf6;
  --wash: #f1eee6;
  --line: #ded8ca;
  --sage: #506d57;
  --sage-dark: #294a36;
  --rose: #b45a62;
  --amber: #c58a3a;
  --teal: #46747a;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(23, 32, 27, 0.13);
}

* {
  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", sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px clamp(14px, 3vw, 42px);
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(222, 216, 202, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.28), transparent 16px),
    linear-gradient(145deg, var(--sage-dark), #3e7658);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 253, 248, 0.18), 0 10px 22px rgba(41, 74, 54, 0.22);
  overflow: hidden;
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 12px;
  background: var(--amber);
  border-radius: 8px 8px 8px 2px;
  transform: rotate(35deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  bottom: 9px;
  left: 10px;
  width: 26px;
  height: 3px;
  background: rgba(255, 253, 248, 0.34);
  border-radius: 999px;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.2vw, 18px);
  color: #344238;
  font-size: 13px;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-panel a,
.site-footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover,
.site-footer a:hover {
  color: var(--rose);
}

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

.lang-switch,
.icon-button {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 8px;
  min-height: 40px;
}

.lang-switch {
  padding: 0 12px;
  font-size: 13px;
}

.icon-button {
  display: none;
  width: 42px;
  place-items: center;
}

.menu-button {
  position: relative;
}

.menu-button::before,
.menu-button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--sage-dark);
  border-radius: 99px;
}

.menu-button::before {
  top: 15px;
}

.menu-button::after {
  bottom: 15px;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.mobile-panel {
  position: fixed;
  inset: 76px 14px auto 14px;
  z-index: 30;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-panel nav {
  display: grid;
  padding: 12px;
}

.mobile-panel a {
  padding: 14px;
  border-bottom: 1px solid var(--wash);
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(13, 23, 18, 0.82), rgba(13, 23, 18, 0.44) 47%, rgba(13, 23, 18, 0.1));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero-perfume-oem.png");
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.02);
}

.hero-content {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 clamp(54px, 9vh, 94px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: normal;
}

.hero-copy {
  max-width: 740px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.9);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

.hero-actions,
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button svg,
.icon-button svg,
.check-list svg,
.resource-grid svg,
.contact-cards svg,
.sticky-cta svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  color: var(--white);
  background: var(--rose);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.54);
  background: rgba(255, 253, 248, 0.12);
}

.trust-strip {
  margin-top: 26px;
}

.trust-strip span {
  padding: 9px 12px;
  color: rgba(255, 253, 248, 0.93);
  background: rgba(255, 253, 248, 0.14);
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: 8px;
  font-size: 13px;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--white);
}

.metric-band div {
  padding: 28px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.metric-band div:last-child {
  border-right: 0;
}

.metric-band strong {
  display: block;
  color: var(--sage-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

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

.section,
.split-section,
.contact-section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(820px, 100%);
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.22;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.resource-grid p,
.service-card p,
.product-card p,
.faq-list p,
.contact-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.08);
}

.service-card img {
  height: 220px;
  object-fit: cover;
}

.service-card h3,
.service-card p,
.service-card a {
  margin-left: 20px;
  margin-right: 20px;
}

.service-card h3 {
  margin-top: 22px;
}

.service-card p {
  min-height: 80px;
}

.service-card a {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--rose);
  font-weight: 800;
}

.card-index {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 36px;
  color: var(--white);
  background: rgba(23, 32, 27, 0.78);
  border-radius: 8px;
  font-weight: 800;
}

.product-section,
.resource-section {
  background: var(--wash);
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  min-height: 186px;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sage-dark), var(--teal));
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  position: relative;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/bottle-detail.png");
  background-size: cover;
  background-position: center;
  opacity: 0.23;
}

.product-card > * {
  position: relative;
}

.product-card.featured {
  grid-row: span 2;
  min-height: 388px;
  background: linear-gradient(135deg, #2f4a36, #9a565c);
}

.product-card span {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 6px 9px;
  background: rgba(255, 253, 248, 0.18);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.product-card p {
  color: rgba(255, 253, 248, 0.88);
  margin-bottom: 0;
}

.split-section {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.split-copy h2 {
  margin-bottom: 20px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.check-list span,
.contact-cards span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #344238;
}

.check-list svg,
.contact-cards svg {
  color: var(--rose);
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.factory-gallery img {
  height: 210px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(23, 32, 27, 0.12);
}

.factory-gallery .large {
  grid-column: span 2;
  height: 360px;
}

.table-wrap {
  width: min(1180px, 100%);
  margin: 0 auto;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(23, 32, 27, 0.07);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 840px;
}

th,
td {
  padding: 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--white);
  background: var(--sage-dark);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}

td {
  color: #344238;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.resource-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.resource-grid article {
  min-height: 230px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.resource-grid svg {
  width: 32px;
  height: 32px;
  margin-bottom: 26px;
  color: var(--teal);
}

.faq-list {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: #e8ede8;
}

.contact-copy,
.inquiry-form {
  width: min(100%, 680px);
}

.contact-copy h2 {
  margin-bottom: 20px;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc7b7;
  border-radius: 8px;
  outline: none;
}

textarea {
  min-height: 128px;
  padding-top: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(180, 90, 98, 0.16);
}

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

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 4vw, 56px) 84px;
  color: rgba(255, 253, 248, 0.9);
  background: var(--sage-dark);
}

.site-footer p {
  max-width: 520px;
  color: rgba(255, 253, 248, 0.72);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: flex;
  gap: 8px;
  padding: 8px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  color: var(--white);
  background: var(--sage-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .desktop-nav,
  .primary-link {
    display: none;
  }

  .icon-button {
    display: grid;
  }

  .hero {
    min-height: 760px;
  }

  .metric-band,
  .service-grid,
  .product-grid,
  .split-section,
  .resource-grid,
  .contact-section {
    grid-template-columns: 1fr 1fr;
  }

  .split-section,
  .contact-section {
    width: 100%;
  }

  .product-card.featured {
    grid-row: auto;
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand small,
  .lang-switch {
    display: none;
  }

  .mobile-panel {
    inset-top: 68px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-bottom: 42px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 30px;
    line-height: 1.08;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 340px;
    font-size: 16px;
    overflow-wrap: break-word;
  }

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

  .metric-band,
  .service-grid,
  .product-grid,
  .split-section,
  .resource-grid,
  .contact-section,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-band div:last-child {
    border-bottom: 0;
  }

  .factory-gallery .large,
  .factory-gallery img {
    grid-column: auto;
    height: 230px;
  }

  .sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sticky-cta a {
    justify-content: center;
    padding-inline: 6px;
    min-width: 0;
    font-size: 12px;
  }

  .site-footer {
    display: grid;
  }
}
