/* ============================================================
   Yug Enterprises — YUGEDGE Hardware
   Premium light theme · graphite + brushed brass + steel
   ============================================================ */
:root {
  /* Neutrals — warm charcoal, never a cold pure black */
  --ink: #1c1a17;
  --ink-soft: #2e2b26;
  --ink-deep: #131210;
  --steel: #5d5750;
  --text: #423d36;
  --muted: #6f6961;   /* 4.9:1 on ivory — WCAG AA for small text */
  --line: #e3ddd1;
  --line-soft: #efeae0;

  /* Surfaces — warm ivory / champagne, not stark white */
  --bg: #faf7f1;
  --bg-soft: #f2ece1;
  --bg-tint: #e9e2d4;
  --card: #fffdf9;

  /* Brand — brushed brass */
  --gold: #b8862b;
  --gold-light: #dcb45e;
  --gold-dark: #856012;   /* 5.4:1 on ivory — used for all gold-coloured text */
  --gold-wash: rgba(184, 134, 43, .10);

  /* System */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-xs: 0 1px 2px rgba(46, 38, 26, .05);
  --shadow-sm: 0 2px 12px rgba(46, 38, 26, .07);
  --shadow: 0 14px 38px rgba(46, 38, 26, .11);
  --shadow-lg: 0 28px 68px rgba(46, 38, 26, .17);

  --font-head: 'Sora', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;

  /* Layering scale.
     The header creates its own stacking context, so the drawer and hamburger
     z-indexes below are resolved INSIDE it — the header must therefore outrank
     the overlay, otherwise the overlay paints over the open drawer and swallows
     every menu tap. */
  --z-wa: 90;
  --z-overlay: 110;
  --z-header: 120;
  --z-drawer: 1;   /* within .site-header */
  --z-burger: 2;   /* within .site-header, above the drawer */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, a { cursor: pointer; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; letter-spacing: -.015em; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 91%); margin-inline: auto; }
.center { text-align: center; margin-top: 2.4rem; }
.content-narrow { max-width: 780px; margin-inline: auto; }

/* Available to assistive tech, removed from the visual layout. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--gold); color: #fff;
  padding: .6rem 1.2rem; z-index: 200; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.9rem; border-radius: 999px; min-height: 46px;
  font-family: var(--font-body); font-weight: 700; font-size: .94rem; letter-spacing: .01em;
  border: 1.5px solid transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2a1f05; box-shadow: 0 6px 18px rgba(200, 149, 42, .30);
}
.btn-gold:hover { box-shadow: 0 12px 26px rgba(200, 149, 42, .40); }

.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); box-shadow: 0 10px 24px rgba(20, 22, 27, .22); }

.btn-outline { border-color: var(--line); color: var(--ink); background: var(--card); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }

.btn-outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink-deep); color: #b0a99e; font-size: .82rem;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; gap: 1rem; }
.topbar-tagline {
  color: var(--gold-light); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .7rem;
}
.topbar-contact { display: flex; gap: 1.4rem; }
.topbar-contact a { display: inline-flex; align-items: center; gap: .4rem; transition: color var(--dur); }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact svg { flex-shrink: 0; opacity: .8; }

/* ---------- Header ----------
   NOTE: never add backdrop-filter/filter/transform to .site-header —
   it would create a containing block and break the fixed mobile drawer. */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--card);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(20, 22, 27, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 0; gap: 1.5rem; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 50px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  position: relative; color: var(--ink); font-weight: 600; font-size: .95rem;
  padding: .5rem 0; transition: color var(--dur) var(--ease);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-dark); }

