/* ═══════════════════════════════════════
   NEFTORA — svetla shema (bela + modra + zlato)
   Slog sledi Energy_4 / OIL COMPANY
   ═══════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Rubik:wght@400;600;700&display=swap');

:root {
  --bg:        #f4f6f9;
  --bg-soft:   #e9edf2;
  --card: #ffffff;
  --card-hover:#fbfcfd;
  --line:      rgba(31, 50, 90, 0.14);
  --gold:      #b8860b;
  --gold-soft: #a3740c;
  --gold-grad: linear-gradient(135deg, #d4a017, #b8860b);
  --text:      #1f2733;
  --muted:     #5d6b7d;
  --blue:      #243a5e;
  --blue-2:    #2f4a72;
  --radius-lg: 12px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --shadow:    0 14px 34px rgba(31, 50, 90, 0.08);
  --font:      "Fira Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Rubik", "Fira Sans", "Segoe UI", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

.gold { color: var(--gold); }

h1, h2, h3, .brand-name, .form-title {
  font-family: var(--font-display);
  font-weight: 700;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

section { padding: 96px 0; }

/* ─────────── HEADER ─────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(31, 50, 90, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1040px;
  margin: 0 auto;
  width: calc(100% - 64px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 8px; }

.brand-logo {
  height: 56px;
  width: auto;
}

.nav { display: flex; gap: 56px; }

.nav-link {
  position: relative;
  font-size: 1.35rem;
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: 0.4px;
  color: #1a1a1d;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--gold-grad);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold-soft); }
.nav-link:hover::after { width: 100%; }

.nav-link.active { color: var(--gold-soft); }
.nav-link.active::after { width: 100%; }

/* ─────────── BACK TO TOP ─────────── */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 60;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #0d0d0f;
  color: #ffffff;
  border: 2px solid #d4af37;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease;
}

.to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover { background: #1a1a1d; }

.to-top svg { width: 22px; height: 22px; }

/* ─────────── SCROLL REVEAL ─────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 3px;
  background: var(--gold-soft);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── LANGUAGE TOGGLE ─────────── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.lang-opt {
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.lang-opt.active {
  color: #ffffff;
  background: var(--gold-grad);
}

.lang-sep { color: var(--muted); }

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-gold {
  background: #0d0d0f;
  color: #ffffff;
  border-color: #d4af37;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.btn-gold:hover {
  transform: translateY(-3px);
  background: #1a1a1d;
  border-color: #e6c66a;
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.22);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: var(--gold-soft);
  border-color: rgba(184, 134, 11, 0.5);
}

.btn-outline:hover {
  background: rgba(184, 134, 11, 0.1);
  transform: translateY(-3px);
}

/* ─────────── SECTION HEAD ─────────── */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 18px;
}

.about .section-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: normal;
  color: #000000;
}

.declaration .section-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: normal;
  color: #000000;
}

.options .section-tag,
.supply .section-tag,
.markets .section-tag,
.contact .section-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: normal;
  color: #000000;
}

.products .section-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.6rem;
  font-weight: 600;
  font-style: normal;
  color: #ffffff;
}

.options .section-tag {
  color: #d4a017;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.95rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--gold-soft);
}

.section-sub { color: var(--muted); font-size: 1.02rem; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to   { transform: scale(1.02); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(100% 100% at 0% 100%, rgba(14, 20, 28, 0.82) 10%, transparent 60%),
    linear-gradient(to right, rgba(14, 20, 28, 0.75) 0%, rgba(14, 20, 28, 0.25) 55%, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 90px;
}

.hero-card {
  max-width: 620px;
  border-radius: var(--radius-lg);
  padding: 40px 46px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.82) 0%,
    rgba(253, 249, 238, 0.78) 38%,
    rgba(246, 235, 205, 0.72) 72%,
    rgba(236, 219, 175, 0.66) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  animation: riseIn 0.9s ease 0.1s both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(34px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: clamp(3.2rem, 6.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--gold-soft);
  margin-bottom: 0;
}

.hero-title {
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 5px;
  color: #1e2b39;
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 500;
  color: #2b3a4a;
  margin-bottom: 14px;
}

.hero-text {
  color: #45505f;
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  opacity: 0.9;
  animation: floatY 2.2s ease-in-out infinite;
}

.hero-scroll-hint svg { width: 30px; height: 30px; }

@keyframes floatY {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(9px); }
}

/* ─────────── OPTIONS ─────────── */
.options {
  background: linear-gradient(
    180deg,
    #243a5e 0%,
    #2f4a72 30%,
    #41608e 62%,
    #6b89b4 86%,
    #94abcf 100%
  );
  color: #f2f5fa;
}

.options .section-title { color: #ffffff; }
.options .section-sub { color: rgba(255, 255, 255, 0.88) !important; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  background: var(--card-hover);
  box-shadow: var(--shadow);
}

.service-card:hover::before { transform: scale(1.35); }

.service-card .card-icon {
  display: inline-block;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
}

.card-icon svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
  filter: sepia(0.55) saturate(2.6) hue-rotate(-12deg) brightness(0.9);
}

.service-card .card-title {
  min-height: 79.2px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.card-text { color: var(--muted); font-size: 0.96rem; }

/* ─────────── DECLARATION ─────────── */
.declaration {
  position: relative;
  background:
    radial-gradient(90% 60% at 100% 20%, rgba(212, 175, 55, 0.06), transparent 60%),
    var(--bg);
  text-align: center;
  padding-top: 90px;
}

.declaration-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 auto 22px;
}

.declaration-text {
  max-width: 700px;
  margin: 0 auto 18px;
  color: var(--muted);
}

.declaration-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ─────────── ABOUT ─────────── */
.about {
  background:
    radial-gradient(90% 60% at 100% 20%, rgba(212, 175, 55, 0.06), transparent 60%),
    var(--bg-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.about-media { position: relative; }

.about-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-content p {
  color: #c9d0d8;
  margin-bottom: 16px;
}

.about-content .section-tag { color: #1a1a1d; }

.about-content p { color: var(--muted); }

.about-points {
  list-style: none;
  margin: 22px 0 28px;
  display: grid;
  gap: 12px;
}

.about-points li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.about-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 800;
}

/* ─────────── PRODUCTS ─────────── */
.products {
  position: relative;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-soft) 50%, var(--bg) 50%, var(--bg) 100%);
  color: #f2f5fa;
  padding-top: 100px;
  padding-bottom: 170px;
}

.products::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    #243a5e 0%,
    #2f4a72 30%,
    #41608e 62%,
    #6b89b4 86%,
    #94abcf 100%
  );
  transform: skewY(-4deg);
}

