/* ====================================================================
   AP Plastic — Cosmetic Packaging
   Stylesheet
   ==================================================================== */

:root {
  --black:      #0e0d10;
  --black-2:    #1a181d;
  --ink:        #211f24;
  --gold:       #c9a24b;
  --gold-soft:  #e3c884;
  --gold-deep:  #a87f2c;
  --gold-grad:  linear-gradient(135deg, #f3d98a 0%, #c9a24b 45%, #9c7726 100%);
  --rose:       #c98a7d;
  --nude:       #e8d3c6;
  --cream:      #faf5ef;
  --cream-2:    #f3ebe2;
  --line:       #e7ddd2;
  --text:       #211f24;
  --muted:      #6d6660;
  --white:      #ffffff;
  --shadow-sm:  0 6px 20px rgba(28, 22, 16, .07);
  --shadow-md:  0 18px 50px rgba(28, 22, 16, .12);
  --shadow-lg:  0 30px 80px rgba(14, 13, 16, .28);
  --radius:     16px;
  --radius-sm:  10px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
  --maxw:       1200px;
  --font-head:  "Playfair Display", Georgia, serif;
  --font-body:  "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 30px;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 50px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold-grad); color: #2b2009; box-shadow: 0 10px 26px rgba(201, 162, 75, .35); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(201, 162, 75, .45); }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { transform: translateY(-3px); background: var(--black); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--cream); border: 1.5px solid rgba(255, 255, 255, .4); }
.btn--outline:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold-soft); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--black);
  color: rgba(255, 255, 255, .72);
  font-size: .76rem; letter-spacing: .04em;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { transition: color .3s; }
.topbar__contact a:hover { color: var(--gold-soft); }

/* ---------- Header ---------- */
/* Wrapper is transparent to layout so the header can stick to the viewport */
#site-header { display: contents; }
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 239, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; transition: height .35s var(--ease); }
.header.is-scrolled .header__inner { height: 66px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 60px; width: auto; display: block; transition: height .35s var(--ease); }
.header.is-scrolled .brand__logo { height: 50px; }
.footer .brand__logo { height: 66px; }
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: .02em; color: #2b2009;
  background: var(--gold-grad);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(201, 162, 75, .35);
}
.brand__text { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; line-height: 1; letter-spacing: .02em; }
.brand__text small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}

/* Nav */
.nav { display: flex; align-items: center; gap: 28px; }
.nav__link { position: relative; font-size: .9rem; font-weight: 400; padding: 6px 0; transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__link:hover { color: var(--gold-deep); }
.nav__link:hover::after { width: 100%; }
.nav__cta { margin-left: 6px; padding: 11px 24px; }

/* Nav dropdown */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link--parent { display: inline-flex; align-items: center; gap: 7px; }
.caret {
  width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .65; transition: transform .3s var(--ease);
}
.nav__item:hover .caret { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(12px);
  min-width: 224px; background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 10px; z-index: 120;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__item:hover .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(7px); }
.nav__dropdown a { padding: 10px 14px; border-radius: 9px; font-size: .88rem; color: var(--ink); white-space: nowrap; transition: background .25s, color .25s; }
.nav__dropdown a:hover { background: var(--cream); color: var(--gold-deep); }

/* Nav toggle */
.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 0 auto; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero slider ---------- */
.hero { background: var(--black); }
.slider { position: relative; overflow: hidden; max-width: 1600px; margin: 0 auto; }
.slider__track { display: flex; transition: transform .8s var(--ease); }
.slide { min-width: 100%; }
.slide img { width: 100%; height: auto; display: block; }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.8rem; line-height: 1;
  backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .25);
  display: grid; place-items: center; transition: background .3s, transform .3s; z-index: 3;
}
.slider__arrow:hover { background: var(--gold); color: #2b2009; }
.slider__arrow--prev { left: 22px; }
.slider__arrow--next { right: 22px; }
.slider__arrow:hover.slider__arrow--prev { transform: translateY(-50%) scale(1.08); }
.slider__arrow:hover.slider__arrow--next { transform: translateY(-50%) scale(1.08); }

.slider__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 10px; z-index: 3; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .4); transition: all .3s; }
.slider__dots button.is-active { background: var(--gold); width: 28px; border-radius: 6px; }

