/* Gorivo za Auto — premium automotive portal 2026 */
:root {
  --bg: #0a0e14;
  --bg-elevated: #111821;
  --bg-card: #151d28;
  --bg-soft: #1a2433;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eef6;
  --text-muted: #9aa8bc;
  --text-dim: #6b7a8f;
  --blue: #2f7cff;
  --blue-bright: #4d93ff;
  --blue-soft: rgba(47, 124, 255, 0.15);
  --orange: #ff7a1a;
  --orange-bright: #ff9447;
  --orange-soft: rgba(255, 122, 26, 0.15);
  --success: #2ecc71;
  --danger: #ff5c5c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Manrope", system-ui, sans-serif;
  --font-display: "Outfit", "Manrope", sans-serif;
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange-bright); }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled {
  background: rgba(10, 14, 20, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .7rem;
  color: var(--text) !important; font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), #1a4fb8 45%, var(--orange));
  display: grid; place-items: center; color: #fff; font-size: 1rem;
  box-shadow: 0 8px 20px rgba(47, 124, 255, 0.35);
}
.nav {
  display: flex; align-items: center; gap: 1.35rem;
}
.nav a {
  color: var(--text-muted); font-size: .92rem; font-weight: 500;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), #e85d00);
  color: #fff !important; padding: .55rem 1rem; border-radius: 999px;
  font-weight: 600 !important; box-shadow: 0 8px 22px rgba(255, 122, 26, 0.28);
}
.nav-cta:hover { filter: brightness(1.08); color: #fff !important; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--border);
  color: var(--text); width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.45rem; border-radius: 999px; border: none; cursor: pointer;
  font-weight: 700; font-size: .95rem; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #e85d00);
  color: #fff; box-shadow: 0 12px 28px rgba(255, 122, 26, 0.32);
}
.btn-secondary {
  background: var(--blue-soft); color: var(--blue-bright);
  border: 1px solid rgba(47, 124, 255, 0.35);
}
.btn-ghost {
  background: rgba(255,255,255,0.06); color: var(--text);
  border: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: end; padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0; z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.1) translateY(-1.5%); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,14,20,.55) 0%, rgba(10,14,20,.35) 35%, rgba(10,14,20,.88) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,14,20,.75) 0%, rgba(10,14,20,.25) 55%, rgba(10,14,20,.55) 100%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 760px;
}
.brand-hero {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--text); font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
.brand-hero i { color: var(--orange); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  line-height: 1.08; letter-spacing: -0.035em; font-weight: 700;
  margin-bottom: 1.1rem;
}
.hero h1 span {
  background: linear-gradient(90deg, var(--blue-bright), var(--orange-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-muted); max-width: 560px; margin-bottom: 1.8rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 2.2rem;
  color: var(--text-dim); font-size: .9rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust i { color: var(--blue-bright); }

/* Sections */
section { padding: 5rem 0; position: relative; }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { text-align: center; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--orange-bright); font-weight: 700; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem;
}
.section-head h2, .page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em; line-height: 1.15; margin-bottom: .85rem;
}
.section-head p, .lead { color: var(--text-muted); font-size: 1.05rem; }

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* Fuel cards */
.fuel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem;
}
.fuel-card {
  background: linear-gradient(180deg, var(--bg-card), #101722);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.fuel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 124, 255, 0.35);
  box-shadow: var(--shadow);
}
.fuel-card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.fuel-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fuel-card:hover .fuel-card-media img { transform: scale(1.06); }
.fuel-card-body { padding: 1.25rem 1.3rem 1.4rem; }
.fuel-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .55rem;
  display: flex; align-items: center; gap: .5rem;
}
.fuel-card h3 i { color: var(--orange); }
.fuel-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: .9rem; }
.meta-list { display: grid; gap: .45rem; font-size: .88rem; }
.meta-list li { display: flex; gap: .5rem; color: var(--text-muted); }
.meta-list .label { color: var(--text-dim); min-width: 78px; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .25rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700;
  background: var(--blue-soft); color: var(--blue-bright);
}

/* Split / premium */
.split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}
.split-media {
  position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden;
  min-height: 420px; box-shadow: var(--shadow);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.split-panel {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-top: 1rem;
}
.split-panel h4 { font-size: 1rem; margin-bottom: .35rem; display: flex; gap: .5rem; align-items: center; }
.split-panel h4 i { color: var(--blue-bright); }
.split-panel p { color: var(--text-muted); font-size: .92rem; }
.qa-grid { display: grid; gap: .85rem; margin-top: 1.25rem; }

/* Stations */
.stations-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.station-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem; transition: border-color .2s ease, transform .2s ease;
}
.station-card:hover { border-color: rgba(255,122,26,.35); transform: translateY(-4px); }
.station-logo {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--orange); font-size: 1.2rem; margin-bottom: .9rem;
}
.station-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .55rem; }
.station-card p { color: var(--text-muted); font-size: .86rem; margin-bottom: .55rem; }
.station-card strong { color: var(--text); font-size: .84rem; }

/* Tips */
.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tip-card {
  display: grid; grid-template-columns: 72px 1fr; gap: 1rem; align-items: start;
  background: linear-gradient(135deg, rgba(47,124,255,.08), rgba(255,122,26,.05));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem;
}
.tip-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--blue-bright); font-size: 1.3rem;
}
.tip-card h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: .4rem; }
.tip-card p { color: var(--text-muted); font-size: .92rem; }

/* FAQ */
.faq-list { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.2rem;
  font-weight: 650; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--orange); transition: transform .2s ease; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 1.2rem 1.15rem; color: var(--text-muted); font-size: .95rem;
}

