* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* LOADER */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000 url('image/logo_fondo_loader.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

.loader-text {
  margin-top: 15px;
  font-size: 30px;
  font-weight: 700;
  color: #ffd400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transform: translateY(-210px);
}

/* CONTENIDO */
.main {
  display: none;
  min-height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.20), rgba(0,0,0,0.35)),
  url('image/logodefondorepuestos.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.container {
  max-width: 1000px;
  padding: 20px;
}

/* LOGO */
.logo-image {
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  display: block;
  background-color: transparent;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.main .logo-image {
  position: fixed;
  top: 20px;
  left: 20px;
  max-width: 200px;
  z-index: 1000;
  margin: 0;
}

#loader .logo-image {
  position: absolute;
  top: 20px;
  left: 20px;
  mix-blend-mode: normal;
  filter: none;
  opacity: 1;
  max-width: 220px;
  margin: 0;
}

.logo {
  font-size: 70px;
  font-weight: 900;
  background: linear-gradient(90deg, #00c853, #ffd600);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo span {
  display: block;
  font-size: 32px;
  color: #ccc;
  letter-spacing: 5px;
}

/* TITULO */
.title {
  margin-top: 25px;
  font-size: 45px;
  color: #ffcc00;
}

.subtitle {
  font-size: 20px;
  margin-top: 10px;
  color: #f2f20b;
}
.description {
  margin-top: 10px;
  color: #f2f2f2;
}

/* IMAGEN */
.parts img {
  width: 100%;
  max-width: 600px;
  margin-top: 30px;
}

/* TEXTO */
.highlight {
  margin-top: 25px;
  font-size: 20px;
}

.highlight span {
  color: #ffcc00;
}

.contact-note {
  margin-top: 20px;
  color: #f2f2f2;
  font-size: 17px;
  line-height: 1.5;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* FORMULARIO */
.form {
  margin-top: 30px;
}

.form input, .form textarea {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.form textarea {
  resize: none;
  overflow: hidden;
  min-height: 80px;
  max-height: 300px;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
}

.char-count {
  display: block;
  text-align: right;
  color: #aaa;
  font-size: 12px;
  margin-top: 4px;
}

.field-error {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.25);
}

.error-text {
  display: block;
  text-align: left;
  color: #ff8383;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
}

.form button {
  margin-top: 10px;
  padding: 12px;
  width: 100%;
  background: #00c853;
  border: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
}

.form button:hover {
  background: #00a844;
}

/* FOOTER */
.footer {
  margin-top: 30px;
  font-size: 14px;
  font-weight: 700;
  color: white;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp svg {
  width: 30px;
  height: 30px;
}

/* RESPONSIVE */
@media(max-width:600px){
  .logo { font-size: 45px; }
  .title { font-size: 28px; }
}
