/* =========================================================
   M/S DE LUBRICANTS — main stylesheet
   Modern industrial single-page site
   ========================================================= */

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --slate: #1f1f1f;
  --slate-2: #2a2a2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-dark: rgba(0, 0, 0, 0.08);
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --white: #ffffff;
  --muted: #6b6b6b;
  --muted-light: #9a9a9a;
  --accent: #f59e0b;
  --accent-2: #d97706;
  --accent-soft: #fbe6b4;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.18);

  --container: 1240px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 84px 0;
  position: relative;
}
@media (min-width: 768px) { .section { padding: 110px 0; } }
@media (min-width: 1024px) { .section { padding: 140px 0; } }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding: 8px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.08);
  margin-bottom: 22px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  color: var(--ink);
}
.section-title .accent { color: var(--accent-2); }
.section-title .italic { font-style: italic; font-weight: 500; }

.section-head {
  max-width: 800px;
  margin-bottom: 64px;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
  margin: 0 0 22px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 1024px) {
  .grid-2 { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .grid-2.reverse > *:first-child { order: 2; }
  .grid-2.reverse > *:last-child { order: 1; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease, border-color .25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn span {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover span { transform: translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: #1a1207;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  background: var(--accent-2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--accent-2);
  color: var(--white);
  transform: translateY(-2px);
}

.btn.full { width: 100%; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 1000;
  transition: width 0.05s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 14px;
}
.brand-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted-light);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.85);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-links a.nav-privacy {
  color: var(--accent);
}
.nav-links a.nav-privacy:hover { color: var(--accent-2); background: rgba(245,158,11,0.1); }

.header-cta { display: none; }

@media (min-width: 1024px) {
  .nav-links { display: inline-flex; }
  .header-cta { display: inline-flex; }
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 24px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu a {
  color: var(--white);
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .mobile-cta { margin-top: 18px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 50px);
  padding-bottom: 70px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%) contrast(1.05);
  transform: scale(1.05);
  animation: heroPan 30s ease-in-out infinite alternate;
}
@keyframes heroPan {
  from { transform: scale(1.05) translateX(0); }
  to   { transform: scale(1.12) translateX(-2%); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(245, 158, 11, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 70%, var(--black) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245,158,11,0.18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.45); }
  50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero-title .accent { color: var(--accent); }
.hero-title .italic { font-style: italic; font-weight: 500; color: rgba(255,255,255,0.78); }

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255,255,255,0.78);
  max-width: 55ch;
  margin: 0 0 38px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 70px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  max-width: 760px;
}
.hero-stats > div { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stats span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }

.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--accent);
  color: var(--black);
  padding: 14px 0;
  overflow: hidden;
  z-index: 3;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.marquee-track span { padding: 0 18px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.section-about { background: var(--paper); }

.check-list {
  margin: 30px 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: #2b2b2b;
}
.check-list li span {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  font-weight: 800;
  font-size: 13px;
  flex: 0 0 24px;
}

.about-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--slate);
}
.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.media-card:hover img { transform: scale(1.06); }
.media-card.lg {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}
.media-card.sm {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
@media (min-width: 640px) {
  .media-card.lg { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .media-card.sm { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}
@media (min-width: 1024px) {
  .about-media {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }
  .media-card.lg {
    grid-column: 1 / -1;
    grid-row: span 2;
    aspect-ratio: auto;
  }
  .media-card.sm {
    grid-column: 1 / -1;
    grid-row: span 1;
    aspect-ratio: auto;
  }
}
.media-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0,0,0,0.6);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

/* ---------- Categories ---------- */
.section-categories {
  background: var(--ink);
  color: var(--paper);
}
.section-categories .section-title { color: var(--paper); }
.section-categories .section-tag {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--accent);
}
.section-categories .lead { color: rgba(255,255,255,0.7); }

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.cat-card {
  background: var(--slate);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,158,11,0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.cat-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
  opacity: 0.92;
}
.cat-card:hover .cat-img img { transform: scale(1.08); opacity: 1; }
.cat-body { padding: 26px 26px 30px; }
.cat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.cat-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 10px 0 12px;
  letter-spacing: -0.015em;
  color: var(--white);
}
.cat-body p {
  color: rgba(255,255,255,0.72);
  font-size: 14.5px;
  margin: 0 0 18px;
}
.cat-body ul {
  display: grid;
  gap: 8px;
}
.cat-body ul li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding-left: 18px;
}
.cat-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 2px;
}

/* ---------- Split / Automotive ---------- */
.section-split { background: var(--paper); }

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.split-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease;
}
.split-media:hover img { transform: scale(1.05); }
.split-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 16px 22px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.split-badge strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.split-badge span { font-size: 12.5px; color: rgba(255,255,255,0.75); }
@media (min-width: 1024px) { .split-media { aspect-ratio: 4 / 5; } }