.main-nav .nav-cta {
  background: var(--ink); color: #fff; padding: .6rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: .9rem;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--gold); color: #2a1f05; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; background: none; border: 1px solid var(--line);
  border-radius: 12px; padding: 0 10px; z-index: var(--z-burger);
}
.hamburger span {
  display: block; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity 150ms var(--ease), background var(--dur);
}
.hamburger.open { background: var(--ink); border-color: var(--ink); }
.hamburger.open span { background: var(--card); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none; position: fixed; inset: 0; background: rgba(20, 22, 27, .5);
  z-index: var(--z-overlay); opacity: 0; transition: opacity var(--dur) var(--ease);
}
.nav-overlay.show { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(880px 440px at 76% 6%, rgba(184, 134, 43, .22), transparent 62%),
    radial-gradient(720px 520px at 6% 94%, rgba(93, 87, 80, .16), transparent 62%),
    linear-gradient(162deg, #fdfaf4 0%, #f4ecdd 42%, #e8dfcd 100%);
  border-bottom: 1px solid var(--line);
}
/* Fine engineering grid — echoes the precision of the products */
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(28, 26, 23, .04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(28, 26, 23, .04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 22%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 22%, transparent 76%);
}
/* Warm brass hairline sweeping across the top of the hero */
.hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, var(--gold-light) 50%, var(--gold) 78%, transparent);
  opacity: .55;
}
.hero-slide { display: none; background-size: cover; background-position: center; }
.hero-slide.active { display: block; }
.hero-slide.active .hero-content > * { animation: heroUp .6s var(--ease) backwards; }
.hero-slide.active .hero-content > *:nth-child(1) { animation-delay: .02s; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .10s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .18s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .26s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: 3rem; padding: 4.5rem 0 5rem; min-height: 500px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--gold-dark); background: var(--gold-wash);
  border: 1px solid rgba(200, 149, 42, .28);
  padding: .4rem 1rem; border-radius: 999px;
  letter-spacing: .14em; text-transform: uppercase; font-weight: 800; font-size: .7rem;
  margin-bottom: 1.4rem;
}
.hero-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-title {
  font-size: clamp(2.1rem, 4.8vw, 3.55rem); font-weight: 800;
  color: var(--ink); margin-bottom: 1.1rem;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--steel); font-size: 1.08rem; max-width: 33rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: .85rem; flex-wrap: wrap; align-items: center; }

