/* ===================== RESET GLOBAL ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0b0c0e;
  color: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Animaciones base */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes glow {
  0% { box-shadow: 0 0 0px rgba(245,166,35,0.2); }
  100% { box-shadow: 0 0 25px rgba(245,166,35,0.4); }
}

/* ===================== CONTENEDOR PRINCIPAL ===================== */
.cotizacion-section {
  padding: 80px 20px;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b0c0e 0%, #1a1c1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1.2s ease forwards;
}

.cotizacion-container {
  width: 100%;
  max-width: 900px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 40px;
  border-radius: 18px;
  animation: fadeInUp 1s ease forwards;
  box-shadow: 0 0 18px rgba(0,0,0,0.4);
}

/* ===================== TÍTULOS ===================== */
.cotizacion-titulo {
  font-size: 2.8rem;
  text-align: center;
  font-weight: 900;
  color: #f5a623;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease forwards;
}

.cotizacion-subtitulo {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.2rem;
  opacity: 0.8;
  animation: fadeInUp 1.3s ease forwards;
}

/* ===================== FIELDSETS ===================== */
.cotizacion-grupo {
  border: 1px solid #f5a623;
  padding: 25px;
  margin-bottom: 30px;
  border-radius: 12px;
  position: relative;
  animation: fadeInUp 1.4s ease forwards;
  transition: 0.3s ease;
}

.cotizacion-grupo:hover {
  border-color: #ffc46a;
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(245,166,35,0.25);
}

legend {
  padding: 0 12px;
  color: #f5a623;
  font-size: 1.2rem;
  font-weight: bold;
}

/* ===================== INPUTS ===================== */
.cotizacion-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 20px;
}

label {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #ffc46a;
}

input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1rem;
  transition: 0.3s ease;
}

input:focus {
  outline: none;
  border-color: #f5a623;
  background: rgba(255,255,255,0.12);
  animation: glow 0.6s infinite alternate;
}

/* ===================== BOTÓN ===================== */
.cotizacion-acciones {
  text-align: center;
  margin-top: 35px;
}

.cotizacion-btn {
  padding: 15px 40px;
  font-size: 1.3rem;
  font-weight: bold;
  background: #f5a623;
  border: none;
  color: #0b0c0e;
  border-radius: 50px;
  cursor: pointer;
  transition: 0.3s ease;
  animation: fadeInUp 1.7s ease forwards;
}

.cotizacion-btn:hover {
  background: #ffbd59;
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(245,166,35,0.55);
}

.cotizacion-btn:active {
  transform: scale(0.97);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 600px) {
  .cotizacion-titulo { font-size: 2rem; }
  .cotizacion-container { padding: 25px; }
  .cotizacion-btn { width: 100%; }
}
