/* =========================================================
   Dutoh Lubricants – shared stylesheet
   Palette taken from the reference site's Elementor kit
   ========================================================= */
:root {
  --black: #000000;
  --ink: #111111;
  --charcoal: #1a1a1a;
  --text: #333333;
  --muted: #6f6d6a;
  --light: #f2f2f2;
  --white: #ffffff;
  --gold: #f8b042;        /* primary accent */
  --gold-light: #ffb246;  /* hover / highlight */

  --font-head: "Montserrat", "Arial", sans-serif;
  --font-body: "Poppins", "Helvetica", sans-serif;

  --container: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 .5em;
  color: var(--black);
  letter-spacing: .01em;
}
p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  text-transform: uppercase;
}
.section-title .accent { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 16px 34px;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold); color: var(--black);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark:hover { background: var(--charcoal); border-color: var(--charcoal); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 8px;
}
.link-arrow:hover { color: var(--gold-light); }
.link-arrow:hover .arrow { transform: translateX(4px); }
.link-arrow .arrow { transition: transform .25s var(--ease); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-head);
  font-size: .75rem; font-weight: 700; letter-spacing: .2em;
}
.topbar .container { display: flex; justify-content: flex-end; align-items: center; min-height: 38px; }
.topbar a:hover { text-decoration: underline; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }

.logo { display: flex; align-items: center; gap: 12px; color: var(--white); }
.logo img { height: 52px; width: auto; }
.logo-mark {
  width: 46px; height: 46px; border: 2px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; fill: var(--gold); }
.logo-text { font-family: var(--font-head); font-weight: 800; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.logo-text span { display: block; font-size: 1.15rem; }
.logo-text small { display: block; font-size: .62rem; letter-spacing: .42em; color: var(--gold); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: 6px;
  padding: 30px 16px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--white);
  transition: color .2s;
}
.nav > ul > li > a:hover, .nav > ul > li > a.active { color: var(--gold); }
.nav .caret { width: 10px; height: 10px; fill: currentColor; transition: transform .2s; }
.nav .has-sub:hover .caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  list-style: none; margin: 0; padding: 10px 0;
  background: var(--black);
  border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block; padding: 10px 22px; color: var(--white);
  font-size: .9rem; transition: color .2s, padding .2s;
}
.submenu a:hover { color: var(--gold); padding-left: 28px; }

.search-toggle, .menu-toggle {
  background: none; border: 0; color: var(--white); cursor: pointer; padding: 10px;
  display: grid; place-items: center;
}
.search-toggle svg, .menu-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.search-toggle:hover { color: var(--gold); }
.menu-toggle { display: none; }

.search-bar {
  background: var(--charcoal);
  max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
}
.search-bar.open { max-height: 90px; }
.search-bar form { display: flex; gap: 10px; padding: 18px 0; }
.search-bar input {
  flex: 1; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.3);
  color: var(--white); font: inherit; padding: 8px 2px; outline: none;
}
.search-bar input:focus { border-color: var(--gold); }
.search-bar button { padding: 10px 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(calc(100vh - 84px), 860px);
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(248,176,66,.22), transparent 55%),
    linear-gradient(29deg, #000 0%, #1b1a18 60%, #2b2925 100%);
}
.hero video, .hero .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.25) 100%);
}
.hero > .container { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 140px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 5.5vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--gold); display: block; }
.hero p.lead { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 300; max-width: 560px; margin-bottom: 36px; color: rgba(255,255,255,.88); }

.hero-features {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(0,0,0,.7);
  border-top: 1px solid rgba(248,176,66,.4);
  backdrop-filter: blur(6px);
}
.hero-features .container { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 0; padding-bottom: 0; }
.feature {
  display: flex; align-items: center; gap: 16px; padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.feature:last-child { border-right: 0; }
.feature svg { width: 40px; height: 40px; flex-shrink: 0; fill: none; stroke: var(--gold); stroke-width: 1.6; }
.feature h3 {
  margin: 0; color: var(--white); font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; font-weight: 700;
}
.feature h3 span { color: var(--gold); display: block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: var(--white); padding: 130px 0 110px; overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(248,176,66,.25), transparent 55%),
    linear-gradient(29deg, #000 0%, #1b1a18 70%, #2b2925 100%);
}
.page-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .35; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.5rem); text-transform: uppercase; }
.breadcrumb { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--black); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head .rule { width: 70px; height: 3px; background: var(--gold); margin: 18px auto 0; }

