:root {
  --blue-bright: #00a2ff; /* Azul neón del logo */
  --blue-dark: #005691;
  --bg-dark: #0a0d12;     /* Fondo oscuro estilo taller metálico */
  --bg-card: #141923;
  --text-light: #e0e6ed;
  --text-gray: #8b9bb4;
  --font-main: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: #05070a;
  color: var(--text-light);
  line-height: 1.6;
}

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

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.section {
  padding: 70px 0;
}

.bg-dark {
  background-color: var(--bg-dark);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(10, 13, 18, 0.95);
  border-bottom: 1px solid rgba(0, 162, 255, 0.2);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: #fff;
}

.logo span {
  color: var(--blue-bright);
}

.logo i {
  color: var(--blue-bright);
}

.nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
}

.btn-nav {
  background: var(--blue-bright);
  color: #000 !important;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 150px 20px 80px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 162, 255, 0.08) 0%, rgba(5, 7, 10, 1) 100%);
}

.rut-badge {
  background-color: var(--bg-card);
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin: 20px 0;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--blue-bright);
}

.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: var(--text-gray);
  font-size: 1.1rem;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Botones */
.btn {
  padding: 12px 24px;
  font-weight: 800;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.btn-secondary {
  border: 1px solid var(--blue-bright);
  color: var(--blue-bright);
}

/* Titles */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-title h2 span {
  color: var(--blue-bright);
}

.section-title p {
  color: var(--text-gray);
}

/* Grids */
.materials-grid, .services-grid, .contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.material-card, .service-card, .contact-card {
  background-color: var(--bg-card);
  padding: 25px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.material-card:hover, .service-card:hover {
  transform: translateY(-5px);
  border-color: var(--blue-bright);
}

.material-card i, .service-card i, .contact-card i {
  font-size: 2rem;
  color: var(--blue-bright);
  margin-bottom: 15px;
}

.material-card h3, .service-card h3, .contact-card h3 {
  margin-bottom: 10px;
}

.material-card p, .service-card p, .contact-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.phone-link {
  color: var(--blue-bright);
  font-weight: 800;
  font-size: 1.1rem;
}

/* Footer & Botón Flotante */
.footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: var(--text-gray);
  font-size: 0.85rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  z-index: 1000;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark);
    display: none;
  }
  .nav-menu.active { display: block; }
  .nav-menu ul { flex-direction: column; padding: 20px; }
  .hero h1 { font-size: 1.8rem; }
}

/* Formulario de Cotización */
.quote-form {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: 8px;
  border: 1px solid rgba(0, 162, 255, 0.2);
  max-width: 700px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: #0d1117;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 15px;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-bright);
}

/* Área de Subida de Archivo Personalizada */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 100px;
}

.file-input {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-dummy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0d1117;
  border: 2px dashed rgba(0, 162, 255, 0.4);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
  z-index: 1;
}

.file-upload-wrapper:hover .file-dummy {
  border-color: var(--blue-bright);
  background-color: rgba(0, 162, 255, 0.05);
  color: #fff;
}

.file-dummy i {
  font-size: 1.8rem;
  color: var(--blue-bright);
  margin-bottom: 5px;
}

.file-dummy span {
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.captcha-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo-container {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  max-width: 220px; /* Tamaño adecuado para escritorio */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 162, 255, 0.25); /* Resplandor azul acorde al logo */
  border: 1px solid rgba(0, 162, 255, 0.3);
  transition: transform 0.3s ease;
}

.hero-logo:hover {
  transform: scale(1.03); /* Efecto leve al pasar el cursor */
}

/* Ajuste para pantallas móviles */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 170px; /* Tamaño adaptado para celulares */
  }
}