/* ==========================================================================
   YH WHOLESALERS LIMITED — styles
   ========================================================================== */

:root {
  --navy: #0F1B3D;
  --navy-2: #16264f;
  --navy-3: #22346b;
  --amber: #F59E0B;
  --amber-dark: #D97706;
  --orange: #FF7A1A;
  --green: #0E9F6E;
  --indigo: #2E3A9E;
  --bg: #F7F5F0;
  --white: #fff;
  --text: #1B2440;
  --muted: #55607e;
  --line: #E4E0D6;

  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 27, 61, .10);
  --shadow-lg: 0 24px 60px rgba(15, 27, 61, .18);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

main { overflow-x: clip; }

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

a { color: var(--indigo); transition: color .2s ease; }
a:hover { color: var(--amber-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 6vw, 4rem); font-weight: 800; overflow-wrap: break-word; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 16px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--navy); padding: 10px 16px;
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber-dark); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border: 2px solid var(--amber); border-radius: 999px;
  background: var(--amber); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover {
  background: var(--orange); border-color: var(--orange); color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 158, 11, .35);
}
.btn-small { padding: 10px 20px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--navy); box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .25); background: rgba(15, 27, 61, .96); backdrop-filter: blur(8px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; line-height: 1; display: flex; flex-direction: column; gap: 4px; }
.brand-text small { font-weight: 600; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: transparent;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--navy); padding: 8px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: none;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 12px 0; color: rgba(255, 255, 255, .85);
  text-decoration: none; font-weight: 500; position: relative;
}
.site-nav a:not(.btn):hover { color: var(--amber); }
.site-nav .btn { margin-top: 8px; width: 100%; }

.site-nav.is-static { display: block; position: static; background: none; padding: 0; border: 0; }
.site-nav.is-static .btn { margin: 0; width: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(46, 58, 158, .55), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(14, 159, 110, .22), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 56px 0 120px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 56px));
}
.hero h1 { color: var(--white); }
.hero .accent {
  background: linear-gradient(90deg, #FBBF24, #FF7A1A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .eyebrow { color: var(--amber); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.lead { font-size: 1.15rem; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.hero-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  padding: 6px 14px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
}
.hero-tags li::before { content: '✓'; color: var(--green); margin-right: 8px; font-weight: 700; }

.hero-visual { position: relative; max-width: 480px; margin: 0 auto; width: 100%; }
.crates { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--navy); padding: 12px 16px;
  border-radius: 14px; box-shadow: var(--shadow-lg);
}
.float-card svg { color: var(--green); flex: none; }
.float-card strong { display: block; font-family: var(--font-head); font-size: .95rem; line-height: 1.2; }
.float-card span { font-size: .78rem; color: var(--muted); }
.float-card-a { top: 4%; right: 0; animation: float 6s ease-in-out infinite reverse; }
.float-card-b { bottom: 8%; left: 0; animation: float 8s ease-in-out infinite; }
.float-card-b svg { color: var(--amber-dark); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Strip ---------- */
.strip { margin-top: -56px; position: relative; z-index: 2; background: var(--amber); overflow: hidden; transform: rotate(-1.2deg) scale(1.03); }
.strip-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.strip-track span {
  padding: 14px 28px; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy); white-space: nowrap;
}
.strip-track span::after { content: '◆'; margin-left: 56px; color: rgba(15, 27, 61, .45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.section-head-light h2 { color: var(--white); }

/* About */
.about-grid { display: grid; gap: 48px; align-items: center; }
.about-media { position: relative; max-width: 480px; }
.image-placeholder { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute; right: 12px; bottom: 24px; max-width: 220px;
  background: var(--amber); color: var(--navy); padding: 16px 20px;
  border-radius: 16px; box-shadow: var(--shadow-lg);
}
.badge-title { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; line-height: 1.1; }
.badge-text { display: block; font-size: .85rem; line-height: 1.4; margin-top: 4px; }
.facts { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 500; }

/* Offer */
.offer { background: var(--white); }
.cards { display: grid; gap: 24px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--amber); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 20px;
  display: grid; place-items: center; background: var(--navy); color: var(--amber);
  transition: transform .3s ease;
}
.icon svg { width: 28px; height: 28px; }
.card:hover .icon { transform: rotate(-6deg) scale(1.06); }
.card:nth-child(3n+2) .icon { background: var(--green); color: var(--white); }
.card:nth-child(3n) .icon { background: var(--indigo); color: var(--white); }

/* Process */
.process { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.process::before {
  content: ''; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px;
  background: radial-gradient(circle, rgba(245, 158, 11, .2), transparent 65%);
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; position: relative; }
.step {
  padding: 28px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .3s ease, transform .3s ease;
}
.step:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.step h3 { color: var(--white); }
.step p { color: rgba(255, 255, 255, .72); margin: 0; }
.step-num {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 2.8rem; line-height: 1;
  margin-bottom: 16px; background: linear-gradient(90deg, #FBBF24, #FF7A1A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Principles */
.principles-grid { display: grid; gap: 40px; align-items: start; }
.principles .section-head { margin-bottom: 0; }
.principle-list { display: grid; gap: 20px; }
.principle {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--white); padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 6px solid var(--amber);
}
.principle:nth-child(2) { border-left-color: var(--green); margin-left: 0; }
.principle:nth-child(3) { border-left-color: var(--indigo); }
.principle h3 { margin-bottom: 6px; }
.principle p { margin: 0; color: var(--muted); }
.dot { flex: none; width: 14px; height: 14px; border-radius: 50%; margin-top: 8px; }
.dot-amber { background: var(--amber); }
.dot-green { background: var(--green); }
.dot-indigo { background: var(--indigo); }

/* FAQ */
.faq { background: var(--white); }
.faq-inner { display: grid; gap: 32px; }
.faq .section-head { margin-bottom: 0; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: 1.05rem; }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; font-family: var(--font-head); font-weight: 700; color: var(--navy);
  transition: color .2s ease;
}
.acc-btn:hover { color: var(--amber-dark); }
.acc-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.acc-icon::before, .acc-icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px;
  background: var(--navy); transform: translate(-50%, -50%); transition: transform .25s ease;
}
.acc-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--amber); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: translate(-50%, -50%) rotate(0); }
.acc-panel { padding: 0 44px 20px 0; color: var(--muted); animation: fadeDown .3s ease; }
.acc-panel[hidden] { display: none; }
.acc-panel p { margin: 0; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Contact */
.contact { background: var(--navy); color: var(--white); clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); padding-top: 128px; }
.contact h2 { color: var(--white); }
.contact .eyebrow { color: var(--amber); }
.contact-grid { display: grid; gap: 48px; align-items: start; }
.contact-info > p { color: rgba(255, 255, 255, .75); }
.contact-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { color: var(--amber); flex: none; margin-top: 3px; }
.contact-list address, .contact-list span { font-style: normal; color: rgba(255, 255, 255, .9); }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255, 255, 255, .14); max-width: 440px; }
.map-card svg { width: 100%; height: 180px; }
.map-card span {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: var(--white); color: var(--navy); font-size: .8rem; font-weight: 600;
}