/* Blog */
.blog-tools {
  display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: .8rem; margin-bottom: 1.5rem;
}
.field, .search-field, select, textarea, input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: .85rem 1rem; outline: none; transition: border-color .2s ease;
}
.field:focus, .search-field:focus, select:focus, textarea:focus, input:focus {
  border-color: rgba(47,124,255,.55);
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.blog-card-body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: .7rem; flex-wrap: wrap; color: var(--text-dim); font-size: .8rem; margin-bottom: .55rem; }
.blog-card h3 { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.3; margin-bottom: .5rem; color: var(--text); }
.blog-card p { color: var(--text-muted); font-size: .9rem; margin-bottom: 1rem; flex: 1; }
.read-more { color: var(--orange-bright); font-weight: 700; font-size: .9rem; }

/* Calculator */
.calc-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(47,124,255,.18), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(255,122,26,.14), transparent 35%),
    var(--bg-elevated);
  border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
  padding: 1.5rem;
}
.calc-form { display: grid; gap: .9rem; }
.form-row label { display: block; font-size: .88rem; color: var(--text-muted); margin-bottom: .4rem; }
.calc-result {
  background: rgba(0,0,0,.28); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: grid; align-content: center; gap: .85rem;
}
.calc-result .big {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em; color: var(--orange-bright);
}
.calc-result .line { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); font-size: .95rem; }
.calc-result .line strong { color: var(--text); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.25rem; }
.contact-card, .contact-form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem;
}
.contact-list { display: grid; gap: 1rem; margin: 1.2rem 0; }
.contact-list li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-list i {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue-bright);
}
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
}
.socials a:hover { border-color: var(--orange); color: var(--orange-bright); }
.map-embed {
  margin-top: 1rem; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border);
  min-height: 220px; background: var(--bg-soft);
}
.map-embed iframe { width: 100%; height: 220px; border: 0; filter: grayscale(.2) contrast(1.05); }
.form-grid { display: grid; gap: .85rem; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
textarea { min-height: 140px; resize: vertical; }
.form-note { color: var(--text-dim); font-size: .82rem; margin-top: .4rem; }
.form-success {
  display: none; margin-top: .9rem; padding: .85rem 1rem; border-radius: 12px;
  background: rgba(46, 204, 113, .12); color: #7dffb1; border: 1px solid rgba(46,204,113,.25);
}

/* Page hero */
.page-hero {
  padding: calc(var(--header-h) + 3rem) 0 2.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,124,255,.18), transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(255,122,26,.12), transparent 30%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.breadcrumbs { color: var(--text-dim); font-size: .88rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--text-muted); }

/* Article */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1.5rem; align-items: start; }
.article-content {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem;
}
.article-content h2 { font-family: var(--font-display); font-size: 1.45rem; margin: 1.5rem 0 .7rem; }
.article-content p { color: var(--text-muted); margin-bottom: 1rem; }
.article-content ul { margin: 0 0 1rem 1.1rem; }
.article-content li { list-style: disc; color: var(--text-muted); margin-bottom: .35rem; }
.article-hero-img {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 1.2rem; aspect-ratio: 21/9;
}
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem;
  position: sticky; top: calc(var(--header-h) + 1rem);
}
.sidebar-card h3 { font-family: var(--font-display); margin-bottom: .8rem; }
.sidebar-card a { display: block; color: var(--text-muted); padding: .45rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.sidebar-card a:last-child { border-bottom: 0; }

/* Legal */
.legal {
  max-width: 820px; margin: 0 auto; padding: 2.5rem 0 4rem;
}
.legal h2 { font-family: var(--font-display); font-size: 1.35rem; margin: 1.6rem 0 .7rem; }
.legal p, .legal li { color: var(--text-muted); margin-bottom: .8rem; }
.legal ul { margin-left: 1.1rem; }
.legal li { list-style: disc; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #070b10; padding: 3.5rem 0 1.5rem; margin-top: 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem;
}
.footer-brand p { color: var(--text-muted); margin-top: .8rem; font-size: .92rem; max-width: 320px; }
.site-footer h4 { font-family: var(--font-display); margin-bottom: .8rem; }
.site-footer a { display: block; color: var(--text-muted); margin-bottom: .45rem; font-size: .9rem; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 1.1rem;
  display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between;
  color: var(--text-dim); font-size: .84rem;
}

/* Cookie */
.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1200;
  max-width: 520px; margin-left: auto;
  background: rgba(17, 24, 33, 0.96); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { color: var(--text-muted); font-size: .88rem; margin-bottom: .9rem; }
.cookie-actions { display: flex; gap: .55rem; flex-wrap: wrap; }

/* CTA band */
.cta-band {
  padding: 4rem 0;
}
.cta-inner {
  border-radius: calc(var(--radius) + 8px); overflow: hidden; position: relative;
  padding: 3rem 2rem; text-align: center;
  background: linear-gradient(120deg, #13233a, #1a140f 50%, #13233a);
  border: 1px solid var(--border);
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .7rem; }
.cta-inner p { color: var(--text-muted); margin-bottom: 1.3rem; max-width: 560px; margin-inline: auto; }

/* Utilities */
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.hidden { display: none !important; }

@media (max-width: 1100px) {
  .stations-grid { grid-template-columns: repeat(3, 1fr); }
  .fuel-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(10,14,20,.97); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 1rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: .25s ease;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .7rem .4rem; }
  .split, .calc-wrap, .contact-grid, .article-layout { grid-template-columns: 1fr; }
  .split-media { min-height: 280px; }
  .stations-grid, .tips-grid, .fuel-grid, .blog-grid, .blog-tools, .form-grid.two {
    grid-template-columns: 1fr;
  }
  .hero { align-items: center; padding-bottom: 3rem; }
  .page-hero { padding-top: calc(var(--header-h) + 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; }
}