.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card {
  position: relative; background: var(--card); border-radius: 24px; padding: 2.2rem;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  width: min(400px, 100%);
}
.hero-card img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.hero-badge {
  position: absolute; display: flex; align-items: center; gap: .55rem;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; color: var(--ink);
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
.hero-badge-1 { top: 8%; left: -6%; animation: float 5s ease-in-out infinite; }
.hero-badge-2 { bottom: 10%; right: -5%; animation: float 5s ease-in-out infinite 2.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-dots { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 2; }
.hero-dot {
  position: relative; width: 30px; height: 5px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(28, 26, 23, .18); transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}
/* Keeps the slim bar look while giving the control a 44px touch target. */
.hero-dot::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100%; min-width: 44px; height: 44px;
}
.hero-dot:hover { background: rgba(28, 26, 23, .34); }
.hero-dot.active { background: var(--gold); width: 44px; }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: linear-gradient(100deg, var(--ink-deep), var(--ink-soft) 60%, var(--ink));
  padding: 1.15rem 0; border-top: 2px solid var(--gold);
}
.trust-inner { display: flex; justify-content: center; align-items: center; gap: 2.6rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: .6rem; color: #ddd6c9; font-size: .88rem; font-weight: 600; }
.trust-item svg { color: var(--gold-light); flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 4.6rem 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-head.left { text-align: left; margin-inline: 0; }
.section-kicker {
  color: var(--gold-dark); letter-spacing: .18em; text-transform: uppercase;
  font-weight: 800; font-size: .73rem; margin-bottom: .6rem;
}
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.section-sub { color: var(--muted); margin-top: .8rem; }

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.5rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(200, 149, 42, .45); }
.feature-icon {
  display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 14px; background: linear-gradient(140deg, var(--gold-wash), rgba(200, 149, 42, .2));
  border: 1px solid rgba(200, 149, 42, .25); color: var(--gold-dark); margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.feature-card p { font-size: .92rem; color: var(--muted); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.category-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.category-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.category-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-tint); }
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.category-card:hover .category-img img { transform: scale(1.07); }
.category-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.category-body h3 { font-size: 1.08rem; }
.category-link {
  color: var(--gold-dark); font-weight: 700; font-size: .87rem; margin-top: auto;
  display: inline-flex; align-items: center; gap: .35rem;
}
.category-card:hover .category-link { gap: .6rem; }

/* ---------- About blurb ---------- */
.about-blurb-inner { display: grid; grid-template-columns: .95fr 1.05fr; gap: 3.5rem; align-items: center; }
.about-blurb-media { position: relative; }
.about-blurb-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-blurb-media::after {
  content: ''; position: absolute; inset: auto -14px -14px auto; width: 60%; height: 60%;
  border: 2px solid var(--gold); border-radius: var(--radius); z-index: -1;
}
.about-blurb-text h2 { margin-bottom: 1.1rem; }
.about-blurb-text > p { color: var(--muted); margin-bottom: 1.8rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; margin-bottom: 2rem; }
.stat {
  text-align: center; background: var(--card); border-radius: var(--radius-sm);
  padding: 1.1rem .5rem; border: 1px solid var(--line);
}
.stat-value {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem;
  color: var(--gold-dark); font-variant-numeric: tabular-nums;
}
.stat-label { font-size: .76rem; color: var(--muted); font-weight: 600; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.product-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(200, 149, 42, .4); }
.product-img {
  aspect-ratio: 4/3; background: linear-gradient(160deg, #fdfbf6, var(--bg-tint));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; transition: transform .5s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.08); }
.product-body { padding: 1.15rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product-cat {
  align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dark); background: var(--gold-wash); padding: .26rem .7rem; border-radius: 999px;
}
.product-body h3 { font-size: 1.02rem; }
.product-body p { font-size: .88rem; color: var(--muted); }
.cat-block { margin-bottom: 3.6rem; scroll-margin-top: 120px; }
.cat-block:last-child { margin-bottom: 0; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.product-detail-img {
  background: linear-gradient(160deg, #fdfbf6, var(--bg-tint)); border-radius: var(--radius);
  padding: 2.5rem; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.product-detail-img img { width: 100%; object-fit: contain; aspect-ratio: 1; }
.product-detail-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .7rem 0 1rem; }
.product-short { color: var(--steel); margin-bottom: 1.8rem; font-size: 1.02rem; }
.product-detail-info h3 { font-size: 1.05rem; margin-bottom: .8rem; }
.spec-list { margin-bottom: 2rem; }
.spec-list li {
  padding: .6rem 0 .6rem 1.9rem; border-bottom: 1px solid var(--line-soft);
  position: relative; font-size: .94rem;
}
.spec-list li::before {
  content: ''; position: absolute; left: 0; top: .95rem;
  width: 16px; height: 16px; border-radius: 50%; background: var(--gold-wash);
  border: 1px solid rgba(200, 149, 42, .4);
}
.spec-list li::after {
  content: ''; position: absolute; left: 5px; top: 1.22rem;
  width: 5px; height: 8px; border: solid var(--gold-dark); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.product-actions { display: flex; gap: .85rem; flex-wrap: wrap; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background:
    radial-gradient(600px 300px at 15% 110%, rgba(184, 134, 43, .18), transparent 65%),
    linear-gradient(115deg, var(--ink-deep) 45%, var(--ink-soft));
  padding: 4.2rem 0; position: relative; overflow: hidden;
}
.cta-strip::after {
  content: ''; position: absolute; right: -100px; top: -100px; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 180, 94, .30), transparent 66%);
}
.cta-strip-inner { text-align: center; position: relative; z-index: 1; }
.cta-strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.cta-strip p { color: #c2bab0; max-width: 560px; margin: 0 auto 1.9rem; }

/* ---------- Blog cards ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.blog-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.blog-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-tint); }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-body { padding: 1.2rem 1.35rem 1.45rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.blog-date { font-size: .76rem; color: var(--muted); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.blog-body h3 { font-size: 1.02rem; }
.blog-body p { font-size: .88rem; color: var(--muted); }
.blog-link {
  color: var(--gold-dark); font-weight: 700; font-size: .86rem; margin-top: auto;
  display: inline-flex; align-items: center; gap: .35rem;
}
.blog-card:hover .blog-link { gap: .6rem; }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 2.8rem; flex-wrap: wrap; }
.page-num {
  min-width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line); font-weight: 700; background: var(--card);
  transition: all var(--dur) var(--ease);
}
.page-num:hover { border-color: var(--gold); color: var(--gold-dark); }
.page-num.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative; overflow: hidden; padding: 3.8rem 0;
  background:
    radial-gradient(720px 320px at 84% 0%, rgba(184, 134, 43, .20), transparent 62%),
    linear-gradient(150deg, #fdfaf4, #efe7d8);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 28%, var(--gold-light) 50%, var(--gold) 72%, transparent);
  opacity: .5;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); margin-bottom: .55rem; }
.breadcrumb { color: var(--muted); font-size: .88rem; }
.breadcrumb a { color: var(--gold-dark); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- Rich text ---------- */
.rich-text { font-size: 1.03rem; color: var(--text); }
.rich-text p { margin-bottom: 1.15rem; }
.rich-text h2 {
  font-size: 1.42rem; margin: 2.1rem 0 .85rem; padding-left: .9rem;
  border-left: 4px solid var(--gold); line-height: 1.3;
}
.rich-text h3 { font-size: 1.15rem; margin: 1.6rem 0 .6rem; }
.rich-text ul, .rich-text ol { margin: 0 0 1.3rem 1.3rem; }
.rich-text ul { list-style: none; }
.rich-text ul li { position: relative; padding-left: 1.1rem; }
.rich-text ul li::before {
  content: ''; position: absolute; left: 0; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: .5rem; }
.rich-text strong { color: var(--ink); font-weight: 700; }
.rich-text em { color: var(--gold-dark); font-style: italic; }

.post-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.6rem; box-shadow: var(--shadow-sm); }
.post-hero-img img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.post-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.post-cta {
  margin-top: 2.8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap;
}

/* ---------- Founder ---------- */
.founder-card {
  display: flex; gap: 2.8rem; align-items: center; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 2.6rem; box-shadow: var(--shadow-sm);
}
.founder-photo img {
  width: 210px; height: 210px; object-fit: cover; border-radius: 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.founder-designation { color: var(--gold-dark); font-weight: 700; margin-bottom: .9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: start; }
.contact-info h2 { margin: .5rem 0 1rem; }
.contact-info > p { color: var(--muted); margin-bottom: 2rem; }
.contact-list li {
  display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); align-items: flex-start;
}
.contact-ico {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gold-wash); border: 1px solid rgba(200, 149, 42, .25);
  display: flex; align-items: center; justify-content: center; color: var(--gold-dark);
}
.contact-list strong {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 800; margin-bottom: .1rem;
}
.contact-list a, .contact-list span { color: var(--ink); font-weight: 600; }
.contact-list a:hover { color: var(--gold-dark); }

.contact-form-wrap {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 1.4rem; font-size: 1.25rem; }
.form-row { margin-bottom: 1.15rem; }
.form-row label { display: block; font-weight: 700; font-size: .84rem; margin-bottom: .4rem; color: var(--ink); }
.form-row input, .form-row textarea {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 16px; background: var(--bg-soft); color: var(--ink);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.form-row input::placeholder, .form-row textarea::placeholder { color: #a8aeb7; }
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold); background: var(--card);
  box-shadow: 0 0 0 4px var(--gold-wash);
}
.form-success { text-align: center; padding: 2rem 0; }
.form-success-icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%;
  background: #dcfce7; color: #15803d; display: flex; align-items: center; justify-content: center;
}
.form-success h3 { margin-bottom: .7rem; }
.form-success p { color: var(--muted); margin-bottom: 1.6rem; }
.map-embed iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer-cta { background: linear-gradient(120deg, var(--gold-light), var(--gold)); padding: 2.8rem 0; }
.footer-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.footer-cta h2 { font-size: 1.5rem; color: #2a1f05; }
.footer-cta p { color: rgba(42, 31, 5, .78); font-weight: 600; }
.footer-cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.footer-cta .btn-dark { background: var(--ink); color: #fff; }
.footer-cta .btn-outline { background: transparent; border-color: rgba(42, 31, 5, .4); color: #2a1f05; }
.footer-cta .btn-outline:hover { background: rgba(255, 255, 255, .28); border-color: #2a1f05; color: #2a1f05; }

.site-footer {
  background:
    radial-gradient(700px 320px at 88% 0%, rgba(184, 134, 43, .13), transparent 62%),
    linear-gradient(170deg, var(--ink-soft), var(--ink-deep));
  color: #b0a99e;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.8rem; padding: 3.8rem 0 2.6rem; }
.footer-logo { height: 46px; width: auto; margin-bottom: 1.1rem; }
.footer-about p { font-size: .9rem; line-height: 1.7; }
.footer-col h3 { color: #fff; font-size: .95rem; margin-bottom: 1.15rem; letter-spacing: .03em; }
.footer-col ul li { margin-bottom: .6rem; font-size: .92rem; }
.footer-col a { transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.55; }
.footer-contact svg { flex-shrink: 0; margin-top: .28rem; color: var(--gold); }
.social-links { display: flex; gap: .6rem; margin-top: 1.4rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); color: #d3d7de;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social-links a:hover { background: var(--gold); color: #2a1f05; transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.2rem 0; font-size: .84rem; text-align: center;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 24px; z-index: var(--z-wa);
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, .42);
  animation: waPulse 2.6s infinite;
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.09); }
@keyframes waPulse {
  0%   { box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,.34); }
  70%  { box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,.42), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- 404 ---------- */
.notfound { padding: 6rem 0; }
.notfound-code {
  font-family: var(--font-head); font-size: 6rem; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--gold-dark), var(--gold-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.notfound h1 { margin: .7rem 0; }
.notfound p { color: var(--muted); margin-bottom: 1.8rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .category-grid, .product-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 3.6rem 0 4.4rem; }
  .hero-kicker { margin-inline: auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
  .about-blurb-inner, .product-detail, .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Mobile drawer navigation — breakpoint covers large phones and tablets */
@media (max-width: 991px) {
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar-contact { gap: 1rem; font-size: .8rem; }
  .brand-logo { height: 42px; }

  .hamburger { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: 0;
    height: 100vh; height: 100dvh;
    width: min(320px, 86vw);
    background: var(--card); z-index: var(--z-drawer);
    /* sits above the dimmed overlay because .site-header outranks it */
    padding: 5.6rem 1.6rem 2rem;
    transform: translateX(102%);
    transition: transform 300ms var(--ease);
    overflow-y: auto; -webkit-overflow-scrolling: touch;
    box-shadow: -16px 0 48px rgba(20, 22, 27, .18);
    visibility: hidden;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a {
    display: block; padding: 1.05rem .3rem; font-size: 1.05rem; min-height: 48px;
  }
  .main-nav a::after { display: none; }
  .main-nav a.active { color: var(--gold-dark); }
  .main-nav .nav-cta-item { border-bottom: 0; margin-top: 1.4rem; }
  .main-nav .nav-cta { display: block; text-align: center; padding: .95rem 1.4rem; }
  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.show { pointer-events: auto; }
}

@media (max-width: 720px) {
  .section { padding: 3.2rem 0; }
  .section-head { margin-bottom: 2.2rem; }
  .feature-grid, .category-grid, .product-grid, .blog-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .founder-card { flex-direction: column; text-align: center; padding: 1.8rem; }
  .footer-cta-inner { flex-direction: column; text-align: center; }
  .post-cta { flex-direction: column; text-align: center; }
  .contact-form-wrap { padding: 1.5rem; }
  .product-detail-img { padding: 1.5rem; }
  .trust-inner { gap: 1.2rem 1.8rem; }
  .trust-item { font-size: .82rem; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 18px; }
  .btn { width: 100%; }
  .hero-actions .btn, .product-actions .btn, .footer-cta-actions .btn { width: auto; flex: 1 1 auto; }
}

@media (max-width: 400px) {
  .btn { padding: .8rem 1.3rem; font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
