/* =========================================================
   YANE Beauty — Professional Skincare Manufacturer & ODM
   Global stylesheet
   ========================================================= */

:root {
  /* Palette */
  --bg: #faf7f1;
  --bg-alt: #f2ece1;
  --bg-deep: #14271f;
  --ink: #26251f;
  --ink-soft: #67655a;
  --ink-faint: #9a968a;
  --brand: #1f5847;
  --brand-deep: #14372a;
  --brand-soft: #e6efe9;
  --accent: #b9853f;
  --accent-soft: #f3e6d0;
  --line: #e4dccb;
  --white: #ffffff;
  --shadow: 0 24px 60px -30px rgba(31, 56, 43, 0.35);

  /* Type */
  --serif: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.55rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1.5px;
  background: var(--accent);
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 30px -18px rgba(31, 88, 71, 0.8);
}
.btn-light {
  background: #fff;
  color: var(--brand);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -20px rgba(0, 0, 0, 0.5); }
.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(250, 247, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(250, 247, 241, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.brand .mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-size: 1.05rem;
}
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1.5px;
  background: var(--brand);
  transition: width 0.25s ease;
}
.nav a:hover, .nav a.active { color: var(--brand); }
.nav a.active::after, .nav a:hover::after { width: 100%; }
.nav .btn { margin-left: 10px; padding: 11px 22px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4eee2 0%, #faf7f1 60%, #f2ece1 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0;
}
.hero h1 span { color: var(--brand); font-style: italic; }
.hero .lead { margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero-proof .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  color: var(--ink);
}
.hero-proof .stat span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.hero-visual {
  position: relative;
}
.hero-visual .frame {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  box-shadow: var(--shadow);
}
.hero-visual .frame .orchid {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 70%;
  opacity: 0.92;
}
.hero-visual .frame .glow {
  position: absolute;
  top: -20%;
  left: -15%;
  width: 70%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,170,0.6), transparent 65%);
  filter: blur(10px);
}
.hero-visual .note {
  position: absolute;
  left: -14px;
  bottom: 26px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-visual .note .ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}
.hero-visual .note b { font-family: var(--serif); font-size: 1.05rem; display: block; }
.hero-visual .note span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Marquee / trust strip ---------- */
.strip {
  background: var(--brand-deep);
  color: #dbe7df;
  padding: 20px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.strip-track span {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cfe0d6;
  font-weight: 500;
}
.strip-track span::before { content: "◆"; color: var(--accent); font-size: 0.6rem; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-4-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card .ic {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  margin-bottom: 20px;
}
.card .ic.tint-accent { background: var(--accent-soft); color: var(--accent); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Section head ---------- */
.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .eyebrow::before { display: none; }
.section-head p { margin-top: 16px; color: var(--ink-soft); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.split .visual {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--brand-soft), var(--accent-soft));
  color: var(--brand);
}
.split .visual svg { width: 60%; height: auto; }
.split .content h2 { margin-bottom: 20px; }
.split .content p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- Checklist ---------- */
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist .tick {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
}
.checklist b { display: block; font-size: 1rem; }
.checklist span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Products ---------- */
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
}
.product-card .thumb .badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--brand);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.product-card .body { padding: 22px 24px 26px; }
.product-card .body h3 { font-size: 1.22rem; margin-bottom: 8px; }
.product-card .body p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; }
.product-card .body .link {
  font-weight: 600;
  color: var(--brand);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.product-card .body .link:hover .arrow { transform: translateX(4px); }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  position: relative;
  padding: 30px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step .num {
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.step h4 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Number stat band ---------- */
.num-band {
  background: var(--brand-deep);
  color: #fff;
  border-radius: 26px;
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.num-band .n strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
}
.num-band .n strong em { color: var(--accent); font-style: normal; }
.num-band .n span { color: #b9cec2; font-size: 0.86rem; }

/* ---------- CTA band ---------- */
.cta {
  background: linear-gradient(120deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: clamp(40px, 6vw, 72px);
}
.cta::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -30%;
  width: 44%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,214,170,0.5), transparent 65%);
}
.cta .inner { position: relative; z-index: 1; max-width: 620px; }
.cta h2 { color: #fff; }
.cta p { color: #cfe0d6; margin: 16px 0 28px; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(180deg, #f2ece1 0%, #faf7f1 100%);
  padding: clamp(48px, 7vw, 84px) 0;
  text-align: center;
}
.page-hero .container { max-width: 780px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--ink-soft); }

/* ---------- Breadcrumb (inner) - simple */
.crumb {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.crumb a:hover { color: var(--brand); }

/* ---------- Stats row on about ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: #fff;
}
.stat-box strong { font-family: var(--serif); font-size: 2.3rem; color: var(--brand); display: block; }
.stat-box strong em { color: var(--accent); font-style: normal; }
.stat-box span { color: var(--ink-soft); font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
}
.contact-info .item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item .ic {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
}
.contact-info .item b { display: block; margin-bottom: 3px; }
.contact-info .item p { color: var(--ink-soft); font-size: 0.94rem; }
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,88,71,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--ink-faint); margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: #aebdb4;
  padding: clamp(52px, 7vw, 78px) 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: var(--accent); }
.site-footer p { font-size: 0.9rem; margin-bottom: 18px; max-width: 34ch; }
.site-footer h5 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 12px; }
.site-footer ul li a { color: #aebdb4; font-size: 0.9rem; transition: color 0.2s ease; }
.site-footer ul li a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  color: #cfe0d6;
  transition: background 0.2s ease, color 0.2s ease;
}
.socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.footer-bottom {
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.8rem;
}
.footer-bottom a { color: #aebdb4; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .split, .contact-wrap { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .grid-3, .grid-4, .num-band, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: var(--bg);
    padding: 24px var(--gutter) 30px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 10px 0; width: 100%; font-size: 1.05rem; }
  .nav .btn { margin: 14px 0 0; width: 100%; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .num-band, .steps, .footer-grid, .stat-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 20px; }
  .hero-proof .stat strong { font-size: 1.6rem; }
}
