:root {
  --black: #050505;
  --red: #ff1a1a;
  --red-2: #ff4d4d;
  --white: #ffffff;
  --muted: #c9c9c9;
  --gray: rgba(255, 255, 255, 0.07);
  --dark-gray: #0b0b0d;
  --glass: rgba(12, 12, 14, 0.72);
  --border: rgba(255, 255, 255, 0.12);
  --shadow-red: 0 0 38px rgba(255, 26, 26, 0.26);
  --radius: 24px;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 26, 26, 0.16), transparent 30rem),
    radial-gradient(circle at 85% 10%, rgba(255, 255, 255, 0.07), transparent 24rem),
    linear-gradient(180deg, #050505 0%, #0b0b0d 48%, #050505 100%);
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

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

.container, .nav-container {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

/* NAVBAR */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 26, 26, 0.18);
  box-shadow: 0 10px 36px rgba(0,0,0,0.35);
  transition: padding .3s ease, background .3s ease;
}

.nav-container { display: flex; justify-content: space-between; align-items: center; gap: 22px; }
.logo-img { width: clamp(126px, 15vw, 180px); filter: drop-shadow(0 0 14px rgba(255,26,26,.25)); animation: float 4s ease-in-out infinite; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.nav-menu { display: flex; list-style: none; gap: clamp(14px, 2.4vw, 30px); align-items: center; }
.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: .95rem;
  color: rgba(255,255,255,.86);
  position: relative;
  padding: 10px 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 3px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: translateX(-50%);
  transition: width .3s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 115%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,.04); }
.bar { width: 25px; height: 3px; background: var(--white); border-radius: 999px; transition: .3s; }
.hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, .96fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
  padding: 130px 0 72px;
  position: relative;
}
.hero::before, .hero::after { content: ''; position: absolute; pointer-events: none; border-radius: 999px; z-index: -1; }
.hero::before { width: 420px; height: 420px; right: -130px; top: 18%; background: radial-gradient(circle, rgba(255,26,26,.32), transparent 68%); filter: blur(7px); }
.hero::after { width: 260px; height: 260px; left: -120px; bottom: 10%; border: 1px solid rgba(255,26,26,.22); box-shadow: inset 0 0 44px rgba(255,26,26,.08); }
.hero-content { animation: fadeInUp .9s ease both; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #ffdada;
  background: rgba(255,26,26,.10);
  border: 1px solid rgba(255,26,26,.30);
  padding: 9px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-red);
}
.hero-content h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.35rem, 7vw, 5.4rem);
  line-height: .98;
  letter-spacing: -1px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #fff 5%, #ff5b5b 42%, #b50000 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 36px rgba(255,26,26,.25);
}
.hero-content p { color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 620px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 14px 28px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--red), #a80000); color: #fff; box-shadow: 0 12px 32px rgba(255,26,26,.34); }
.btn-secondary { background: rgba(255,255,255,.06); color: #fff; border: 1px solid var(--border); }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-4px); }
.btn-primary:hover { box-shadow: 0 18px 42px rgba(255,26,26,.48); }
.btn-secondary:hover { border-color: rgba(255,26,26,.6); box-shadow: var(--shadow-red); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.hero-stats div { padding: 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid var(--border); backdrop-filter: blur(12px); }
.hero-stats strong { display: block; color: var(--red-2); font-family: 'Orbitron', sans-serif; font-size: 1.15rem; }
.hero-stats span { color: var(--muted); font-size: .86rem; }
.hero-car { position: relative; animation: fadeInRight 1s ease both; }
.hero-car::before { content: ''; position: absolute; inset: 11% -7% -8%; border-radius: 35px; background: linear-gradient(135deg, rgba(255,26,26,.28), rgba(255,255,255,.04)); filter: blur(18px); z-index: -1; }
.hero-car img { border-radius: 30px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 28px 90px rgba(0,0,0,.7), 0 0 60px rgba(255,26,26,.18); transform: perspective(900px) rotateY(-7deg); transition: transform .35s ease; }
.hero-car img:hover { transform: perspective(900px) rotateY(0deg) translateY(-6px); }

/* SECTIONS */
.about, .services, .gallery, .lpg-calculator, .contact { padding: clamp(74px, 10vw, 112px) 0; position: relative; }
.about, .services, .lpg-calculator, .contact { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01)); }
.section { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.section.visible { opacity: 1; transform: translateY(0); }
.section-title {
  text-align: center;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.85rem, 4.8vw, 3rem);
  margin-bottom: 48px;
  color: #fff;
  position: relative;
}
.section-title::before { content: ''; position: absolute; left: 50%; top: 50%; width: min(520px, 78vw); height: 70px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255,26,26,.17), transparent 70%); z-index: -1; }
.section-title::after { content: ''; display: block; width: 95px; height: 4px; margin: 16px auto 0; border-radius: 999px; background: linear-gradient(90deg, transparent, var(--red), transparent); }

