/* Vito Oil PR — brand-aligned landing (yellow/black industrial foodservice) */
:root {
  --vito-yellow: #ffdd00;
  --vito-yellow-deep: #e6c700;
  --vito-black: #050100;
  --vito-ink: #111111;
  --vito-muted: #5a5a5a;
  --vito-line: #e5e5e5;
  --vito-bg: #f7f7f5;
  --vito-white: #ffffff;
  --vito-green-soft: #1a5c3a; /* subtle PR/sustainability accent — not inventing VITOgreen claims */
  --radius: 14px;
  --shadow: 0 12px 40px rgba(5, 1, 0, 0.08);
  --max: 1120px;
  --font: "Open Sans", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-padding-top: 5.5rem; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--vito-ink);
  background: var(--vito-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Lang visibility */
[data-lang="en"] { display: none; }
html[lang="en"] [data-lang="es"] { display: none; }
html[lang="en"] [data-lang="en"] { display: initial; }
html[lang="en"] span[data-lang="en"],
html[lang="es"] span[data-lang="es"] { display: inline; }
html[lang="en"] .block[data-lang="en"],
html[lang="es"] .block[data-lang="es"] { display: block; }
html[lang="en"] .flex[data-lang="en"],
html[lang="es"] .flex[data-lang="es"] { display: flex; }
.block[data-lang] { display: none; }
html[lang="es"] .block[data-lang="es"] { display: block; }
html[lang="en"] .block[data-lang="en"] { display: block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--vito-yellow);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.65rem 0; min-height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none; font-weight: 800; letter-spacing: -0.02em;
}
.brand img { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 1.05rem; }
.brand-text span { font-size: 0.72rem; font-weight: 600; opacity: 0.75; }

.nav-links {
  display: flex; align-items: center; gap: 0.35rem 1.1rem;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: 0.88rem;
}
.nav-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--vito-black);
  border-radius: 999px; overflow: hidden; background: var(--vito-white);
}
.lang-toggle button {
  border: 0; background: transparent; padding: 0.35rem 0.7rem;
  font-weight: 800; font-size: 0.75rem; cursor: pointer; font-family: inherit;
}
.lang-toggle button.active { background: var(--vito-black); color: var(--vito-yellow); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.25rem; border-radius: 999px;
  font-weight: 800; font-size: 0.92rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--vito-black); color: var(--vito-yellow); }
.btn-primary:hover { background: #222; }
.btn-ghost {
  background: transparent; border-color: var(--vito-black); color: var(--vito-black);
}
.btn-ghost:hover { background: var(--vito-black); color: var(--vito-yellow); }
.btn-yellow { background: var(--vito-yellow); color: var(--vito-black); border-color: var(--vito-black); }
.btn-yellow:hover { background: var(--vito-yellow-deep); }

.menu-btn {
  display: none; border: 0; background: var(--vito-black); color: var(--vito-yellow);
  width: 42px; height: 42px; border-radius: 10px; font-size: 1.2rem; cursor: pointer;
}

/* Hero */
.hero {
  background:
    linear-gradient(120deg, rgba(255,221,0,0.95) 0%, rgba(255,221,0,0.75) 42%, rgba(247,247,245,0.9) 42%, #f7f7f5 100%);
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--vito-black); color: var(--vito-yellow);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 0.35rem 0.7rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 1rem;
}
.hero .lead {
  font-size: 1.08rem; color: #222; max-width: 38rem; margin: 0 0 1.5rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  font-size: 0.85rem; font-weight: 700; color: #333;
}
.trust-row span::before { content: "●"; color: var(--vito-black); margin-right: 0.4rem; font-size: 0.55rem; vertical-align: middle; }

.hero-visual {
  position: relative; background: var(--vito-white);
  border-radius: 24px; padding: 1.25rem; box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}
.hero-visual img.product { margin: 0 auto; max-height: 340px; object-fit: contain; }
.hero-badge {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--vito-yellow); border: 2px solid var(--vito-black);
  border-radius: 12px; padding: 0.65rem 0.85rem; font-weight: 800; font-size: 0.82rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.hero-badge small { display: block; font-weight: 600; opacity: 0.75; font-size: 0.7rem; }

/* Sections */
section { padding: 4rem 0; }
.section-alt { background: var(--vito-bg); }
.section-dark {
  background: var(--vito-black); color: var(--vito-white);
}
.section-yellow { background: var(--vito-yellow); }

.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.02em; margin: 0 0 0.75rem; line-height: 1.15;
}
.section-head p { margin: 0; color: var(--vito-muted); font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(255,255,255,0.72); }

.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.card {
  background: var(--vito-white); border: 1px solid var(--vito-line);
  border-radius: var(--radius); padding: 1.35rem; box-shadow: 0 4px 18px rgba(0,0,0,0.03);
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--vito-muted); font-size: 0.95rem; }
.card .num {
  width: 2.2rem; height: 2.2rem; border-radius: 999px;
  background: var(--vito-yellow); color: var(--vito-black);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 0.85rem;
}