/* ---------- USP strip ---------- */
.usp { background: var(--white); border-bottom: 1px solid var(--line); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.usp__item { padding: 46px 28px; text-align: center; border-right: 1px solid var(--line); }
.usp__item:last-child { border-right: none; }
.usp__icon {
  width: 58px; height: 58px; margin: 0 auto 18px;
  display: grid; place-items: center; font-size: 1.4rem; color: var(--gold-deep);
  background: var(--cream); border: 1px solid var(--line); border-radius: 50%;
}
.usp__item h3 { font-size: 1.12rem; margin-bottom: 8px; }
.usp__item p { font-size: .88rem; color: var(--muted); max-width: 230px; margin: 0 auto; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section__head { max-width: 660px; margin: 0 auto 54px; text-align: center; }
.eyebrow {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px;
}
.eyebrow--light { color: var(--gold-soft); }
.section__title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.section__title--light { color: var(--cream); }
.section__sub { font-size: 1rem; color: var(--muted); }
.section__sub--light { color: rgba(255, 255, 255, .72); }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 44px; }
.filter {
  padding: 9px 22px; font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  color: var(--muted); background: var(--white); border: 1px solid var(--line); border-radius: 50px;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--ink); border-color: var(--gold); }
.filter.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ---------- Products grid ---------- */
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
  animation: cardIn .5s var(--ease) both;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; background: var(--cream); aspect-ratio: 1 / 1; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .4s; }
.card__media img.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media img.card__main { opacity: 0; }
.card:hover .card__media img.card__alt { opacity: 1; transform: scale(1.02); }
.card__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255, 255, 255, .9); color: var(--ink); padding: 5px 12px; border-radius: 50px;
  backdrop-filter: blur(4px);
}
.card__view {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); padding: 8px 16px; border-radius: 50px;
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.card:hover .card__view { opacity: 1; transform: translateY(0); }
.card__body { padding: 20px 22px 24px; }
.card__name { font-size: 1.1rem; margin-bottom: 6px; }
.card__meta { font-size: .82rem; color: var(--muted); }
.card.is-hidden { display: none; }