/* ---------- Product category grid ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--black); color: var(--white);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0,0,0,.25); }
.product-card .media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--charcoal); }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.product-card:hover .media img { transform: scale(1.05); }
.product-card .body { padding: 22px 28px; border-top: 3px solid var(--gold); }
.product-card h3 { color: var(--white); font-size: 1.6rem; margin: 0; transition: color .2s; }
.product-card:hover h3 { color: var(--gold); }

/* ---------- Split / about block ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 460px;
  background:
    url("../images/about.jpg") center / cover,
    radial-gradient(circle at 30% 30%, rgba(248,176,66,.35), transparent 60%),
    linear-gradient(29deg, #000, #2b2925);
}
.split-media .badge {
  position: absolute; left: 0; bottom: 0;
  background: var(--gold); color: var(--black);
  padding: 26px 34px; font-family: var(--font-head);
}
.split-media .badge strong { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.split-media .badge span { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.split-copy p { font-size: 1.05rem; }
.split-copy .big {
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.5; color: var(--black);
}
.section--dark .split-copy .big { color: var(--white); }
.quote-strong { font-family: var(--font-head); font-weight: 800; color: var(--gold); font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; margin: 10px 0 30px; }

/* ---------- Featured product ---------- */
.featured {
  position: relative; overflow: hidden;
  background: linear-gradient(29deg, #000 0%, #1b1a18 100%);
  color: var(--white);
}
.featured::before {
  content: "0W-8"; position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(8rem, 22vw, 20rem);
  color: rgba(248,176,66,.06); line-height: 1; pointer-events: none;
}
.featured .split { position: relative; }
.featured h2 { color: var(--white); }
.product-shot {
  width: 100%; aspect-ratio: 3 / 4; max-width: 400px; margin: 0 auto;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 55%, rgba(248,176,66,.35), transparent 62%);
}
.product-shot img { max-height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.bottle {
  width: 200px; height: 380px; position: relative;
  background: linear-gradient(90deg, #0a0a0a, #2a2a2a 45%, #0a0a0a);
  border-radius: 18px 18px 10px 10px;
  box-shadow: 0 30px 50px rgba(0,0,0,.6);
}
.bottle::before {
  content: ""; position: absolute; top: -14%; left: 30%; width: 40%; height: 15%;
  background: var(--gold); border-radius: 6px 6px 0 0;
}
.bottle .label {
  position: absolute; left: 10%; right: 10%; top: 28%; bottom: 22%;
  background: var(--gold); color: var(--black); border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-head); font-weight: 800; line-height: 1.1; padding: 8px;
}
.bottle .label small { font-size: .55rem; letter-spacing: .22em; }
.bottle .label strong { font-size: 1.5rem; }
.spec-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); }
.spec-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; fill: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.gallery figure {
  margin: 0; overflow: hidden; border-radius: var(--radius); min-height: 380px;
  background-color: var(--charcoal); background-size: cover; background-position: center;
  transition: transform .6s var(--ease), filter .6s var(--ease);
  filter: grayscale(.25);
}
.gallery figure:hover { transform: translateY(-6px); filter: none; }
.g1 { background-image: url("../images/world-1.jpg"), linear-gradient(160deg, #3a352c, #000); }
.g2 { background-image: url("../images/world-2.jpg"), linear-gradient(160deg, #2b2925, #000); }
.g3 { background-image: url("../images/world-3.jpg"), linear-gradient(160deg, #36302a, #000); }

/* ---------- CTA ---------- */
.cta { background: var(--gold); color: var(--black); padding: 80px 0; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border: 60px solid rgba(0,0,0,.06); border-radius: 50%;
}
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; margin-bottom: 8px; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 560px; }

/* ---------- Values / stats (About) ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: var(--white); padding: 42px 34px; border-radius: var(--radius);
  border-bottom: 3px solid transparent;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.value:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.value .num { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.value h3 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.value p { margin: 0; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--gold); line-height: 1; }
.stat span { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: rgba(255,255,255,.72); padding: 90px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; /* was 1.3fr 1fr 1fr 1.2fr with Products + Contact columns */ padding-bottom: 60px; }
.site-footer h4 { color: var(--white); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.site-footer address { font-style: normal; line-height: 1.9; }
.footer-brand p { margin: 22px 0 26px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  display: grid; place-items: center; transition: all .25s;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials a:hover svg { fill: var(--black); }
.socials svg { width: 16px; height: 16px; fill: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom nav { display: flex; gap: 10px; }
.footer-bottom nav span { color: rgba(255,255,255,.3); }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--gold); color: var(--black); cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 50px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav > ul {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; padding: 10px 24px 40px;
    background: var(--black); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .nav.open > ul { transform: none; }
  .nav > ul > li > a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); justify-content: space-between; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border-top: 0; padding: 0 0 0 14px; max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .has-sub.open .submenu { max-height: 400px; }
  .has-sub:hover .submenu { max-height: 0; }
  .has-sub.open:hover .submenu { max-height: 400px; }
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split-media { min-height: 340px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g1 { grid-column: span 2; }
  .values { grid-template-columns: 1fr; }
  .cta .container { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .topbar .container { justify-content: center; }
  .products-grid { grid-template-columns: 1fr; }
  .hero > .container { padding-bottom: 250px; }
  .hero video, .hero .hero-img { object-position: 78% center; }
  .hero-features .container { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px 4px; }
  .feature:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g1 { grid-column: auto; }
  .gallery figure { min-height: 260px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-text span { font-size: 1rem; }
}