/* ABOUT */
.about-content, .contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.about-text { padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); box-shadow: 0 22px 70px rgba(0,0,0,.34); }
.about-text p { margin-bottom: 18px; color: #dedede; font-size: 1.03rem; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: #ff6464; }
.about-image img { border-radius: var(--radius); border: 1px solid rgba(255,255,255,.14); box-shadow: 0 24px 74px rgba(0,0,0,.56); transition: transform .35s ease, filter .35s ease; }
.about-image img:hover { transform: scale(1.025) rotate(.4deg); filter: contrast(1.08); }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.service-card {
  min-height: 245px;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255,26,26,.22), transparent 42%); opacity: 0; transition: opacity .3s ease; }
.service-card:hover { transform: translateY(-10px); border-color: rgba(255,26,26,.48); box-shadow: 0 24px 70px rgba(255,26,26,.14); }
.service-card:hover::before { opacity: 1; }
.service-card i { position: relative; font-size: 2.5rem; color: #ff4949; margin-bottom: 18px; filter: drop-shadow(0 0 18px rgba(255,26,26,.4)); }
.service-card h3, .service-card p { position: relative; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); font-size: .96rem; }

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  filter: saturate(.95) contrast(1.05);
  transition: transform .3s ease, filter .3s ease, box-shadow .3s ease;
}
.gallery-grid img:hover { transform: translateY(-6px) scale(1.02); filter: saturate(1.18) contrast(1.1); box-shadow: 0 18px 44px rgba(255,26,26,.2); z-index: 2; }

/* CALCULATOR */
.calculator-box { padding: clamp(22px, 4vw, 42px); border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); border: 1px solid var(--border); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.inputs-column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 32px; }
.input-group { padding: 18px; border-radius: 18px; background: rgba(0,0,0,.23); border: 1px solid rgba(255,255,255,.08); }
.input-group label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; font-weight: 500; color: #ededed; }
.live-value { color: #ff5a5a; font-weight: 800; white-space: nowrap; }
.input-group input[type='range'] { width: 100%; accent-color: var(--red); cursor: pointer; }
.results-box { background: rgba(0,0,0,.34); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); border: 1px solid rgba(255,26,26,.22); box-shadow: inset 0 0 42px rgba(255,26,26,.06); }
.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 28px; }
.results-grid div { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.09); }
.results-grid strong { color: #f0f0f0; }
.results-grid p { color: #ff5a5a; font-size: 1.2rem; font-weight: 800; margin-top: 6px; }
.chart-container { width: 100%; height: 320px; position: relative; }

/* CONTACT */
.contact-info { padding: clamp(22px, 4vw, 34px); border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; color: #ededed; overflow-wrap: anywhere; }
.info-item i { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--red), #8d0000); box-shadow: 0 10px 26px rgba(255,26,26,.22); }
.social-links { padding-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.social-icon { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease; }
.social-icon:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.24); }
.facebook { background: linear-gradient(135deg, #1877f2, #3b5998); }
.maps { background: linear-gradient(135deg, #34a853, #4285f4); }
.map-container { overflow: hidden; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.13); box-shadow: 0 24px 74px rgba(0,0,0,.44); min-height: 360px; }
.map-container iframe { width: 100% !important; height: 100%; min-height: 430px; border: 0; display: block; filter: grayscale(.15) contrast(1.05); }

footer { padding: 30px 0; text-align: center; background: rgba(255,255,255,.05); border-top: 1px solid rgba(255,26,26,.18); color: #cfcfcf; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(42px); } to { opacity: 1; transform: translateX(0); } }

/* RESPONSIVE */
@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 118px; }
  .hero-content p, .hero-stats { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-car { max-width: 620px; margin-inline: auto; }
  .hero-car img { transform: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
  .about-content, .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 106%; }
  .container, .nav-container, .hero { width: min(100% - 28px, 1200px); }
  .hamburger { display: flex; }
  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 14px;
    right: 14px;
    width: auto;
    flex-direction: column;
    padding: 18px;
    gap: 4px;
    background: rgba(8,8,9,.96);
    border: 1px solid rgba(255,26,26,.22);
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(0,0,0,.56);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease, transform .3s ease;
  }
  .nav-menu.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-link { display: block; padding: 11px 0; }
  .hero { min-height: auto; padding: 108px 0 56px; }
  .hero-stats { grid-template-columns: 1fr; }
  .services-grid, .inputs-column { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-container iframe { min-height: 330px; }
}

@media (max-width: 520px) {
  html { font-size: 100%; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid img { aspect-ratio: 16 / 10; }
  .about-text, .contact-info, .calculator-box { border-radius: 20px; }
  .input-group label { display: block; }
  .live-value { display: inline-block; margin-left: 6px; }
  .social-icon { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}