.contact-form {
  background: var(--white); color: var(--text); padding: 32px 24px;
  border-radius: 24px; box-shadow: var(--shadow-lg);
}
.contact-form h3 { margin-bottom: 24px; font-size: 1.5rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input[type="text"], .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; color: var(--text);
  background: var(--bg); border: 2px solid var(--line); border-radius: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(245, 158, 11, .2);
}
.field.has-error input[type="text"], .field.has-error textarea { border-color: #D93025; }
.error { color: #B3261E; font-size: .82rem; margin: 6px 0 0; min-height: 0; }
.error:empty { display: none; }
.field-check { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--green); }
.field-check label { font-weight: 400; margin: 0; font-size: .88rem; color: var(--muted); }
.field-check .error { grid-column: 1 / -1; }
.form-status { margin: 16px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 12px 16px; border-radius: 12px; background: #E3F6EE; color: #076443; }

/* ---------- Footer ---------- */
.site-footer { background: #0A1330; color: rgba(255, 255, 255, .75); padding-top: 56px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 40px; }
.footer-note { margin: 16px 0 0; max-width: 300px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-bottom { padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-only { border-top: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 0; }
.page-legal .site-footer { padding-top: 32px; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }
.js-reveal .card.reveal.is-visible:hover { transform: translateY(-6px); }

/* ---------- Legal page ---------- */
.legal-hero { background: var(--navy); color: var(--white); padding: 56px 0 64px; }
.legal-hero h1 { color: var(--white); font-size: clamp(1.6rem, 6.4vw, 3rem); overflow-wrap: anywhere; }
.legal-hero .lead { margin-bottom: 8px; }
.legal-date { font-size: .9rem; color: var(--amber); margin: 0; }
.legal-layout { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 80px; }
.legal-toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; align-self: start; }
.toc-title { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.legal-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: .92rem; }
.legal-toc a { text-decoration: none; color: var(--muted); }
.legal-toc a:hover { color: var(--amber-dark); }
.legal-content { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; }
.legal-content section { padding: 8px 0 24px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.legal-content section:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.legal-content h2 { font-size: 1.35rem; }
.legal-content .en { font-weight: 500; color: var(--muted); font-size: .9em; }
.legal-content ul { padding-left: 22px; margin: 0 0 16px; }
.legal-content li { margin-bottom: 8px; }
.legal-address { font-style: normal; padding: 16px 20px; background: var(--bg); border-left: 4px solid var(--amber); border-radius: 8px; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .section { padding: 112px 0; }
  .hero { padding: 72px 0 140px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1.2fr 1fr; }
  .contact-form { padding: 40px; }
  .legal-content { padding: 48px; }
  .facts > div { grid-template-columns: 160px 1fr; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open {
    position: static; display: block; background: none; padding: 0; border: 0;
  }
  .site-nav ul { flex-direction: row; align-items: center; gap: 32px; }
  .site-nav a:not(.btn) { padding: 6px 0; font-size: .95rem; }
  .site-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
    background: var(--amber); transition: width .25s ease;
  }
  .site-nav a:not(.btn):hover::after { width: 100%; }
  .site-nav .btn { margin: 0; width: auto; }

  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .hero { padding: 96px 0 160px; }

  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; }
  .about-badge { right: -40px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .card:nth-child(even) { transform: translateY(24px); }
  .card:nth-child(even):hover { transform: translateY(18px); }
  .js-reveal .card.reveal.is-visible:nth-child(even) { transform: translateY(24px); }
  .js-reveal .card.reveal.is-visible:nth-child(even):hover { transform: translateY(18px); }
  .offer .cards { padding-bottom: 24px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:nth-child(2) { margin-top: 24px; }
  .step:nth-child(3) { margin-top: 48px; }
  .step:nth-child(4) { margin-top: 72px; }
  .principles-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .principle:nth-child(2) { margin-left: 40px; }
  .faq-inner { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .legal-layout { grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
  .legal-toc { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
}

.contact-list a { color: rgba(255, 255, 255, .9); text-decoration: underline; text-underline-offset: 3px; transition: color .2s ease; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--amber); }
.footer-email { display: block; margin-top: 8px; overflow-wrap: anywhere; }