.feature-rows {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.feature-row {
  padding: 22px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: padding-left .3s ease;
}
.feature-row:hover { padding-left: 8px; }
.feature-row h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Industrial ---------- */
.section-industrial { background: var(--paper-2); }

.industry-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }

.ind-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s ease, box-shadow .35s ease;
  display: flex;
  flex-direction: column;
}
.ind-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.ind-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.ind-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.ind-card:hover .ind-img img { transform: scale(1.08); }
.ind-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  margin: 22px 24px 10px;
}
.ind-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 24px 26px;
}

/* ---------- Quality ---------- */
.section-quality {
  background: var(--black);
  color: var(--white);
}
.section-quality .section-title { color: var(--white); }
.section-quality .section-tag {
  background: rgba(245,158,11,0.14);
  border-color: rgba(245,158,11,0.4);
  color: var(--accent);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .q-feature.big { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .q-feature.big { grid-column: 1 / span 2; grid-row: span 1; }
}

.q-feature {
  background: var(--slate);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, border-color .35s ease;
}
.q-feature:hover {
  transform: translateY(-5px);
  border-color: rgba(245,158,11,0.35);
}
.q-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}
.q-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
  opacity: 0.92;
}
.q-feature:hover .q-img img { transform: scale(1.06); opacity: 1; }
.q-body { padding: 24px 26px 30px; }
.q-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}
.q-body h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 8px 0 10px;
  letter-spacing: -0.015em;
  color: var(--white);
}
.q-body p {
  color: rgba(255,255,255,0.72);
  margin: 0;
  font-size: 14.5px;
}

/* ---------- Benefits ---------- */
.section-benefits { background: var(--paper); }

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: var(--shadow-sm);
}
.benefit:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.benefit-img {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
}
.benefit-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.benefit:hover .benefit-img img { transform: scale(1.07); }
.benefit h4 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  margin: 0 0 6px;
}
.benefit p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Contact ---------- */
.section-contact {
  background: var(--ink);
  color: var(--white);
}
.section-contact .section-title { color: var(--white); }
.section-contact .section-tag {
  background: rgba(245,158,11,0.14);
  border-color: rgba(245,158,11,0.4);
  color: var(--accent);
}
.section-contact .lead { color: rgba(255,255,255,0.72); }

.contact-blocks {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}
.contact-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
  color: var(--white);
}
.contact-block:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.35);
  transform: translateY(-2px);
}
.cb-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--black);
  border-radius: 12px;
  font-size: 20px;
  flex: 0 0 46px;
}
.contact-block span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.contact-block strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

.contact-form {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}
.contact-form-img {
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #111;
}
.contact-form-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.contact-form-body { padding: 28px; }
.contact-form-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 4px;
  letter-spacing: -0.015em;
}
.form-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 14.5px;
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  padding: 13px 14px;
  border: 1.5px solid #e2e0d8;
  background: var(--paper);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 96px; }

.form-status {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--accent-2);
  font-weight: 600;
  min-height: 20px;
}
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.78);
  padding: 70px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.brand-footer { color: var(--white); margin-bottom: 18px; }
.footer-about {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  max-width: 36ch;
  margin: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 64px; } }

.site-footer h5 {
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin: 0 0 18px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a {
  color: rgba(255,255,255,0.7);
  font-size: 14.5px;
  transition: color .25s ease;
}
.site-footer ul a:hover { color: var(--accent); }
.contact-list li { font-size: 14.5px; line-height: 1.6; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-bottom .footer-privacy {
  color: var(--accent);
  font-weight: 600;
}
.footer-bottom .footer-privacy:hover { color: var(--accent-2); }
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--black);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(245,158,11,0.4);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .3s ease;
  z-index: 90;
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover { background: var(--accent-2); color: var(--white); transform: translateY(-3px); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s ease, transform .9s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Privacy policy page ---------- */
.policy-hero {
  background: var(--black);
  color: var(--white);
  padding: calc(var(--header-h) + 70px) 0 70px;
  position: relative;
  overflow: hidden;
}
.policy-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(245,158,11,0.16), transparent 55%),
    linear-gradient(180deg, rgba(10,10,10,0.4), rgba(10,10,10,1));
  pointer-events: none;
}
.policy-hero .container { position: relative; }
.policy-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
}
.policy-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 60ch;
}
.policy-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.policy-body {
  background: var(--paper);
  padding: 70px 0 100px;
}
.policy-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: #2a2a2a;
}
.policy-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 50px 0 12px;
  letter-spacing: -0.015em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 30px 0 8px;
  color: var(--ink);
}
.policy-content p { margin: 0 0 16px; }
.policy-content ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 18px;
  display: grid;
  gap: 6px;
}
.policy-content a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-content a:hover { color: var(--accent); }

.policy-toc {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 0 0 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #ece9df;
}
.policy-toc strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.policy-toc ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
}
.policy-toc a { color: var(--ink); }
.policy-toc a:hover { color: var(--accent-2); text-decoration: underline; }

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