.products .container {
  position: relative;
  z-index: 1;
}

.products .section-title { color: #d4a017; }
.products .section-sub { color: rgba(255, 255, 255, 0.88) !important; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 30px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-7px) scale(1.01);
  background: var(--card-hover);
  box-shadow: var(--shadow);
}

.product-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--line);
}

.product-icon svg {
  width: 30px;
  height: 30px;
  color: var(--gold);
}

.product-card .card-text { margin-top: 6px; }

/* ─────────── SUPPLY ─────────── */
.supply { text-align: center; }

.supply-text {
  max-width: 720px;
  margin: 0 auto 40px;
  color: var(--muted);
}

.supply-terms {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--gold-soft);
  border: 1px solid rgba(184, 134, 11, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 30px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.term-sep {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.8;
  line-height: 1;
}

/* ─────────── MARKETS ─────────── */
.markets {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(212, 175, 55, 0.05), transparent 55%),
    var(--bg-soft);
}

.markets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.markets-content p { color: var(--muted); margin: 16px 0 22px; }

.markets-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.markets-list li {
  position: relative;
  padding-left: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--gold-soft);
}

.markets-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}

.markets-img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ─────────── CONCLUSION ─────────── */
.conclusion {
  position: relative;
  background: linear-gradient(
    180deg,
    #243a5e 0%,
    #2f4a72 40%,
    #41608e 100%
  );
  color: #f2f5fa;
  text-align: center;
}

.conclusion-inner {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.conclusion-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.15;
}

.conclusion-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* ─────────── CONTACT ─────────── */
.contact {
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(212, 175, 55, 0.05), transparent 55%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-block {
  font-style: normal;
  display: grid;
  gap: 14px;
  margin: 24px 0 26px;
  padding: 8px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1rem;
}

.contact-item-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item-col a {
  font-size: 0.9rem;
}

.contact-item a { color: var(--gold-soft); }
.contact-item a:hover { text-decoration: underline; }

.contact-item svg { color: var(--gold); flex-shrink: 0; }

.contact-logo {
  height: 64px;
  width: auto;
  opacity: 0.95;
  filter: brightness(0.95);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}

.form-title {
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--gold-soft);
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.field span {
  font-size: 0.86rem;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(31, 50, 90, 0.12);
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.96rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--gold-soft);
  min-height: 20px;
}

.form-feedback.error { color: #d9534f; }
.form-feedback.success { color: #2e7d32; }

/* ─────────── FOOTER ─────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p { color: var(--muted); font-size: 0.92rem; }

.footer-nav { display: flex; gap: 24px; }

.footer-nav a { color: var(--muted); transition: color 0.25s ease; }
.footer-nav a:hover { color: var(--gold-soft); }

.footer-legal { display: flex; gap: 20px; }

.footer-legal a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.footer-legal a:hover { color: var(--gold-soft); }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .markets-grid { grid-template-columns: 1fr; }

  .about-grid { gap: 34px; }
  .markets-grid { gap: 34px; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 74px;
    right: 16px;
    flex-direction: column;
    gap: 18px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px 30px;
    transform: translateY(-12px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: flex; }

  .hero-card { padding: 34px 28px; }
  section { padding: 70px 0; }

  .footer-inner { justify-content: center; text-align: center; }
}