@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Custom packaging ---------- */
.custom { background: var(--cream-2); }
.custom__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.custom__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.custom__body .section__title { margin-bottom: 16px; }
.checklist { margin: 26px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.checklist li { position: relative; padding-left: 30px; font-size: .92rem; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 20px; height: 20px; display: grid; place-items: center;
  font-size: .7rem; color: #2b2009; background: var(--gold-grad); border-radius: 50%;
}

/* ---------- Why / stats ---------- */
.why { background: var(--black); position: relative; overflow: hidden; }
.why::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 75, .18), transparent 70%);
  top: -160px; right: -120px;
}
.why .container { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 18px; }
.stat { text-align: center; padding: 34px 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.stat__num {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat__label { display: block; margin-top: 12px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* ---------- Contact ---------- */
.contact { background: var(--cream); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__info .section__title { margin-bottom: 16px; }
.contact__list { margin-top: 30px; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; font-size: .95rem; color: var(--ink); }
.contact__ico {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  color: var(--gold-deep); background: var(--white); border: 1px solid var(--line); border-radius: 50%;
}
.contact__list a:hover { color: var(--gold-deep); }

/* Form */
.contact__form { background: var(--white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; padding: 16px 16px 16px; font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .3s, background .3s; resize: vertical;
}
.field textarea { min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field label {
  position: absolute; left: 14px; top: 16px; font-size: .95rem; color: var(--muted);
  pointer-events: none; transition: all .25s var(--ease); background: transparent; padding: 0 5px;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: -9px; left: 11px; font-size: .72rem; color: var(--gold-deep); background: var(--white);
}
/* Honeypot: off-screen rather than display:none, which many bots skip. */
.hp-field {
  position: absolute; left: -9999px; top: auto;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
.field .error { display: block; min-height: 14px; margin-top: 5px; font-size: .74rem; color: #c0392b; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #c0392b; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--black); color: rgba(255, 255, 255, .66); }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold-grad); }
.footer::after {
  content: ""; position: absolute; top: 0; right: 0; width: 460px; height: 340px; pointer-events: none;
  background: radial-gradient(circle at top right, rgba(201, 162, 75, .12), transparent 70%);
}
.footer__inner { position: relative; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 48px; padding-top: 74px; padding-bottom: 52px; }
.footer__brand .brand--footer { display: inline-block; }
.footer__brand p { margin-top: 22px; font-size: .92rem; line-height: 1.75; max-width: 330px; }

.footer__social { display: flex; gap: 12px; margin-top: 26px; }
.soc {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%;
  color: rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12); transition: all .3s var(--ease);
}
.soc:hover { color: #2b2009; background: var(--gold-grad); border-color: transparent; transform: translateY(-3px); box-shadow: 0 10px 22px rgba(201, 162, 75, .3); }

.footer__col h4 {
  font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer__col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.footer__col > a, .footer__col > span { display: block; font-size: .91rem; margin-bottom: 13px; transition: color .3s, transform .3s; }
.footer__col > a:hover { color: var(--gold-soft); transform: translateX(3px); }

.footer__contact a, .footer__contact .footer__addr { display: flex; align-items: center; gap: 11px; }
.footer__ico {
  width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px;
  color: var(--gold-soft); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.footer__addr { color: rgba(255, 255, 255, .66); }

.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); position: relative; }
.footer__bar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; padding-bottom: 22px; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer__made b { color: var(--gold-soft); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(14, 13, 16, .7); backdrop-filter: blur(4px); animation: fade .3s ease; }
.modal__box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(960px, 92vw); max-height: 90vh; overflow: hidden;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  animation: pop .4s var(--ease);
}
.modal__close {
  position: absolute; top: 14px; right: 16px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--ink);
  background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-sm); transition: transform .3s, background .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--gold); color: #2b2009; }
.modal__grid { display: grid; grid-template-columns: 1fr 1fr; max-height: 90vh; }
.modal__media { background: var(--cream); display: grid; place-items: center; overflow: auto; }
.modal__media img { width: 100%; height: 100%; object-fit: contain; }
.modal__detail { padding: 42px 38px; overflow-y: auto; }
.modal__detail h3 { font-size: 1.7rem; margin: 4px 0 14px; }
.modal__detail p { font-size: .94rem; color: var(--muted); margin-bottom: 22px; }
/* ---------- Quote modal ---------- */
body.no-scroll { overflow: hidden; }
.modal__box--quote { width: min(880px, 94vw); }
.modal__box--quote .modal__grid { grid-template-columns: .8fr 1fr; }
.quote__aside {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); overflow: hidden;
}
.quote__aside-img { position: absolute; inset: 0; }
.quote__aside-img img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.quote__aside-txt {
  position: relative; padding: 30px 26px;
  background: linear-gradient(to top, rgba(14, 13, 16, .95) 30%, rgba(14, 13, 16, 0));
}
.quote__aside-txt h4 { margin: 8px 0 6px; font-size: 1.25rem; color: var(--cream); }
.quote__aside-txt p { margin: 0; font-size: .84rem; color: rgba(255, 255, 255, .7); }
.quote__panel { padding: 38px 34px; }
.quote__panel h3 { margin: 4px 0 10px; }
.quote__panel > p { margin-bottom: 24px; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.quote__panel .field textarea { min-height: 84px; }
.quote__dl-ico { font-size: 1.05rem; margin-right: 4px; }
.quote__note { margin: 12px 0 0; font-size: .74rem; color: var(--muted); text-align: center; }
.quote__err {
  margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius-sm);
  background: #fdecea; border: 1px solid #f2c4bd; color: #c0392b;
  font-size: .8rem; text-align: center;
}
.btn.is-sending { opacity: .7; cursor: wait; transform: none; }
.quote__done { text-align: center; animation: rise .45s var(--ease) both; }
.quote__done-ico {
  width: 62px; height: 62px; margin: 6px auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.9rem; color: #2b2009;
  background: var(--gold-grad); box-shadow: 0 10px 26px rgba(201, 162, 75, .4);
}
.quote__done h3 { margin-bottom: 10px; }
.quote__done-close { margin-top: 10px; }

.spec { display: grid; gap: 0; margin-bottom: 28px; }
.spec li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { font-weight: 500; text-align: right; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: var(--cream); padding: 15px 28px; border-radius: 50px;
  font-size: .9rem; box-shadow: var(--shadow-lg); z-index: 300; opacity: 0;
  transition: transform .45s var(--ease), opacity .45s; display: flex; align-items: center; gap: 10px;
}
.toast.is-show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast::before { content: "✓"; color: #2b2009; background: var(--gold-grad); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; }

/* ---------- WhatsApp chat button ---------- */
.wa-chat {
  position: fixed; bottom: 26px; right: 26px; z-index: 160;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: #25d366;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-chat::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2.4s ease-out infinite;
}
.wa-chat:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 34px rgba(37, 211, 102, .55); }
.wa-chat__tip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--ink); color: var(--cream); font-size: .8rem; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; opacity: 0; transform: translateX(8px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.wa-chat__tip::after { content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--ink); }
.wa-chat:hover .wa-chat__tip { opacity: 1; transform: translateX(0); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 96px; right: 30px; z-index: 150;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem; color: #2b2009;
  background: var(--gold-grad); box-shadow: 0 10px 26px rgba(201, 162, 75, .4);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item:nth-child(2) { border-right: none; }
  .usp__item:nth-child(1), .usp__item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .topbar { display: none; }
  .nav-toggle { display: flex; }
  /* Solid header on mobile: backdrop-filter would trap the fixed off-canvas
     nav inside the header box, so the slide-in panel stays full height here */
  .header { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 6px; padding: 100px 32px 40px; background: var(--cream);
    box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .4s var(--ease); z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.05rem; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 18px; }
  /* Dropdown becomes an inline sub-list inside the mobile panel */
  .nav__item { display: block; width: 100%; }
  .nav__link--parent { width: 100%; }
  .caret { display: none; }
  .nav__dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    min-width: 0; background: transparent; border: none; box-shadow: none; padding: 4px 0 8px 14px;
  }
  .nav__dropdown a { padding: 9px 4px; font-size: .96rem; color: var(--muted); }
  .custom__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .custom__media { order: 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .modal__grid { grid-template-columns: 1fr; }
  .modal__media { max-height: 42vh; }
  .modal__detail { padding: 30px 26px; }
  .modal__box--quote .modal__grid { grid-template-columns: 1fr; }
  .quote__aside { min-height: 150px; max-height: 24vh; }
  .quote__panel { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .checklist { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__bar-inner { flex-direction: column; gap: 8px; text-align: center; }
  .slider__arrow { width: 40px; height: 40px; font-size: 1.4rem; }
  .slider__arrow--prev { left: 10px; }
  .slider__arrow--next { right: 10px; }
  .card__body { padding: 14px 14px 18px; }
  .card__name { font-size: .98rem; }
}

@media (max-width: 420px) {
  .products__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .brand__text { font-size: 1.2rem; }
}

/* ====================================================================
   Product detail page
   ==================================================================== */
.crumbs { display: flex; align-items: center; gap: 10px; padding: 26px 24px 0; font-size: .82rem; color: var(--muted); flex-wrap: wrap; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--gold-deep); }
.crumbs span { color: var(--line); }
.crumbs em { color: var(--ink); font-style: normal; font-weight: 500; }

.detail { padding: 34px 0 40px; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.detail__stage {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow-sm);
}
.detail__stage img { width: 100%; height: 100%; object-fit: cover; }
.detail__thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb {
  width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--cream); border: 2px solid var(--line); transition: border-color .3s, transform .3s; padding: 0;
}
.thumb:hover { transform: translateY(-2px); }
.thumb.is-active { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail__info .eyebrow { margin-bottom: 12px; }
.detail__info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; margin-bottom: 10px; }
.detail__tagline { font-family: var(--font-head); font-style: italic; font-size: 1.15rem; color: var(--gold-deep); margin-bottom: 16px; }
.detail__desc { font-size: 1rem; color: var(--muted); margin-bottom: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.chip {
  font-size: .78rem; font-weight: 500; letter-spacing: .03em;
  padding: 7px 15px; border-radius: 50px; color: var(--ink);
  background: var(--cream-2); border: 1px solid var(--line);
}

.detail__info .spec { margin-bottom: 30px; }
.detail__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Features */
.detail__features { background: var(--cream-2); }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.feature__ico {
  width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 16px;
  font-size: 1.2rem; color: var(--gold-deep); background: var(--cream); border: 1px solid var(--line); border-radius: 50%;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { font-size: .9rem; color: var(--muted); }

/* Spec sheet image */
.detail__sheet-img {
  max-width: 900px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--white);
}
.detail__sheet-img img { width: 100%; display: block; }

/* Related */
.detail__related { background: var(--cream-2); }

@media (max-width: 860px) {
  .detail__grid { grid-template-columns: 1fr; gap: 30px; }
  .features__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .detail__cta { flex-direction: column; }
  .detail__cta .btn { width: 100%; }
  .thumb { width: 70px; height: 70px; }
}

/* ====================================================================
   Static pages — About & Contact
   ==================================================================== */
.page-hero { padding: 44px 0 6px; }
.page-hero .crumbs { padding: 0 0 16px; }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero__sub { max-width: 640px; color: var(--muted); font-size: 1.02rem; }

/* Contact page */
.contact-page__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: start; }
.contact-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.contact__form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.contact__form-card h2 { font-size: 1.5rem; margin-bottom: 24px; }
.contact-quick { display: grid; gap: 12px; margin-top: 20px; }
.contact-quick__item { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }
.contact-quick__item:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-quick__ico { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--gold-deep); background: var(--cream); border: 1px solid var(--line); }
.contact-quick__txt b { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-quick__txt span { color: var(--ink); font-weight: 500; }

/* About intro */
.about-intro__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.about-intro__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.about-intro__body h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 12px 0 18px; }
.about-intro__body p { color: var(--muted); margin-bottom: 16px; }
.about-intro__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Values */
.about-values { background: var(--cream-2); }
.values__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process__step { padding: 34px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.process__step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2.2rem; line-height: 1; margin-bottom: 14px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process__step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.process__step p { font-size: .88rem; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--black); position: relative; overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% -10%, rgba(201, 162, 75, .2), transparent 55%); }
.cta-band .container { position: relative; padding: 82px 24px; }
.cta-band h2 { color: var(--cream); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255, 255, 255, .72); max-width: 560px; margin: 0 auto 30px; }
.cta-band__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .contact-page__grid, .about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .about-intro__media { order: -1; max-width: 460px; margin: 0 auto; }
  .values__grid, .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .values__grid, .process { grid-template-columns: 1fr; }
  .about-intro__cta .btn, .cta-band__btns .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
