/* ============================================================
   Sanco Oil LLC  |  Dark industrial one-pager
   ============================================================ */

:root {
  --bg: #111113;
  --bg-alt: #17171a;
  --panel: #1c1c20;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #edebe6;
  --muted: #9d9a91;
  --accent: #d9982f;
  --accent-soft: rgba(217, 152, 47, 0.14);
  --accent-text: #e8ad4a;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

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

h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

::selection { background: var(--accent); color: #171308; }

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none !important; }
  .gauge-dot { animation: none !important; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn-solid {
  background: var(--accent);
  color: #171308;
  border: 1px solid var(--accent);
}
.btn-solid:hover { background: var(--accent-text); border-color: var(--accent-text); transform: translateY(-1px); }

.btn-line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-line:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-1px); }

.text-link {
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.text-link:hover { border-color: var(--accent-text); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(17, 17, 19, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.nav-mark {
  width: 13px;
  height: 13px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 62%, 62% 100%, 0 100%);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 400;
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-text);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  padding: 8px 16px;
  border-radius: 3px;
  transition: border-color 0.25s var(--ease);
}
.nav-phone:hover { border-color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 68px 0 auto 0;
  z-index: 99;
  background: rgba(17, 17, 19, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: none;
  flex-direction: column;
  padding: 12px 24px 28px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .mobile-phone { color: var(--accent-text); font-family: var(--font-mono); font-size: 0.95rem; }

/* ============ Hero ============ */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 60px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(217, 152, 47, 0.07), transparent 60%),
    var(--bg);
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-slogan {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 46ch;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    -55deg,
    var(--accent) 0 22px,
    transparent 22px 44px
  );
  opacity: 0.5;
}

/* Tank gauge panel */
.hero-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 26px 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.gauge-head, .gauge-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}
.gauge-head { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.gauge-foot { padding-top: 18px; border-top: 1px solid var(--line); }
.gauge-next { color: var(--accent-text); }
.gauge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.gauge-rows { padding: 20px 0; display: flex; flex-direction: column; gap: 18px; }
.gauge-row {
  display: grid;
  grid-template-columns: 110px 1fr 44px;
  align-items: center;
  gap: 14px;
}
.gauge-label { font-size: 0.85rem; color: var(--text); font-weight: 400; }
.gauge-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.gauge-fill {
  height: 100%;
  width: var(--w);
  background: var(--accent);
  border-radius: 99px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s var(--ease) 0.5s;
}
.in .gauge-fill, .hero-panel.in .gauge-fill { transform: scaleX(1); }
.gauge-row.low .gauge-fill { background: #b8543a; }
.gauge-row.low .gauge-val { color: #c96a4f; }
.gauge-val { text-align: right; color: var(--muted); }

/* ============ Marquee ============ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-track i {
  width: 5px; height: 5px;
  background: var(--accent);
  transform: rotate(45deg);
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Sections ============ */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
}
.section-num {
  color: var(--accent-text);
  font-size: 0.85rem;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.section-lede {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 56px;
}

/* ============ Services ============ */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.service-row:first-of-type { margin-top: 40px; }
.service-row.flip { grid-template-columns: 1.2fr 1fr; }
.service-row.flip .service-info { order: 2; }
.service-row.flip .service-list { order: 1; }

.service-info h3 { font-size: 1.45rem; margin-bottom: 16px; }
.service-info p { color: var(--muted); margin-bottom: 20px; max-width: 44ch; }

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 400;
  transition: padding-left 0.3s var(--ease);
}
.service-list li:hover { padding-left: 12px; }
.service-list li:first-child { border-top: 1px solid var(--line); }
.service-list .mono {
  color: var(--accent-text);
  min-width: 26px;
}

/* ============ Products ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}
.product-card.wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 36px;
}
.product-art {
  color: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}
.product-art svg { width: 64px; height: 80px; display: block; }
.product-card.wide .product-art svg { width: 88px; height: 110px; }
.product-body h3 { font-size: 1.15rem; margin-bottom: 10px; }
.product-body p { color: var(--muted); font-size: 0.94rem; margin-bottom: 16px; max-width: 40ch; }
.product-tag {
  display: inline-block;
  color: var(--accent-text);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 3px;
}

/* ============ About ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy p {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 22px;
  max-width: 56ch;
}
.about-copy .btn { margin-top: 10px; }
.about-facts {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.fact {
  padding: 28px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fact-value {
  font-size: 1.3rem;
  color: var(--accent-text);
  letter-spacing: -0.01em;
}
.fact-label { color: var(--muted); font-size: 0.92rem; }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 80px;
  margin-top: 48px;
}
.contact-form { display: flex; flex-direction: column; gap: 22px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}
.form-field input,
.form-field textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  transition: border-color 0.25s var(--ease);
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(157, 154, 145, 0.55); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field.invalid input,
.form-field.invalid textarea { border-color: #b8543a; }
.form-error {
  display: none;
  color: #c96a4f;
  font-size: 0.82rem;
}
.form-field.invalid .form-error { display: block; }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.form-success {
  color: var(--accent-text);
  font-size: 0.95rem;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.info-block {
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.info-value {
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.5;
}
a.info-value { transition: color 0.25s var(--ease); }
a.info-value:hover { color: var(--accent-text); }
.info-value.muted { color: var(--muted); font-size: 0.95rem; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.footer-copy { color: var(--muted); margin-left: auto; }
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}
.footer-links a:hover { color: var(--text); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-panel { max-width: 480px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .service-row, .service-row.flip { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .service-row.flip .service-info { order: 1; }
  .service-row.flip .service-list { order: 2; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card.wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .hero { padding: 110px 0 70px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.wide { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .gauge-row { grid-template-columns: 96px 1fr 40px; }
  .footer-copy { margin-left: 0; width: 100%; order: 3; }
}