/* Problem / solution split */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch;
}
.panel {
  border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--vito-line);
}
.panel-bad { background: #fff7f7; border-color: #f0d0d0; }
.panel-good { background: #fffdf0; border-color: #e6d66a; }
.panel h3 { margin-top: 0; }
.panel ul { margin: 0.75rem 0 0; padding-left: 1.1rem; color: var(--vito-muted); }
.panel li { margin: 0.35rem 0; }

/* Specs */
.specs {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: center;
}
.spec-table {
  width: 100%; border-collapse: collapse; background: var(--vito-white);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--vito-line);
}
.spec-table th, .spec-table td {
  text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--vito-line);
  font-size: 0.92rem;
}
.spec-table th { width: 42%; background: #fafafa; font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.note {
  font-size: 0.82rem; color: var(--vito-muted); margin-top: 0.85rem;
}
.label-pill {
  display: inline-block; font-size: 0.68rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--vito-black); color: var(--vito-yellow);
  padding: 0.2rem 0.45rem; border-radius: 6px; margin-left: 0.35rem;
}

/* Lineup */
.lineup {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.product-card {
  background: var(--vito-white); border-radius: var(--radius);
  border: 1px solid var(--vito-line); overflow: hidden; display: flex; flex-direction: column;
}
.product-card .img-wrap {
  background: linear-gradient(180deg, #fff 0%, #f3f3f0 100%);
  padding: 1.25rem; min-height: 200px; display: flex; align-items: center; justify-content: center;
}
.product-card .img-wrap img { max-height: 180px; object-fit: contain; }
.product-card .body { padding: 1.15rem 1.25rem 1.35rem; flex: 1; }
.product-card h3 { margin: 0 0 0.35rem; }
.product-card p { margin: 0; color: var(--vito-muted); font-size: 0.92rem; }
.product-card.featured { border: 2px solid var(--vito-black); position: relative; }
.product-card.featured::before {
  content: "Lead";
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: var(--vito-yellow); border: 1.5px solid var(--vito-black);
  font-size: 0.68rem; font-weight: 800; padding: 0.2rem 0.45rem; border-radius: 999px;
}
html[lang="es"] .product-card.featured::before { content: "Principal"; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.step {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.2rem;
}
.step .n {
  font-size: 1.6rem; font-weight: 800; color: var(--vito-yellow); margin-bottom: 0.4rem;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1rem; }
.step p { margin: 0; color: rgba(255,255,255,0.72); font-size: 0.9rem; }

/* Industries */
.chips {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.chip {
  background: var(--vito-white); border: 1.5px solid var(--vito-black);
  border-radius: 999px; padding: 0.55rem 0.95rem; font-weight: 700; font-size: 0.9rem;
}

/* Proof */
.proof-grid {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.25rem;
}
.proof-card {
  background: var(--vito-white); border-radius: var(--radius);
  border: 1px solid var(--vito-line); padding: 1.5rem;
}
.proof-card h3 { margin-top: 0; }
.quote {
  font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin: 0 0 0.75rem;
}
.quote-meta { font-size: 0.85rem; color: var(--vito-muted); }

/* CTA / form */
.cta-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
  background: var(--vito-white); border-radius: 20px; padding: 2rem;
  border: 2px solid var(--vito-black); box-shadow: var(--shadow);
}
.form {
  display: grid; gap: 0.75rem;
}
.form label { font-size: 0.82rem; font-weight: 700; display: grid; gap: 0.3rem; }
.form input, .form select, .form textarea {
  font: inherit; padding: 0.7rem 0.85rem; border-radius: 10px;
  border: 1.5px solid #ccc; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 2px solid var(--vito-yellow); border-color: var(--vito-black);
}
.form-note { font-size: 0.78rem; color: var(--vito-muted); margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin: 0.45rem 0; font-weight: 600; }
.contact-list a { color: var(--vito-ink); }

/* Footer */
.site-footer {
  background: var(--vito-black); color: rgba(255,255,255,0.85);
  padding: 2.5rem 0 1.5rem; font-size: 0.88rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem;
}
.site-footer h4 { color: var(--vito-yellow); margin: 0 0 0.6rem; font-size: 0.95rem; }
.site-footer p, .site-footer li { margin: 0.3rem 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #fff; }
.disclaimer {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.55); line-height: 1.5;
}

/* Mobile */
@media (max-width: 900px) {
  .hero-grid, .split, .specs, .proof-grid, .cta-box, .footer-grid { grid-template-columns: 1fr; }
  .grid-3, .lineup { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: absolute; left: 0; right: 0; top: 64px;
    background: var(--vito-yellow); padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hero { background: linear-gradient(180deg, var(--vito-yellow) 0%, #f7f7f5 70%); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .brand img { height: 40px; }
}


section[id] { scroll-margin-top: 5.5rem; }
